GoogleApi.CloudResourceManager.V1.Api.Liens (google_api_cloud_resource_manager v0.40.5) View Source
API calls for all endpoints tagged Liens
.
Link to this section Summary
Functions
Create a Lien which applies to the resource denoted by the parent
field. Callers of this method will require permission on the parent
resource. For example, applying to projects/1234
requires permission resourcemanager.projects.updateLiens
. NOTE: Some resources may limit the number of Liens which may be applied.
Delete a Lien by name
. Callers of this method will require permission on the parent
resource. For example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.updateLiens
.
Retrieve a Lien by name
. Callers of this method will require permission on the parent
resource. For example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.get
List all Liens applied to the parent
resource. Callers of this method will require permission on the parent
resource. For example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.get
.
Link to this section Functions
cloudresourcemanager_liens_create(connection, optional_params \\ [], opts \\ [])
View SourceSpecs
cloudresourcemanager_liens_create(Tesla.Env.client(), keyword(), keyword()) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.Lien.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Create a Lien which applies to the resource denoted by the parent
field. Callers of this method will require permission on the parent
resource. For example, applying to projects/1234
requires permission resourcemanager.projects.updateLiens
. NOTE: Some resources may limit the number of Liens which may be applied.
Parameters
-
connection
(type:GoogleApi.CloudResourceManager.V1.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"). -
:body
(type:GoogleApi.CloudResourceManager.V1.Model.Lien.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudResourceManager.V1.Model.Lien{}}
on success -
{:error, info}
on failure
cloudresourcemanager_liens_delete(connection, liens_id, optional_params \\ [], opts \\ [])
View SourceSpecs
cloudresourcemanager_liens_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Delete a Lien by name
. Callers of this method will require permission on the parent
resource. For example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.updateLiens
.
Parameters
-
connection
(type:GoogleApi.CloudResourceManager.V1.Connection.t
) - Connection to server -
liens_id
(type:String.t
) - Part ofname
. Required. The name/identifier of the Lien to delete. -
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.V1.Model.Empty{}}
on success -
{:error, info}
on failure
cloudresourcemanager_liens_get(connection, liens_id, optional_params \\ [], opts \\ [])
View SourceSpecs
cloudresourcemanager_liens_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.Lien.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieve a Lien by name
. Callers of this method will require permission on the parent
resource. For example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.get
Parameters
-
connection
(type:GoogleApi.CloudResourceManager.V1.Connection.t
) - Connection to server -
liens_id
(type:String.t
) - Part ofname
. Required. The name/identifier of the Lien. -
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.V1.Model.Lien{}}
on success -
{:error, info}
on failure
cloudresourcemanager_liens_list(connection, optional_params \\ [], opts \\ [])
View SourceSpecs
cloudresourcemanager_liens_list(Tesla.Env.client(), keyword(), keyword()) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.ListLiensResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all Liens applied to the parent
resource. Callers of this method will require permission on the parent
resource. For example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.get
.
Parameters
-
connection
(type:GoogleApi.CloudResourceManager.V1.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()
) - The maximum number of items to return. This is a suggestion for the server. The server can return fewer liens than requested. If unspecified, server picks an appropriate default. -
:pageToken
(type:String.t
) - Thenext_page_token
value returned from a previous List request, if any. -
:parent
(type:String.t
) - Required. The name of the resource to list all attached Liens. For example,projects/1234
. (google.api.field_policy).resource_type annotation is not set since the parent depends on the meta api implementation. This field could be a project or other sub project resources.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudResourceManager.V1.Model.ListLiensResponse{}}
on success -
{:error, info}
on failure