Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Folder

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Overview

Message that contains the resource name and display name of a folder resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1p1beta1Folder

Returns a new instance of GoogleCloudSecuritycenterV1p1beta1Folder.



3813
3814
3815
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3813

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_folderString

Full resource name of this folder. See: https://cloud.google.com/apis/design/ resource_names#full_resource_name Corresponds to the JSON property resourceFolder

Returns:

  • (String)


3806
3807
3808
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3806

def resource_folder
  @resource_folder
end

#resource_folder_display_nameString

The user defined display name for this folder. Corresponds to the JSON property resourceFolderDisplayName

Returns:

  • (String)


3811
3812
3813
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3811

def resource_folder_display_name
  @resource_folder_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3818
3819
3820
3821
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3818

def update!(**args)
  @resource_folder = args[:resource_folder] if args.key?(:resource_folder)
  @resource_folder_display_name = args[:resource_folder_display_name] if args.key?(:resource_folder_display_name)
end