GoogleApi.CloudResourceManager.V3.Api.TagBindings (google_api_cloud_resource_manager v0.44.1)
View SourceAPI calls for all endpoints tagged TagBindings.
Summary
Functions
Creates a TagBinding between a TagValue and a Google Cloud resource.
Deletes a TagBinding.
Lists the TagBindings for the given Google Cloud resource, as specified with parent. NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name
Functions
@spec cloudresourcemanager_tag_bindings_create( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudResourceManager.V3.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a TagBinding between a TagValue and a Google Cloud resource.
Parameters
-
connection(type:GoogleApi.CloudResourceManager.V3.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"). -
:validateOnly(type:boolean()) - Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action. -
:body(type:GoogleApi.CloudResourceManager.V3.Model.TagBinding.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.CloudResourceManager.V3.Model.Operation{}}on success -
{:error, info}on failure
@spec cloudresourcemanager_tag_bindings_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudResourceManager.V3.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a TagBinding.
Parameters
-
connection(type:GoogleApi.CloudResourceManager.V3.Connection.t) - Connection to server -
name(type:String.t) - Required. The name of the TagBinding. This is a String of the form:tagBindings/{id}(e.g.tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456). -
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.CloudResourceManager.V3.Model.Operation{}}on success -
{:error, info}on failure
@spec cloudresourcemanager_tag_bindings_list(Tesla.Env.client(), keyword(), keyword()) :: {:ok, GoogleApi.CloudResourceManager.V3.Model.ListTagBindingsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists the TagBindings for the given Google Cloud resource, as specified with parent. NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name
Parameters
-
connection(type:GoogleApi.CloudResourceManager.V3.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"). -
:pageSize(type:integer()) - Optional. The maximum number of TagBindings to return in the response. The server allows a maximum of 300 TagBindings to return. If unspecified, the server will use 100 as the default. -
:pageToken(type:String.t) - Optional. A pagination token returned from a previous call toListTagBindingsthat indicates where this listing should continue from. -
:parent(type:String.t) - Required. The full resource name of a resource for which you want to list existing TagBindings. E.g. "//cloudresourcemanager.googleapis.com/projects/123"
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.CloudResourceManager.V3.Model.ListTagBindingsResponse{}}on success -
{:error, info}on failure