Class: Google::Apis::DeploymentmanagerV2::SetAutoscalerLinkOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/deploymentmanager_v2/classes.rb,
lib/google/apis/deploymentmanager_v2/representations.rb,
lib/google/apis/deploymentmanager_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetAutoscalerLinkOperationMetadata

Returns a new instance of SetAutoscalerLinkOperationMetadata.



2093
2094
2095
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 2093

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

Instance Attribute Details

#zonal_igm_idsArray<Fixnum>

List of zonal IGM IDs part of the RMIG. Corresponds to the JSON property zonalIgmIds

Returns:

  • (Array<Fixnum>)


2086
2087
2088
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 2086

def zonal_igm_ids
  @zonal_igm_ids
end

#zone_to_igm_idsHash<String,Fixnum>

Map of zone to an ID of the zonal IGM belonging to the RMIG. Corresponds to the JSON property zoneToIgmIds

Returns:

  • (Hash<String,Fixnum>)


2091
2092
2093
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 2091

def zone_to_igm_ids
  @zone_to_igm_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2098
2099
2100
2101
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 2098

def update!(**args)
  @zonal_igm_ids = args[:zonal_igm_ids] if args.key?(:zonal_igm_ids)
  @zone_to_igm_ids = args[:zone_to_igm_ids] if args.key?(:zone_to_igm_ids)
end