Class: Google::Apis::WorkstationsV1beta::ListUsableWorkstationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/representations.rb

Overview

Response message for ListUsableWorkstations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListUsableWorkstationsResponse

Returns a new instance of ListUsableWorkstationsResponse.



742
743
744
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 742

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


730
731
732
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 730

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


735
736
737
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 735

def unreachable
  @unreachable
end

#workstationsArray<Google::Apis::WorkstationsV1beta::Workstation>

The requested workstations. Corresponds to the JSON property workstations



740
741
742
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 740

def workstations
  @workstations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



747
748
749
750
751
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 747

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
  @workstations = args[:workstations] if args.key?(:workstations)
end