Class: Google::Apis::SecuritycenterV1::SecurityCenterProperties
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::SecurityCenterProperties
- 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
-
#folders ⇒ Array<Google::Apis::SecuritycenterV1::Folder>
Corresponds to the JSON property
folders. -
#resource_display_name ⇒ String
Corresponds to the JSON property
resourceDisplayName. -
#resource_name ⇒ String
Corresponds to the JSON property
resourceName. -
#resource_owners ⇒ Array<String>
Corresponds to the JSON property
resourceOwners. -
#resource_parent ⇒ String
Corresponds to the JSON property
resourceParent. -
#resource_parent_display_name ⇒ String
Corresponds to the JSON property
resourceParentDisplayName. -
#resource_project ⇒ String
Corresponds to the JSON property
resourceProject. -
#resource_project_display_name ⇒ String
Corresponds to the JSON property
resourceProjectDisplayName. -
#resource_type ⇒ String
Corresponds to the JSON property
resourceType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityCenterProperties
constructor
A new instance of SecurityCenterProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityCenterProperties
Returns a new instance of SecurityCenterProperties.
12622 12623 12624 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folders ⇒ Array<Google::Apis::SecuritycenterV1::Folder>
Corresponds to the JSON property folders
12580 12581 12582 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12580 def folders @folders end |
#resource_display_name ⇒ String
Corresponds to the JSON property resourceDisplayName
12585 12586 12587 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12585 def resource_display_name @resource_display_name end |
#resource_name ⇒ String
Corresponds to the JSON property resourceName
12590 12591 12592 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12590 def resource_name @resource_name end |
#resource_owners ⇒ Array<String>
Corresponds to the JSON property resourceOwners
12595 12596 12597 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12595 def resource_owners @resource_owners end |
#resource_parent ⇒ String
Corresponds to the JSON property resourceParent
12600 12601 12602 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12600 def resource_parent @resource_parent end |
#resource_parent_display_name ⇒ String
Corresponds to the JSON property resourceParentDisplayName
12605 12606 12607 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12605 def resource_parent_display_name @resource_parent_display_name end |
#resource_project ⇒ String
Corresponds to the JSON property resourceProject
12610 12611 12612 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12610 def resource_project @resource_project end |
#resource_project_display_name ⇒ String
Corresponds to the JSON property resourceProjectDisplayName
12615 12616 12617 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12615 def resource_project_display_name @resource_project_display_name end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
12620 12621 12622 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12620 def resource_type @resource_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12627 def update!(**args) @folders = args[:folders] if args.key?(:folders) @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name) @resource_name = args[:resource_name] if args.key?(:resource_name) @resource_owners = args[:resource_owners] if args.key?(:resource_owners) @resource_parent = args[:resource_parent] if args.key?(:resource_parent) @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name) @resource_project = args[:resource_project] if args.key?(:resource_project) @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name) @resource_type = args[:resource_type] if args.key?(:resource_type) end |