mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
490 lines
25 KiB
HTML
490 lines
25 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-cloudfunctions1-cli/projects_locations-functions-patch/" />
|
|
<link rel="shortcut icon" href="../img/favicon.ico" />
|
|
<title>Locations Functions Patch - Cloud Functions v5.0.4+20240229</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 = "Locations Functions Patch";
|
|
var mkdocs_page_input_path = "projects_locations-functions-patch.md";
|
|
var mkdocs_page_url = "/google-apis-rs/google-cloudfunctions1-cli/projects_locations-functions-patch/";
|
|
</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 Functions v5.0.4+20240229
|
|
</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">Operations</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../operations_get/">Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../operations_list/">List</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Projects</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-call/">Locations Functions Call</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-create/">Locations Functions Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-delete/">Locations Functions Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-generate-download-url/">Locations Functions Generate Download Url</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-generate-upload-url/">Locations Functions Generate Upload Url</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-get/">Locations Functions Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-get-iam-policy/">Locations Functions Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-list/">Locations Functions List</a>
|
|
</li>
|
|
<li class="toctree-l1 current"><a class="reference internal current" href="./">Locations Functions Patch</a>
|
|
<ul class="current">
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-set-iam-policy/">Locations Functions Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-functions-test-iam-permissions/">Locations Functions Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-list/">Locations List</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 Functions v5.0.4+20240229</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>Projects »</li>
|
|
<li>Locations Functions Patch</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/cloudfunctions1-cli/edit/master/docs/projects_locations-functions-patch.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>Updates existing function.</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>cloudfunctions1 --scope <scope> projects locations-functions-patch ...</code></p>
|
|
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
|
<ul>
|
|
<li><strong><name></strong> <em>(string)</em><ul>
|
|
<li>A user-defined name of the function. Function names must be unique globally and match pattern <code>projects/*/locations/*/functions/*</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>CloudFunction:
|
|
available-memory-mb: integer
|
|
build-environment-variables: { string: string }
|
|
build-id: string
|
|
build-name: string
|
|
build-service-account: string
|
|
build-worker-pool: string
|
|
description: string
|
|
docker-registry: string
|
|
docker-repository: string
|
|
entry-point: string
|
|
environment-variables: { string: string }
|
|
event-trigger:
|
|
event-type: string
|
|
resource: string
|
|
service: string
|
|
https-trigger:
|
|
security-level: string
|
|
url: string
|
|
ingress-settings: string
|
|
kms-key-name: string
|
|
labels: { string: string }
|
|
max-instances: integer
|
|
min-instances: integer
|
|
name: string
|
|
network: string
|
|
on-deploy-update-policy:
|
|
runtime-version: string
|
|
runtime: string
|
|
service-account-email: string
|
|
source-archive-url: string
|
|
source-repository:
|
|
deployed-url: string
|
|
url: string
|
|
source-token: string
|
|
source-upload-url: string
|
|
status: string
|
|
timeout: string
|
|
update-time: string
|
|
version-id: string
|
|
vpc-connector: string
|
|
vpc-connector-egress-settings: 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 . available-memory-mb=21</code><ul>
|
|
<li>The amount of memory in MB available for a function. Defaults to 256MB.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>build-environment-variables=key=no</code><ul>
|
|
<li>Build environment variables that shall be available during build time.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>build-id=stet</code><ul>
|
|
<li>Output only. The Cloud Build ID of the latest successful deployment of the function.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>build-name=kasd</code><ul>
|
|
<li>Output only. The Cloud Build Name of the function deployment. <code>projects//locations//builds/</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>build-service-account=et</code><ul>
|
|
<li>Optional. A service account the user provides for use with Cloud Build.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>build-worker-pool=sed</code><ul>
|
|
<li>Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is <code>projects/{project}/locations/{region}/workerPools/{workerPool}</code> where <code>{project}</code> and <code>{region}</code> are the project id and region respectively where the worker pool is defined and <code>{workerPool}</code> is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (<code>service-@gcf-admin-robot.iam.gserviceaccount.com</code>) must be granted the role Cloud Build Custom Workers Builder (<code>roles/cloudbuild.customworkers.builder</code>) in the project.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>description=et</code><ul>
|
|
<li>User-provided description of a function.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>docker-registry=et</code><ul>
|
|
<li>Docker Registry to use for this deployment. If unspecified, it defaults to <code>ARTIFACT_REGISTRY</code>. If <code>docker_repository</code> field is specified, this field should either be left unspecified or set to <code>ARTIFACT_REGISTRY</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>docker-repository=vero</code><ul>
|
|
<li>User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern <code>projects/{project}/locations/{location}/repositories/{repository}</code>. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>entry-point=erat</code><ul>
|
|
<li>The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>environment-variables=key=sed</code><ul>
|
|
<li>Environment variables that shall be available during function execution.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>event-trigger event-type=duo</code><ul>
|
|
<li>Required. The type of event to observe. For example: <code>providers/cloud.storage/eventTypes/object.change</code> and <code>providers/cloud.pubsub/eventTypes/topic.publish</code>. Event types match pattern <code>providers/*/eventTypes/*.*</code>. The pattern contains: 1. namespace: For example, <code>cloud.storage</code> and <code>google.firebase.analytics</code>. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type <code>object</code>. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>resource=dolore</code><ul>
|
|
<li>Required. The resource(s) from which to observe events, for example, <code>projects/_/buckets/myBucket</code>. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the <code>CloudFunction</code>. 2. The resource type must match the pattern expected for an <code>event_type</code>. For example, an <code>EventTrigger</code> that has an <code>event_type</code> of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an <code>EventTrigger</code>. These will always be returned in the normalized "long" format. See each <em>service's</em> documentation for supported formats.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>service=et</code></p>
|
|
<ul>
|
|
<li>The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, <code>storage.googleapis.com</code> is the default for all event types in the <code>google.storage</code> namespace.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..https-trigger security-level=voluptua.</code></p>
|
|
<ul>
|
|
<li>The security level for the function.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>url=amet.</code></p>
|
|
<ul>
|
|
<li>Output only. The deployed url for the function.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. ingress-settings=consetetur</code></p>
|
|
<ul>
|
|
<li>The ingress settings for the function, controlling what traffic can reach it.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>kms-key-name=diam</code><ul>
|
|
<li>Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern <code>projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}</code>. If specified, you must also provide an artifact registry repository using the <code>docker_repository</code> field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>labels=key=dolor</code><ul>
|
|
<li>Labels associated with this Cloud Function.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>max-instances=83</code><ul>
|
|
<li>The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the <a href="https://cloud.google.com/functions/docs/max-instances">Max Instances</a> Guide for more details.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>min-instances=79</code><ul>
|
|
<li>A lower bound for the number function instances that may coexist at a given time.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>name=sadipscing</code><ul>
|
|
<li>A user-defined name of the function. Function names must be unique globally and match pattern <code>projects/*/locations/*/functions/*</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>network=stet</code><ul>
|
|
<li>Deprecated: use vpc_connector</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>on-deploy-update-policy runtime-version=dolor</code></p>
|
|
<ul>
|
|
<li>Output only. contains the runtime version which was used during latest function deployment.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. runtime=duo</code></p>
|
|
<ul>
|
|
<li>The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the <a href="https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime"><code>gcloud</code> command reference</a>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>service-account-email=vero</code><ul>
|
|
<li>The email of the function's service account. If empty, defaults to <code>{project_id}@appspot.gserviceaccount.com</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>source-archive-url=vero</code><ul>
|
|
<li>The Google Cloud Storage URL, starting with <code>gs://</code>, pointing to the zip archive which contains the function.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>source-repository deployed-url=invidunt</code><ul>
|
|
<li>Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>url=stet</code></p>
|
|
<ul>
|
|
<li>The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: <code>https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*</code> To refer to a moveable alias (branch): <code>https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*</code> In particular, to refer to HEAD use <code>master</code> moveable alias. To refer to a specific fixed alias (tag): <code>https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*</code> You may omit <code>paths/*</code> if you want to use the main directory.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. source-token=vero</code></p>
|
|
<ul>
|
|
<li>Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>source-upload-url=elitr</code><ul>
|
|
<li>The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>status=lorem</code><ul>
|
|
<li>Output only. Status of the function deployment.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>timeout=diam</code><ul>
|
|
<li>The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>update-time=no</code><ul>
|
|
<li>Output only. The last update timestamp of a Cloud Function.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>version-id=ipsum</code><ul>
|
|
<li>Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>vpc-connector=accusam</code><ul>
|
|
<li>The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is <code>projects/*/locations/*/connectors/*</code> This field is mutually exclusive with <code>network</code> field and will eventually replace it. See <a href="https://cloud.google.com/compute/docs/vpc">the VPC documentation</a> for more information on connecting Cloud projects.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>vpc-connector-egress-settings=takimata</code><ul>
|
|
<li>The egress settings for the connector, controlling what traffic is diverted through it.</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 update-mask=string</strong><ul>
|
|
<li>Required. The list of fields in <code>CloudFunction</code> that have to be updated.</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="../projects_locations-functions-list/" class="btn btn-neutral float-left" title="Locations Functions List"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
<a href="../projects_locations-functions-set-iam-policy/" class="btn btn-neutral float-right" title="Locations Functions Set Iam Policy">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/cloudfunctions1-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
|
|
|
|
<span><a href="../projects_locations-functions-list/" style="color: #fcfcfc">« Previous</a></span>
|
|
|
|
|
|
<span><a href="../projects_locations-functions-set-iam-policy/" 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>
|