View Source GoogleApi.CloudBuild.V1.Api.Projects (google_api_cloud_build v0.50.1)
API calls for all endpoints tagged Projects
.
Summary
Functions
Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
Cancels a build in progress.
Starts a build with the specified configuration. This method returns a long-running Operation
, which includes the build ID. Pass the build ID to GetBuild
to determine the build status (such as SUCCESS
or FAILURE
).
Returns information about a previously requested build. The Build
that is returned includes its status (such as SUCCESS
, FAILURE
, or WORKING
), and timing information.
Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify RepoSource
: If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify StorageSource
: If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Create an association between a GCP project and a GitHub Enterprise server.
Delete an association between a GCP project and a GitHub Enterprise server.
Retrieve a GitHubEnterpriseConfig.
List all GitHubEnterpriseConfigs for a given project.
Update an association between a GCP project and a GitHub Enterprise server.
Batch connecting Bitbucket Server repositories to Cloud Build.
Creates a new BitbucketServerConfig
. This API is experimental.
Delete a BitbucketServerConfig
. This API is experimental.
Retrieve a BitbucketServerConfig
. This API is experimental.
List all BitbucketServerConfigs
for a given project. This API is experimental.
Updates an existing BitbucketServerConfig
. This API is experimental.
Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.
List all repositories for a given BitbucketServerConfig
. This API is experimental.
Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
Cancels a build in progress.
Starts a build with the specified configuration. This method returns a long-running Operation
, which includes the build ID. Pass the build ID to GetBuild
to determine the build status (such as SUCCESS
or FAILURE
).
Returns information about a previously requested build. The Build
that is returned includes its status (such as SUCCESS
, FAILURE
, or WORKING
), and timing information.
Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify RepoSource
: If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify StorageSource
: If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Returns the DefaultServiceAccount
used by the project.
Batch connecting GitLab repositories to Cloud Build. This API is experimental.
Creates a new GitLabConfig
. This API is experimental
Delete a GitLabConfig
. This API is experimental
Retrieves a GitLabConfig
. This API is experimental
List all GitLabConfigs
for a given project. This API is experimental
Updates an existing GitLabConfig
. This API is experimental
Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.
List all repositories for a given GitLabConfig
. This API is experimental
Create an association between a GCP project and a GitHub Enterprise server.
Delete an association between a GCP project and a GitHub Enterprise server.
Retrieve a GitHubEnterpriseConfig.
List all GitHubEnterpriseConfigs for a given project.
Update an association between a GCP project and a GitHub Enterprise server.
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED
.
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 new BuildTrigger
.
Deletes a BuildTrigger
by its project ID and trigger ID.
Returns information about a BuildTrigger
.
Lists existing BuildTrigger
s.
Updates a BuildTrigger
by its project ID and trigger ID.
Runs a BuildTrigger
at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Creates a WorkerPool
.
Deletes a WorkerPool
.
Returns details of a WorkerPool
.
Lists WorkerPool
s.
Updates a WorkerPool
.
Creates a new BuildTrigger
.
Deletes a BuildTrigger
by its project ID and trigger ID.
Returns information about a BuildTrigger
.
Lists existing BuildTrigger
s.
Updates a BuildTrigger
by its project ID and trigger ID.
Runs a BuildTrigger
at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Functions
cloudbuild_projects_builds_approve(connection, projects_id, builds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_builds_approve( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}" -
builds_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.CloudBuild.V1.Model.ApproveBuildRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_builds_cancel(connection, project_id, id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_builds_cancel( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Build.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Cancels a build in progress.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project. -
id
(type:String.t
) - Required. ID of the build. -
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.CloudBuild.V1.Model.CancelBuildRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Build{}}
on success -
{:error, info}
on failure
cloudbuild_projects_builds_create(connection, project_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_builds_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Starts a build with the specified configuration. This method returns a long-running Operation
, which includes the build ID. Pass the build ID to GetBuild
to determine the build status (such as SUCCESS
or FAILURE
).
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project. -
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"). -
:parent
(type:String.t
) - The parent resource where this build will be created. Format:projects/{project}/locations/{location}
-
:body
(type:GoogleApi.CloudBuild.V1.Model.Build.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_builds_get(connection, project_id, id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_builds_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Build.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns information about a previously requested build. The Build
that is returned includes its status (such as SUCCESS
, FAILURE
, or WORKING
), and timing information.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project. -
id
(type:String.t
) - Required. ID of the build. -
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"). -
:name
(type:String.t
) - The name of theBuild
to retrieve. Format:projects/{project}/locations/{location}/builds/{build}
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Build{}}
on success -
{:error, info}
on failure
cloudbuild_projects_builds_list(connection, project_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_builds_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListBuildsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project. -
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 raw filter text to constrain the results. -
:pageSize
(type:integer()
) - Number of results to return in the list. -
:pageToken
(type:String.t
) - The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more. -
:parent
(type:String.t
) - The parent of the collection ofBuilds
. Format:projects/{project}/locations/{location}
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListBuildsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_builds_retry(connection, project_id, id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_builds_retry( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify RepoSource
: If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify StorageSource
: If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project. -
id
(type:String.t
) - Required. Build ID of the original build. -
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.CloudBuild.V1.Model.RetryBuildRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_github_enterprise_configs_create(connection, projects_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_github_enterprise_configs_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Create an association between a GCP project and a GitHub Enterprise server.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} -
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"). -
:gheConfigId
(type:String.t
) - Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character -
:projectId
(type:String.t
) - ID of the project. -
:body
(type:GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_github_enterprise_configs_delete(connection, projects_id, github_enterprise_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_github_enterprise_configs_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Delete an association between a GCP project and a GitHub Enterprise server.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. This field should contain the name of the enterprise config resource. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" -
github_enterprise_configs_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"). -
:configId
(type:String.t
) - Unique identifier of theGitHubEnterpriseConfig
-
:projectId
(type:String.t
) - ID of the project
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_github_enterprise_configs_get(connection, projects_id, github_enterprise_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_github_enterprise_configs_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieve a GitHubEnterpriseConfig.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. This field should contain the name of the enterprise config resource. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" -
github_enterprise_configs_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"). -
:configId
(type:String.t
) - Unique identifier of theGitHubEnterpriseConfig
-
:projectId
(type:String.t
) - ID of the project
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig{}}
on success -
{:error, info}
on failure
cloudbuild_projects_github_enterprise_configs_list(connection, projects_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_github_enterprise_configs_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListGithubEnterpriseConfigsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all GitHubEnterpriseConfigs for a given project.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} -
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"). -
:projectId
(type:String.t
) - ID of the project
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListGithubEnterpriseConfigsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_github_enterprise_configs_patch(connection, projects_id, github_enterprise_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_github_enterprise_configs_patch( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Update an association between a GCP project and a GitHub Enterprise server.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofgithubEnterpriseConfig.name
. Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" -
github_enterprise_configs_id
(type:String.t
) - Part ofgithubEnterpriseConfig.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
) - Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. -
:body
(type:GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_connected_repositories_batch_create(connection, projects_id, locations_id, bitbucket_server_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_connected_repositories_batch_create( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Batch connecting Bitbucket Server repositories to Cloud Build.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. The name of theBitbucketServerConfig
that added connected repository. Format:projects/{project}/locations/{location}/bitbucketServerConfigs/{config}
-
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
bitbucket_server_configs_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.CloudBuild.V1.Model.BatchCreateBitbucketServerConnectedRepositoriesRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new BitbucketServerConfig
. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Name of the parent resource. -
locations_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"). -
:bitbucketServerConfigId
(type:String.t
) - Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. -
:body
(type:GoogleApi.CloudBuild.V1.Model.BitbucketServerConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_delete(connection, projects_id, locations_id, bitbucket_server_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Delete a BitbucketServerConfig
. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The config resource name. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
bitbucket_server_configs_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.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_get(connection, projects_id, locations_id, bitbucket_server_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BitbucketServerConfig.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieve a BitbucketServerConfig
. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The config resource name. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
bitbucket_server_configs_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.CloudBuild.V1.Model.BitbucketServerConfig{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListBitbucketServerConfigsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all BitbucketServerConfigs
for a given project. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Name of the parent resource. -
locations_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()
) - The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. -
:pageToken
(type:String.t
) - A page token, received from a previousListBitbucketServerConfigsRequest
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListBitbucketServerConfigsRequest
must match the call that provided the page token.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListBitbucketServerConfigsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_patch(connection, projects_id, locations_id, bitbucket_server_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates an existing BitbucketServerConfig
. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofbitbucketServerConfig.name
. The resource name for the config. -
locations_id
(type:String.t
) - Part ofbitbucketServerConfig.name
. See documentation ofprojectsId
. -
bitbucket_server_configs_id
(type:String.t
) - Part ofbitbucketServerConfig.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
) - Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. -
:body
(type:GoogleApi.CloudBuild.V1.Model.BitbucketServerConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_remove_bitbucket_server_connected_repository(connection, projects_id, locations_id, bitbucket_server_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_remove_bitbucket_server_connected_repository( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofconfig
. Required. The name of theBitbucketServerConfig
to remove a connected repository. Format:projects/{project}/locations/{location}/bitbucketServerConfigs/{config}
-
locations_id
(type:String.t
) - Part ofconfig
. See documentation ofprojectsId
. -
bitbucket_server_configs_id
(type:String.t
) - Part ofconfig
. 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.CloudBuild.V1.Model.RemoveBitbucketServerConnectedRepositoryRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Empty{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_bitbucket_server_configs_repos_list(connection, projects_id, locations_id, bitbucket_server_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_bitbucket_server_configs_repos_list( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListBitbucketServerRepositoriesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all repositories for a given BitbucketServerConfig
. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Name of the parent resource. -
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
bitbucket_server_configs_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()
) - The maximum number of configs to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. -
:pageToken
(type:String.t
) - A page token, received from a previousListBitbucketServerRepositoriesRequest
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListBitbucketServerConfigsRequest
must match the call that provided the page token.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListBitbucketServerRepositoriesResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_builds_approve(connection, projects_id, locations_id, builds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_builds_approve( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}" -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
builds_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.CloudBuild.V1.Model.ApproveBuildRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_builds_cancel(connection, projects_id, locations_id, builds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_builds_cancel( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Build.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Cancels a build in progress.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theBuild
to cancel. Format:projects/{project}/locations/{location}/builds/{build}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
builds_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.CloudBuild.V1.Model.CancelBuildRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Build{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_builds_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_builds_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Starts a build with the specified configuration. This method returns a long-running Operation
, which includes the build ID. Pass the build ID to GetBuild
to determine the build status (such as SUCCESS
or FAILURE
).
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. The parent resource where this build will be created. Format:projects/{project}/locations/{location}
-
locations_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"). -
:projectId
(type:String.t
) - Required. ID of the project. -
:body
(type:GoogleApi.CloudBuild.V1.Model.Build.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_builds_get(connection, projects_id, locations_id, builds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_builds_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Build.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns information about a previously requested build. The Build
that is returned includes its status (such as SUCCESS
, FAILURE
, or WORKING
), and timing information.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theBuild
to retrieve. Format:projects/{project}/locations/{location}/builds/{build}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
builds_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"). -
:id
(type:String.t
) - Required. ID of the build. -
:projectId
(type:String.t
) - Required. ID of the project.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Build{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_builds_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_builds_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListBuildsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. The parent of the collection ofBuilds
. Format:projects/{project}/locations/{location}
-
locations_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"). -
:filter
(type:String.t
) - The raw filter text to constrain the results. -
:pageSize
(type:integer()
) - Number of results to return in the list. -
:pageToken
(type:String.t
) - The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more. -
:projectId
(type:String.t
) - Required. ID of the project.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListBuildsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_builds_retry(connection, projects_id, locations_id, builds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_builds_retry( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify RepoSource
: If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify StorageSource
: If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theBuild
to retry. Format:projects/{project}/locations/{location}/builds/{build}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
builds_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.CloudBuild.V1.Model.RetryBuildRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_get_default_service_account(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_get_default_service_account( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.DefaultServiceAccount.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns the DefaultServiceAccount
used by the project.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The name of theDefaultServiceAccount
to retrieve. Format:projects/{project}/locations/{location}/defaultServiceAccount
-
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.CloudBuild.V1.Model.DefaultServiceAccount{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_connected_repositories_batch_create(connection, projects_id, locations_id, git_lab_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_connected_repositories_batch_create( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Batch connecting GitLab repositories to Cloud Build. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. The name of theGitLabConfig
that adds connected repositories. Format:projects/{project}/locations/{location}/gitLabConfigs/{config}
-
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
git_lab_configs_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.CloudBuild.V1.Model.BatchCreateGitLabConnectedRepositoriesRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new GitLabConfig
. This API is experimental
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Name of the parent resource. -
locations_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"). -
:gitlabConfigId
(type:String.t
) - Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character -
:body
(type:GoogleApi.CloudBuild.V1.Model.GitLabConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_delete(connection, projects_id, locations_id, git_lab_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Delete a GitLabConfig
. This API is experimental
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The config resource name. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
git_lab_configs_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.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_get(connection, projects_id, locations_id, git_lab_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.GitLabConfig.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieves a GitLabConfig
. This API is experimental
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The config resource name. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
git_lab_configs_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.CloudBuild.V1.Model.GitLabConfig{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListGitLabConfigsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all GitLabConfigs
for a given project. This API is experimental
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Name of the parent resource -
locations_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()
) - The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000;, values above 1000 will be coerced to 1000. -
:pageToken
(type:String.t
) - A page token, received from a previous ‘ListGitlabConfigsRequest’ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ‘ListGitlabConfigsRequest’ must match the call that provided the page token.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListGitLabConfigsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_patch(connection, projects_id, locations_id, git_lab_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates an existing GitLabConfig
. This API is experimental
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofgitlabConfig.name
. The resource name for the config. -
locations_id
(type:String.t
) - Part ofgitlabConfig.name
. See documentation ofprojectsId
. -
git_lab_configs_id
(type:String.t
) - Part ofgitlabConfig.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
) - Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. -
:body
(type:GoogleApi.CloudBuild.V1.Model.GitLabConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_remove_git_lab_connected_repository(connection, projects_id, locations_id, git_lab_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_remove_git_lab_connected_repository( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofconfig
. Required. The name of theGitLabConfig
to remove a connected repository. Format:projects/{project}/locations/{location}/gitLabConfigs/{config}
-
locations_id
(type:String.t
) - Part ofconfig
. See documentation ofprojectsId
. -
git_lab_configs_id
(type:String.t
) - Part ofconfig
. 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.CloudBuild.V1.Model.RemoveGitLabConnectedRepositoryRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Empty{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_git_lab_configs_repos_list(connection, projects_id, locations_id, git_lab_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_git_lab_configs_repos_list( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListGitLabRepositoriesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all repositories for a given GitLabConfig
. This API is experimental
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Name of the parent resource. -
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
git_lab_configs_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()
) - The maximum number of repositories to return. The service may return fewer than this value. -
:pageToken
(type:String.t
) - A page token, received from a previous ListGitLabRepositoriesRequestcall. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
ListGitLabRepositoriesRequestmust match the call that provided the page token. *
opts(*type:*
keyword()) - Call options ## Returns *
}on success *
` on failure
-
cloudbuild_projects_locations_github_enterprise_configs_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_github_enterprise_configs_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Create an association between a GCP project and a GitHub Enterprise server.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} -
locations_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"). -
:gheConfigId
(type:String.t
) - Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character -
:projectId
(type:String.t
) - ID of the project. -
:body
(type:GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_github_enterprise_configs_delete(connection, projects_id, locations_id, github_enterprise_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_github_enterprise_configs_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Delete an association between a GCP project and a GitHub Enterprise server.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. This field should contain the name of the enterprise config resource. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
github_enterprise_configs_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"). -
:configId
(type:String.t
) - Unique identifier of theGitHubEnterpriseConfig
-
:projectId
(type:String.t
) - ID of the project
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_github_enterprise_configs_get(connection, projects_id, locations_id, github_enterprise_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_github_enterprise_configs_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieve a GitHubEnterpriseConfig.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. This field should contain the name of the enterprise config resource. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
github_enterprise_configs_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"). -
:configId
(type:String.t
) - Unique identifier of theGitHubEnterpriseConfig
-
:projectId
(type:String.t
) - ID of the project
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_github_enterprise_configs_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_github_enterprise_configs_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListGithubEnterpriseConfigsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
List all GitHubEnterpriseConfigs for a given project.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} -
locations_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"). -
:projectId
(type:String.t
) - ID of the project
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListGithubEnterpriseConfigsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_github_enterprise_configs_patch(connection, projects_id, locations_id, github_enterprise_configs_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_github_enterprise_configs_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Update an association between a GCP project and a GitHub Enterprise server.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofgithubEnterpriseConfig.name
. Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" -
locations_id
(type:String.t
) - Part ofgithubEnterpriseConfig.name
. See documentation ofprojectsId
. -
github_enterprise_configs_id
(type:String.t
) - Part ofgithubEnterpriseConfig.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
) - Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. -
:body
(type:GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_operations_cancel(connection, projects_id, locations_id, operations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_operations_cancel( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of the operation resource to be cancelled. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
operations_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.CloudBuild.V1.Model.CancelOperationRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Empty{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_operations_get(connection, projects_id, locations_id, operations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_operations_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.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.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of the operation resource. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
operations_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.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BuildTrigger.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new BuildTrigger
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. The parent resource where this trigger will be created. Format:projects/{project}/locations/{location}
-
locations_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"). -
:projectId
(type:String.t
) - Required. ID of the project for which to configure automatic builds. -
:body
(type:GoogleApi.CloudBuild.V1.Model.BuildTrigger.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.BuildTrigger{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_delete(connection, projects_id, locations_id, triggers_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a BuildTrigger
by its project ID and trigger ID.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theTrigger
to delete. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
triggers_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"). -
:projectId
(type:String.t
) - Required. ID of the project that owns the trigger. -
:triggerId
(type:String.t
) - Required. ID of theBuildTrigger
to delete.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Empty{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_get(connection, projects_id, locations_id, triggers_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BuildTrigger.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns information about a BuildTrigger
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theTrigger
to retrieve. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
triggers_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"). -
:projectId
(type:String.t
) - Required. ID of the project that owns the trigger. -
:triggerId
(type:String.t
) - Required. Identifier (id
orname
) of theBuildTrigger
to get.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.BuildTrigger{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListBuildTriggersResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists existing BuildTrigger
s.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. The parent of the collection ofTriggers
. Format:projects/{project}/locations/{location}
-
locations_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()
) - Number of results to return in the list. -
:pageToken
(type:String.t
) - Token to provide to skip to a particular spot in the list. -
:projectId
(type:String.t
) - Required. ID of the project for which to list BuildTriggers.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListBuildTriggersResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_patch(connection, projects_id, locations_id, triggers_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BuildTrigger.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a BuildTrigger
by its project ID and trigger ID.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part oftrigger.resourceName
. TheTrigger
name with format:projects/{project}/locations/{location}/triggers/{trigger}
, where {trigger} is a unique identifier generated by the service. -
locations_id
(type:String.t
) - Part oftrigger.resourceName
. See documentation ofprojectsId
. -
triggers_id
(type:String.t
) - Part oftrigger.resourceName
. 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"). -
:projectId
(type:String.t
) - Required. ID of the project that owns the trigger. -
:triggerId
(type:String.t
) - Required. ID of theBuildTrigger
to update. -
:updateMask
(type:String.t
) - Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. -
:body
(type:GoogleApi.CloudBuild.V1.Model.BuildTrigger.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.BuildTrigger{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_run(connection, projects_id, locations_id, triggers_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_run( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Runs a BuildTrigger
at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theTrigger
to run. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
triggers_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.CloudBuild.V1.Model.RunBuildTriggerRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_triggers_webhook(connection, projects_id, locations_id, triggers_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_triggers_webhook( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ReceiveTriggerWebhookResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. The name of theReceiveTriggerWebhook
to retrieve. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
triggers_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"). -
:projectId
(type:String.t
) - Project in which the specified trigger lives -
:secret
(type:String.t
) - Secret token used for authorization if an OAuth token isn't provided. -
:trigger
(type:String.t
) - Name of the trigger to run the payload against -
:body
(type:GoogleApi.CloudBuild.V1.Model.HttpBody.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ReceiveTriggerWebhookResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_worker_pools_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_worker_pools_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a WorkerPool
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. The parent resource where this worker pool will be created. Format:projects/{project}/locations/{location}
. -
locations_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"). -
:validateOnly
(type:boolean()
) - If set, validate the request and preview the response, but do not actually post it. -
:workerPoolId
(type:String.t
) - Required. Immutable. The ID to use for theWorkerPool
, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/. -
:body
(type:GoogleApi.CloudBuild.V1.Model.WorkerPool.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_worker_pools_delete(connection, projects_id, locations_id, worker_pools_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_worker_pools_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a WorkerPool
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The name of theWorkerPool
to delete. Format:projects/{project}/locations/{location}/workerPools/{workerPool}
. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
worker_pools_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"). -
:allowMissing
(type:boolean()
) - If set to true, and theWorkerPool
is not found, the request will succeed but no action will be taken on the server. -
:etag
(type:String.t
) - Optional. If provided, it must match the server's etag on the workerpool for the request to be processed. -
:validateOnly
(type:boolean()
) - If set, validate the request and preview the response, but do not actually post it.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_worker_pools_get(connection, projects_id, locations_id, worker_pools_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_worker_pools_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.WorkerPool.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns details of a WorkerPool
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. The name of theWorkerPool
to retrieve. Format:projects/{project}/locations/{location}/workerPools/{workerPool}
. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
worker_pools_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.CloudBuild.V1.Model.WorkerPool{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_worker_pools_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_worker_pools_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListWorkerPoolsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists WorkerPool
s.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. The parent of the collection ofWorkerPools
. Format:projects/{project}/locations/{location}
. -
locations_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()
) - The maximum number ofWorkerPool
s to return. The service may return fewer than this value. If omitted, the server will use a sensible default. -
:pageToken
(type:String.t
) - A page token, received from a previousListWorkerPools
call. Provide this to retrieve the subsequent page.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListWorkerPoolsResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_locations_worker_pools_patch(connection, projects_id, locations_id, worker_pools_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_locations_worker_pools_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a WorkerPool
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofworkerPool.name
. Output only. The resource name of theWorkerPool
, with formatprojects/{project}/locations/{location}/workerPools/{worker_pool}
. The value of{worker_pool}
is provided byworker_pool_id
inCreateWorkerPool
request and the value of{location}
is determined by the endpoint accessed. -
locations_id
(type:String.t
) - Part ofworkerPool.name
. See documentation ofprojectsId
. -
worker_pools_id
(type:String.t
) - Part ofworkerPool.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
) - A mask specifying which fields inworker_pool
to update. -
:validateOnly
(type:boolean()
) - If set, validate the request and preview the response, but do not actually post it. -
:body
(type:GoogleApi.CloudBuild.V1.Model.WorkerPool.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_create(connection, project_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BuildTrigger.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new BuildTrigger
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project for which to configure automatic builds. -
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"). -
:parent
(type:String.t
) - The parent resource where this trigger will be created. Format:projects/{project}/locations/{location}
-
:body
(type:GoogleApi.CloudBuild.V1.Model.BuildTrigger.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.BuildTrigger{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_delete(connection, project_id, trigger_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a BuildTrigger
by its project ID and trigger ID.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project that owns the trigger. -
trigger_id
(type:String.t
) - Required. ID of theBuildTrigger
to delete. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:name
(type:String.t
) - The name of theTrigger
to delete. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Empty{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_get(connection, project_id, trigger_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BuildTrigger.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns information about a BuildTrigger
.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project that owns the trigger. -
trigger_id
(type:String.t
) - Required. Identifier (id
orname
) of theBuildTrigger
to get. -
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"). -
:name
(type:String.t
) - The name of theTrigger
to retrieve. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.BuildTrigger{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_list(connection, project_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ListBuildTriggersResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists existing BuildTrigger
s.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project for which to list BuildTriggers. -
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()
) - Number of results to return in the list. -
:pageToken
(type:String.t
) - Token to provide to skip to a particular spot in the list. -
:parent
(type:String.t
) - The parent of the collection ofTriggers
. Format:projects/{project}/locations/{location}
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ListBuildTriggersResponse{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_patch(connection, project_id, trigger_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_patch( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.BuildTrigger.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a BuildTrigger
by its project ID and trigger ID.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project that owns the trigger. -
trigger_id
(type:String.t
) - Required. ID of theBuildTrigger
to update. -
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
) - Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed. -
:body
(type:GoogleApi.CloudBuild.V1.Model.BuildTrigger.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.BuildTrigger{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_run(connection, project_id, trigger_id, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_run( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.Operation.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Runs a BuildTrigger
at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Required. ID of the project. -
trigger_id
(type:String.t
) - Required. ID of the trigger. -
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"). -
:name
(type:String.t
) - The name of theTrigger
to run. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
:body
(type:GoogleApi.CloudBuild.V1.Model.RepoSource.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.Operation{}}
on success -
{:error, info}
on failure
cloudbuild_projects_triggers_webhook(connection, project_id, trigger, optional_params \\ [], opts \\ [])
View Source@spec cloudbuild_projects_triggers_webhook( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudBuild.V1.Model.ReceiveTriggerWebhookResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Parameters
-
connection
(type:GoogleApi.CloudBuild.V1.Connection.t
) - Connection to server -
project_id
(type:String.t
) - Project in which the specified trigger lives -
trigger
(type:String.t
) - Name of the trigger to run the payload against -
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"). -
:name
(type:String.t
) - The name of theReceiveTriggerWebhook
to retrieve. Format:projects/{project}/locations/{location}/triggers/{trigger}
-
:secret
(type:String.t
) - Secret token used for authorization if an OAuth token isn't provided. -
:body
(type:GoogleApi.CloudBuild.V1.Model.HttpBody.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudBuild.V1.Model.ReceiveTriggerWebhookResponse{}}
on success -
{:error, info}
on failure