# Area 120 Tables V1alpha1 API - Class Google::Area120::Tables::V1alpha1::TablesService::Client (v0.2.5)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.2.5 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client)
- [0.2.4](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/0.2.4/Google-Area120-Tables-V1alpha1-TablesService-Client)
Reference documentation and code samples for the Area 120 Tables V1alpha1 API class Google::Area120::Tables::V1alpha1::TablesService::Client.

Client for the TablesService service.

The Tables Service provides an API for reading and updating tables.
It defines the following resource model:

- The API has a collection of [Table](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Table "Google::Area120::Tables::V1alpha1::Table (class)")
  resources, named `tables/`

- Each Table has a collection of [Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row "Google::Area120::Tables::V1alpha1::Row (class)")
  resources, named `tables//rows/`

- The API has a collection of
  [Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Workspace "Google::Area120::Tables::V1alpha1::Workspace (class)")
  resources, named `workspaces/`.

## Inherits

- Object

## Includes

- [Google::Area120::Tables::V1alpha1::TablesService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Paths)

## Methods

### .configure

    def self.configure() { |config| ... } -> Client::Configuration

Configure the TablesService Client class.


<br />

See [Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration "Google::Area120::Tables::V1alpha1::TablesService::Client::Configuration (class)")
for a description of the configuration fields.
**Yields**

- (config) --- Configure the Client client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration))
**Returns**

- ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration))
**Example**

```ruby
# Modify the configuration for all TablesService clients
::Google::Area120::Tables::V1alpha1::TablesService::Client.configure do |config|
  config.timeout = 10.0
end
```

### #batch_create_rows

    def batch_create_rows(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse
    def batch_create_rows(parent: nil, requests: nil) -> ::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse

Creates multiple rows.
**Overloads**

    def batch_create_rows(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse

Pass arguments to `batch_create_rows` via a request object, either of type [BatchCreateRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchCreateRowsRequest "Google::Area120::Tables::V1alpha1::BatchCreateRowsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::BatchCreateRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchCreateRowsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def batch_create_rows(parent: nil, requests: nil) -> ::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse

Pass arguments to `batch_create_rows` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent table where the rows will be created. Format: tables/{table}
- **requests** (::Array\<[::Google::Area120::Tables::V1alpha1::CreateRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-CreateRowRequest), ::Hash\>) --- Required. The request message specifying the rows to create.


  A maximum of 500 rows can be created in a single batch.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchCreateRowsResponse))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchCreateRowsResponse))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::BatchCreateRowsRequest.new

# Call the batch_create_rows method.
result = client.batch_create_rows request

# The returned object is of type Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse.
p result
```

### #batch_delete_rows

    def batch_delete_rows(request, options = nil) -> ::Google::Protobuf::Empty
    def batch_delete_rows(parent: nil, names: nil) -> ::Google::Protobuf::Empty

Deletes multiple rows.
**Overloads**

    def batch_delete_rows(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `batch_delete_rows` via a request object, either of type [BatchDeleteRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchDeleteRowsRequest "Google::Area120::Tables::V1alpha1::BatchDeleteRowsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::BatchDeleteRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchDeleteRowsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def batch_delete_rows(parent: nil, names: nil) -> ::Google::Protobuf::Empty

Pass arguments to `batch_delete_rows` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent table shared by all rows being deleted. Format: tables/{table}
- **names** (::Array\<::String\>) --- Required. The names of the rows to delete. All rows must belong to the parent table or else the entire batch will fail. A maximum of 500 rows can be deleted in a batch. Format: tables/{table}/rows/{row}
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::BatchDeleteRowsRequest.new

# Call the batch_delete_rows method.
result = client.batch_delete_rows request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #batch_update_rows

    def batch_update_rows(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse
    def batch_update_rows(parent: nil, requests: nil) -> ::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse

Updates multiple rows.
**Overloads**

    def batch_update_rows(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse

Pass arguments to `batch_update_rows` via a request object, either of type [BatchUpdateRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchUpdateRowsRequest "Google::Area120::Tables::V1alpha1::BatchUpdateRowsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::BatchUpdateRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchUpdateRowsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def batch_update_rows(parent: nil, requests: nil) -> ::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse

Pass arguments to `batch_update_rows` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent table shared by all rows being updated. Format: tables/{table}
- **requests** (::Array\<[::Google::Area120::Tables::V1alpha1::UpdateRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-UpdateRowRequest), ::Hash\>) --- Required. The request messages specifying the rows to update.


  A maximum of 500 rows can be modified in a single batch.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchUpdateRowsResponse))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-BatchUpdateRowsResponse))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::BatchUpdateRowsRequest.new

# Call the batch_update_rows method.
result = client.batch_update_rows request

# The returned object is of type Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse.
p result
```

