Class: Google::Apis::SecuritycenterV1beta2::AzureMetadata

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) ⇒ AzureMetadata

Returns a new instance of AzureMetadata.



705
706
707
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 705

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

Instance Attribute Details

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

Corresponds to the JSON property managementGroups



688
689
690
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 688

def management_groups
  @management_groups
end

#resource_groupGoogle::Apis::SecuritycenterV1beta2::AzureResourceGroup

Corresponds to the JSON property resourceGroup



693
694
695
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 693

def resource_group
  @resource_group
end

#subscriptionGoogle::Apis::SecuritycenterV1beta2::AzureSubscription

Corresponds to the JSON property subscription



698
699
700
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 698

def subscription
  @subscription
end

#tenantGoogle::Apis::SecuritycenterV1beta2::AzureTenant

Corresponds to the JSON property tenant



703
704
705
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 703

def tenant
  @tenant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



710
711
712
713
714
715
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 710

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