Class: Google::Apis::Area120tablesV1alpha1::ListWorkspacesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_tokenString

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

Returns:

  • (String)


294
295
296
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 294

def next_page_token
  @next_page_token
end

#workspacesArray<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