View Source GoogleApi.Run.V1.Api.Namespaces (google_api_run v0.30.0)

API calls for all endpoints tagged Namespaces.

Summary

Functions

Replace a job. Only the spec and metadata labels and annotations are modifiable. After the Replace request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.

Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready.

Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.

Replaces a service. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.

Functions

Link to this function

run_namespaces_authorizeddomains_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List authorized domains.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Name of the parent Project resource. Example: projects/myproject.
  • 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 results to return per page.
    • :pageToken (type: String.t) - Continuation token for fetching the next page of results.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_configurations_get(connection, namespaces_id, configurations_id, optional_params \\ [], opts \\ [])

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

Get information about a configuration.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. The name of the configuration to retrieve. For Cloud Run, replace {namespace_id} with the project ID or number.
  • configurations_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Configuration{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_configurations_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List configurations.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. The namespace from which the configurations should be listed. For Cloud Run, replace {namespace_id} with the project ID or number.
  • 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").
    • :continue (type: String.t) - Optional. Encoded string to continue paging.
    • :fieldSelector (type: String.t) - Not supported by Cloud Run.
    • :includeUninitialized (type: boolean()) - Not supported by Cloud Run.
    • :labelSelector (type: String.t) - Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - Optional. The maximum number of the records that should be returned.
    • :resourceVersion (type: String.t) - Not supported by Cloud Run.
    • :watch (type: boolean()) - Not supported by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_domainmappings_create(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

Create a new domain mapping.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :dryRun (type: String.t) - Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all
    • :body (type: GoogleApi.Run.V1.Model.DomainMapping.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_domainmappings_delete(connection, namespaces_id, domainmappings_id, optional_params \\ [], opts \\ [])

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

Delete a domain mapping.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • domainmappings_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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").
    • :apiVersion (type: String.t) - Cloud Run currently ignores this parameter.
    • :dryRun (type: String.t) - Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all
    • :kind (type: String.t) - Cloud Run currently ignores this parameter.
    • :propagationPolicy (type: String.t) - Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/architecture/garbage-collection/ for more information.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_domainmappings_get(connection, namespaces_id, domainmappings_id, optional_params \\ [], opts \\ [])

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

Get information about a domain mapping.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • domainmappings_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.DomainMapping{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_domainmappings_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List all domain mappings.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :continue (type: String.t) - Optional. Encoded string to continue paging.
    • :fieldSelector (type: String.t) - Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
    • :includeUninitialized (type: boolean()) - Not currently used by Cloud Run.
    • :labelSelector (type: String.t) - Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - Optional. The maximum number of records that should be returned.
    • :resourceVersion (type: String.t) - The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
    • :watch (type: boolean()) - Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_executions_cancel(connection, namespaces_id, executions_id, optional_params \\ [], opts \\ [])

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

Cancel an execution.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the execution to cancel. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • executions_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.V1.Model.CancelExecutionRequest.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_executions_delete(connection, namespaces_id, executions_id, optional_params \\ [], opts \\ [])

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

Delete an execution.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the execution to delete. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • executions_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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").
    • :apiVersion (type: String.t) - Optional. Cloud Run currently ignores this parameter.
    • :kind (type: String.t) - Optional. Cloud Run currently ignores this parameter.
    • :propagationPolicy (type: String.t) - Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_executions_get(connection, namespaces_id, executions_id, optional_params \\ [], opts \\ [])

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

Get information about an execution.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the execution to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • executions_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Execution{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_executions_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List executions.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The namespace from which the executions should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :continue (type: String.t) - Optional. Optional encoded string to continue paging.
    • :fieldSelector (type: String.t) - Optional. Not supported by Cloud Run.
    • :includeUninitialized (type: boolean()) - Optional. Not supported by Cloud Run.
    • :labelSelector (type: String.t) - Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - Optional. The maximum number of the records that should be returned.
    • :resourceVersion (type: String.t) - Optional. Not supported by Cloud Run.
    • :watch (type: boolean()) - Optional. Not supported by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_jobs_create(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

Create a job.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The namespace in which the job should be created. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :body (type: GoogleApi.Run.V1.Model.Job.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_jobs_delete(connection, namespaces_id, jobs_id, optional_params \\ [], opts \\ [])

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

Delete a job.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the job to delete. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • jobs_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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").
    • :apiVersion (type: String.t) - Optional. Cloud Run currently ignores this parameter.
    • :kind (type: String.t) - Optional. Cloud Run currently ignores this parameter.
    • :propagationPolicy (type: String.t) - Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_jobs_get(connection, namespaces_id, jobs_id, optional_params \\ [], opts \\ [])

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

Get information about a job.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the job to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • jobs_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Job{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_jobs_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List jobs.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The namespace from which the jobs should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :continue (type: String.t) - Optional. Optional encoded string to continue paging.
    • :fieldSelector (type: String.t) - Optional. Not supported by Cloud Run.
    • :includeUninitialized (type: boolean()) - Optional. Not supported by Cloud Run.
    • :labelSelector (type: String.t) - Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - Optional. The maximum number of records that should be returned.
    • :resourceVersion (type: String.t) - Optional. Not supported by Cloud Run.
    • :watch (type: boolean()) - Optional. Not supported by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_jobs_replace_job(connection, namespaces_id, jobs_id, optional_params \\ [], opts \\ [])

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

Replace a job. Only the spec and metadata labels and annotations are modifiable. After the Replace request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the job being replaced. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • jobs_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.V1.Model.Job.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_jobs_run(connection, namespaces_id, jobs_id, optional_params \\ [], opts \\ [])

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

Trigger creation of a new execution of this job.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the job to run. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • jobs_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.V1.Model.RunJobRequest.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_revisions_delete(connection, namespaces_id, revisions_id, optional_params \\ [], opts \\ [])

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

Delete a revision.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. The name of the revision to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • revisions_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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").
    • :apiVersion (type: String.t) - Cloud Run currently ignores this parameter.
    • :dryRun (type: String.t) - Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all
    • :kind (type: String.t) - Cloud Run currently ignores this parameter.
    • :propagationPolicy (type: String.t) - Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_revisions_get(connection, namespaces_id, revisions_id, optional_params \\ [], opts \\ [])

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

Get information about a revision.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. The name of the revision to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • revisions_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Revision{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_revisions_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List revisions.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. The namespace from which the revisions should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :continue (type: String.t) - Optional. Encoded string to continue paging.
    • :fieldSelector (type: String.t) - Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
    • :includeUninitialized (type: boolean()) - Not currently used by Cloud Run.
    • :labelSelector (type: String.t) - Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - Optional. The maximum number of records that should be returned.
    • :resourceVersion (type: String.t) - The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
    • :watch (type: boolean()) - Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_routes_get(connection, namespaces_id, routes_id, optional_params \\ [], opts \\ [])

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

Get information about a route.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. The name of the route to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • routes_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Route{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_routes_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List routes.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. The namespace from which the routes should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :continue (type: String.t) - Optional. Encoded string to continue paging.
    • :fieldSelector (type: String.t) - Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
    • :includeUninitialized (type: boolean()) - Not currently used by Cloud Run.
    • :labelSelector (type: String.t) - Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - Optional. The maximum number of records that should be returned.
    • :resourceVersion (type: String.t) - The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
    • :watch (type: boolean()) - Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_services_create(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The resource's parent. In Cloud Run, it may be one of the following: {project_id_or_number} namespaces/{project_id_or_number} namespaces/{project_id_or_number}/services projects/{project_id_or_number}/locations/{region} * projects/{project_id_or_number}/regions/{region}
  • 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").
    • :dryRun (type: String.t) - Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all
    • :body (type: GoogleApi.Run.V1.Model.Service.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_services_delete(connection, namespaces_id, services_id, optional_params \\ [], opts \\ [])

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

Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The fully qualified name of the service to delete. It can be any of the following forms: namespaces/{project_id_or_number}/services/{service_name} (only when the endpoint is regional) projects/{project_id_or_number}/locations/{region}/services/{service_name} * projects/{project_id_or_number}/regions/{region}/services/{service_name}
  • services_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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").
    • :apiVersion (type: String.t) - Not supported, and ignored by Cloud Run.
    • :dryRun (type: String.t) - Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all
    • :kind (type: String.t) - Not supported, and ignored by Cloud Run.
    • :propagationPolicy (type: String.t) - Not supported, and ignored by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_services_get(connection, namespaces_id, services_id, optional_params \\ [], opts \\ [])

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

Gets information about a service.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The fully qualified name of the service to retrieve. It can be any of the following forms: namespaces/{project_id_or_number}/services/{service_name} (only when the endpoint is regional) projects/{project_id_or_number}/locations/{region}/services/{service_name} * projects/{project_id_or_number}/regions/{region}/services/{service_name}
  • services_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Service{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_services_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

Lists services for the given project and region.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The parent from where the resources should be listed. In Cloud Run, it may be one of the following: {project_id_or_number} namespaces/{project_id_or_number} namespaces/{project_id_or_number}/services projects/{project_id_or_number}/locations/{region} * projects/{project_id_or_number}/regions/{region}
  • 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").
    • :continue (type: String.t) - Encoded string to continue paging.
    • :fieldSelector (type: String.t) - Not supported, and ignored by Cloud Run.
    • :includeUninitialized (type: boolean()) - Not supported, and ignored by Cloud Run.
    • :labelSelector (type: String.t) - Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
    • :limit (type: integer()) - The maximum number of records that should be returned.
    • :resourceVersion (type: String.t) - Not supported, and ignored by Cloud Run.
    • :watch (type: boolean()) - Not supported, and ignored by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_services_replace_service(connection, namespaces_id, services_id, optional_params \\ [], opts \\ [])

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

Replaces a service. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The fully qualified name of the service to replace. It can be any of the following forms: namespaces/{project_id_or_number}/services/{service_name} (only when the endpoint is regional) projects/{project_id_or_number}/locations/{region}/services/{service_name} * projects/{project_id_or_number}/regions/{region}/services/{service_name}
  • services_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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").
    • :dryRun (type: String.t) - Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all
    • :body (type: GoogleApi.Run.V1.Model.Service.t) -
  • opts (type: keyword()) - Call options

Returns

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

run_namespaces_tasks_get(connection, namespaces_id, tasks_id, optional_params \\ [], opts \\ [])

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

Get information about a task.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of name. Required. The name of the task to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
  • tasks_id (type: String.t) - Part of name. See documentation of namespacesId.
  • 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.Run.V1.Model.Task{}} on success
  • {:error, info} on failure
Link to this function

run_namespaces_tasks_list(connection, namespaces_id, optional_params \\ [], opts \\ [])

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

List tasks.

Parameters

  • connection (type: GoogleApi.Run.V1.Connection.t) - Connection to server
  • namespaces_id (type: String.t) - Part of parent. Required. The namespace from which the tasks should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/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").
    • :continue (type: String.t) - Optional. Optional encoded string to continue paging.
    • :fieldSelector (type: String.t) - Optional. Not supported by Cloud Run.
    • :includeUninitialized (type: boolean()) - Optional. Not supported by Cloud Run.
    • :labelSelector (type: String.t) - Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. For example, to list all tasks of execution "foo" in succeeded state: run.googleapis.com/execution=foo,run.googleapis.com/runningState=Succeeded. Supported states are: Pending: Initial state of all tasks. The task has not yet started but eventually will. Running: Container instances for this task are running or will be running shortly. Succeeded: No more container instances to run for the task, and the last attempt succeeded. Failed: No more container instances to run for the task, and the last attempt failed. This task has run out of retry attempts. Cancelled: Task was running but got stopped because its parent execution has been aborted. Abandoned: The task has not yet started and never will because its parent execution has been aborted.
    • :limit (type: integer()) - Optional. The maximum number of records that should be returned.
    • :resourceVersion (type: String.t) - Optional. Not supported by Cloud Run.
    • :watch (type: boolean()) - Optional. Not supported by Cloud Run.
  • opts (type: keyword()) - Call options

Returns

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