Class: Google::Apis::ComputeAlpha::MultiMigMember
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MultiMigMember
- 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
Represents a Multi-MIG member resource.
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp of this multi-MIG member in RFC3339 text format.
-
#id ⇒ Fixnum
[Output only] The unique identifier for this resource type.
-
#kind ⇒ String
Type of the resource.
-
#name ⇒ String
[Output Only] The name of this multi-MIG member generated by Google Compute Engine.
-
#region ⇒ String
[Output Only] The URL of the region where the multi-MIG resides.
-
#self_link ⇒ String
[Output Only] Server-defined fully-qualified URL for this resource.
-
#status ⇒ Google::Apis::ComputeAlpha::MultiMigMemberStatus
[Output Only] The status of this multi-MIG member Corresponds to the JSON property
status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultiMigMember
constructor
A new instance of MultiMigMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultiMigMember
Returns a new instance of MultiMigMember.
35294 35295 35296 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
[Output Only] Creation timestamp of this multi-MIG member in RFC3339 text
format.
Corresponds to the JSON property creationTimestamp
35259 35260 35261 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35259 def @creation_timestamp end |
#id ⇒ Fixnum
[Output only] The unique identifier for this resource type. The server
generates this identifier.
Corresponds to the JSON property id
35265 35266 35267 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35265 def id @id end |
#kind ⇒ String
Type of the resource. Always compute#multiMigMember for a list of multi-MIG
members.
Corresponds to the JSON property kind
35271 35272 35273 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35271 def kind @kind end |
#name ⇒ String
[Output Only] The name of this multi-MIG member generated by Google Compute
Engine.
Corresponds to the JSON property name
35277 35278 35279 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35277 def name @name end |
#region ⇒ String
[Output Only] The URL of the region where the multi-MIG resides.
Corresponds to the JSON property region
35282 35283 35284 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35282 def region @region end |
#self_link ⇒ String
[Output Only] Server-defined fully-qualified URL for this resource.
Corresponds to the JSON property selfLink
35287 35288 35289 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35287 def self_link @self_link end |
#status ⇒ Google::Apis::ComputeAlpha::MultiMigMemberStatus
[Output Only] The status of this multi-MIG member
Corresponds to the JSON property status
35292 35293 35294 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35292 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35299 35300 35301 35302 35303 35304 35305 35306 35307 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35299 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) end |