google_api_cloud_resource_manager v0.0.1 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. 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`

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

Link to this function cloudresourcemanager_liens_create(connection, opts \\ []) View Source
cloudresourcemanager_liens_create(Tesla.Env.client, 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 (GoogleApi.CloudResourceManager.V1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :__/xgafv (String): V1 error format.
    • :callback (String): JSONP
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :bearer_token (String): OAuth bearer token.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :body (Lien):

Returns

{:ok, %GoogleApi.CloudResourceManager.V1.Model.Lien{}} on success {:error, info} on failure

Link to this function cloudresourcemanager_liens_delete(connection, liens_id, opts \\ []) View Source
cloudresourcemanager_liens_delete(Tesla.Env.client, String.t, 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 (GoogleApi.CloudResourceManager.V1.Connection): Connection to server
  • liens_id (String): Part of `name`. The name/identifier of the Lien to delete.
  • opts (KeywordList): [optional] Optional parameters

    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :__/xgafv (String): V1 error format.
    • :callback (String): JSONP
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :bearer_token (String): OAuth bearer token.
    • :oauth_token (String): OAuth 2.0 token for the current user.

Returns

{:ok, %GoogleApi.CloudResourceManager.V1.Model.Empty{}} on success {:error, info} on failure

Link to this function cloudresourcemanager_liens_list(connection, opts \\ []) View Source
cloudresourcemanager_liens_list(Tesla.Env.client, 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 (GoogleApi.CloudResourceManager.V1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :__/xgafv (String): V1 error format.
    • :callback (String): JSONP
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :bearer_token (String): OAuth bearer token.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :page_size (Integer): The maximum number of items to return. This is a suggestion for the server.
    • :parent (String): The name of the resource to list all attached Liens. For example, `projects/1234`.
    • :page_token (String): The `next_page_token` value returned from a previous List request, if any.

Returns

{:ok, %GoogleApi.CloudResourceManager.V1.Model.ListLiensResponse{}} on success {:error, info} on failure