Class: Google::Apis::ComputeAlpha::MultiMigMember

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiMigMember

Returns a new instance of MultiMigMember.



43502
43503
43504
# File 'lib/google/apis/compute_alpha/classes.rb', line 43502

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

Instance Attribute Details

#creation_timestampString

Output only. [Output Only] Creation timestamp of this multi-MIG member inRFC3339 text format. Corresponds to the JSON property creationTimestamp

Returns:

  • (String)


43466
43467
43468
# File 'lib/google/apis/compute_alpha/classes.rb', line 43466

def creation_timestamp
  @creation_timestamp
end

#idFixnum

Output only. [Output only] The unique identifier for this resource type. The server generates this identifier. Corresponds to the JSON property id

Returns:

  • (Fixnum)


43473
43474
43475
# File 'lib/google/apis/compute_alpha/classes.rb', line 43473

def id
  @id
end

#kindString

Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members. Corresponds to the JSON property kind

Returns:

  • (String)


43479
43480
43481
# File 'lib/google/apis/compute_alpha/classes.rb', line 43479

def kind
  @kind
end

#nameString

Output only. [Output Only] Server-defined name for the multi-MIG member. Corresponds to the JSON property name

Returns:

  • (String)


43484
43485
43486
# File 'lib/google/apis/compute_alpha/classes.rb', line 43484

def name
  @name
end

#regionString

Output only. [Output Only] The URL of the region where the multi-MIG resides. Corresponds to the JSON property region

Returns:

  • (String)


43489
43490
43491
# File 'lib/google/apis/compute_alpha/classes.rb', line 43489

def region
  @region
end

Output only. [Output Only] Server-defined fully-qualified URL for this resource. Corresponds to the JSON property selfLink

Returns:

  • (String)


43495
43496
43497
# File 'lib/google/apis/compute_alpha/classes.rb', line 43495

def self_link
  @self_link
end

#statusGoogle::Apis::ComputeAlpha::MultiMigMemberStatus

Output only. [Output Only] The status of this multi-MIG member Corresponds to the JSON property status



43500
43501
43502
# File 'lib/google/apis/compute_alpha/classes.rb', line 43500

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43507
43508
43509
43510
43511
43512
43513
43514
43515
# File 'lib/google/apis/compute_alpha/classes.rb', line 43507

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