View Source GoogleApi.Run.V2.Api.Projects (quiqup_google_api_run v0.28.0)

API calls for all endpoints tagged Projects.

Link to this section Summary

Functions

Get the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.

Sets the IAM Access control policy for the specified Job. Overwrites any existing policy.

Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

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.

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

Deletes a Service. This will cause the Service to stop serving traffic and will delete all revisions.

Get the IAM Access Control policy currently in effect for the given Cloud Run Service. This result does not include any inherited policies.

Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.

Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

Link to this section Functions

Link to this function

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

View Source
@spec run_projects_locations_jobs_create(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Create a Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The location and project in which this Job should be created. Format: projects/{projectnumber}/locations/{location}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :jobId (type: String.t) - Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
    • :body (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2Job.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_delete(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Job. Format: projects/{projectnumber}/locations/{location}/jobs/{job}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :etag (type: String.t) - A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
    • :force (type: boolean()) - If set to true, the Job and its Executions will be deleted no matter whether any Executions are still running or not. If set to false or unset, the Job and its Executions can only be deleted if there are no running Executions. Any running Execution will fail the deletion.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated without actually deleting any resources.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_executions_delete(connection, projects_id, locations_id, jobs_id, executions_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_executions_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Delete an Execution.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the Execution to delete. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of name. See documentation of projectsId.
  • executions_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :etag (type: String.t) - A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated without actually deleting any resources.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_executions_get(connection, projects_id, locations_id, jobs_id, executions_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_executions_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2Execution.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a Execution.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of name. See documentation of projectsId.
  • executions_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2Execution{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_executions_list(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_executions_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2ListExecutionsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List Executions from a Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The Execution from which the Executions should be listed. To list all Executions across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :pageSize (type: integer()) - Maximum number of Executions to return in this call.
    • :pageToken (type: String.t) - A page token received from a previous call to ListExecutions. All other parameters must match.
    • :showDeleted (type: boolean()) - If true, returns deleted (but unexpired) resources along with active ones.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2ListExecutionsResponse{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_executions_tasks_get(connection, projects_id, locations_id, jobs_id, executions_id, tasks_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_executions_tasks_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2Task.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a Task.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Task. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of name. See documentation of projectsId.
  • executions_id (type: String.t) - Part of name. See documentation of projectsId.
  • tasks_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2Task{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_executions_tasks_list(connection, projects_id, locations_id, jobs_id, executions_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_executions_tasks_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2ListTasksResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List Tasks from an Execution of a Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The Execution from which the Tasks should be listed. To list all Tasks across Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of parent. See documentation of projectsId.
  • executions_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :pageSize (type: integer()) - Maximum number of Tasks to return in this call.
    • :pageToken (type: String.t) - A page token received from a previous call to ListTasks. All other parameters must match.
    • :showDeleted (type: boolean()) - If true, returns deleted (but unexpired) resources along with active ones.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2ListTasksResponse{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_get(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2Job.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Job. Format: projects/{projectnumber}/locations/{location}/jobs/{job}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2Job{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_get_iam_policy(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_get_iam_policy(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleIamV1Policy.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of resource. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :"options.requestedPolicyVersion" (type: integer()) - Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleIamV1Policy{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec run_projects_locations_jobs_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2ListJobsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List Jobs.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The location and project to list resources on. Format: projects/{projectnumber}/locations/{location}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :pageSize (type: integer()) - Maximum number of Jobs to return in this call.
    • :pageToken (type: String.t) - A page token received from a previous call to ListJobs. All other parameters must match.
    • :showDeleted (type: boolean()) - If true, returns deleted (but unexpired) resources along with active ones.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2ListJobsResponse{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_patch(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_patch(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of job.name. The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
  • locations_id (type: String.t) - Part of job.name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of job.name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :allowMissing (type: boolean()) - If set to true, and if the Job does not exist, it will create a new one. Caller must have both create and update permissions for this call if this is set to true.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
    • :body (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2Job.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_run(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_run(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Triggers creation of a new Execution of this Job.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Job. Format: projects/{projectnumber}/locations/{location}/jobs/{job}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2RunJobRequest.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_set_iam_policy(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_set_iam_policy(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleIamV1Policy.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Sets the IAM Access control policy for the specified Job. Overwrites any existing policy.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of resource. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Run.V2.Model.GoogleIamV1SetIamPolicyRequest.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleIamV1Policy{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_jobs_test_iam_permissions(connection, projects_id, locations_id, jobs_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_jobs_test_iam_permissions(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleIamV1TestIamPermissionsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • jobs_id (type: String.t) - Part of resource. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Run.V2.Model.GoogleIamV1TestIamPermissionsRequest.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleIamV1TestIamPermissionsResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec run_projects_locations_operations_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleProtobufEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the operation resource to be deleted.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • operations_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleProtobufEmpty{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec run_projects_locations_operations_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.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

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. The name of the operation resource.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • operations_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec run_projects_locations_operations_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningListOperationsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. To query for all of the operations for a project.
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :filter (type: String.t) - Optional. A filter for matching the completed or in-progress operations. The supported formats of filter are: To query for only completed operations: done:true To query for only ongoing operations: done:false Must be empty to query for all of the latest operations for the given parent project.
    • :pageSize (type: integer()) - The maximum number of records that should be returned. Requested page size cannot exceed 100. If not set or set to less than or equal to 0, the default page size is 100. .
    • :pageToken (type: String.t) - Token identifying which result to start with, which is returned by a previous list call.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningListOperationsResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec run_projects_locations_services_create(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a new Service in a given project and location.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The location and project in which this service should be created. Format: projects/{projectnumber}/locations/{location}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :serviceId (type: String.t) - Required. The unique identifier for the Service. The name of the service becomes {parent}/services/{service_id}.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
    • :body (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2Service.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_delete(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a Service. This will cause the Service to stop serving traffic and will delete all revisions.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Service. Format: projects/{projectnumber}/locations/{location}/services/{service}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • services_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :etag (type: String.t) - A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated without actually deleting any resources.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_get(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2Service.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a Service.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Service. Format: projects/{projectnumber}/locations/{location}/services/{service}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • services_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2Service{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_get_iam_policy(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_get_iam_policy(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleIamV1Policy.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get the IAM Access Control policy currently in effect for the given Cloud Run Service. This result does not include any inherited policies.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • services_id (type: String.t) - Part of resource. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :"options.requestedPolicyVersion" (type: integer()) - Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleIamV1Policy{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
@spec run_projects_locations_services_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2ListServicesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List Services.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The location and project to list resources on. Location must be a valid GCP region, and may not be the "-" wildcard. Format: projects/{projectnumber}/locations/{location}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :pageSize (type: integer()) - Maximum number of Services to return in this call.
    • :pageToken (type: String.t) - A page token received from a previous call to ListServices. All other parameters must match.
    • :showDeleted (type: boolean()) - If true, returns deleted (but unexpired) resources along with active ones.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2ListServicesResponse{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_patch(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_patch(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a Service.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of service.name. The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
  • locations_id (type: String.t) - Part of service.name. See documentation of projectsId.
  • services_id (type: String.t) - Part of service.name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :allowMissing (type: boolean()) - If set to true, and if the Service does not exist, it will create a new one. Caller must have both create and update permissions for this call if this is set to true.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
    • :body (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2Service.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_revisions_delete(connection, projects_id, locations_id, services_id, revisions_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_revisions_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleLongrunningOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Delete a Revision.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • services_id (type: String.t) - Part of name. See documentation of projectsId.
  • revisions_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :etag (type: String.t) - A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.
    • :validateOnly (type: boolean()) - Indicates that the request should be validated without actually deleting any resources.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleLongrunningOperation{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_revisions_get(connection, projects_id, locations_id, services_id, revisions_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_revisions_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2Revision.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets information about a Revision.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of name. Required. The full name of the Revision. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}
  • locations_id (type: String.t) - Part of name. See documentation of projectsId.
  • services_id (type: String.t) - Part of name. See documentation of projectsId.
  • revisions_id (type: String.t) - Part of name. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2Revision{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_revisions_list(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_revisions_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleCloudRunV2ListRevisionsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

List Revisions from a given Service, or from a given location.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of parent. Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}
  • locations_id (type: String.t) - Part of parent. See documentation of projectsId.
  • services_id (type: String.t) - Part of parent. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :pageSize (type: integer()) - Maximum number of revisions to return in this call.
    • :pageToken (type: String.t) - A page token received from a previous call to ListRevisions. All other parameters must match.
    • :showDeleted (type: boolean()) - If true, returns deleted (but unexpired) resources along with active ones.
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleCloudRunV2ListRevisionsResponse{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_set_iam_policy(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_set_iam_policy(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleIamV1Policy.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • services_id (type: String.t) - Part of resource. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Run.V2.Model.GoogleIamV1SetIamPolicyRequest.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleIamV1Policy{}} on success
  • {:error, info} on failure
Link to this function

run_projects_locations_services_test_iam_permissions(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ [])

View Source
@spec run_projects_locations_services_test_iam_permissions(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.Run.V2.Model.GoogleIamV1TestIamPermissionsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

parameters

Parameters

  • connection (type: GoogleApi.Run.V2.Connection.t) - Connection to server
  • projects_id (type: String.t) - Part of resource. REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
  • locations_id (type: String.t) - Part of resource. See documentation of projectsId.
  • services_id (type: String.t) - Part of resource. See documentation of projectsId.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.Run.V2.Model.GoogleIamV1TestIamPermissionsRequest.t) -
  • opts (type: keyword()) - Call options

returns

Returns

  • {:ok, %GoogleApi.Run.V2.Model.GoogleIamV1TestIamPermissionsResponse{}} on success
  • {:error, info} on failure