class Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource

Information related to the Google Cloud resource.

Attributes

folders[RW]

Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization. Corresponds to the JSON property `folders` @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Folder>]

name[RW]

The full resource name of the resource. See: cloud.google.com/apis/ design/resource_names#full_resource_name Corresponds to the JSON property `name` @return [String]

parent[RW]

The full resource name of resource's parent. Corresponds to the JSON property `parent` @return [String]

parent_display_name[RW]

The human readable name of resource's parent. Corresponds to the JSON property `parentDisplayName` @return [String]

project[RW]

The full resource name of project that the resource belongs to. Corresponds to the JSON property `project` @return [String]

project_display_name[RW]

The human readable name of project that the resource belongs to. Corresponds to the JSON property `projectDisplayName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1144
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1149
def update!(**args)
  @folders = args[:folders] if args.key?(:folders)
  @name = args[:name] if args.key?(:name)
  @parent = args[:parent] if args.key?(:parent)
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
  @project = args[:project] if args.key?(:project)
  @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end