Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Folder
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Folder
- 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
-
#resource_folder ⇒ String
Full resource name of this folder.
-
#resource_folder_display_name ⇒ String
The user defined display name for this folder.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Folder
constructor
A new instance of GoogleCloudSecuritycenterV2Folder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Folder
Returns a new instance of GoogleCloudSecuritycenterV2Folder.
5976 5977 5978 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5976 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_folder ⇒ String
Full resource name of this folder. See: https://cloud.google.com/apis/design/
resource_names#full_resource_name
Corresponds to the JSON property resourceFolder
5969 5970 5971 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5969 def resource_folder @resource_folder end |
#resource_folder_display_name ⇒ String
The user defined display name for this folder.
Corresponds to the JSON property resourceFolderDisplayName
5974 5975 5976 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5974 def resource_folder_display_name @resource_folder_display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5981 5982 5983 5984 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5981 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 |