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 resources, named tables/

  • Each Table has a collection of Row resources, named tables//rows/

  • The API has a collection of Workspace resources, named workspaces/.

Inherits

  • Object

Methods

.configure

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

Configure the TablesService Client class.

See Configuration for a description of the configuration fields.

Yields
  • (config) — Configure the Client client.
Yield Parameter
Example
# 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 or an equivalent Hash.
Parameters
  • request (::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, ::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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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, ::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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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.

See Configuration for a description of the configuration fields.

Yields
  • (config) — Configure the Client client.
Yield Parameter

#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 or an equivalent Hash.
Parameters
  • request (::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
Yields
  • (response, operation) — Access the result along with the RPC operation
Yield Parameters
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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) — 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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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
Returns
  • (Client) — a new instance of Client
Example
# 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 or an equivalent Hash.
Parameters
  • request (::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) — 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
Returns
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Returns
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Returns
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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 or an equivalent Hash.
Parameters
  • request (::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
Yields
  • (response, operation) — Access the result along with the RPC operation
Yield Parameters
Raises
  • (::Google::Cloud::Error) — if the RPC is aborted.
Example

Basic example

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