View Source GoogleApi.Area120Tables.V1alpha1.Api.Tables (google_api_area120_tables v0.8.0)

API calls for all endpoints tagged Tables.

Summary

Functions

Link to this function

area120tables_tables_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_get(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.Table.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

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

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the table to retrieve. Format: tables/{table}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.Table{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_list(connection, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_list(Tesla.Env.client(), keyword(), keyword()) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.ListTablesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists tables for the user.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :orderBy (type: String.t) - Optional. Sorting order for the list of tables on createTime/updateTime.
    • :pageSize (type: 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.
    • :pageToken (type: String.t) - 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.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.ListTablesResponse{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_batch_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_batch_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.BatchCreateRowsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates multiple rows.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent table where the rows will be created. Format: tables/{table}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Area120Tables.V1alpha1.Model.BatchCreateRowsRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.BatchCreateRowsResponse{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_batch_delete(connection, parent, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_batch_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.Empty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes multiple rows.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent table shared by all rows being deleted. Format: tables/{table}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Area120Tables.V1alpha1.Model.BatchDeleteRowsRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.Empty{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_batch_update(connection, parent, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_batch_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.BatchUpdateRowsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates multiple rows.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent table shared by all rows being updated. Format: tables/{table}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Area120Tables.V1alpha1.Model.BatchUpdateRowsRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.BatchUpdateRowsResponse{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.Row.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a row.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent table where this row will be created. Format: tables/{table}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :view (type: String.t) - Optional. Column key to use for values in the row. Defaults to user entered name.
    • :body (type: GoogleApi.Area120Tables.V1alpha1.Model.Row.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.Row{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_delete(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.Empty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a row.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the row to delete. Format: tables/{table}/rows/{row}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.Empty{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_get(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.Row.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

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

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the row to retrieve. Format: tables/{table}/rows/{row}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :view (type: String.t) - Optional. Column key to use for values in the row. Defaults to user entered name.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.Row{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_list(connection, parent, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.ListRowsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

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

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent table. Format: tables/{table}
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :filter (type: String.t) - Optional. Filter to only include resources matching the requirements. For more information, see Filtering list results.
    • :orderBy (type: String.t) - Optional. Sorting order for the list of rows on createTime/updateTime.
    • :pageSize (type: 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.
    • :pageToken (type: String.t) - 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 (type: String.t) - Optional. Column key to use for values in the row. Defaults to user entered name.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.ListRowsResponse{}} on success
  • {:error, info} on failure
Link to this function

area120tables_tables_rows_patch(connection, name, optional_params \\ [], opts \\ [])

View Source
@spec area120tables_tables_rows_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Area120Tables.V1alpha1.Model.Row.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a row.

Parameters

  • connection (type: GoogleApi.Area120Tables.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - The resource name of the row. Row names have the form tables/{table}/rows/{row}. The name is ignored when creating a row.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :updateMask (type: String.t) - The list of fields to update.
    • :view (type: String.t) - Optional. Column key to use for values in the row. Defaults to user entered name.
    • :body (type: GoogleApi.Area120Tables.V1alpha1.Model.Row.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.Area120Tables.V1alpha1.Model.Row{}} on success
  • {:error, info} on failure