View Source GoogleApi.ArtifactRegistry.V1beta1.Api.Projects (google_api_artifact_registry v0.15.0)

API calls for all endpoints tagged Projects.

Summary

Functions

Lists information about the supported locations for this service.

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Functions

Link to this function

artifactregistry_projects_locations_get(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Location.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a location.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Resource name for the location.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Location{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_list(connection, projects_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.ListLocationsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists information about the supported locations for this service.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. 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) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160.
    • :pageSize (type: integer()) - The maximum number of results to return. If not set, the service selects a default.
    • :pageToken (type: String.t) - A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.ListLocationsResponse{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_operations_get(connection, projects_id, locations_id, operations_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_operations_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the operation resource.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • operations_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_create(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The name of the parent resource where the repository will be created.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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").
    • :repositoryId (type: String.t) - Required. The repository id to use for this repository.
    • :body (type: GoogleApi.ArtifactRegistry.V1beta1.Model.Repository.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_delete(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the repository to delete.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_files_get(connection, projects_id, locations_id, repositories_id, files_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_files_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.File.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a file.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the file to retrieve.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • files_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.File{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_files_list(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_files_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.ListFilesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists files.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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) - An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: name owner An example of using a filter: `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/"--> Files with an ID starting with "a/b/". *owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"--> Files owned by the version1.0in packagepkg1`.
    • :pageSize (type: integer()) - The maximum number of files to return.
    • :pageToken (type: String.t) - The next_page_token value returned from a previous list request, if any.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.ListFilesResponse{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_get(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Repository.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a repository.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the repository to retrieve.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Repository{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_get_iam_policy(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_get_iam_policy(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Policy.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets the IAM policy for a given resource.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of resource. See documentation of projectsId.
  • 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 maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Policy{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.ListRepositoriesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists repositories.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The name of the parent resource whose repositories will be listed.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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 repositories to return. Maximum page size is 1,000.
    • :pageToken (type: String.t) - The next_page_token value returned from a previous list request, if any.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.ListRepositoriesResponse{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_delete(connection, projects_id, locations_id, repositories_id, packages_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the package to delete.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_get(connection, projects_id, locations_id, repositories_id, packages_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Package.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a package.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the package to retrieve.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Package{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_list(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.ListPackagesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists packages.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The name of the parent resource whose packages will be listed.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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 packages to return. Maximum page size is 1,000.
    • :pageToken (type: String.t) - The next_page_token value returned from a previous list request, if any.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.ListPackagesResponse{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_tags_create(connection, projects_id, locations_id, repositories_id, packages_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_tags_create(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Tag.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a tag.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. The name of the parent resource where the tag will be created.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of parent. See documentation of projectsId.
  • packages_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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").
    • :tagId (type: String.t) - The tag id to use for this repository.
    • :body (type: GoogleApi.ArtifactRegistry.V1beta1.Model.Tag.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Tag{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_tags_delete(connection, projects_id, locations_id, repositories_id, packages_id, tags_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_tags_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Empty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a tag.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the tag to delete.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of name. See documentation of projectsId.
  • tags_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Empty{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_tags_get(connection, projects_id, locations_id, repositories_id, packages_id, tags_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_tags_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Tag.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a tag.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the tag to retrieve.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of name. See documentation of projectsId.
  • tags_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.Tag{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_tags_list(connection, projects_id, locations_id, repositories_id, packages_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_tags_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.ListTagsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists tags.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. The name of the parent package whose tags will be listed. For example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of parent. See documentation of projectsId.
  • packages_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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) - An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: version An example of using a filter: version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0" --> Tags that are applied to the version 1.0 in package pkg1.
    • :pageSize (type: integer()) - The maximum number of tags to return. Maximum page size is 10,000.
    • :pageToken (type: String.t) - The next_page_token value returned from a previous list request, if any.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.ListTagsResponse{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_tags_patch(connection, projects_id, locations_id, repositories_id, packages_id, tags_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_tags_patch(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Tag.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a tag.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of tag.name. The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9-._~:@], anything else must be URL encoded.
  • locations_id (type: String.t) - Part of tag.name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of tag.name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of tag.name. See documentation of projectsId.
  • tags_id (type: String.t) - Part of tag.name. See documentation of projectsId.
  • 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) - The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
    • :body (type: GoogleApi.ArtifactRegistry.V1beta1.Model.Tag.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Tag{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_versions_delete(connection, projects_id, locations_id, repositories_id, packages_id, versions_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_versions_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Operation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the version to delete.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of name. See documentation of projectsId.
  • versions_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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").
    • :force (type: boolean()) - By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Operation{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_versions_get(connection, projects_id, locations_id, repositories_id, packages_id, versions_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_versions_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Version.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a version

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the version to retrieve.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of name. See documentation of projectsId.
  • packages_id (type: String.t) - Part of name. See documentation of projectsId.
  • versions_id (type: String.t) - Part of name. See documentation of projectsId.
  • 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").
    • :view (type: String.t) - The view that should be returned in the response.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Version{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_packages_versions_list(connection, projects_id, locations_id, repositories_id, packages_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_packages_versions_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.ListVersionsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists versions.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. The name of the parent resource whose versions will be listed.
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of parent. See documentation of projectsId.
  • packages_id (type: String.t) - Part of parent. See documentation of projectsId.
  • 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").
    • :orderBy (type: String.t) - Optional. The field to order the results by.
    • :pageSize (type: integer()) - The maximum number of versions to return. Maximum page size is 1,000.
    • :pageToken (type: String.t) - The next_page_token value returned from a previous list request, if any.
    • :view (type: String.t) - The view that should be returned in the response.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.ListVersionsResponse{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_patch(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_patch(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Repository.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a repository.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of repository.name. The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1.
  • locations_id (type: String.t) - Part of repository.name. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of repository.name. See documentation of projectsId.
  • 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) - The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
    • :body (type: GoogleApi.ArtifactRegistry.V1beta1.Model.Repository.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Repository{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_set_iam_policy(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_set_iam_policy(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.Policy.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates the IAM policy for a given resource.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of resource. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.SetIamPolicyRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.Policy{}} on success
  • {:error, info} on failure
Link to this function

artifactregistry_projects_locations_repositories_test_iam_permissions(connection, projects_id, locations_id, repositories_id, optional_params \\ [], opts \\ [])

View Source
@spec artifactregistry_projects_locations_repositories_test_iam_permissions(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ArtifactRegistry.V1beta1.Model.TestIamPermissionsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Tests if the caller has a list of permissions on a resource.

Parameters

  • connection (type: GoogleApi.ArtifactRegistry.V1beta1.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • repositories_id (type: String.t) - Part of resource. See documentation of projectsId.
  • 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.ArtifactRegistry.V1beta1.Model.TestIamPermissionsRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ArtifactRegistry.V1beta1.Model.TestIamPermissionsResponse{}} on success
  • {:error, info} on failure