mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
592 lines
32 KiB
HTML
592 lines
32 KiB
HTML
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en" >
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-run1-cli/namespaces_services-replace-service/" />
|
|
<link rel="shortcut icon" href="../img/favicon.ico" />
|
|
<title>Services Replace Service - Cloud Run v5.0.4+20240225</title>
|
|
<link rel="stylesheet" href="../css/theme.css" />
|
|
<link rel="stylesheet" href="../css/theme_extra.css" />
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
|
|
|
|
<script>
|
|
// Current page data
|
|
var mkdocs_page_name = "Services Replace Service";
|
|
var mkdocs_page_input_path = "namespaces_services-replace-service.md";
|
|
var mkdocs_page_url = "/google-apis-rs/google-run1-cli/namespaces_services-replace-service/";
|
|
</script>
|
|
|
|
<script src="../js/jquery-3.6.0.min.js" defer></script>
|
|
<!--[if lt IE 9]>
|
|
<script src="../js/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search">
|
|
<a href=".." class="icon icon-home"> Cloud Run v5.0.4+20240225
|
|
</a><div role="search">
|
|
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="..">Home</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Namespaces</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_authorizeddomains-list/">Authorizeddomains List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_configurations-get/">Configurations Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_configurations-list/">Configurations List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_domainmappings-create/">Domainmappings Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_domainmappings-delete/">Domainmappings Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_domainmappings-get/">Domainmappings Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_domainmappings-list/">Domainmappings List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_executions-cancel/">Executions Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_executions-delete/">Executions Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_executions-get/">Executions Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_executions-list/">Executions List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_jobs-create/">Jobs Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_jobs-delete/">Jobs Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_jobs-get/">Jobs Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_jobs-list/">Jobs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_jobs-replace-job/">Jobs Replace Job</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_jobs-run/">Jobs Run</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_revisions-delete/">Revisions Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_revisions-get/">Revisions Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_revisions-list/">Revisions List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_routes-get/">Routes Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_routes-list/">Routes List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_services-create/">Services Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_services-delete/">Services Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_services-get/">Services Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_services-list/">Services List</a>
|
|
</li>
|
|
<li class="toctree-l1 current"><a class="reference internal current" href="./">Services Replace Service</a>
|
|
<ul class="current">
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_tasks-get/">Tasks Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../namespaces_tasks-list/">Tasks List</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Projects</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_authorizeddomains-list/">Authorizeddomains List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-authorizeddomains-list/">Locations Authorizeddomains List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-configurations-get/">Locations Configurations Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-configurations-list/">Locations Configurations List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-domainmappings-create/">Locations Domainmappings Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-domainmappings-delete/">Locations Domainmappings Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-domainmappings-get/">Locations Domainmappings Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-domainmappings-list/">Locations Domainmappings List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-jobs-get-iam-policy/">Locations Jobs Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-jobs-set-iam-policy/">Locations Jobs Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-jobs-test-iam-permissions/">Locations Jobs Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-list/">Locations List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-delete/">Locations Operations Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-get/">Locations Operations Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-list/">Locations Operations List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-wait/">Locations Operations Wait</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-revisions-delete/">Locations Revisions Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-revisions-get/">Locations Revisions Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-revisions-list/">Locations Revisions List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-routes-get/">Locations Routes Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-routes-list/">Locations Routes List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-create/">Locations Services Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-delete/">Locations Services Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-get/">Locations Services Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-get-iam-policy/">Locations Services Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-list/">Locations Services List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-replace-service/">Locations Services Replace Service</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-set-iam-policy/">Locations Services Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-services-test-iam-permissions/">Locations Services Test Iam Permissions</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="..">Cloud Run v5.0.4+20240225</a>
|
|
|
|
</nav>
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href=".." class="icon icon-home" alt="Docs"></a> »</li>
|
|
<li>Namespaces »</li>
|
|
<li>Services Replace Service</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/run1-cli/edit/master/docs/namespaces_services-replace-service.md"
|
|
class="icon icon-github"> Edit on GitHub</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div class="section" itemprop="articleBody">
|
|
|
|
<p>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.</p>
|
|
<h1 id="scopes">Scopes</h1>
|
|
<p>You will need authorization for the <em>https://www.googleapis.com/auth/cloud-platform</em> scope to make a valid call.</p>
|
|
<p>If unset, the scope for this method defaults to <em>https://www.googleapis.com/auth/cloud-platform</em>.
|
|
You can set the scope for this method like this: <code>run1 --scope <scope> namespaces services-replace-service ...</code></p>
|
|
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
|
<ul>
|
|
<li><strong><name></strong> <em>(string)</em><ul>
|
|
<li>Required. The fully qualified name of the service to replace. It can be any of the following forms: * <code>namespaces/{project_id_or_number}/services/{service_name}</code> (only when the <code>endpoint</code> is regional) * <code>projects/{project_id_or_number}/locations/{region}/services/{service_name}</code> * <code>projects/{project_id_or_number}/regions/{region}/services/{service_name}</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h1 id="required-request-value">Required Request Value</h1>
|
|
<p>The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure.
|
|
In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.</p>
|
|
<p>For example, a structure like this:</p>
|
|
<pre><code>Service:
|
|
api-version: string
|
|
kind: string
|
|
metadata:
|
|
annotations: { string: string }
|
|
cluster-name: string
|
|
creation-timestamp: string
|
|
deletion-grace-period-seconds: integer
|
|
deletion-timestamp: string
|
|
finalizers: [string]
|
|
generate-name: string
|
|
generation: integer
|
|
labels: { string: string }
|
|
name: string
|
|
namespace: string
|
|
resource-version: string
|
|
self-link: string
|
|
uid: string
|
|
spec:
|
|
template:
|
|
metadata:
|
|
annotations: { string: string }
|
|
cluster-name: string
|
|
creation-timestamp: string
|
|
deletion-grace-period-seconds: integer
|
|
deletion-timestamp: string
|
|
finalizers: [string]
|
|
generate-name: string
|
|
generation: integer
|
|
labels: { string: string }
|
|
name: string
|
|
namespace: string
|
|
resource-version: string
|
|
self-link: string
|
|
uid: string
|
|
spec:
|
|
container-concurrency: integer
|
|
enable-service-links: boolean
|
|
service-account-name: string
|
|
timeout-seconds: integer
|
|
status:
|
|
address:
|
|
url: string
|
|
latest-created-revision-name: string
|
|
latest-ready-revision-name: string
|
|
observed-generation: integer
|
|
url: string
|
|
|
|
</code></pre>
|
|
<p>can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.</p>
|
|
<ul>
|
|
<li><code>-r . api-version=sed</code><ul>
|
|
<li>The API version for this call. It must be "serving.knative.dev/v1".</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>kind=eos</code><ul>
|
|
<li>The kind of resource. It must be "Service".</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>metadata annotations=key=lorem</code><ul>
|
|
<li>Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * <code>autoscaling.knative.dev/maxScale</code>: Revision. * <code>autoscaling.knative.dev/minScale</code>: Revision. * <code>run.googleapis.com/binary-authorization-breakglass</code>: Service, Job, * <code>run.googleapis.com/binary-authorization</code>: Service, Job, Execution. * <code>run.googleapis.com/client-name</code>: All resources. * <code>run.googleapis.com/cloudsql-instances</code>: Revision, Execution. * <code>run.googleapis.com/container-dependencies</code>: Revision . * <code>run.googleapis.com/cpu-throttling</code>: Revision. * <code>run.googleapis.com/custom-audiences</code>: Service. * <code>run.googleapis.com/default-url-disabled</code>: Service. * <code>run.googleapis.com/description</code>: Service. * <code>run.googleapis.com/encryption-key-shutdown-hours</code>: Revision * <code>run.googleapis.com/encryption-key</code>: Revision, Execution. * <code>run.googleapis.com/execution-environment</code>: Revision, Execution. * <code>run.googleapis.com/gc-traffic-tags</code>: Service. * <code>run.googleapis.com/ingress</code>: Service. * <code>run.googleapis.com/launch-stage</code>: Service, Job. * <code>run.googleapis.com/minScale</code>: Service (ALPHA) * <code>run.googleapis.com/network-interfaces</code>: Revision, Execution. * <code>run.googleapis.com/post-key-revocation-action-type</code>: Revision. * <code>run.googleapis.com/secrets</code>: Revision, Execution. * <code>run.googleapis.com/secure-session-agent</code>: Revision. * <code>run.googleapis.com/sessionAffinity</code>: Revision. * <code>run.googleapis.com/startup-cpu-boost</code>: Revision. * <code>run.googleapis.com/vpc-access-connector</code>: Revision, Execution. * <code>run.googleapis.com/vpc-access-egress</code>: Revision, Execution.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>cluster-name=ea</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>creation-timestamp=stet</code><ul>
|
|
<li>UTC timestamp representing the server time when this object was created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-grace-period-seconds=82</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-timestamp=eos</code><ul>
|
|
<li>The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>finalizers=et</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>generate-name=sea</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>generation=27</code><ul>
|
|
<li>A system-provided sequence number representing a specific generation of the desired state.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>labels=key=at</code><ul>
|
|
<li>Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>name=dolore</code><ul>
|
|
<li>Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>namespace=eirmod</code><ul>
|
|
<li>Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>resource-version=lorem</code><ul>
|
|
<li>Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>self-link=accusam</code><ul>
|
|
<li>URL representing this object.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>uid=amet</code></p>
|
|
<ul>
|
|
<li>Unique, system-generated identifier for this resource.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..spec.template.metadata annotations=key=erat</code></p>
|
|
<ul>
|
|
<li>Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * <code>autoscaling.knative.dev/maxScale</code>: Revision. * <code>autoscaling.knative.dev/minScale</code>: Revision. * <code>run.googleapis.com/binary-authorization-breakglass</code>: Service, Job, * <code>run.googleapis.com/binary-authorization</code>: Service, Job, Execution. * <code>run.googleapis.com/client-name</code>: All resources. * <code>run.googleapis.com/cloudsql-instances</code>: Revision, Execution. * <code>run.googleapis.com/container-dependencies</code>: Revision . * <code>run.googleapis.com/cpu-throttling</code>: Revision. * <code>run.googleapis.com/custom-audiences</code>: Service. * <code>run.googleapis.com/default-url-disabled</code>: Service. * <code>run.googleapis.com/description</code>: Service. * <code>run.googleapis.com/encryption-key-shutdown-hours</code>: Revision * <code>run.googleapis.com/encryption-key</code>: Revision, Execution. * <code>run.googleapis.com/execution-environment</code>: Revision, Execution. * <code>run.googleapis.com/gc-traffic-tags</code>: Service. * <code>run.googleapis.com/ingress</code>: Service. * <code>run.googleapis.com/launch-stage</code>: Service, Job. * <code>run.googleapis.com/minScale</code>: Service (ALPHA) * <code>run.googleapis.com/network-interfaces</code>: Revision, Execution. * <code>run.googleapis.com/post-key-revocation-action-type</code>: Revision. * <code>run.googleapis.com/secrets</code>: Revision, Execution. * <code>run.googleapis.com/secure-session-agent</code>: Revision. * <code>run.googleapis.com/sessionAffinity</code>: Revision. * <code>run.googleapis.com/startup-cpu-boost</code>: Revision. * <code>run.googleapis.com/vpc-access-connector</code>: Revision, Execution. * <code>run.googleapis.com/vpc-access-egress</code>: Revision, Execution.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>cluster-name=dolores</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>creation-timestamp=erat</code><ul>
|
|
<li>UTC timestamp representing the server time when this object was created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-grace-period-seconds=28</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-timestamp=sea</code><ul>
|
|
<li>The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>finalizers=takimata</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>generate-name=lorem</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>generation=79</code><ul>
|
|
<li>A system-provided sequence number representing a specific generation of the desired state.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>labels=key=at</code><ul>
|
|
<li>Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>name=dolor</code><ul>
|
|
<li>Required. The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>namespace=et</code><ul>
|
|
<li>Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>resource-version=sit</code><ul>
|
|
<li>Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>self-link=erat</code><ul>
|
|
<li>URL representing this object.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>uid=sea</code></p>
|
|
<ul>
|
|
<li>Unique, system-generated identifier for this resource.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..spec container-concurrency=60</code></p>
|
|
<ul>
|
|
<li>ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>enable-service-links=true</code><ul>
|
|
<li>Not supported by Cloud Run.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>service-account-name=consetetur</code><ul>
|
|
<li>Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>timeout-seconds=3</code></p>
|
|
<ul>
|
|
<li>TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour).</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>....status.address url=aliquyam</code></p>
|
|
<ul>
|
|
<li>No description provided.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. latest-created-revision-name=eos</code></p>
|
|
<ul>
|
|
<li>Name of the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>latest-ready-revision-name=at</code><ul>
|
|
<li>Name of the latest Revision from this Service's Configuration that has had its <code>Ready</code> condition become <code>True</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>observed-generation=82</code><ul>
|
|
<li>Returns the generation last seen by the system. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>url=consetetur</code><ul>
|
|
<li>URL that will distribute traffic over the provided traffic targets. It generally has the form <code>https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h3 id="about-cursors">About Cursors</h3>
|
|
<p>The cursor position is key to comfortably set complex nested structures. The following rules apply:</p>
|
|
<ul>
|
|
<li>The cursor position is always set relative to the current one, unless the field name starts with the <code>.</code> character. Fields can be nested such as in <code>-r f.s.o</code> .</li>
|
|
<li>The cursor position is set relative to the top-level structure if it starts with <code>.</code>, e.g. <code>-r .s.s</code></li>
|
|
<li>You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify <code>-r struct.sub_struct=bar</code>.</li>
|
|
<li>You can move the cursor one level up by using <code>..</code>. Each additional <code>.</code> moves it up one additional level. E.g. <code>...</code> would go three levels up.</li>
|
|
</ul>
|
|
<h1 id="optional-output-flags">Optional Output Flags</h1>
|
|
<p>The method's return value a JSON encoded structure, which will be written to standard output by default.</p>
|
|
<ul>
|
|
<li><strong>-o out</strong><ul>
|
|
<li><em>out</em> specifies the <em>destination</em> to which to write the server's result to.
|
|
It will be a JSON-encoded structure.
|
|
The <em>destination</em> may be <code>-</code> to indicate standard output, or a filepath that is to contain the received bytes.
|
|
If unset, it defaults to standard output.</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h1 id="optional-method-properties">Optional Method Properties</h1>
|
|
<p>You may set the following properties to further configure the call. Please note that <code>-p</code> is followed by one
|
|
or more key-value-pairs, and is called like this <code>-p k1=v1 k2=v2</code> even though the listing below repeats the
|
|
<code>-p</code> for completeness.</p>
|
|
<ul>
|
|
<li><strong>-p dry-run=string</strong><ul>
|
|
<li>Indicates that the server should validate the request and populate default values without persisting the request. Supported values: <code>all</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h1 id="optional-general-properties">Optional General Properties</h1>
|
|
<p>The following properties can configure any call, and are not specific to this method.</p>
|
|
<ul>
|
|
<li>
|
|
<p><strong>-p $-xgafv=string</strong></p>
|
|
<ul>
|
|
<li>V1 error format.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p access-token=string</strong></p>
|
|
<ul>
|
|
<li>OAuth access token.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p alt=string</strong></p>
|
|
<ul>
|
|
<li>Data format for response.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p callback=string</strong></p>
|
|
<ul>
|
|
<li>JSONP</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p fields=string</strong></p>
|
|
<ul>
|
|
<li>Selector specifying which fields to include in a partial response.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p key=string</strong></p>
|
|
<ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p oauth-token=string</strong></p>
|
|
<ul>
|
|
<li>OAuth 2.0 token for the current user.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p pretty-print=boolean</strong></p>
|
|
<ul>
|
|
<li>Returns response with indentations and line breaks.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p quota-user=string</strong></p>
|
|
<ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p upload-type=string</strong></p>
|
|
<ul>
|
|
<li>Legacy upload protocol for media (e.g. "media", "multipart").</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p upload-protocol=string</strong></p>
|
|
<ul>
|
|
<li>Upload protocol for media (e.g. "raw", "multipart").</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div><footer>
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
|
|
<a href="../namespaces_services-list/" class="btn btn-neutral float-left" title="Services List"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
<a href="../namespaces_tasks-get/" class="btn btn-neutral float-right" title="Tasks Get">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<!-- Copyright etc -->
|
|
<p>Copyright © 2015-2020, `Sebastian Thiel`</p>
|
|
</div>
|
|
|
|
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="rst-versions" role="note" aria-label="Versions">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
|
<span>
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/run1-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
|
|
|
|
<span><a href="../namespaces_services-list/" style="color: #fcfcfc">« Previous</a></span>
|
|
|
|
|
|
<span><a href="../namespaces_tasks-get/" style="color: #fcfcfc">Next »</a></span>
|
|
|
|
</span>
|
|
</div>
|
|
<script>var base_url = '..';</script>
|
|
<script src="../js/theme_extra.js" defer></script>
|
|
<script src="../js/theme.js" defer></script>
|
|
<script src="../search/main.js" defer></script>
|
|
<script defer>
|
|
window.onload = function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
};
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|