Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata
- 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
Overview
Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
Instance Attribute Summary collapse
-
#management_groups ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup>
A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
-
#resource_group ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup
Represents an Azure resource group.
-
#subscription ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription
Represents an Azure subscription.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AzureMetadata
constructor
A new instance of GoogleCloudSecuritycenterV2AzureMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AzureMetadata
Returns a new instance of GoogleCloudSecuritycenterV2AzureMetadata.
3807 3808 3809 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3807 def initialize(**args) update!(**args) end |
Instance Attribute Details
#management_groups ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup>
A list of Azure management groups associated with the resource, ordered from
lowest level (closest to the subscription) to highest level.
Corresponds to the JSON property managementGroups
3795 3796 3797 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3795 def management_groups @management_groups end |
#resource_group ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup
Represents an Azure resource group.
Corresponds to the JSON property resourceGroup
3800 3801 3802 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3800 def resource_group @resource_group end |
#subscription ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription
Represents an Azure subscription.
Corresponds to the JSON property subscription
3805 3806 3807 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3805 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3812 3813 3814 3815 3816 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3812 def update!(**args) @management_groups = args[:management_groups] if args.key?(:management_groups) @resource_group = args[:resource_group] if args.key?(:resource_group) @subscription = args[:subscription] if args.key?(:subscription) end |