Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Folder
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Folder
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#resource_folder ⇒ String
Corresponds to the JSON property
resourceFolder. -
#resource_folder_display_name ⇒ String
Corresponds to the JSON property
resourceFolderDisplayName.
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.
7139 7140 7141 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_folder ⇒ String
Corresponds to the JSON property resourceFolder
7132 7133 7134 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7132 def resource_folder @resource_folder end |
#resource_folder_display_name ⇒ String
Corresponds to the JSON property resourceFolderDisplayName
7137 7138 7139 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7137 def resource_folder_display_name @resource_folder_display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7144 7145 7146 7147 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7144 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 |