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.
-
#id ⇒ Fixnum
Output only.
-
#kind ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#region ⇒ String
Output only.
-
#self_link ⇒ String
Output only.
-
#status ⇒ Google::Apis::ComputeAlpha::MultiMigMemberStatus
Output only.
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.
40806 40807 40808 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
Output only. [Output Only] Creation timestamp of this multi-MIG member
inRFC3339 text format.
Corresponds to the JSON property creationTimestamp
40770 40771 40772 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40770 def @creation_timestamp end |
#id ⇒ Fixnum
Output only. [Output only] The unique identifier for this resource type. The
server
generates this identifier.
Corresponds to the JSON property id
40777 40778 40779 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40777 def id @id end |
#kind ⇒ String
Output only. Type of the resource. Alwayscompute#multiMigMember for a list of
multi-MIG members.
Corresponds to the JSON property kind
40783 40784 40785 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40783 def kind @kind end |
#name ⇒ String
Output only. [Output Only] Server-defined name for the multi-MIG member.
Corresponds to the JSON property name
40788 40789 40790 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40788 def name @name end |
#region ⇒ String
Output only. [Output Only] The URL of the region where the multi-MIG resides.
Corresponds to the JSON property region
40793 40794 40795 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40793 def region @region end |
#self_link ⇒ String
Output only. [Output Only] Server-defined fully-qualified URL for this
resource.
Corresponds to the JSON property selfLink
40799 40800 40801 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40799 def self_link @self_link end |
#status ⇒ Google::Apis::ComputeAlpha::MultiMigMemberStatus
Output only. [Output Only] The status of this multi-MIG member
Corresponds to the JSON property status
40804 40805 40806 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40804 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40811 40812 40813 40814 40815 40816 40817 40818 40819 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40811 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 |