class Google::Apis::FileV1::ListInstancesResponse

ListInstancesResponse is the result of ListInstancesRequest.

Attributes

instances[RW]

A list of instances in the project for the specified location. If the “ location“ value in the request is “-”, the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the “unreachable” field will be populated with a list of unreachable locations. Corresponds to the JSON property `instances` @return [Array<Google::Apis::FileV1::Instance>]

next_page_token[RW]

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. Corresponds to the JSON property `nextPageToken` @return [String]

unreachable[RW]

Locations that could not be reached. Corresponds to the JSON property `unreachable` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/file_v1/classes.rb, line 827
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/file_v1/classes.rb, line 832
def update!(**args)
  @instances = args[:instances] if args.key?(:instances)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end