Class: Google::Apis::SecuritycenterV1::AzureMetadata

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

Returns a new instance of AzureMetadata.



1070
1071
1072
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1070

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

Instance Attribute Details

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

Corresponds to the JSON property managementGroups



1053
1054
1055
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1053

def management_groups
  @management_groups
end

#resource_groupGoogle::Apis::SecuritycenterV1::AzureResourceGroup

Corresponds to the JSON property resourceGroup



1058
1059
1060
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1058

def resource_group
  @resource_group
end

#subscriptionGoogle::Apis::SecuritycenterV1::AzureSubscription

Corresponds to the JSON property subscription



1063
1064
1065
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1063

def subscription
  @subscription
end

#tenantGoogle::Apis::SecuritycenterV1::AzureTenant

Corresponds to the JSON property tenant



1068
1069
1070
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1068

def tenant
  @tenant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
1078
1079
1080
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1075

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