Class: Google::Apis::ComputeBeta::MultiMigsList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiMigsList

Returns a new instance of MultiMigsList.



25639
25640
25641
# File 'lib/google/apis/compute_beta/classes.rb', line 25639

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

Instance Attribute Details

#etagString

Corresponds to the JSON property etag

Returns:

  • (String)


25599
25600
25601
# File 'lib/google/apis/compute_beta/classes.rb', line 25599

def etag
  @etag
end

#idString

Unique identifier for the resource; defined by the server. Corresponds to the JSON property id

Returns:

  • (String)


25604
25605
25606
# File 'lib/google/apis/compute_beta/classes.rb', line 25604

def id
  @id
end

#itemsArray<Google::Apis::ComputeBeta::MultiMig>

A list of multi-MIGs in the specified project and region. Corresponds to the JSON property items



25609
25610
25611
# File 'lib/google/apis/compute_beta/classes.rb', line 25609

def items
  @items
end

#kindString

Type of resource. Corresponds to the JSON property kind

Returns:

  • (String)


25614
25615
25616
# File 'lib/google/apis/compute_beta/classes.rb', line 25614

def kind
  @kind
end

#next_page_tokenString

This token allows you to get the next page of results for maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


25622
25623
25624
# File 'lib/google/apis/compute_beta/classes.rb', line 25622

def next_page_token
  @next_page_token
end

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

Returns:

  • (String)


25627
25628
25629
# File 'lib/google/apis/compute_beta/classes.rb', line 25627

def self_link
  @self_link
end

#unreachablesArray<String>

[Output only] Unreachable resources. Corresponds to the JSON property unreachables

Returns:

  • (Array<String>)


25632
25633
25634
# File 'lib/google/apis/compute_beta/classes.rb', line 25632

def unreachables
  @unreachables
end

#warningGoogle::Apis::ComputeBeta::MultiMigsList::Warning

Informational warning message. Corresponds to the JSON property warning



25637
25638
25639
# File 'lib/google/apis/compute_beta/classes.rb', line 25637

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
# File 'lib/google/apis/compute_beta/classes.rb', line 25644

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @self_link = args[:self_link] if args.key?(:self_link)
  @unreachables = args[:unreachables] if args.key?(:unreachables)
  @warning = args[:warning] if args.key?(:warning)
end