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.



35294
35295
35296
# File 'lib/google/apis/compute_alpha/classes.rb', line 35294

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

Instance Attribute Details

#creation_timestampString

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

Returns:

  • (String)


35259
35260
35261
# File 'lib/google/apis/compute_alpha/classes.rb', line 35259

def creation_timestamp
  @creation_timestamp
end

#idFixnum

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

Returns:

  • (Fixnum)


35265
35266
35267
# File 'lib/google/apis/compute_alpha/classes.rb', line 35265

def id
  @id
end

#kindString

Type of the resource. Always compute#multiMigMember for a list of multi-MIG members. Corresponds to the JSON property kind

Returns:

  • (String)


35271
35272
35273
# File 'lib/google/apis/compute_alpha/classes.rb', line 35271

def kind
  @kind
end

#nameString

[Output Only] The name of this multi-MIG member generated by Google Compute Engine. Corresponds to the JSON property name

Returns:

  • (String)


35277
35278
35279
# File 'lib/google/apis/compute_alpha/classes.rb', line 35277

def name
  @name
end

#regionString

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

Returns:

  • (String)


35282
35283
35284
# File 'lib/google/apis/compute_alpha/classes.rb', line 35282

def region
  @region
end

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

Returns:

  • (String)


35287
35288
35289
# File 'lib/google/apis/compute_alpha/classes.rb', line 35287

def self_link
  @self_link
end

#statusGoogle::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