google_api_cloud_run v0.0.1 GoogleApi.CloudRun.V1alpha1.Api.Projects View Source
API calls for all endpoints tagged Projects
.
Link to this section Summary
Functions
RPC to list authorized domains.
Rpc to get information about a configuration.
Rpc to list configurations.
Creates a new domain mapping.
Rpc to delete a domain mapping.
Rpc to get information about a domain mapping.
Rpc to list domain mappings.
Lists information about the supported locations for this service.
Rpc to delete a revision.
Rpc to get information about a revision.
Rpc to list revisions.
Rpc to get information about a route.
Rpc to list routes.
Rpc to create a service.
Rpc to delete a service. This will cause the Service to stop serving traffic and will delete the child entities like Routes, Configurations and Revisions.
Rpc to get information about a service.
Get the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.
Rpc to list services.
Rpc to replace 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.
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
run_projects_locations_authorizeddomains_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
RPC to list authorized domains.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. Name of the parent Application resource. Example: `apps/myapp`.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :pageToken (String.t): Continuation token for fetching the next page of results.
- :pageSize (integer()): Maximum results to return per page.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListAuthorizedDomainsResponse{}} on success {:error, info} on failure
run_projects_locations_configurations_get(connection, projects_id, locations_id, configurations_id, optional_params \\ [], opts \\ []) View Source
Rpc to get information about a configuration.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the configuration being retrieved. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- configurations_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Configuration{}} on success {:error, info} on failure
run_projects_locations_configurations_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Rpc to list configurations.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number from which the configurations should be listed.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :labelSelector (String.t): Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
- :fieldSelector (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 (boolean()): Not currently used by Cloud Run.
- :resourceVersion (String.t): The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
- :continue (String.t): Optional encoded string to continue paging.
- :limit (integer()): The maximum number of records that should be returned.
- :watch (boolean()): Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListConfigurationsResponse{}} on success {:error, info} on failure
run_projects_locations_domainmappings_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Creates a new domain mapping.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number in which this domain mapping should be created.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :body (DomainMapping):
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.DomainMapping{}} on success {:error, info} on failure
run_projects_locations_domainmappings_delete(connection, projects_id, locations_id, domainmappings_id, optional_params \\ [], opts \\ []) View Source
Rpc to delete a domain mapping.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the domain mapping being deleted. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- domainmappings_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :apiVersion (String.t): Cloud Run currently ignores this parameter.
- :kind (String.t): Cloud Run currently ignores this parameter.
- :propagationPolicy (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/workloads/controllers/garbage-collection/ for more information.
- :orphanDependents (boolean()): Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Empty{}} on success {:error, info} on failure
run_projects_locations_domainmappings_get(connection, projects_id, locations_id, domainmappings_id, optional_params \\ [], opts \\ []) View Source
Rpc to get information about a domain mapping.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the domain mapping being retrieved. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- domainmappings_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.DomainMapping{}} on success {:error, info} on failure
run_projects_locations_domainmappings_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Rpc to list domain mappings.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number from which the domain mappings should be listed.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :labelSelector (String.t): Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
- :resourceVersion (String.t): The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
- :includeUninitialized (boolean()): Not currently used by Cloud Run.
- :fieldSelector (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.
- :continue (String.t): Optional encoded string to continue paging.
- :limit (integer()): The maximum number of records that should be returned.
- :watch (boolean()): Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListDomainMappingsResponse{}} on success {:error, info} on failure
run_projects_locations_list(connection, projects_id, optional_params \\ [], opts \\ []) View Source
Lists information about the supported locations for this service.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The resource that owns the locations collection, if applicable.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :pageToken (String.t): The standard list page token.
- :pageSize (integer()): The standard list page size.
- :filter (String.t): The standard list filter.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListLocationsResponse{}} on success {:error, info} on failure
run_projects_locations_revisions_delete(connection, projects_id, locations_id, revisions_id, optional_params \\ [], opts \\ []) View Source
Rpc to delete a revision.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the revision being deleted. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- revisions_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :propagationPolicy (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/workloads/controllers/garbage-collection/ for more information.
- :kind (String.t): Cloud Run currently ignores this parameter.
- :orphanDependents (boolean()): Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
- :apiVersion (String.t): Cloud Run currently ignores this parameter.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Empty{}} on success {:error, info} on failure
run_projects_locations_revisions_get(connection, projects_id, locations_id, revisions_id, optional_params \\ [], opts \\ []) View Source
Rpc to get information about a revision.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the revision being retrieved. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- revisions_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Revision{}} on success {:error, info} on failure
run_projects_locations_revisions_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Rpc to list revisions.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number from which the revisions should be listed.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :limit (integer()): The maximum number of records that should be returned.
- :watch (boolean()): Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
- :labelSelector (String.t): Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
- :resourceVersion (String.t): The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
- :includeUninitialized (boolean()): Not currently used by Cloud Run.
- :fieldSelector (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.
- :continue (String.t): Optional encoded string to continue paging.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListRevisionsResponse{}} on success {:error, info} on failure
run_projects_locations_routes_get(connection, projects_id, locations_id, routes_id, optional_params \\ [], opts \\ []) View Source
Rpc to get information about a route.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the route being retrieved. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- routes_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Route{}} on success {:error, info} on failure
run_projects_locations_routes_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Rpc to list routes.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number from which the routes should be listed.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :fieldSelector (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 (boolean()): Not currently used by Cloud Run.
- :resourceVersion (String.t): The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
- :continue (String.t): Optional encoded string to continue paging.
- :limit (integer()): The maximum number of records that should be returned.
- :watch (boolean()): Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
- :labelSelector (String.t): Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListRoutesResponse{}} on success {:error, info} on failure
run_projects_locations_services_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Rpc to create a service.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number in which this service should be created.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :body (Service):
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Service{}} on success {:error, info} on failure
run_projects_locations_services_delete(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ []) View Source
Rpc to delete a service. This will cause the Service to stop serving traffic and will delete the child entities like Routes, Configurations and Revisions.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the service being deleted. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- services_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :kind (String.t): Cloud Run currently ignores this parameter.
- :propagationPolicy (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/workloads/controllers/garbage-collection/ for more information.
- :orphanDependents (boolean()): Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
- :apiVersion (String.t): Cloud Run currently ignores this parameter.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Empty{}} on success {:error, info} on failure
run_projects_locations_services_get(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ []) View Source
Rpc to get information about a service.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the service being retrieved. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- services_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Service{}} on success {:error, info} on failure
run_projects_locations_services_get_iam_policy(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ []) View Source
Get the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `resource`. REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
- locations_id (String.t): Part of `resource`. See documentation of `projectsId`.
- services_id (String.t): Part of `resource`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Policy{}} on success {:error, info} on failure
run_projects_locations_services_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ []) View Source
Rpc to list services.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `parent`. The project ID or project number from which the services should be listed.
- locations_id (String.t): Part of `parent`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :labelSelector (String.t): Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
- :fieldSelector (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 (boolean()): Not currently used by Cloud Run.
- :resourceVersion (String.t): The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
- :continue (String.t): Optional encoded string to continue paging.
- :limit (integer()): The maximum number of records that should be returned.
- :watch (boolean()): Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.ListServicesResponse{}} on success {:error, info} on failure
run_projects_locations_services_replace_service(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ []) View Source
Rpc to replace 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 (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `name`. The name of the service being replaced. If needed, replace {namespace_id} with the project ID.
- locations_id (String.t): Part of `name`. See documentation of `projectsId`.
- services_id (String.t): Part of `name`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :body (Service):
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Service{}} on success {:error, info} on failure
run_projects_locations_services_set_iam_policy(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ []) View Source
Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `resource`. REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
- locations_id (String.t): Part of `resource`. See documentation of `projectsId`.
- services_id (String.t): Part of `resource`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :body (SetIamPolicyRequest):
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.Policy{}} on success {:error, info} on failure
run_projects_locations_services_test_iam_permissions(connection, projects_id, locations_id, services_id, optional_params \\ [], opts \\ []) View Source
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
Parameters
- connection (GoogleApi.CloudRun.V1alpha1.Connection): Connection to server
- projects_id (String.t): Part of `resource`. REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
- locations_id (String.t): Part of `resource`. See documentation of `projectsId`.
- services_id (String.t): Part of `resource`. See documentation of `projectsId`.
optional_params (KeywordList): [optional] Optional parameters
- :upload_protocol (String.t): Upload protocol for media (e.g. "raw", "multipart").
- :quotaUser (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.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :uploadType (String.t): Legacy upload protocol for media (e.g. "media", "multipart").
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :callback (String.t): JSONP
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :$.xgafv (String.t): V1 error format.
- :alt (String.t): Data format for response.
- :key (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.
- :access_token (String.t): OAuth access token.
- :body (TestIamPermissionsRequest):
Returns
{:ok, %GoogleApi.CloudRun.V1alpha1.Model.TestIamPermissionsResponse{}} on success {:error, info} on failure