Class: Google::Apis::WorkstationsV1beta::ListWorkstationsResponse

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 ListWorkstations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkstationsResponse

Returns a new instance of ListWorkstationsResponse.



1055
1056
1057
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1055

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

Instance Attribute Details

#next_page_tokenString

Optional. 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)


1043
1044
1045
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1043

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Optional. Unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1048
1049
1050
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1048

def unreachable
  @unreachable
end

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

The requested workstations. Corresponds to the JSON property workstations



1053
1054
1055
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1053

def workstations
  @workstations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1060
1061
1062
1063
1064
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1060

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