Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AzureMetadata

Returns a new instance of GoogleCloudSecuritycenterV2AzureMetadata.



5015
5016
5017
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5015

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

Instance Attribute Details

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

Corresponds to the JSON property managementGroups



4998
4999
5000
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4998

def management_groups
  @management_groups
end

#resource_groupGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup

Corresponds to the JSON property resourceGroup



5003
5004
5005
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5003

def resource_group
  @resource_group
end

#subscriptionGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription

Corresponds to the JSON property subscription



5008
5009
5010
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5008

def subscription
  @subscription
end

#tenantGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureTenant

Corresponds to the JSON property tenant



5013
5014
5015
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5013

def tenant
  @tenant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5020
5021
5022
5023
5024
5025
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5020

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