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.
12722 12723 12724 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folders ⇒ Array<Google::Apis::SecuritycenterV1::Folder>
Corresponds to the JSON property folders
12680 12681 12682 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12680 def folders @folders end |
#resource_display_name ⇒ String
Corresponds to the JSON property resourceDisplayName
12685 12686 12687 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12685 def resource_display_name @resource_display_name end |
#resource_name ⇒ String
Corresponds to the JSON property resourceName
12690 12691 12692 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12690 def resource_name @resource_name end |
#resource_owners ⇒ Array<String>
Corresponds to the JSON property resourceOwners
12695 12696 12697 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12695 def resource_owners @resource_owners end |
#resource_parent ⇒ String
Corresponds to the JSON property resourceParent
12700 12701 12702 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12700 def resource_parent @resource_parent end |
#resource_parent_display_name ⇒ String
Corresponds to the JSON property resourceParentDisplayName
12705 12706 12707 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12705 def resource_parent_display_name @resource_parent_display_name end |
#resource_project ⇒ String
Corresponds to the JSON property resourceProject
12710 12711 12712 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12710 def resource_project @resource_project end |
#resource_project_display_name ⇒ String
Corresponds to the JSON property resourceProjectDisplayName
12715 12716 12717 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12715 def resource_project_display_name @resource_project_display_name end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
12720 12721 12722 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12720 def resource_type @resource_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12727 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 |