### #configure

    def configure() { |config| ... } -> Client::Configuration

Configure the TablesService Client instance.


The configuration is set to the derived mode, meaning that values can be changed,
but structural changes (adding new fields, etc.) are not allowed. Structural changes
should be made on [Client.configure](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client#Google__Area120__Tables__V1alpha1__TablesService__Client_configure_class_ "Google::Area120::Tables::V1alpha1::TablesService::Client.configure (method)").

<br />

See [Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration "Google::Area120::Tables::V1alpha1::TablesService::Client::Configuration (class)")
for a description of the configuration fields.
**Yields**

- (config) --- Configure the Client client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration))
**Returns**

- ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration))

### #create_row

    def create_row(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Row
    def create_row(parent: nil, row: nil, view: nil) -> ::Google::Area120::Tables::V1alpha1::Row

Creates a row.
**Overloads**

    def create_row(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Row

Pass arguments to `create_row` via a request object, either of type [CreateRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-CreateRowRequest "Google::Area120::Tables::V1alpha1::CreateRowRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::CreateRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-CreateRowRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_row(parent: nil, row: nil, view: nil) -> ::Google::Area120::Tables::V1alpha1::Row

Pass arguments to `create_row` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent table where this row will be created. Format: tables/{table}
- **row** ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row), ::Hash) --- Required. The row to create.
- **view** ([::Google::Area120::Tables::V1alpha1::View](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-View)) --- Optional. Column key to use for values in the row. Defaults to user entered name.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::CreateRowRequest.new

# Call the create_row method.
result = client.create_row request

# The returned object is of type Google::Area120::Tables::V1alpha1::Row.
p result
```

### #delete_row

    def delete_row(request, options = nil) -> ::Google::Protobuf::Empty
    def delete_row(name: nil) -> ::Google::Protobuf::Empty

Deletes a row.
**Overloads**

    def delete_row(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `delete_row` via a request object, either of type [DeleteRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-DeleteRowRequest "Google::Area120::Tables::V1alpha1::DeleteRowRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::DeleteRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-DeleteRowRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_row(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `delete_row` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the row to delete. Format: tables/{table}/rows/{row}
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::DeleteRowRequest.new

# Call the delete_row method.
result = client.delete_row request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #get_row

    def get_row(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Row
    def get_row(name: nil, view: nil) -> ::Google::Area120::Tables::V1alpha1::Row

Gets a row. Returns NOT_FOUND if the row does not exist in the table.
**Overloads**

    def get_row(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Row

Pass arguments to `get_row` via a request object, either of type [GetRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-GetRowRequest "Google::Area120::Tables::V1alpha1::GetRowRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::GetRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-GetRowRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_row(name: nil, view: nil) -> ::Google::Area120::Tables::V1alpha1::Row

Pass arguments to `get_row` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **name** (::String) --- Required. The name of the row to retrieve. Format: tables/{table}/rows/{row}
- **view** ([::Google::Area120::Tables::V1alpha1::View](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-View)) --- Optional. Column key to use for values in the row. Defaults to user entered name.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::GetRowRequest.new

# Call the get_row method.
result = client.get_row request

# The returned object is of type Google::Area120::Tables::V1alpha1::Row.
p result
```

### #get_table

    def get_table(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Table
    def get_table(name: nil) -> ::Google::Area120::Tables::V1alpha1::Table

Gets a table. Returns NOT_FOUND if the table does not exist.
**Overloads**

    def get_table(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Table

Pass arguments to `get_table` via a request object, either of type [GetTableRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-GetTableRequest "Google::Area120::Tables::V1alpha1::GetTableRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::GetTableRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-GetTableRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_table(name: nil) -> ::Google::Area120::Tables::V1alpha1::Table

Pass arguments to `get_table` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the table to retrieve. Format: tables/{table}
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::Table](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Table))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::Table](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Table))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::GetTableRequest.new

