Class: Google::Apis::SecuritycenterV1beta1::AzureMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::AzureMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#management_groups ⇒ Array<Google::Apis::SecuritycenterV1beta1::AzureManagementGroup>
Corresponds to the JSON property
managementGroups. -
#resource_group ⇒ Google::Apis::SecuritycenterV1beta1::AzureResourceGroup
Corresponds to the JSON property
resourceGroup. -
#subscription ⇒ Google::Apis::SecuritycenterV1beta1::AzureSubscription
Corresponds to the JSON property
subscription. -
#tenant ⇒ Google::Apis::SecuritycenterV1beta1::AzureTenant
Corresponds to the JSON property
tenant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AzureMetadata
constructor
A new instance of AzureMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AzureMetadata
Returns a new instance of AzureMetadata.
904 905 906 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 904 def initialize(**args) update!(**args) end |
Instance Attribute Details
#management_groups ⇒ Array<Google::Apis::SecuritycenterV1beta1::AzureManagementGroup>
Corresponds to the JSON property managementGroups
887 888 889 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 887 def management_groups @management_groups end |
#resource_group ⇒ Google::Apis::SecuritycenterV1beta1::AzureResourceGroup
Corresponds to the JSON property resourceGroup
892 893 894 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 892 def resource_group @resource_group end |
#subscription ⇒ Google::Apis::SecuritycenterV1beta1::AzureSubscription
Corresponds to the JSON property subscription
897 898 899 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 897 def subscription @subscription end |
#tenant ⇒ Google::Apis::SecuritycenterV1beta1::AzureTenant
Corresponds to the JSON property tenant
902 903 904 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 902 def tenant @tenant end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
909 910 911 912 913 914 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 909 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) @tenant = args[:tenant] if args.key?(:tenant) end |