Class: Google::Apis::ComputeAlpha::MultiMig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MultiMig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
MultiMIG represents a group of Managed Instance Groups.
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ String
An optional description of this resource.
-
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#location_policy ⇒ Google::Apis::ComputeAlpha::MultiMigLocationPolicy
Policy regarding where to create MIGs Initially only zonal MIGs in the same zone are supported.
-
#name ⇒ String
Name of the resource.
-
#parts ⇒ Hash<String,Google::Apis::ComputeAlpha::MultiMigPart>
User-provided names for Parts of MultiMIG and the Parts themselves.
-
#region ⇒ String
[Output Only] URL of the region where the resource resides.
-
#scheduling_policy ⇒ Google::Apis::ComputeAlpha::MultiMigSchedulingPolicy
Policy for handling provisioning and other scheduling-related events.
-
#self_link ⇒ String
[Output only] Server-defined URL for the resource.
-
#self_link_with_id ⇒ String
[Output Only] Server-defined URL for this resource with the resource id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultiMig
constructor
A new instance of MultiMig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultiMig
Returns a new instance of MultiMig.
27096 27097 27098 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27096 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
Corresponds to the JSON property creationTimestamp
27034 27035 27036 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27034 def @creation_timestamp end |
#description ⇒ String
An optional description of this resource. Provide this property when you
create the resource.
Corresponds to the JSON property description
27040 27041 27042 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27040 def description @description end |
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource. This identifier is
defined by the server.
Corresponds to the JSON property id
27046 27047 27048 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27046 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#multiMig for MultiMIGs.
Corresponds to the JSON property kind
27051 27052 27053 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27051 def kind @kind end |
#location_policy ⇒ Google::Apis::ComputeAlpha::MultiMigLocationPolicy
Policy regarding where to create MIGs Initially only zonal MIGs in the same
zone are supported.
Corresponds to the JSON property locationPolicy
27057 27058 27059 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27057 def location_policy @location_policy end |
#name ⇒ String
Name of the resource. Provided by the client when the resource is created. The
name must be 1-63 characters long, and comply with RFC1035. Specifically, the
name must be 1-63 characters long and match the regular expression [a-z]([-a-
z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
and all following characters must be a dash, lowercase letter, or digit,
except the last character, which cannot be a dash.
Corresponds to the JSON property name
27067 27068 27069 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27067 def name @name end |
#parts ⇒ Hash<String,Google::Apis::ComputeAlpha::MultiMigPart>
User-provided names for Parts of MultiMIG and the Parts themselves.
Corresponds to the JSON property parts
27072 27073 27074 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27072 def parts @parts end |
#region ⇒ String
[Output Only] URL of the region where the resource resides. Only applicable
for regional resources. You must specify this field as part of the HTTP
request URL. It is not settable as a field in the request body.
Corresponds to the JSON property region
27079 27080 27081 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27079 def region @region end |
#scheduling_policy ⇒ Google::Apis::ComputeAlpha::MultiMigSchedulingPolicy
Policy for handling provisioning and other scheduling-related events.
Corresponds to the JSON property schedulingPolicy
27084 27085 27086 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27084 def scheduling_policy @scheduling_policy end |
#self_link ⇒ String
[Output only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
27089 27090 27091 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27089 def self_link @self_link end |
#self_link_with_id ⇒ String
[Output Only] Server-defined URL for this resource with the resource id.
Corresponds to the JSON property selfLinkWithId
27094 27095 27096 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27094 def self_link_with_id @self_link_with_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27101 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @location_policy = args[:location_policy] if args.key?(:location_policy) @name = args[:name] if args.key?(:name) @parts = args[:parts] if args.key?(:parts) @region = args[:region] if args.key?(:region) @scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy) @self_link = args[:self_link] if args.key?(:self_link) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) end |