Class: Google::Apis::ComputeBeta::MultiMigMember

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



35550
35551
35552
# File 'lib/google/apis/compute_beta/classes.rb', line 35550

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)


35514
35515
35516
# File 'lib/google/apis/compute_beta/classes.rb', line 35514

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)


35521
35522
35523
# File 'lib/google/apis/compute_beta/classes.rb', line 35521

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)


35527
35528
35529
# File 'lib/google/apis/compute_beta/classes.rb', line 35527

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)


35532
35533
35534
# File 'lib/google/apis/compute_beta/classes.rb', line 35532

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)


35537
35538
35539
# File 'lib/google/apis/compute_beta/classes.rb', line 35537

def region
  @region
end

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

Returns:

  • (String)


35543
35544
35545
# File 'lib/google/apis/compute_beta/classes.rb', line 35543

def self_link
  @self_link
end

#statusGoogle::Apis::ComputeBeta::MultiMigMemberStatus

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



35548
35549
35550
# File 'lib/google/apis/compute_beta/classes.rb', line 35548

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35555
35556
35557
35558
35559
35560
35561
35562
35563
# File 'lib/google/apis/compute_beta/classes.rb', line 35555

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