Class: Google::Apis::Area120tablesV1alpha1::ListWorkspacesResponse
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::ListWorkspacesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/area120tables_v1alpha1/classes.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb
Overview
Response message for TablesService.ListWorkspaces.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#workspaces ⇒ Array<Google::Apis::Area120tablesV1alpha1::Workspace>
The list of workspaces.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListWorkspacesResponse
constructor
A new instance of ListWorkspacesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListWorkspacesResponse
Returns a new instance of ListWorkspacesResponse.
363 364 365 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is empty, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
356 357 358 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 356 def next_page_token @next_page_token end |
#workspaces ⇒ Array<Google::Apis::Area120tablesV1alpha1::Workspace>
The list of workspaces.
Corresponds to the JSON property workspaces
361 362 363 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 361 def workspaces @workspaces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
368 369 370 371 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 368 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @workspaces = args[:workspaces] if args.key?(:workspaces) end |