class Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource
Information related to the Google
Cloud resource.
Attributes
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>]
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]
The full resource name of resource's parent. Corresponds to the JSON property `parent` @return [String]
The human readable name of resource's parent. Corresponds to the JSON property `parentDisplayName` @return [String]
The full resource name of project that the resource belongs to. Corresponds to the JSON property `project` @return [String]
The human readable name of project that the resource belongs to. Corresponds to the JSON property `projectDisplayName` @return [String]
Public Class Methods
# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1144 def initialize(**args) update!(**args) end
Public Instance Methods
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