# Call the get_table method.
result = client.get_table request

# The returned object is of type Google::Area120::Tables::V1alpha1::Table.
p result
```

### #get_workspace

    def get_workspace(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Workspace
    def get_workspace(name: nil) -> ::Google::Area120::Tables::V1alpha1::Workspace

Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
**Overloads**

    def get_workspace(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Workspace

Pass arguments to `get_workspace` via a request object, either of type [GetWorkspaceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-GetWorkspaceRequest "Google::Area120::Tables::V1alpha1::GetWorkspaceRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::GetWorkspaceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-GetWorkspaceRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_workspace(name: nil) -> ::Google::Area120::Tables::V1alpha1::Workspace

Pass arguments to `get_workspace` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the workspace to retrieve. Format: workspaces/{workspace}
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Workspace))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Workspace))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::GetWorkspaceRequest.new

# Call the get_workspace method.
result = client.get_workspace request

# The returned object is of type Google::Area120::Tables::V1alpha1::Workspace.
p result
```

### #initialize

    def initialize() { |config| ... } -> Client

Create a new TablesService client object.
**Yields**

- (config) --- Configure the TablesService client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client-Configuration))
**Returns**

- ([Client](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-TablesService-Client)) --- a new instance of Client
**Example**

```ruby
# Create a client using the default configuration
client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a client using a custom configuration
client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new do |config|
  config.timeout = 10.0
end
```

