Class: Google::Apis::Area120tablesV1alpha1::ListWorkspacesResponse
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::ListWorkspacesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/area120tables_v1alpha1/classes.rb,
generated/google/apis/area120tables_v1alpha1/representations.rb,
generated/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_token
to 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.
301 302 303 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 301 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
294 295 296 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 294 def next_page_token @next_page_token end |
#workspaces ⇒ Array<Google::Apis::Area120tablesV1alpha1::Workspace>
The list of workspaces.
Corresponds to the JSON property workspaces
299 300 301 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 299 def workspaces @workspaces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
306 307 308 309 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 306 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @workspaces = args[:workspaces] if args.key?(:workspaces) end |