google_api_cloud_resource_manager v0.9.0 GoogleApi.CloudResourceManager.V1.Api.Liens 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.
Delete a Lien by name
.
Retrieve a Lien by name
.
List all Liens applied to the parent
resource.
Link to this section Functions
cloudresourcemanager_liens_create(connection, optional_params \\ [], opts \\ [])
View Source
cloudresourcemanager_liens_create(Tesla.Env.client(), keyword(), keyword()) ::
{:ok, GoogleApi.CloudResourceManager.V1.Model.Lien.t()}
| {:error, Tesla.Env.t()}
cloudresourcemanager_liens_create(Tesla.Env.client(), keyword(), keyword()) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.Lien.t()} | {:error, Tesla.Env.t()}
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 serveroptional_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 Source
cloudresourcemanager_liens_delete(
Tesla.Env.client(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.CloudResourceManager.V1.Model.Empty.t()}
| {:error, Tesla.Env.t()}
cloudresourcemanager_liens_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.Empty.t()} | {:error, Tesla.Env.t()}
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 serverliens_id
(type:String.t
) - Part ofname
. 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 Source
cloudresourcemanager_liens_get(
Tesla.Env.client(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.CloudResourceManager.V1.Model.Lien.t()}
| {:error, Tesla.Env.t()}
cloudresourcemanager_liens_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.Lien.t()} | {:error, Tesla.Env.t()}
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
requires permission resourcemanager.projects.get
or
resourcemanager.projects.updateLiens
.
Parameters
connection
(type:GoogleApi.CloudResourceManager.V1.Connection.t
) - Connection to serverliens_id
(type:String.t
) - Part ofname
. 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 Source
cloudresourcemanager_liens_list(Tesla.Env.client(), keyword(), keyword()) ::
{:ok, GoogleApi.CloudResourceManager.V1.Model.ListLiensResponse.t()}
| {:error, Tesla.Env.t()}
cloudresourcemanager_liens_list(Tesla.Env.client(), keyword(), keyword()) :: {:ok, GoogleApi.CloudResourceManager.V1.Model.ListLiensResponse.t()} | {:error, Tesla.Env.t()}
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 serveroptional_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.:pageToken
(type:String.t
) - Thenext_page_token
value returned from a previous List request, if any.:parent
(type:String.t
) - The name of the resource to list all attached Liens. For example,projects/1234
.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.CloudResourceManager.V1.Model.ListLiensResponse{}}
on success{:error, info}
on failure