Class: Google::Apis::SecuritycenterV1::Folder
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Folder
- 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
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) ⇒ Folder
constructor
A new instance of Folder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Folder
Returns a new instance of Folder.
3408 3409 3410 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_folder ⇒ String
Corresponds to the JSON property resourceFolder
3401 3402 3403 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3401 def resource_folder @resource_folder end |
#resource_folder_display_name ⇒ String
Corresponds to the JSON property resourceFolderDisplayName
3406 3407 3408 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3406 def resource_folder_display_name @resource_folder_display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3413 3414 3415 3416 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3413 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 |