Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AzureMetadata

Returns a new instance of GoogleCloudSecuritycenterV2AzureMetadata.



5318
5319
5320
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5318

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#management_groupsArray<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureManagementGroup>

Corresponds to the JSON property managementGroups



5301
5302
5303
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5301

def management_groups
  @management_groups
end

#resource_groupGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureResourceGroup

Corresponds to the JSON property resourceGroup



5306
5307
5308
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5306

def resource_group
  @resource_group
end

#subscriptionGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription

Corresponds to the JSON property subscription



5311
5312
5313
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5311

def subscription
  @subscription
end

#tenantGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant

Corresponds to the JSON property tenant



5316
5317
5318
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5316

def tenant
  @tenant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5323
5324
5325
5326
5327
5328
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5323

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