mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-29 21:34:03 +01:00
591 lines
32 KiB
HTML
591 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_jobs-create/" />
|
|
<link rel="shortcut icon" href="../img/favicon.ico" />
|
|
<title>Jobs Create - 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 = "Jobs Create";
|
|
var mkdocs_page_input_path = "namespaces_jobs-create.md";
|
|
var mkdocs_page_url = "/google-apis-rs/google-run1-cli/namespaces_jobs-create/";
|
|
</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 current"><a class="reference internal current" href="./">Jobs Create</a>
|
|
<ul class="current">
|
|
</ul>
|
|
</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"><a class="reference internal" href="../namespaces_services-replace-service/">Services Replace Service</a>
|
|
</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>Jobs Create</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/run1-cli/edit/master/docs/namespaces_jobs-create.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>Create a job.</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 jobs-create ...</code></p>
|
|
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
|
<ul>
|
|
<li><strong><parent></strong> <em>(string)</em><ul>
|
|
<li>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</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>Job:
|
|
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:
|
|
parallelism: integer
|
|
task-count: integer
|
|
template:
|
|
spec:
|
|
max-retries: integer
|
|
service-account-name: string
|
|
timeout-seconds: string
|
|
status:
|
|
execution-count: integer
|
|
latest-created-execution:
|
|
completion-timestamp: string
|
|
creation-timestamp: string
|
|
name: string
|
|
observed-generation: integer
|
|
|
|
</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>Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>kind=ut</code><ul>
|
|
<li>Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>metadata annotations=key=gubergren</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=rebum.</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>creation-timestamp=est</code><ul>
|
|
<li>UTC timestamp representing the server time when this object was created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-grace-period-seconds=51</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-timestamp=ipsum</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=est</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=gubergren</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>generation=84</code><ul>
|
|
<li>A system-provided sequence number representing a specific generation of the desired state.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>labels=key=dolor</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=lorem</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=eos</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=labore</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=sed</code><ul>
|
|
<li>URL representing this object.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>uid=duo</code></p>
|
|
<ul>
|
|
<li>Unique, system-generated identifier for this resource.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..spec.template.metadata annotations=key=sed</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=no</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=88</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>deletion-timestamp=et</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=sed</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=et</code><ul>
|
|
<li>Not supported by Cloud Run</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>generation=33</code><ul>
|
|
<li>A system-provided sequence number representing a specific generation of the desired state.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>labels=key=vero</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=erat</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=sed</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=duo</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=dolore</code><ul>
|
|
<li>URL representing this object.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>uid=et</code></p>
|
|
<ul>
|
|
<li>Unique, system-generated identifier for this resource.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..spec parallelism=73</code></p>
|
|
<ul>
|
|
<li>Optional. Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>task-count=99</code><ul>
|
|
<li>Optional. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. Defaults to 1.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>template.spec max-retries=5</code><ul>
|
|
<li>Optional. Number of retries allowed per task, before marking this job failed. Defaults to 3.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>service-account-name=diam</code><ul>
|
|
<li>Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>timeout-seconds=dolor</code></p>
|
|
<ul>
|
|
<li>Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>......status execution-count=83</code></p>
|
|
<ul>
|
|
<li>Number of executions created for this job.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>latest-created-execution completion-timestamp=et</code><ul>
|
|
<li>Optional. Completion timestamp of the execution.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>creation-timestamp=sadipscing</code><ul>
|
|
<li>Optional. Creation timestamp of the execution.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>name=stet</code></p>
|
|
<ul>
|
|
<li>Optional. Name of the execution.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. observed-generation=2</code></p>
|
|
<ul>
|
|
<li>The 'generation' of the job that was last processed by the controller.</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-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_executions-list/" class="btn btn-neutral float-left" title="Executions List"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
<a href="../namespaces_jobs-delete/" class="btn btn-neutral float-right" title="Jobs Delete">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_executions-list/" style="color: #fcfcfc">« Previous</a></span>
|
|
|
|
|
|
<span><a href="../namespaces_jobs-delete/" 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>
|