### #list_rows

    def list_rows(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Row>
    def list_rows(parent: nil, page_size: nil, page_token: nil, view: nil, filter: nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Row>

Lists rows in a table. Returns NOT_FOUND if the table does not exist.
**Overloads**

    def list_rows(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Row>

Pass arguments to `list_rows` via a request object, either of type [ListRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ListRowsRequest "Google::Area120::Tables::V1alpha1::ListRowsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::ListRowsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ListRowsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_rows(parent: nil, page_size: nil, page_token: nil, view: nil, filter: nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Row>

Pass arguments to `list_rows` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent table. Format: tables/{table}
- **page_size** (::Integer) --- The maximum number of rows to return. The service may return fewer than this value.


  If unspecified, at most 50 rows are returned. The maximum value is 1,000;
  values above 1,000 are coerced to 1,000.
- **page_token** (::String) --- A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page.


  When paginating, all other parameters provided to `ListRows` must match
  the call that provided the page token.
- **view** ([::Google::Area120::Tables::V1alpha1::View](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-View)) --- Optional. Column key to use for values in the row. Defaults to user entered name.
- **filter** (::String) --- Optional. Raw text query to search for in rows of the table. Special characters must be escaped. Logical operators and field specific filtering not supported.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::ListRowsRequest.new

# Call the list_rows method.
result = client.list_rows request

# The returned object is of type Gapic::PagedEnumerable. You can
# iterate over all elements by calling #each, and the enumerable
# will lazily make API calls to fetch subsequent pages. Other
# methods are also available for managing paging directly.
result.each do |response|
  # Each element is of type ::Google::Area120::Tables::V1alpha1::Row.
  p response
end
```

### #list_tables

    def list_tables(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Table>
    def list_tables(page_size: nil, page_token: nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Table>

Lists tables for the user.
**Overloads**

    def list_tables(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Table>

Pass arguments to `list_tables` via a request object, either of type [ListTablesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ListTablesRequest "Google::Area120::Tables::V1alpha1::ListTablesRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::ListTablesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ListTablesRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_tables(page_size: nil, page_token: nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Table>

Pass arguments to `list_tables` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **page_size** (::Integer) --- The maximum number of tables to return. The service may return fewer than this value.


  If unspecified, at most 20 tables are returned. The maximum value is 100;
  values above 100 are coerced to 100.
- **page_token** (::String) --- A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page.


  When paginating, all other parameters provided to `ListTables` must match
  the call that provided the page token.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Area120::Tables::V1alpha1::Table](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Table)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Area120::Tables::V1alpha1::Table](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Table)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::ListTablesRequest.new

# Call the list_tables method.
result = client.list_tables request

# The returned object is of type Gapic::PagedEnumerable. You can
# iterate over all elements by calling #each, and the enumerable
# will lazily make API calls to fetch subsequent pages. Other
# methods are also available for managing paging directly.
result.each do |response|
  # Each element is of type ::Google::Area120::Tables::V1alpha1::Table.
  p response
end
```

### #list_workspaces

    def list_workspaces(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Workspace>
    def list_workspaces(page_size: nil, page_token: nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Workspace>

Lists workspaces for the user.
**Overloads**

    def list_workspaces(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Workspace>

Pass arguments to `list_workspaces` via a request object, either of type [ListWorkspacesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ListWorkspacesRequest "Google::Area120::Tables::V1alpha1::ListWorkspacesRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::ListWorkspacesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ListWorkspacesRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_workspaces(page_size: nil, page_token: nil) -> ::Gapic::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Workspace>

Pass arguments to `list_workspaces` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **page_size** (::Integer) --- The maximum number of workspaces to return. The service may return fewer than this value.


  If unspecified, at most 10 workspaces are returned. The maximum value is
  25; values above 25 are coerced to 25.
- **page_token** (::String) --- A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page.


  When paginating, all other parameters provided to `ListWorkspaces` must
  match the call that provided the page token.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Area120::Tables::V1alpha1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Workspace)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Area120::Tables::V1alpha1::Workspace](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Workspace)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::ListWorkspacesRequest.new

# Call the list_workspaces method.
result = client.list_workspaces request

# The returned object is of type Gapic::PagedEnumerable. You can
# iterate over all elements by calling #each, and the enumerable
# will lazily make API calls to fetch subsequent pages. Other
# methods are also available for managing paging directly.
result.each do |response|
  # Each element is of type ::Google::Area120::Tables::V1alpha1::Workspace.
  p response
end
```

### #update_row

    def update_row(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Row
    def update_row(row: nil, update_mask: nil, view: nil) -> ::Google::Area120::Tables::V1alpha1::Row

Updates a row.
**Overloads**

    def update_row(request, options = nil) -> ::Google::Area120::Tables::V1alpha1::Row

Pass arguments to `update_row` via a request object, either of type [UpdateRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-UpdateRowRequest "Google::Area120::Tables::V1alpha1::UpdateRowRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Area120::Tables::V1alpha1::UpdateRowRequest](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-UpdateRowRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def update_row(row: nil, update_mask: nil, view: nil) -> ::Google::Area120::Tables::V1alpha1::Row

Pass arguments to `update_row` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **row** ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row), ::Hash) --- Required. The row to update.
- **update_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Protobuf-FieldMask), ::Hash) --- The list of fields to update.
- **view** ([::Google::Area120::Tables::V1alpha1::View](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-View)) --- Optional. Column key to use for values in the row. Defaults to user entered name.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Area120::Tables::V1alpha1::Row](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-Row))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/area120/tables/v1alpha1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Area120::Tables::V1alpha1::TablesService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Area120::Tables::V1alpha1::UpdateRowRequest.new

# Call the update_row method.
result = client.update_row request

# The returned object is of type Google::Area120::Tables::V1alpha1::Row.
p result
```