google_api_secret_manager v0.5.0 GoogleApi.SecretManager.V1.Api.Projects View Source
API calls for all endpoints tagged Projects
.
Link to this section Summary
Functions
Gets information about a location.
Lists information about the supported locations for this service.
Creates a new SecretVersion containing secret data and attaches it to an existing Secret.
Creates a new Secret containing no SecretVersions.
Deletes a Secret.
Gets metadata for a given Secret.
Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set.
Lists Secrets.
Updates metadata of an existing Secret.
Sets the access control policy on the specified secret. Replaces any existing policy.
Returns permissions that a caller has for the specified secret. If the secret does not exist, this call returns an empty set of permissions, not a NOT_FOUND error.
Accesses a SecretVersion. This call returns the secret data.
Destroys a SecretVersion.
Disables a SecretVersion.
Enables a SecretVersion.
Gets metadata for a SecretVersion.
Lists SecretVersions. This call does not return secret data.
Link to this section Functions
secretmanager_projects_locations_get(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_locations_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Location.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Gets information about a location.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Resource name for the location.locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.Location{}}
on success{:error, info}
on failure
secretmanager_projects_locations_list(connection, projects_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_locations_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.ListLocationsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Lists information about the supported locations for this service.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. The resource that owns the locations collection, if applicable.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
) - The standard list filter.:pageSize
(type:integer()
) - The standard list page size.:pageToken
(type:String.t
) - The standard list page token.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.ListLocationsResponse{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_add_version(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_add_version( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.SecretVersion.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Creates a new SecretVersion containing secret data and attaches it to an existing Secret.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofparent
. Required. The resource name of the Secret to associate with the SecretVersion in the formatprojects/*/secrets/*
.secrets_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
.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.SecretManager.V1.Model.AddSecretVersionRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.SecretVersion{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_create(connection, projects_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Secret.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Creates a new Secret containing no SecretVersions.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofparent
. Required. The resource name of the project to associate with the Secret, in the formatprojects/*
.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").:secretId
(type:String.t
) - Required. This must be unique within the project.A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (
-
) and underscore (_
) characters.:body
(type:GoogleApi.SecretManager.V1.Model.Secret.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.Secret{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_delete(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Deletes a Secret.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the Secret to delete in the formatprojects/*/secrets/*
.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.Empty{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_get(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Secret.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Gets metadata for a given Secret.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the Secret, in the formatprojects/*/secrets/*
.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.Secret{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_get_iam_policy(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_get_iam_policy( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofresource
. REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.secrets_id
(type:String.t
) - Part ofresource
. See documentation ofprojectsId
.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").:"options.requestedPolicyVersion"
(type:integer()
) - Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.Policy{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_list(connection, projects_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.ListSecretsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Lists Secrets.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofparent
. Required. The resource name of the project associated with the Secrets, in the formatprojects/*
.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 results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.:pageToken
(type:String.t
) - Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.ListSecretsResponse{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_patch(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_patch( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Secret.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Updates metadata of an existing Secret.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofsecret.name
. Output only. The resource name of the Secret in the formatprojects/*/secrets/*
.secrets_id
(type:String.t
) - Part ofsecret.name
. See documentation ofprojectsId
.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
) - Required. Specifies the fields to be updated.:body
(type:GoogleApi.SecretManager.V1.Model.Secret.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.Secret{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_set_iam_policy(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_set_iam_policy( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Sets the access control policy on the specified secret. Replaces any existing policy.
Permissions on SecretVersions are enforced according to the policy set on the associated Secret.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofresource
. REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.secrets_id
(type:String.t
) - Part ofresource
. See documentation ofprojectsId
.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.SecretManager.V1.Model.SetIamPolicyRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.Policy{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_test_iam_permissions(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_test_iam_permissions( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.TestIamPermissionsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns permissions that a caller has for the specified secret. If the secret does not exist, this call returns an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofresource
. REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.secrets_id
(type:String.t
) - Part ofresource
. See documentation ofprojectsId
.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.SecretManager.V1.Model.TestIamPermissionsRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.TestIamPermissionsResponse{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_versions_access(connection, projects_id, secrets_id, versions_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_versions_access( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.AccessSecretVersionResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Accesses a SecretVersion. This call returns the secret data.
projects/*/secrets/*/versions/latest
is an alias to the latest
SecretVersion.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the SecretVersion in the formatprojects/*/secrets/*/versions/*
.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.versions_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.AccessSecretVersionResponse{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_versions_destroy(connection, projects_id, secrets_id, versions_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_versions_destroy( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.SecretVersion.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Destroys a SecretVersion.
Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the secret data.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the SecretVersion to destroy in the formatprojects/*/secrets/*/versions/*
.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.versions_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.DestroySecretVersionRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.SecretVersion{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_versions_disable(connection, projects_id, secrets_id, versions_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_versions_disable( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.SecretVersion.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Disables a SecretVersion.
Sets the state of the SecretVersion to DISABLED.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the SecretVersion to disable in the formatprojects/*/secrets/*/versions/*
.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.versions_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.DisableSecretVersionRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.SecretVersion{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_versions_enable(connection, projects_id, secrets_id, versions_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_versions_enable( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.SecretVersion.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Enables a SecretVersion.
Sets the state of the SecretVersion to ENABLED.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the SecretVersion to enable in the formatprojects/*/secrets/*/versions/*
.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.versions_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.EnableSecretVersionRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.SecretVersion{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_versions_get(connection, projects_id, secrets_id, versions_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_versions_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.SecretVersion.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Gets metadata for a SecretVersion.
projects/*/secrets/*/versions/latest
is an alias to the latest
SecretVersion.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The resource name of the SecretVersion in the formatprojects/*/secrets/*/versions/*
.projects/*/secrets/*/versions/latest
is an alias to thelatest
SecretVersion.secrets_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.versions_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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.SecretManager.V1.Model.SecretVersion{}}
on success{:error, info}
on failure
secretmanager_projects_secrets_versions_list(connection, projects_id, secrets_id, optional_params \\ [], opts \\ [])
View Sourcesecretmanager_projects_secrets_versions_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.SecretManager.V1.Model.ListSecretVersionsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Lists SecretVersions. This call does not return secret data.
Parameters
connection
(type:GoogleApi.SecretManager.V1.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofparent
. Required. The resource name of the Secret associated with the SecretVersions to list, in the formatprojects/*/secrets/*
.secrets_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
.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 results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.:pageToken
(type:String.t
) - Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.SecretManager.V1.Model.ListSecretVersionsResponse{}}
on success{:error, info}
on failure