responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof ListLocationsResponse) {
+ requests.add(request);
+ responseObserver.onNext(((ListLocationsResponse) response));
+ responseObserver.onCompleted();
+ } else if (response instanceof Exception) {
+ responseObserver.onError(((Exception) response));
+ } else {
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method ListLocations, expected %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ ListLocationsResponse.class.getName(),
+ Exception.class.getName())));
+ }
+ }
+}
diff --git a/java-functions/grpc-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceGrpc.java b/java-functions/grpc-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceGrpc.java
index a0178629df93..1272cf285f8a 100644
--- a/java-functions/grpc-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceGrpc.java
+++ b/java-functions/grpc-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceGrpc.java
@@ -610,7 +610,7 @@ default void getFunction(
*
*
* Creates a new function. If a function with the given name already exists in
- * the specified project, the long running operation will return
+ * the specified project, the long running operation returns an
* `ALREADY_EXISTS` error.
*
*/
@@ -640,7 +640,7 @@ default void updateFunction(
*
*
* Deletes a function with the given name from the specified project. If the
- * given function is used by some trigger, the trigger will be updated to
+ * given function is used by some trigger, the trigger is updated to
* remove this function.
*
*/
@@ -687,10 +687,10 @@ default void callFunction(
* target bucket using internal service identity; if credentials were
* attached, the identity from the credentials would be used, but that
* identity does not have permissions to upload files to the URL.
- * When making a HTTP PUT request, these two headers need to be specified:
+ * When making an HTTP PUT request, these two headers must be specified:
* * `content-type: application/zip`
* * `x-goog-content-length-range: 0,104857600`
- * And this header SHOULD NOT be specified:
+ * And this header must NOT be specified:
* * `Authorization: Bearer YOUR_TOKEN`
*
*/
@@ -707,9 +707,9 @@ default void generateUploadUrl(
*
*
* Returns a signed URL for downloading deployed function source code.
- * The URL is only valid for a limited period and should be used within
+ * The URL is only valid for a limited period and must be used within
* minutes after generation.
- * For more information about the signed URL usage see:
+ * For more information about the signed URL usage, see:
* https://cloud.google.com/storage/docs/access-control/signed-urls
*
*/
@@ -758,7 +758,7 @@ default void getIamPolicy(
*
* Tests the specified permissions against the IAM access control policy
* for a function.
- * If the function does not exist, this will return an empty set of
+ * If the function does not exist, this returns an empty set of
* permissions, not a NOT_FOUND error.
*
*/
@@ -844,7 +844,7 @@ public void getFunction(
*
*
* Creates a new function. If a function with the given name already exists in
- * the specified project, the long running operation will return
+ * the specified project, the long running operation returns an
* `ALREADY_EXISTS` error.
*
*/
@@ -878,7 +878,7 @@ public void updateFunction(
*
*
* Deletes a function with the given name from the specified project. If the
- * given function is used by some trigger, the trigger will be updated to
+ * given function is used by some trigger, the trigger is updated to
* remove this function.
*
*/
@@ -929,10 +929,10 @@ public void callFunction(
* target bucket using internal service identity; if credentials were
* attached, the identity from the credentials would be used, but that
* identity does not have permissions to upload files to the URL.
- * When making a HTTP PUT request, these two headers need to be specified:
+ * When making an HTTP PUT request, these two headers must be specified:
* * `content-type: application/zip`
* * `x-goog-content-length-range: 0,104857600`
- * And this header SHOULD NOT be specified:
+ * And this header must NOT be specified:
* * `Authorization: Bearer YOUR_TOKEN`
*
*/
@@ -951,9 +951,9 @@ public void generateUploadUrl(
*
*
* Returns a signed URL for downloading deployed function source code.
- * The URL is only valid for a limited period and should be used within
+ * The URL is only valid for a limited period and must be used within
* minutes after generation.
- * For more information about the signed URL usage see:
+ * For more information about the signed URL usage, see:
* https://cloud.google.com/storage/docs/access-control/signed-urls
*
*/
@@ -1008,7 +1008,7 @@ public void getIamPolicy(
*
* Tests the specified permissions against the IAM access control policy
* for a function.
- * If the function does not exist, this will return an empty set of
+ * If the function does not exist, this returns an empty set of
* permissions, not a NOT_FOUND error.
*
*/
@@ -1074,7 +1074,7 @@ public com.google.cloud.functions.v1.CloudFunction getFunction(
*
*
* Creates a new function. If a function with the given name already exists in
- * the specified project, the long running operation will return
+ * the specified project, the long running operation returns an
* `ALREADY_EXISTS` error.
*
*/
@@ -1102,7 +1102,7 @@ public com.google.longrunning.Operation updateFunction(
*
*
* Deletes a function with the given name from the specified project. If the
- * given function is used by some trigger, the trigger will be updated to
+ * given function is used by some trigger, the trigger is updated to
* remove this function.
*
*/
@@ -1146,10 +1146,10 @@ public com.google.cloud.functions.v1.CallFunctionResponse callFunction(
* target bucket using internal service identity; if credentials were
* attached, the identity from the credentials would be used, but that
* identity does not have permissions to upload files to the URL.
- * When making a HTTP PUT request, these two headers need to be specified:
+ * When making an HTTP PUT request, these two headers must be specified:
* * `content-type: application/zip`
* * `x-goog-content-length-range: 0,104857600`
- * And this header SHOULD NOT be specified:
+ * And this header must NOT be specified:
* * `Authorization: Bearer YOUR_TOKEN`
*
*/
@@ -1164,9 +1164,9 @@ public com.google.cloud.functions.v1.GenerateUploadUrlResponse generateUploadUrl
*
*
* Returns a signed URL for downloading deployed function source code.
- * The URL is only valid for a limited period and should be used within
+ * The URL is only valid for a limited period and must be used within
* minutes after generation.
- * For more information about the signed URL usage see:
+ * For more information about the signed URL usage, see:
* https://cloud.google.com/storage/docs/access-control/signed-urls
*
*/
@@ -1209,7 +1209,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
*
* Tests the specified permissions against the IAM access control policy
* for a function.
- * If the function does not exist, this will return an empty set of
+ * If the function does not exist, this returns an empty set of
* permissions, not a NOT_FOUND error.
*
*/
@@ -1274,7 +1274,7 @@ protected CloudFunctionsServiceFutureStub build(
*
*
* Creates a new function. If a function with the given name already exists in
- * the specified project, the long running operation will return
+ * the specified project, the long running operation returns an
* `ALREADY_EXISTS` error.
*
*/
@@ -1302,7 +1302,7 @@ protected CloudFunctionsServiceFutureStub build(
*
*
* Deletes a function with the given name from the specified project. If the
- * given function is used by some trigger, the trigger will be updated to
+ * given function is used by some trigger, the trigger is updated to
* remove this function.
*
*/
@@ -1347,10 +1347,10 @@ protected CloudFunctionsServiceFutureStub build(
* target bucket using internal service identity; if credentials were
* attached, the identity from the credentials would be used, but that
* identity does not have permissions to upload files to the URL.
- * When making a HTTP PUT request, these two headers need to be specified:
+ * When making an HTTP PUT request, these two headers must be specified:
* * `content-type: application/zip`
* * `x-goog-content-length-range: 0,104857600`
- * And this header SHOULD NOT be specified:
+ * And this header must NOT be specified:
* * `Authorization: Bearer YOUR_TOKEN`
*
*/
@@ -1366,9 +1366,9 @@ protected CloudFunctionsServiceFutureStub build(
*
*
* Returns a signed URL for downloading deployed function source code.
- * The URL is only valid for a limited period and should be used within
+ * The URL is only valid for a limited period and must be used within
* minutes after generation.
- * For more information about the signed URL usage see:
+ * For more information about the signed URL usage, see:
* https://cloud.google.com/storage/docs/access-control/signed-urls
*
*/
@@ -1414,7 +1414,7 @@ protected CloudFunctionsServiceFutureStub build(
*
* Tests the specified permissions against the IAM access control policy
* for a function.
- * If the function does not exist, this will return an empty set of
+ * If the function does not exist, this returns an empty set of
* permissions, not a NOT_FOUND error.
*
*/
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java
index dc0c7694b5a3..f6d849c70be9 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java
@@ -23,7 +23,7 @@
*
*
* Describes a Cloud Function that contains user computation executed in
- * response to an event. It encapsulate function and triggers configurations.
+ * response to an event. It encapsulates function and triggers configurations.
*
*
* Protobuf type {@code google.cloud.functions.v1.CloudFunction}
@@ -106,8 +106,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
*
* Available egress settings.
- * This controls what traffic is diverted through the VPC Access Connector
- * resource. By default PRIVATE_RANGES_ONLY will be used.
+ * This controls what traffic is diverted through the Serverless VPC Access
+ * connector resource. By default, PRIVATE_RANGES_ONLY is used.
*
*
* Protobuf enum {@code google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings}
@@ -127,7 +127,8 @@ public enum VpcConnectorEgressSettings implements com.google.protobuf.ProtocolMe
*
*
*
- * Use the VPC Access Connector only for private IP space from RFC1918.
+ * Use the Serverless VPC Access connector only for private IP space from
+ * RFC1918.
*
*
* PRIVATE_RANGES_ONLY = 1;
@@ -137,8 +138,8 @@ public enum VpcConnectorEgressSettings implements com.google.protobuf.ProtocolMe
*
*
*
- * Force the use of VPC Access Connector for all egress traffic from the
- * function.
+ * Force the use of Serverless VPC Access connector for all egress traffic
+ * from the function.
*
*
* ALL_TRAFFIC = 2;
@@ -161,7 +162,8 @@ public enum VpcConnectorEgressSettings implements com.google.protobuf.ProtocolMe
*
*
*
- * Use the VPC Access Connector only for private IP space from RFC1918.
+ * Use the Serverless VPC Access connector only for private IP space from
+ * RFC1918.
*
*
* PRIVATE_RANGES_ONLY = 1;
@@ -171,8 +173,8 @@ public enum VpcConnectorEgressSettings implements com.google.protobuf.ProtocolMe
*
*
*
- * Force the use of VPC Access Connector for all egress traffic from the
- * function.
+ * Force the use of Serverless VPC Access connector for all egress traffic
+ * from the function.
*
*
* ALL_TRAFFIC = 2;
@@ -271,7 +273,7 @@ private VpcConnectorEgressSettings(int value) {
*
* Available ingress settings.
* This controls what traffic can reach the function.
- * If unspecified, ALLOW_ALL will be used.
+ * If unspecified, ALLOW_ALL is used.
*
*
* Protobuf enum {@code google.cloud.functions.v1.CloudFunction.IngressSettings}
@@ -472,7 +474,7 @@ public enum DockerRegistry implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Docker images will be stored in multi-regional Container Registry
+ * Docker images are stored in multi-regional Container Registry
* repositories named `gcf`.
*
*
@@ -483,11 +485,11 @@ public enum DockerRegistry implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Docker images will be stored in regional Artifact Registry repositories.
- * By default, GCF will create and use repositories named `gcf-artifacts`
- * in every region in which a function is deployed. But the repository to
- * use can also be specified by the user using the `docker_repository`
- * field.
+ * Docker images are stored in regional Artifact Registry repositories.
+ * By default, Cloud Functions creates and uses repositories named
+ * `gcf-artifacts` in every region in which a function is deployed. But the
+ * repository to use can also be specified by the user by using the
+ * `docker_repository` field.
*
*
* ARTIFACT_REGISTRY = 2;
@@ -510,7 +512,7 @@ public enum DockerRegistry implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Docker images will be stored in multi-regional Container Registry
+ * Docker images are stored in multi-regional Container Registry
* repositories named `gcf`.
*
*
@@ -521,11 +523,11 @@ public enum DockerRegistry implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Docker images will be stored in regional Artifact Registry repositories.
- * By default, GCF will create and use repositories named `gcf-artifacts`
- * in every region in which a function is deployed. But the repository to
- * use can also be specified by the user using the `docker_repository`
- * field.
+ * Docker images are stored in regional Artifact Registry repositories.
+ * By default, Cloud Functions creates and uses repositories named
+ * `gcf-artifacts` in every region in which a function is deployed. But the
+ * repository to use can also be specified by the user by using the
+ * `docker_repository` field.
*
*
* ARTIFACT_REGISTRY = 2;
@@ -948,7 +950,7 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -966,7 +968,7 @@ public boolean hasSourceUploadUrl() {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -997,7 +999,7 @@ public java.lang.String getSourceUploadUrl() {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -1174,12 +1176,12 @@ public com.google.cloud.functions.v1.CloudFunctionStatus getStatus() {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -1202,12 +1204,12 @@ public java.lang.String getEntryPoint() {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -1465,8 +1467,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
*
- * Output only. The version identifier of the Cloud Function. Each deployment attempt
- * results in a new version of a function being created.
+ * Output only. The version identifier of the Cloud Function. Each deployment
+ * attempt results in a new version of a function being created.
*
*
* int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1801,11 +1803,11 @@ public java.lang.String getBuildEnvironmentVariablesOrThrow(java.lang.String key
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -1835,11 +1837,11 @@ public java.lang.String getNetwork() {
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -1872,12 +1874,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
*
- * The limit on the maximum number of function instances that may coexist at a
+ * The limit on the maximum number of function instances that can 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
+ * In some cases, such as rapid traffic surges, Cloud Functions can 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
+ * you might want to factor in a safety margin and set a lower max instances
* value than your function can tolerate.
* See the [Max
* Instances](https://cloud.google.com/functions/docs/max-instances) Guide for
@@ -1899,7 +1901,7 @@ public int getMaxInstances() {
*
*
*
- * A lower bound for the number function instances that may coexist at a
+ * A lower bound for the number function instances that can coexist at a
* given time.
*
*
@@ -1921,7 +1923,7 @@ public int getMinInstances() {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -1951,7 +1953,7 @@ public java.lang.String getVpcConnector() {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -2492,8 +2494,8 @@ public com.google.cloud.functions.v1.SecretVolumeOrBuilder getSecretVolumesOrBui
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -2516,8 +2518,8 @@ public java.lang.String getSourceToken() {
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -2550,7 +2552,7 @@ public com.google.protobuf.ByteString getSourceTokenBytes() {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -2583,7 +2585,7 @@ public java.lang.String getDockerRepository() {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -2615,7 +2617,7 @@ public com.google.protobuf.ByteString getDockerRepositoryBytes() {
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -2634,7 +2636,7 @@ public int getDockerRegistryValue() {
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -3218,7 +3220,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Describes a Cloud Function that contains user computation executed in
- * response to an event. It encapsulate function and triggers configurations.
+ * response to an event. It encapsulates function and triggers configurations.
*
*
* Protobuf type {@code google.cloud.functions.v1.CloudFunction}
@@ -4642,7 +4644,7 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -4661,7 +4663,7 @@ public boolean hasSourceUploadUrl() {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -4693,7 +4695,7 @@ public java.lang.String getSourceUploadUrl() {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -4725,7 +4727,7 @@ public com.google.protobuf.ByteString getSourceUploadUrlBytes() {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -4750,7 +4752,7 @@ public Builder setSourceUploadUrl(java.lang.String value) {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -4773,7 +4775,7 @@ public Builder clearSourceUploadUrl() {
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -5321,12 +5323,12 @@ public Builder clearStatus() {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -5348,12 +5350,12 @@ public java.lang.String getEntryPoint() {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -5375,12 +5377,12 @@ public com.google.protobuf.ByteString getEntryPointBytes() {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -5401,12 +5403,12 @@ public Builder setEntryPoint(java.lang.String value) {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -5423,12 +5425,12 @@ public Builder clearEntryPoint() {
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -6143,8 +6145,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
*
- * Output only. The version identifier of the Cloud Function. Each deployment attempt
- * results in a new version of a function being created.
+ * Output only. The version identifier of the Cloud Function. Each deployment
+ * attempt results in a new version of a function being created.
*
*
* int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -6159,8 +6161,8 @@ public long getVersionId() {
*
*
*
- * Output only. The version identifier of the Cloud Function. Each deployment attempt
- * results in a new version of a function being created.
+ * Output only. The version identifier of the Cloud Function. Each deployment
+ * attempt results in a new version of a function being created.
*
*
* int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -6179,8 +6181,8 @@ public Builder setVersionId(long value) {
*
*
*
- * Output only. The version identifier of the Cloud Function. Each deployment attempt
- * results in a new version of a function being created.
+ * Output only. The version identifier of the Cloud Function. Each deployment
+ * attempt results in a new version of a function being created.
*
*
* int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -6703,11 +6705,11 @@ public Builder putAllBuildEnvironmentVariables(
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -6736,11 +6738,11 @@ public java.lang.String getNetwork() {
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -6769,11 +6771,11 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -6801,11 +6803,11 @@ public Builder setNetwork(java.lang.String value) {
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -6829,11 +6831,11 @@ public Builder clearNetwork() {
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -6864,12 +6866,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
*
*
*
- * The limit on the maximum number of function instances that may coexist at a
+ * The limit on the maximum number of function instances that can 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
+ * In some cases, such as rapid traffic surges, Cloud Functions can 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
+ * you might want to factor in a safety margin and set a lower max instances
* value than your function can tolerate.
* See the [Max
* Instances](https://cloud.google.com/functions/docs/max-instances) Guide for
@@ -6888,12 +6890,12 @@ public int getMaxInstances() {
*
*
*
- * The limit on the maximum number of function instances that may coexist at a
+ * The limit on the maximum number of function instances that can 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
+ * In some cases, such as rapid traffic surges, Cloud Functions can 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
+ * you might want to factor in a safety margin and set a lower max instances
* value than your function can tolerate.
* See the [Max
* Instances](https://cloud.google.com/functions/docs/max-instances) Guide for
@@ -6916,12 +6918,12 @@ public Builder setMaxInstances(int value) {
*
*
*
- * The limit on the maximum number of function instances that may coexist at a
+ * The limit on the maximum number of function instances that can 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
+ * In some cases, such as rapid traffic surges, Cloud Functions can 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
+ * you might want to factor in a safety margin and set a lower max instances
* value than your function can tolerate.
* See the [Max
* Instances](https://cloud.google.com/functions/docs/max-instances) Guide for
@@ -6944,7 +6946,7 @@ public Builder clearMaxInstances() {
*
*
*
- * A lower bound for the number function instances that may coexist at a
+ * A lower bound for the number function instances that can coexist at a
* given time.
*
*
@@ -6960,7 +6962,7 @@ public int getMinInstances() {
*
*
*
- * A lower bound for the number function instances that may coexist at a
+ * A lower bound for the number function instances that can coexist at a
* given time.
*
*
@@ -6980,7 +6982,7 @@ public Builder setMinInstances(int value) {
*
*
*
- * A lower bound for the number function instances that may coexist at a
+ * A lower bound for the number function instances that can coexist at a
* given time.
*
*
@@ -7001,7 +7003,7 @@ public Builder clearMinInstances() {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -7030,7 +7032,7 @@ public java.lang.String getVpcConnector() {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -7059,7 +7061,7 @@ public com.google.protobuf.ByteString getVpcConnectorBytes() {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -7087,7 +7089,7 @@ public Builder setVpcConnector(java.lang.String value) {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -7111,7 +7113,7 @@ public Builder clearVpcConnector() {
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -8683,8 +8685,8 @@ public com.google.cloud.functions.v1.SecretVolume.Builder addSecretVolumesBuilde
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -8706,8 +8708,8 @@ public java.lang.String getSourceToken() {
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -8729,8 +8731,8 @@ public com.google.protobuf.ByteString getSourceTokenBytes() {
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -8751,8 +8753,8 @@ public Builder setSourceToken(java.lang.String value) {
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -8769,8 +8771,8 @@ public Builder clearSourceToken() {
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -8799,7 +8801,7 @@ public Builder setSourceTokenBytes(com.google.protobuf.ByteString value) {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -8831,7 +8833,7 @@ public java.lang.String getDockerRepository() {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -8863,7 +8865,7 @@ public com.google.protobuf.ByteString getDockerRepositoryBytes() {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -8894,7 +8896,7 @@ public Builder setDockerRepository(java.lang.String value) {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -8921,7 +8923,7 @@ public Builder clearDockerRepository() {
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -8951,7 +8953,7 @@ public Builder setDockerRepositoryBytes(com.google.protobuf.ByteString value) {
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -8970,7 +8972,7 @@ public int getDockerRegistryValue() {
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -8992,7 +8994,7 @@ public Builder setDockerRegistryValue(int value) {
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -9015,7 +9017,7 @@ public com.google.cloud.functions.v1.CloudFunction.DockerRegistry getDockerRegis
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -9041,7 +9043,7 @@ public Builder setDockerRegistry(
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java
index f4f0ad30a681..e6a2820bbbcb 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java
@@ -157,7 +157,7 @@ public interface CloudFunctionOrBuilder
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -173,7 +173,7 @@ public interface CloudFunctionOrBuilder
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -189,7 +189,7 @@ public interface CloudFunctionOrBuilder
*
*
*
- * The Google Cloud Storage signed URL used for source uploading, generated
+ * 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,
@@ -305,12 +305,12 @@ public interface CloudFunctionOrBuilder
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -322,12 +322,12 @@ public interface CloudFunctionOrBuilder
*
*
*
- * The name of the function (as defined in source code) that will be
- * executed. Defaults to the resource name suffix, if not specified. For
- * backward compatibility, if function with given name is not found, then the
- * system will try to use function named "function".
- * For Node.js this is name of a function exported by the module specified
- * in `source_location`.
+ * The name of the function (as defined in source code) that is executed.
+ * Defaults to the resource name suffix, if not specified. For
+ * backward compatibility, if function with given name is not found, the
+ * system tries to use the function named "function".
+ * For Node.js, this is the name of a function exported by the module
+ * as specified in `source_location`.
*
*
* string entry_point = 8;
@@ -493,8 +493,8 @@ public interface CloudFunctionOrBuilder
*
*
*
- * Output only. The version identifier of the Cloud Function. Each deployment attempt
- * results in a new version of a function being created.
+ * Output only. The version identifier of the Cloud Function. Each deployment
+ * attempt results in a new version of a function being created.
*
*
* int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -681,11 +681,11 @@ java.lang.String getBuildEnvironmentVariablesOrDefault(
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -704,11 +704,11 @@ java.lang.String getBuildEnvironmentVariablesOrDefault(
*
*
*
- * The VPC Network that this cloud function can connect to. It can be
- * either the fully-qualified URI, or the short name of the network resource.
- * If the short network name is used, the network must belong to the same
- * project. Otherwise, it must belong to a project within the same
- * organization. The format of this field is either
+ * The Serverless VPC Access connector that this cloud function can connect
+ * to. It can be either the fully qualified URI, or the short name of the
+ * connector resource. If the connector name is used, the connector must
+ * belong to the same project as the function. Otherwise, it must belong to a
+ * project within the same organization. The format of this field is either
* `projects/{project}/global/networks/{network}` or `{network}`, where
* `{project}` is a project id where the network is defined, and `{network}`
* is the short name of the network.
@@ -728,12 +728,12 @@ java.lang.String getBuildEnvironmentVariablesOrDefault(
*
*
*
- * The limit on the maximum number of function instances that may coexist at a
+ * The limit on the maximum number of function instances that can 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
+ * In some cases, such as rapid traffic surges, Cloud Functions can 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
+ * you might want to factor in a safety margin and set a lower max instances
* value than your function can tolerate.
* See the [Max
* Instances](https://cloud.google.com/functions/docs/max-instances) Guide for
@@ -750,7 +750,7 @@ java.lang.String getBuildEnvironmentVariablesOrDefault(
*
*
*
- * A lower bound for the number function instances that may coexist at a
+ * A lower bound for the number function instances that can coexist at a
* given time.
*
*
@@ -765,7 +765,7 @@ java.lang.String getBuildEnvironmentVariablesOrDefault(
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -784,7 +784,7 @@ java.lang.String getBuildEnvironmentVariablesOrDefault(
*
*
* 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
+ * be either the fully qualified URI, or the short name of the network
* connector resource. The format of this field is
* `projects/*/locations/*/connectors/*`
* This field is mutually exclusive with `network` field and will eventually
@@ -1142,8 +1142,8 @@ com.google.cloud.functions.v1.SecretEnvVarOrBuilder getSecretEnvironmentVariable
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -1155,8 +1155,8 @@ com.google.cloud.functions.v1.SecretEnvVarOrBuilder getSecretEnvironmentVariable
*
*
*
- * Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- * supported for Firebase function deployments.
+ * Input only. An identifier for Firebase function sources. Disclaimer: This
+ * field is only supported for Firebase function deployments.
*
*
* string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];
@@ -1174,7 +1174,7 @@ com.google.cloud.functions.v1.SecretEnvVarOrBuilder getSecretEnvironmentVariable
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -1196,7 +1196,7 @@ com.google.cloud.functions.v1.SecretEnvVarOrBuilder getSecretEnvironmentVariable
* 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.
+ * the function docker image is pushed after it is built by Cloud Build.
* It must match the pattern
* `projects/{project}/locations/{location}/repositories/{repository}`.
* Cross-project repositories are not supported.
@@ -1215,7 +1215,7 @@ com.google.cloud.functions.v1.SecretEnvVarOrBuilder getSecretEnvironmentVariable
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
@@ -1231,7 +1231,7 @@ com.google.cloud.functions.v1.SecretEnvVarOrBuilder getSecretEnvironmentVariable
*
*
* Docker Registry to use for this deployment.
- * If `docker_repository` field is specified, this field will be automatically
+ * If `docker_repository` field is specified, this field is automatically
* set as `ARTIFACT_REGISTRY`.
* If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
* This field may be overridden by the backend for eligible deployments.
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequest.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequest.java
index 68ce13efac18..455eccf429c5 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequest.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequest.java
@@ -75,8 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -101,8 +101,8 @@ public java.lang.String getLocation() {
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -558,8 +558,8 @@ public Builder mergeFrom(
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -583,8 +583,8 @@ public java.lang.String getLocation() {
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -608,8 +608,8 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -632,8 +632,8 @@ public Builder setLocation(java.lang.String value) {
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -652,8 +652,8 @@ public Builder clearLocation() {
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequestOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequestOrBuilder.java
index af0e14ef1767..92823c685097 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequestOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequestOrBuilder.java
@@ -27,8 +27,8 @@ public interface CreateFunctionRequestOrBuilder
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
@@ -42,8 +42,8 @@ public interface CreateFunctionRequestOrBuilder
*
*
*
- * Required. The project and location in which the function should be created, specified
- * in the format `projects/*/locations/*`
+ * Required. The project and location in which the function should be created,
+ * specified in the format `projects/*/locations/*`
*
*
*
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTrigger.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTrigger.java
index 6de558f8d9b4..87ce89465b12 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTrigger.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTrigger.java
@@ -22,7 +22,7 @@
*
*
*
- * Describes EventTrigger, used to request events be sent from another
+ * Describes EventTrigger, used to request that events be sent from another
* service.
*
*
@@ -89,7 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -123,7 +123,7 @@ public java.lang.String getEventType() {
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getEventTypeBytes() {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -200,7 +200,7 @@ public java.lang.String getResource() {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -524,7 +524,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Describes EventTrigger, used to request events be sent from another
+ * Describes EventTrigger, used to request that events be sent from another
* service.
*
*
@@ -767,7 +767,7 @@ public Builder mergeFrom(
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -800,7 +800,7 @@ public java.lang.String getEventType() {
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -833,7 +833,7 @@ public com.google.protobuf.ByteString getEventTypeBytes() {
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -865,7 +865,7 @@ public Builder setEventType(java.lang.String value) {
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -893,7 +893,7 @@ public Builder clearEventType() {
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -929,7 +929,7 @@ public Builder setEventTypeBytes(com.google.protobuf.ByteString value) {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -965,7 +965,7 @@ public java.lang.String getResource() {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -1001,7 +1001,7 @@ public com.google.protobuf.ByteString getResourceBytes() {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -1036,7 +1036,7 @@ public Builder setResource(java.lang.String value) {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -1067,7 +1067,7 @@ public Builder clearResource() {
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTriggerOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTriggerOrBuilder.java
index 48b6347b4a7a..90b0b1312ffd 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTriggerOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTriggerOrBuilder.java
@@ -38,7 +38,7 @@ public interface EventTriggerOrBuilder
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -61,7 +61,7 @@ public interface EventTriggerOrBuilder
* example, the Google Cloud Storage API includes the type `object`.
* 3. action: The action that generates the event. For example, action for
* a Google Cloud Storage Object is 'change'.
- * These parts are lower case.
+ * These parts are lowercase.
*
*
* string event_type = 1;
@@ -86,7 +86,7 @@ public interface EventTriggerOrBuilder
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
@@ -112,7 +112,7 @@ public interface EventTriggerOrBuilder
* `event_type` 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
- * `EventTrigger`. These will always be returned in the normalized "long"
+ * `EventTrigger`. These are always returned in the normalized "long"
* format.
* See each *service's* documentation for supported formats.
*
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicy.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicy.java
index cc14d76a1a1d..7a50a3017c48 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicy.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicy.java
@@ -23,7 +23,7 @@
*
*
* Describes the policy in case of function's execution failure.
- * If empty, then defaults to ignoring failures (i.e. not retrying them).
+ * If empty, then defaults to ignoring failures (i.e., not retrying them).
*
*
* Protobuf type {@code google.cloud.functions.v1.FailurePolicy}
@@ -75,8 +75,8 @@ public interface RetryOrBuilder
*
*
* Describes the retry policy in case of function's execution failure.
- * A function execution will be retried on any failure.
- * A failed execution will be retried up to 7 days with an exponential backoff
+ * A function execution is retried on any failure.
+ * A failed execution is retried up to 7 days with an exponential backoff
* (capped at 10 seconds).
* Retried execution is charged as any other execution.
*
@@ -277,8 +277,8 @@ protected Builder newBuilderForType(
*
*
* Describes the retry policy in case of function's execution failure.
- * A function execution will be retried on any failure.
- * A failed execution will be retried up to 7 days with an exponential backoff
+ * A function execution is retried on any failure.
+ * A failed execution is retried up to 7 days with an exponential backoff
* (capped at 10 seconds).
* Retried execution is charged as any other execution.
*
@@ -550,7 +550,7 @@ public ActionCase getActionCase() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -565,7 +565,7 @@ public boolean hasRetry() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -583,7 +583,7 @@ public com.google.cloud.functions.v1.FailurePolicy.Retry getRetry() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -775,7 +775,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Describes the policy in case of function's execution failure.
- * If empty, then defaults to ignoring failures (i.e. not retrying them).
+ * If empty, then defaults to ignoring failures (i.e., not retrying them).
*
*
* Protobuf type {@code google.cloud.functions.v1.FailurePolicy}
@@ -992,7 +992,7 @@ public Builder clearAction() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1007,7 +1007,7 @@ public boolean hasRetry() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1032,7 +1032,7 @@ public com.google.cloud.functions.v1.FailurePolicy.Retry getRetry() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1054,7 +1054,7 @@ public Builder setRetry(com.google.cloud.functions.v1.FailurePolicy.Retry value)
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1074,7 +1074,7 @@ public Builder setRetry(
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1106,7 +1106,7 @@ public Builder mergeRetry(com.google.cloud.functions.v1.FailurePolicy.Retry valu
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1131,7 +1131,7 @@ public Builder clearRetry() {
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1143,7 +1143,7 @@ public com.google.cloud.functions.v1.FailurePolicy.Retry.Builder getRetryBuilder
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -1163,7 +1163,7 @@ public com.google.cloud.functions.v1.FailurePolicy.RetryOrBuilder getRetryOrBuil
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicyOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicyOrBuilder.java
index d5beae9d4280..283b645151cb 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicyOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FailurePolicyOrBuilder.java
@@ -27,7 +27,7 @@ public interface FailurePolicyOrBuilder
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -39,7 +39,7 @@ public interface FailurePolicyOrBuilder
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
@@ -51,7 +51,7 @@ public interface FailurePolicyOrBuilder
*
*
*
- * If specified, then the function will be retried in case of a failure.
+ * If specified, the function is retried in case of a failure.
*
*
* .google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java
index ec38879ea40e..d9d4ac6ac466 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java
@@ -136,186 +136,188 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oto\022\031google.cloud.functions.v1\032\034google/a"
+ "pi/annotations.proto\032\027google/api/client."
+ "proto\032\037google/api/field_behavior.proto\032\031"
- + "google/api/resource.proto\032\036google/iam/v1"
- + "/iam_policy.proto\032\032google/iam/v1/policy."
- + "proto\032#google/longrunning/operations.pro"
- + "to\032\036google/protobuf/duration.proto\032 goog"
- + "le/protobuf/field_mask.proto\032\037google/pro"
- + "tobuf/timestamp.proto\"\347\021\n\rCloudFunction\022"
- + "\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\034\n\022so"
- + "urce_archive_url\030\003 \001(\tH\000\022H\n\021source_repos"
- + "itory\030\004 \001(\0132+.google.cloud.functions.v1."
- + "SourceRepositoryH\000\022\033\n\021source_upload_url\030"
- + "\020 \001(\tH\000\022@\n\rhttps_trigger\030\005 \001(\0132\'.google."
- + "cloud.functions.v1.HttpsTriggerH\001\022@\n\reve"
- + "nt_trigger\030\006 \001(\0132\'.google.cloud.function"
- + "s.v1.EventTriggerH\001\022C\n\006status\030\007 \001(\0162..go"
- + "ogle.cloud.functions.v1.CloudFunctionSta"
- + "tusB\003\340A\003\022\023\n\013entry_point\030\010 \001(\t\022\017\n\007runtime"
- + "\030\023 \001(\t\022*\n\007timeout\030\t \001(\0132\031.google.protobu"
- + "f.Duration\022\033\n\023available_memory_mb\030\n \001(\005\022"
- + "\035\n\025service_account_email\030\013 \001(\t\0224\n\013update"
- + "_time\030\014 \001(\0132\032.google.protobuf.TimestampB"
- + "\003\340A\003\022\027\n\nversion_id\030\016 \001(\003B\003\340A\003\022D\n\006labels\030"
- + "\017 \003(\01324.google.cloud.functions.v1.CloudF"
- + "unction.LabelsEntry\022a\n\025environment_varia"
- + "bles\030\021 \003(\0132B.google.cloud.functions.v1.C"
- + "loudFunction.EnvironmentVariablesEntry\022l"
- + "\n\033build_environment_variables\030\034 \003(\0132G.go"
- + "ogle.cloud.functions.v1.CloudFunction.Bu"
- + "ildEnvironmentVariablesEntry\022\017\n\007network\030"
- + "\022 \001(\t\022\025\n\rmax_instances\030\024 \001(\005\022\025\n\rmin_inst"
- + "ances\030 \001(\005\022\025\n\rvpc_connector\030\026 \001(\t\022j\n\035vp"
- + "c_connector_egress_settings\030\027 \001(\0162C.goog"
- + "le.cloud.functions.v1.CloudFunction.VpcC"
- + "onnectorEgressSettings\022R\n\020ingress_settin"
- + "gs\030\030 \001(\01628.google.cloud.functions.v1.Clo"
- + "udFunction.IngressSettings\022<\n\014kms_key_na"
- + "me\030\031 \001(\tB&\372A#\n!cloudkms.googleapis.com/C"
- + "ryptoKey\022\031\n\021build_worker_pool\030\032 \001(\t\022\025\n\010b"
- + "uild_id\030\033 \001(\tB\003\340A\003\022\027\n\nbuild_name\030! \001(\tB\003"
- + "\340A\003\022M\n\034secret_environment_variables\030\035 \003("
- + "\0132\'.google.cloud.functions.v1.SecretEnvV"
- + "ar\022?\n\016secret_volumes\030\036 \003(\0132\'.google.clou"
- + "d.functions.v1.SecretVolume\022\031\n\014source_to"
- + "ken\030\037 \001(\tB\003\340A\004\022J\n\021docker_repository\030\" \001("
- + "\tB/\372A,\n*artifactregistry.googleapis.com/"
- + "Repository\022P\n\017docker_registry\030# \001(\01627.go"
- + "ogle.cloud.functions.v1.CloudFunction.Do"
- + "ckerRegistry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t"
- + "\022\r\n\005value\030\002 \001(\t:\0028\001\032;\n\031EnvironmentVariab"
- + "lesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001"
- + "\032@\n\036BuildEnvironmentVariablesEntry\022\013\n\003ke"
- + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\032VpcConnect"
- + "orEgressSettings\022-\n)VPC_CONNECTOR_EGRESS"
- + "_SETTINGS_UNSPECIFIED\020\000\022\027\n\023PRIVATE_RANGE"
- + "S_ONLY\020\001\022\017\n\013ALL_TRAFFIC\020\002\"x\n\017IngressSett"
- + "ings\022 \n\034INGRESS_SETTINGS_UNSPECIFIED\020\000\022\r"
- + "\n\tALLOW_ALL\020\001\022\027\n\023ALLOW_INTERNAL_ONLY\020\002\022\033"
- + "\n\027ALLOW_INTERNAL_AND_GCLB\020\003\"`\n\016DockerReg"
- + "istry\022\037\n\033DOCKER_REGISTRY_UNSPECIFIED\020\000\022\026"
- + "\n\022CONTAINER_REGISTRY\020\001\022\025\n\021ARTIFACT_REGIS"
- + "TRY\020\002:n\352Ak\n+cloudfunctions.googleapis.co"
- + "m/CloudFunction\022\n\032GenerateD"
- + "ownloadUrlRequest\022\014\n\004name\030\001 \001(\t\022\022\n\nversi"
- + "on_id\030\002 \001(\004\"3\n\033GenerateDownloadUrlRespon"
- + "se\022\024\n\014download_url\030\001 \001(\t*\222\001\n\023CloudFuncti"
- + "onStatus\022%\n!CLOUD_FUNCTION_STATUS_UNSPEC"
- + "IFIED\020\000\022\n\n\006ACTIVE\020\001\022\013\n\007OFFLINE\020\002\022\026\n\022DEPL"
- + "OY_IN_PROGRESS\020\003\022\026\n\022DELETE_IN_PROGRESS\020\004"
- + "\022\013\n\007UNKNOWN\020\0052\227\021\n\025CloudFunctionsService\022"
- + "\251\001\n\rListFunctions\022/.google.cloud.functio"
- + "ns.v1.ListFunctionsRequest\0320.google.clou"
- + "d.functions.v1.ListFunctionsResponse\"5\202\323"
- + "\344\223\002/\022-/v1/{parent=projects/*/locations/*"
- + "}/functions\022\244\001\n\013GetFunction\022-.google.clo"
- + "ud.functions.v1.GetFunctionRequest\032(.goo"
- + "gle.cloud.functions.v1.CloudFunction\"<\202\323"
- + "\344\223\002/\022-/v1/{name=projects/*/locations/*/f"
- + "unctions/*}\332A\004name\022\337\001\n\016CreateFunction\0220."
- + "google.cloud.functions.v1.CreateFunction"
- + "Request\032\035.google.longrunning.Operation\"|"
- + "\202\323\344\223\002;\"//v1/{location=projects/*/locatio"
- + "ns/*}/functions:\010function\332A\021location,fun"
- + "ction\312A$\n\rCloudFunction\022\023OperationMetada"
- + "taV1\022\335\001\n\016UpdateFunction\0220.google.cloud.f"
- + "unctions.v1.UpdateFunctionRequest\032\035.goog"
- + "le.longrunning.Operation\"z\202\323\344\223\002B26/v1/{f"
- + "unction.name=projects/*/locations/*/func"
- + "tions/*}:\010function\332A\010function\312A$\n\rCloudF"
- + "unction\022\023OperationMetadataV1\022\316\001\n\016DeleteF"
- + "unction\0220.google.cloud.functions.v1.Dele"
- + "teFunctionRequest\032\035.google.longrunning.O"
- + "peration\"k\202\323\344\223\002/*-/v1/{name=projects/*/l"
- + "ocations/*/functions/*}\332A\004name\312A,\n\025googl"
- + "e.protobuf.Empty\022\023OperationMetadataV1\022\272\001"
- + "\n\014CallFunction\022..google.cloud.functions."
- + "v1.CallFunctionRequest\032/.google.cloud.fu"
- + "nctions.v1.CallFunctionResponse\"I\202\323\344\223\0027\""
- + "2/v1/{name=projects/*/locations/*/functi"
- + "ons/*}:call:\001*\332A\tname,data\022\312\001\n\021GenerateU"
- + "ploadUrl\0223.google.cloud.functions.v1.Gen"
- + "erateUploadUrlRequest\0324.google.cloud.fun"
- + "ctions.v1.GenerateUploadUrlResponse\"J\202\323\344"
- + "\223\002D\"?/v1/{parent=projects/*/locations/*}"
- + "/functions:generateUploadUrl:\001*\022\322\001\n\023Gene"
- + "rateDownloadUrl\0225.google.cloud.functions"
- + ".v1.GenerateDownloadUrlRequest\0326.google."
- + "cloud.functions.v1.GenerateDownloadUrlRe"
- + "sponse\"L\202\323\344\223\002F\"A/v1/{name=projects/*/loc"
- + "ations/*/functions/*}:generateDownloadUr"
- + "l:\001*\022\224\001\n\014SetIamPolicy\022\".google.iam.v1.Se"
- + "tIamPolicyRequest\032\025.google.iam.v1.Policy"
- + "\"I\202\323\344\223\002C\">/v1/{resource=projects/*/locat"
- + "ions/*/functions/*}:setIamPolicy:\001*\022\221\001\n\014"
- + "GetIamPolicy\022\".google.iam.v1.GetIamPolic"
- + "yRequest\032\025.google.iam.v1.Policy\"F\202\323\344\223\002@\022"
- + ">/v1/{resource=projects/*/locations/*/fu"
- + "nctions/*}:getIamPolicy\022\272\001\n\022TestIamPermi"
- + "ssions\022(.google.iam.v1.TestIamPermission"
- + "sRequest\032).google.iam.v1.TestIamPermissi"
- + "onsResponse\"O\202\323\344\223\002I\"D/v1/{resource=proje"
- + "cts/*/locations/*/functions/*}:testIamPe"
- + "rmissions:\001*\032Q\312A\035cloudfunctions.googleap"
- + "is.com\322A.https://www.googleapis.com/auth"
- + "/cloud-platformB\341\002\n\035com.google.cloud.fun"
- + "ctions.v1B\016FunctionsProtoP\001Z;cloud.googl"
- + "e.com/go/functions/apiv1/functionspb;fun"
- + "ctionspb\242\002\003GCF\352Ao\n*artifactregistry.goog"
- + "leapis.com/Repository\022Aprojects/{project"
- + "}/locations/{location}/repositories/{rep"
- + "ository}\352Ax\n!cloudkms.googleapis.com/Cry"
- + "ptoKey\022Sprojects/{project}/locations/{lo"
- + "cation}/keyRings/{key_ring}/cryptoKeys/{"
- + "crypto_key}b\006proto3"
+ + "google/api/resource.proto\032*google/cloud/"
+ + "functions/v1/operations.proto\032\036google/ia"
+ + "m/v1/iam_policy.proto\032\032google/iam/v1/pol"
+ + "icy.proto\032#google/longrunning/operations"
+ + ".proto\032\036google/protobuf/duration.proto\032\033"
+ + "google/protobuf/empty.proto\032 google/prot"
+ + "obuf/field_mask.proto\032\037google/protobuf/t"
+ + "imestamp.proto\"\347\021\n\rCloudFunction\022\014\n\004name"
+ + "\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\034\n\022source_ar"
+ + "chive_url\030\003 \001(\tH\000\022H\n\021source_repository\030\004"
+ + " \001(\0132+.google.cloud.functions.v1.SourceR"
+ + "epositoryH\000\022\033\n\021source_upload_url\030\020 \001(\tH\000"
+ + "\022@\n\rhttps_trigger\030\005 \001(\0132\'.google.cloud.f"
+ + "unctions.v1.HttpsTriggerH\001\022@\n\revent_trig"
+ + "ger\030\006 \001(\0132\'.google.cloud.functions.v1.Ev"
+ + "entTriggerH\001\022C\n\006status\030\007 \001(\0162..google.cl"
+ + "oud.functions.v1.CloudFunctionStatusB\003\340A"
+ + "\003\022\023\n\013entry_point\030\010 \001(\t\022\017\n\007runtime\030\023 \001(\t\022"
+ + "*\n\007timeout\030\t \001(\0132\031.google.protobuf.Durat"
+ + "ion\022\033\n\023available_memory_mb\030\n \001(\005\022\035\n\025serv"
+ + "ice_account_email\030\013 \001(\t\0224\n\013update_time\030\014"
+ + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\027\n"
+ + "\nversion_id\030\016 \001(\003B\003\340A\003\022D\n\006labels\030\017 \003(\01324"
+ + ".google.cloud.functions.v1.CloudFunction"
+ + ".LabelsEntry\022a\n\025environment_variables\030\021 "
+ + "\003(\0132B.google.cloud.functions.v1.CloudFun"
+ + "ction.EnvironmentVariablesEntry\022l\n\033build"
+ + "_environment_variables\030\034 \003(\0132G.google.cl"
+ + "oud.functions.v1.CloudFunction.BuildEnvi"
+ + "ronmentVariablesEntry\022\017\n\007network\030\022 \001(\t\022\025"
+ + "\n\rmax_instances\030\024 \001(\005\022\025\n\rmin_instances\030 "
+ + " \001(\005\022\025\n\rvpc_connector\030\026 \001(\t\022j\n\035vpc_conne"
+ + "ctor_egress_settings\030\027 \001(\0162C.google.clou"
+ + "d.functions.v1.CloudFunction.VpcConnecto"
+ + "rEgressSettings\022R\n\020ingress_settings\030\030 \001("
+ + "\01628.google.cloud.functions.v1.CloudFunct"
+ + "ion.IngressSettings\022<\n\014kms_key_name\030\031 \001("
+ + "\tB&\372A#\n!cloudkms.googleapis.com/CryptoKe"
+ + "y\022\031\n\021build_worker_pool\030\032 \001(\t\022\025\n\010build_id"
+ + "\030\033 \001(\tB\003\340A\003\022\027\n\nbuild_name\030! \001(\tB\003\340A\003\022M\n\034"
+ + "secret_environment_variables\030\035 \003(\0132\'.goo"
+ + "gle.cloud.functions.v1.SecretEnvVar\022?\n\016s"
+ + "ecret_volumes\030\036 \003(\0132\'.google.cloud.funct"
+ + "ions.v1.SecretVolume\022\031\n\014source_token\030\037 \001"
+ + "(\tB\003\340A\004\022J\n\021docker_repository\030\" \001(\tB/\372A,\n"
+ + "*artifactregistry.googleapis.com/Reposit"
+ + "ory\022P\n\017docker_registry\030# \001(\01627.google.cl"
+ + "oud.functions.v1.CloudFunction.DockerReg"
+ + "istry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
+ + "ue\030\002 \001(\t:\0028\001\032;\n\031EnvironmentVariablesEntr"
+ + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032@\n\036Bui"
+ + "ldEnvironmentVariablesEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\032VpcConnectorEgres"
+ + "sSettings\022-\n)VPC_CONNECTOR_EGRESS_SETTIN"
+ + "GS_UNSPECIFIED\020\000\022\027\n\023PRIVATE_RANGES_ONLY\020"
+ + "\001\022\017\n\013ALL_TRAFFIC\020\002\"x\n\017IngressSettings\022 \n"
+ + "\034INGRESS_SETTINGS_UNSPECIFIED\020\000\022\r\n\tALLOW"
+ + "_ALL\020\001\022\027\n\023ALLOW_INTERNAL_ONLY\020\002\022\033\n\027ALLOW"
+ + "_INTERNAL_AND_GCLB\020\003\"`\n\016DockerRegistry\022\037"
+ + "\n\033DOCKER_REGISTRY_UNSPECIFIED\020\000\022\026\n\022CONTA"
+ + "INER_REGISTRY\020\001\022\025\n\021ARTIFACT_REGISTRY\020\002:n"
+ + "\352Ak\n+cloudfunctions.googleapis.com/Cloud"
+ + "Function\022\n\032GenerateDownload"
+ + "UrlRequest\022\014\n\004name\030\001 \001(\t\022\022\n\nversion_id\030\002"
+ + " \001(\004\"3\n\033GenerateDownloadUrlResponse\022\024\n\014d"
+ + "ownload_url\030\001 \001(\t*\222\001\n\023CloudFunctionStatu"
+ + "s\022%\n!CLOUD_FUNCTION_STATUS_UNSPECIFIED\020\000"
+ + "\022\n\n\006ACTIVE\020\001\022\013\n\007OFFLINE\020\002\022\026\n\022DEPLOY_IN_P"
+ + "ROGRESS\020\003\022\026\n\022DELETE_IN_PROGRESS\020\004\022\013\n\007UNK"
+ + "NOWN\020\0052\227\021\n\025CloudFunctionsService\022\251\001\n\rLis"
+ + "tFunctions\022/.google.cloud.functions.v1.L"
+ + "istFunctionsRequest\0320.google.cloud.funct"
+ + "ions.v1.ListFunctionsResponse\"5\202\323\344\223\002/\022-/"
+ + "v1/{parent=projects/*/locations/*}/funct"
+ + "ions\022\244\001\n\013GetFunction\022-.google.cloud.func"
+ + "tions.v1.GetFunctionRequest\032(.google.clo"
+ + "ud.functions.v1.CloudFunction\"<\202\323\344\223\002/\022-/"
+ + "v1/{name=projects/*/locations/*/function"
+ + "s/*}\332A\004name\022\337\001\n\016CreateFunction\0220.google."
+ + "cloud.functions.v1.CreateFunctionRequest"
+ + "\032\035.google.longrunning.Operation\"|\202\323\344\223\002;\""
+ + "//v1/{location=projects/*/locations/*}/f"
+ + "unctions:\010function\332A\021location,function\312A"
+ + "$\n\rCloudFunction\022\023OperationMetadataV1\022\335\001"
+ + "\n\016UpdateFunction\0220.google.cloud.function"
+ + "s.v1.UpdateFunctionRequest\032\035.google.long"
+ + "running.Operation\"z\202\323\344\223\002B26/v1/{function"
+ + ".name=projects/*/locations/*/functions/*"
+ + "}:\010function\332A\010function\312A$\n\rCloudFunction"
+ + "\022\023OperationMetadataV1\022\316\001\n\016DeleteFunction"
+ + "\0220.google.cloud.functions.v1.DeleteFunct"
+ + "ionRequest\032\035.google.longrunning.Operatio"
+ + "n\"k\202\323\344\223\002/*-/v1/{name=projects/*/location"
+ + "s/*/functions/*}\332A\004name\312A,\n\025google.proto"
+ + "buf.Empty\022\023OperationMetadataV1\022\272\001\n\014CallF"
+ + "unction\022..google.cloud.functions.v1.Call"
+ + "FunctionRequest\032/.google.cloud.functions"
+ + ".v1.CallFunctionResponse\"I\202\323\344\223\0027\"2/v1/{n"
+ + "ame=projects/*/locations/*/functions/*}:"
+ + "call:\001*\332A\tname,data\022\312\001\n\021GenerateUploadUr"
+ + "l\0223.google.cloud.functions.v1.GenerateUp"
+ + "loadUrlRequest\0324.google.cloud.functions."
+ + "v1.GenerateUploadUrlResponse\"J\202\323\344\223\002D\"?/v"
+ + "1/{parent=projects/*/locations/*}/functi"
+ + "ons:generateUploadUrl:\001*\022\322\001\n\023GenerateDow"
+ + "nloadUrl\0225.google.cloud.functions.v1.Gen"
+ + "erateDownloadUrlRequest\0326.google.cloud.f"
+ + "unctions.v1.GenerateDownloadUrlResponse\""
+ + "L\202\323\344\223\002F\"A/v1/{name=projects/*/locations/"
+ + "*/functions/*}:generateDownloadUrl:\001*\022\224\001"
+ + "\n\014SetIamPolicy\022\".google.iam.v1.SetIamPol"
+ + "icyRequest\032\025.google.iam.v1.Policy\"I\202\323\344\223\002"
+ + "C\">/v1/{resource=projects/*/locations/*/"
+ + "functions/*}:setIamPolicy:\001*\022\221\001\n\014GetIamP"
+ + "olicy\022\".google.iam.v1.GetIamPolicyReques"
+ + "t\032\025.google.iam.v1.Policy\"F\202\323\344\223\002@\022>/v1/{r"
+ + "esource=projects/*/locations/*/functions"
+ + "/*}:getIamPolicy\022\272\001\n\022TestIamPermissions\022"
+ + "(.google.iam.v1.TestIamPermissionsReques"
+ + "t\032).google.iam.v1.TestIamPermissionsResp"
+ + "onse\"O\202\323\344\223\002I\"D/v1/{resource=projects/*/l"
+ + "ocations/*/functions/*}:testIamPermissio"
+ + "ns:\001*\032Q\312A\035cloudfunctions.googleapis.com\322"
+ + "A.https://www.googleapis.com/auth/cloud-"
+ + "platformB\341\002\n\035com.google.cloud.functions."
+ + "v1B\016FunctionsProtoP\001Z;cloud.google.com/g"
+ + "o/functions/apiv1/functionspb;functionsp"
+ + "b\242\002\003GCF\352Ao\n*artifactregistry.googleapis."
+ + "com/Repository\022Aprojects/{project}/locat"
+ + "ions/{location}/repositories/{repository"
+ + "}\352Ax\n!cloudkms.googleapis.com/CryptoKey\022"
+ + "Sprojects/{project}/locations/{location}"
+ + "/keyRings/{key_ring}/cryptoKeys/{crypto_"
+ + "key}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -325,10 +327,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
+ com.google.cloud.functions.v1.FunctionsOperationsProto.getDescriptor(),
com.google.iam.v1.IamPolicyProto.getDescriptor(),
com.google.iam.v1.PolicyProto.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
@@ -573,10 +577,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
+ com.google.cloud.functions.v1.FunctionsOperationsProto.getDescriptor();
com.google.iam.v1.IamPolicyProto.getDescriptor();
com.google.iam.v1.PolicyProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
+ com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTrigger.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTrigger.java
index d5b48bd3b6a0..387e6beae60f 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTrigger.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTrigger.java
@@ -72,9 +72,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Available security level settings.
+ * Available security-level settings.
* This controls the methods to enforce security (HTTPS) on a URL.
- * If unspecified, SECURE_OPTIONAL will be used.
+ * If unspecified, SECURE_OPTIONAL is used.
*
*
* Protobuf enum {@code google.cloud.functions.v1.HttpsTrigger.SecurityLevel}
@@ -243,7 +243,7 @@ private SecurityLevel(int value) {
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -266,7 +266,7 @@ public java.lang.String getUrl() {
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -695,7 +695,7 @@ public Builder mergeFrom(
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -717,7 +717,7 @@ public java.lang.String getUrl() {
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -739,7 +739,7 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -760,7 +760,7 @@ public Builder setUrl(java.lang.String value) {
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -777,7 +777,7 @@ public Builder clearUrl() {
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTriggerOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTriggerOrBuilder.java
index 6b44c857efa1..d46146948d8d 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTriggerOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/HttpsTriggerOrBuilder.java
@@ -27,7 +27,7 @@ public interface HttpsTriggerOrBuilder
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -39,7 +39,7 @@ public interface HttpsTriggerOrBuilder
*
*
*
- * Output only. The deployed url for the function.
+ * Output only. The deployed URL for the function.
*
*
* string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVar.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVar.java
index 7dadb27f3b63..32c07c1c1a72 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVar.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVar.java
@@ -23,7 +23,7 @@
*
*
* Configuration for a secret environment variable. It has the information
- * necessary to fetch the secret value from secret manager and expose it as an
+ * necessary to fetch the secret value from Secret Manager and expose it as an
* environment variable.
*
*
@@ -132,9 +132,9 @@ public com.google.protobuf.ByteString getKeyBytes() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -158,9 +158,9 @@ public java.lang.String getProjectId() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -188,7 +188,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -211,7 +211,7 @@ public java.lang.String getSecret() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -477,7 +477,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Configuration for a secret environment variable. It has the information
- * necessary to fetch the secret value from secret manager and expose it as an
+ * necessary to fetch the secret value from Secret Manager and expose it as an
* environment variable.
*
*
@@ -813,9 +813,9 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -838,9 +838,9 @@ public java.lang.String getProjectId() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -863,9 +863,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -887,9 +887,9 @@ public Builder setProjectId(java.lang.String value) {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -907,9 +907,9 @@ public Builder clearProjectId() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -933,7 +933,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -955,7 +955,7 @@ public java.lang.String getSecret() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -977,7 +977,7 @@ public com.google.protobuf.ByteString getSecretBytes() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -998,7 +998,7 @@ public Builder setSecret(java.lang.String value) {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -1015,7 +1015,7 @@ public Builder clearSecret() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVarOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVarOrBuilder.java
index 0d77c938eadd..ed12e8b78466 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVarOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretEnvVarOrBuilder.java
@@ -53,9 +53,9 @@ public interface SecretEnvVarOrBuilder
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -68,9 +68,9 @@ public interface SecretEnvVarOrBuilder
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -83,7 +83,7 @@ public interface SecretEnvVarOrBuilder
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -95,7 +95,7 @@ public interface SecretEnvVarOrBuilder
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolume.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolume.java
index 43a9586b1d75..d7fada1ae34f 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolume.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolume.java
@@ -23,10 +23,10 @@
*
*
* Configuration for a secret volume. It has the information necessary to fetch
- * the secret value from secret manager and make it available as files mounted
+ * the secret value from Secret Manager and make it available as files mounted
* at the requested paths within the application container. Secret value is not
- * a part of the configuration. Every filesystem read operation performs a
- * lookup in secret manager to retrieve the secret value.
+ * a part of the configuration. Every file system read operation performs a
+ * lookup in Secret Manager to retrieve the secret value.
*
*
* Protobuf type {@code google.cloud.functions.v1.SecretVolume}
@@ -84,7 +84,7 @@ public interface SecretVersionOrBuilder
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -98,7 +98,7 @@ public interface SecretVersionOrBuilder
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -113,8 +113,8 @@ public interface SecretVersionOrBuilder
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -128,8 +128,8 @@ public interface SecretVersionOrBuilder
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -198,7 +198,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -223,7 +223,7 @@ public java.lang.String getVersion() {
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -253,8 +253,8 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -279,8 +279,8 @@ public java.lang.String getPath() {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -678,7 +678,7 @@ public Builder mergeFrom(
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -702,7 +702,7 @@ public java.lang.String getVersion() {
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -726,7 +726,7 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -749,7 +749,7 @@ public Builder setVersion(java.lang.String value) {
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -768,7 +768,7 @@ public Builder clearVersion() {
*
*
* Version of the secret (version number or the string 'latest'). It is
- * preferrable to use `latest` version with secret volumes as secret value
+ * preferable to use `latest` version with secret volumes as secret value
* changes are reflected immediately.
*
*
@@ -794,8 +794,8 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -819,8 +819,8 @@ public java.lang.String getPath() {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -844,8 +844,8 @@ public com.google.protobuf.ByteString getPathBytes() {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -868,8 +868,8 @@ public Builder setPath(java.lang.String value) {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -888,8 +888,8 @@ public Builder clearPath() {
*
*
* Relative path of the file under the mount path where the secret value for
- * this version will be fetched and made available. For example, setting the
- * mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ * this version is fetched and made available. For example, setting the
+ * mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
* secret value file at `/etc/secrets/secret_foo`.
*
*
@@ -982,8 +982,8 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersion getDefaultInstan
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1010,8 +1010,8 @@ public java.lang.String getMountPath() {
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1043,9 +1043,9 @@ public com.google.protobuf.ByteString getMountPathBytes() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1069,9 +1069,9 @@ public java.lang.String getProjectId() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1099,7 +1099,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -1122,7 +1122,7 @@ public java.lang.String getSecret() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getSecretBytes() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -1167,7 +1167,7 @@ public com.google.protobuf.ByteString getSecretBytes() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -1183,7 +1183,7 @@ public com.google.protobuf.ByteString getSecretBytes() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -1198,7 +1198,7 @@ public int getVersionsCount() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -1213,7 +1213,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersion getVersions(int
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -1418,10 +1418,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Configuration for a secret volume. It has the information necessary to fetch
- * the secret value from secret manager and make it available as files mounted
+ * the secret value from Secret Manager and make it available as files mounted
* at the requested paths within the application container. Secret value is not
- * a part of the configuration. Every filesystem read operation performs a
- * lookup in secret manager to retrieve the secret value.
+ * a part of the configuration. Every file system read operation performs a
+ * lookup in Secret Manager to retrieve the secret value.
*
*
* Protobuf type {@code google.cloud.functions.v1.SecretVolume}
@@ -1696,8 +1696,8 @@ public Builder mergeFrom(
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1723,8 +1723,8 @@ public java.lang.String getMountPath() {
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1750,8 +1750,8 @@ public com.google.protobuf.ByteString getMountPathBytes() {
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1776,8 +1776,8 @@ public Builder setMountPath(java.lang.String value) {
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1798,8 +1798,8 @@ public Builder clearMountPath() {
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -1827,9 +1827,9 @@ public Builder setMountPathBytes(com.google.protobuf.ByteString value) {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1852,9 +1852,9 @@ public java.lang.String getProjectId() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1877,9 +1877,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1901,9 +1901,9 @@ public Builder setProjectId(java.lang.String value) {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1921,9 +1921,9 @@ public Builder clearProjectId() {
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -1947,7 +1947,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -1969,7 +1969,7 @@ public java.lang.String getSecret() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -1991,7 +1991,7 @@ public com.google.protobuf.ByteString getSecretBytes() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -2012,7 +2012,7 @@ public Builder setSecret(java.lang.String value) {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -2029,7 +2029,7 @@ public Builder clearSecret() {
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -2071,7 +2071,7 @@ private void ensureVersionsIsMutable() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2090,7 +2090,7 @@ private void ensureVersionsIsMutable() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2108,7 +2108,7 @@ public int getVersionsCount() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2126,7 +2126,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersion getVersions(int
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2151,7 +2151,7 @@ public Builder setVersions(
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2174,7 +2174,7 @@ public Builder setVersions(
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2198,7 +2198,7 @@ public Builder addVersions(com.google.cloud.functions.v1.SecretVolume.SecretVers
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2223,7 +2223,7 @@ public Builder addVersions(
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2245,7 +2245,7 @@ public Builder addVersions(
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2268,7 +2268,7 @@ public Builder addVersions(
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2291,7 +2291,7 @@ public Builder addAllVersions(
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2312,7 +2312,7 @@ public Builder clearVersions() {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2333,7 +2333,7 @@ public Builder removeVersions(int index) {
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2348,7 +2348,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersion.Builder getVersi
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2367,7 +2367,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersionOrBuilder getVers
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2387,7 +2387,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersionOrBuilder getVers
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2403,7 +2403,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersion.Builder addVersi
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -2420,7 +2420,7 @@ public com.google.cloud.functions.v1.SecretVolume.SecretVersion.Builder addVersi
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolumeOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolumeOrBuilder.java
index 1b65614658a1..e06eeb35c594 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolumeOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SecretVolumeOrBuilder.java
@@ -28,8 +28,8 @@ public interface SecretVolumeOrBuilder
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -45,8 +45,8 @@ public interface SecretVolumeOrBuilder
*
*
* The path within the container to mount the secret volume. For example,
- * setting the mount_path as `/etc/secrets` would mount the secret value files
- * under the `/etc/secrets` directory. This directory will also be completely
+ * setting the mount_path as `/etc/secrets` mounts the secret value files
+ * under the `/etc/secrets` directory. This directory is also completely
* shadowed and unavailable to mount any other secrets.
* Recommended mount paths: /etc/secrets
* Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
@@ -63,9 +63,9 @@ public interface SecretVolumeOrBuilder
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -78,9 +78,9 @@ public interface SecretVolumeOrBuilder
*
*
* Project identifier (preferrably project number but can also be the project
- * ID) of the project that contains the secret. If not set, it will be
- * populated with the function's project assuming that the secret exists in
- * the same project as of the function.
+ * ID) of the project that contains the secret. If not set, it is
+ * populated with the function's project, assuming that the secret exists in
+ * the same project as the function.
*
*
* string project_id = 2;
@@ -93,7 +93,7 @@ public interface SecretVolumeOrBuilder
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -105,7 +105,7 @@ public interface SecretVolumeOrBuilder
*
*
*
- * Name of the secret in secret manager (not the full resource name).
+ * Name of the secret in Secret Manager (not the full resource name).
*
*
* string secret = 3;
@@ -119,7 +119,7 @@ public interface SecretVolumeOrBuilder
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -131,7 +131,7 @@ public interface SecretVolumeOrBuilder
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -143,7 +143,7 @@ public interface SecretVolumeOrBuilder
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -155,7 +155,7 @@ public interface SecretVolumeOrBuilder
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
@@ -168,7 +168,7 @@ public interface SecretVolumeOrBuilder
*
*
* List of secret versions to mount for this secret. If empty, the `latest`
- * version of the secret will be made available in a file named after the
+ * version of the secret is made available in a file named after the
* secret under the mount point.
*
*
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepository.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepository.java
index f2043d76441a..efb859723e0c 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepository.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepository.java
@@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -120,7 +120,7 @@ public java.lang.String getUrl() {
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -576,7 +576,7 @@ public Builder mergeFrom(
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -608,7 +608,7 @@ public java.lang.String getUrl() {
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -640,7 +640,7 @@ public com.google.protobuf.ByteString getUrlBytes() {
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -671,7 +671,7 @@ public Builder setUrl(java.lang.String value) {
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -698,7 +698,7 @@ public Builder clearUrl() {
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepositoryOrBuilder.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepositoryOrBuilder.java
index 9cd5604def93..6e13038f32e7 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepositoryOrBuilder.java
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/SourceRepositoryOrBuilder.java
@@ -37,7 +37,7 @@ public interface SourceRepositoryOrBuilder
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
@@ -59,7 +59,7 @@ public interface SourceRepositoryOrBuilder
* In particular, to refer to HEAD use `master` moveable alias.
* To refer to a specific fixed alias (tag):
* `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- * You may omit `paths/*` if you want to use the main directory.
+ * You can omit `paths/*` if you want to use the main directory.
*
*
* string url = 1;
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto
index 4b01c5b4f6ba..340338e5b234 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,10 +20,12 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/cloud/functions/v1/operations.proto";
import "google/iam/v1/iam_policy.proto";
import "google/iam/v1/policy.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/duration.proto";
+import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
@@ -44,7 +46,8 @@ option (google.api.resource_definition) = {
// A service that application uses to manipulate triggers and functions.
service CloudFunctionsService {
option (google.api.default_host) = "cloudfunctions.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
// Returns a list of functions that belong to the requested project.
rpc ListFunctions(ListFunctionsRequest) returns (ListFunctionsResponse) {
@@ -62,9 +65,10 @@ service CloudFunctionsService {
}
// Creates a new function. If a function with the given name already exists in
- // the specified project, the long running operation will return
+ // the specified project, the long running operation returns an
// `ALREADY_EXISTS` error.
- rpc CreateFunction(CreateFunctionRequest) returns (google.longrunning.Operation) {
+ rpc CreateFunction(CreateFunctionRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{location=projects/*/locations/*}/functions"
body: "function"
@@ -77,7 +81,8 @@ service CloudFunctionsService {
}
// Updates existing function.
- rpc UpdateFunction(UpdateFunctionRequest) returns (google.longrunning.Operation) {
+ rpc UpdateFunction(UpdateFunctionRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
patch: "/v1/{function.name=projects/*/locations/*/functions/*}"
body: "function"
@@ -90,9 +95,10 @@ service CloudFunctionsService {
}
// Deletes a function with the given name from the specified project. If the
- // given function is used by some trigger, the trigger will be updated to
+ // given function is used by some trigger, the trigger is updated to
// remove this function.
- rpc DeleteFunction(DeleteFunctionRequest) returns (google.longrunning.Operation) {
+ rpc DeleteFunction(DeleteFunctionRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
delete: "/v1/{name=projects/*/locations/*/functions/*}"
};
@@ -132,15 +138,16 @@ service CloudFunctionsService {
// attached, the identity from the credentials would be used, but that
// identity does not have permissions to upload files to the URL.
//
- // When making a HTTP PUT request, these two headers need to be specified:
+ // When making an HTTP PUT request, these two headers must be specified:
//
// * `content-type: application/zip`
// * `x-goog-content-length-range: 0,104857600`
//
- // And this header SHOULD NOT be specified:
+ // And this header must NOT be specified:
//
// * `Authorization: Bearer YOUR_TOKEN`
- rpc GenerateUploadUrl(GenerateUploadUrlRequest) returns (GenerateUploadUrlResponse) {
+ rpc GenerateUploadUrl(GenerateUploadUrlRequest)
+ returns (GenerateUploadUrlResponse) {
option (google.api.http) = {
post: "/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl"
body: "*"
@@ -148,11 +155,12 @@ service CloudFunctionsService {
}
// Returns a signed URL for downloading deployed function source code.
- // The URL is only valid for a limited period and should be used within
+ // The URL is only valid for a limited period and must be used within
// minutes after generation.
- // For more information about the signed URL usage see:
+ // For more information about the signed URL usage, see:
// https://cloud.google.com/storage/docs/access-control/signed-urls
- rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) returns (GenerateDownloadUrlResponse) {
+ rpc GenerateDownloadUrl(GenerateDownloadUrlRequest)
+ returns (GenerateDownloadUrlResponse) {
option (google.api.http) = {
post: "/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl"
body: "*"
@@ -161,7 +169,8 @@ service CloudFunctionsService {
// Sets the IAM access control policy on the specified function.
// Replaces any existing policy.
- rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
option (google.api.http) = {
post: "/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy"
body: "*"
@@ -171,7 +180,8 @@ service CloudFunctionsService {
// Gets the IAM access control policy for a function.
// Returns an empty policy if the function exists and does not have a policy
// set.
- rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
option (google.api.http) = {
get: "/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy"
};
@@ -179,9 +189,10 @@ service CloudFunctionsService {
// Tests the specified permissions against the IAM access control policy
// for a function.
- // If the function does not exist, this will return an empty set of
+ // If the function does not exist, this returns an empty set of
// permissions, not a NOT_FOUND error.
- rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
+ returns (google.iam.v1.TestIamPermissionsResponse) {
option (google.api.http) = {
post: "/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions"
body: "*"
@@ -190,7 +201,7 @@ service CloudFunctionsService {
}
// Describes a Cloud Function that contains user computation executed in
-// response to an event. It encapsulate function and triggers configurations.
+// response to an event. It encapsulates function and triggers configurations.
message CloudFunction {
option (google.api.resource) = {
type: "cloudfunctions.googleapis.com/CloudFunction"
@@ -199,17 +210,18 @@ message CloudFunction {
// Available egress settings.
//
- // This controls what traffic is diverted through the VPC Access Connector
- // resource. By default PRIVATE_RANGES_ONLY will be used.
+ // This controls what traffic is diverted through the Serverless VPC Access
+ // connector resource. By default, PRIVATE_RANGES_ONLY is used.
enum VpcConnectorEgressSettings {
// Unspecified.
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;
- // Use the VPC Access Connector only for private IP space from RFC1918.
+ // Use the Serverless VPC Access connector only for private IP space from
+ // RFC1918.
PRIVATE_RANGES_ONLY = 1;
- // Force the use of VPC Access Connector for all egress traffic from the
- // function.
+ // Force the use of Serverless VPC Access connector for all egress traffic
+ // from the function.
ALL_TRAFFIC = 2;
}
@@ -217,7 +229,7 @@ message CloudFunction {
//
// This controls what traffic can reach the function.
//
- // If unspecified, ALLOW_ALL will be used.
+ // If unspecified, ALLOW_ALL is used.
enum IngressSettings {
// Unspecified.
INGRESS_SETTINGS_UNSPECIFIED = 0;
@@ -237,15 +249,15 @@ message CloudFunction {
// Unspecified.
DOCKER_REGISTRY_UNSPECIFIED = 0;
- // Docker images will be stored in multi-regional Container Registry
+ // Docker images are stored in multi-regional Container Registry
// repositories named `gcf`.
CONTAINER_REGISTRY = 1;
- // Docker images will be stored in regional Artifact Registry repositories.
- // By default, GCF will create and use repositories named `gcf-artifacts`
- // in every region in which a function is deployed. But the repository to
- // use can also be specified by the user using the `docker_repository`
- // field.
+ // Docker images are stored in regional Artifact Registry repositories.
+ // By default, Cloud Functions creates and uses repositories named
+ // `gcf-artifacts` in every region in which a function is deployed. But the
+ // repository to use can also be specified by the user by using the
+ // `docker_repository` field.
ARTIFACT_REGISTRY = 2;
}
@@ -267,7 +279,7 @@ message CloudFunction {
// The source repository where a function is hosted.
SourceRepository source_repository = 4;
- // The Google Cloud Storage signed URL used for source uploading, generated
+ // 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)
@@ -288,12 +300,12 @@ message CloudFunction {
// Output only. Status of the function deployment.
CloudFunctionStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
- // The name of the function (as defined in source code) that will be
- // executed. Defaults to the resource name suffix, if not specified. For
- // backward compatibility, if function with given name is not found, then the
- // system will try to use function named "function".
- // For Node.js this is name of a function exported by the module specified
- // in `source_location`.
+ // The name of the function (as defined in source code) that is executed.
+ // Defaults to the resource name suffix, if not specified. For
+ // backward compatibility, if function with given name is not found, the
+ // system tries to use the function named "function".
+ // For Node.js, this is the name of a function exported by the module
+ // as specified in `source_location`.
string entry_point = 8;
// The runtime in which to run the function. Required when deploying a new
@@ -317,10 +329,11 @@ message CloudFunction {
string service_account_email = 11;
// Output only. The last update timestamp of a Cloud Function.
- google.protobuf.Timestamp update_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+ google.protobuf.Timestamp update_time = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
- // Output only. The version identifier of the Cloud Function. Each deployment attempt
- // results in a new version of a function being created.
+ // Output only. The version identifier of the Cloud Function. Each deployment
+ // attempt results in a new version of a function being created.
int64 version_id = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
// Labels associated with this Cloud Function.
@@ -332,11 +345,11 @@ message CloudFunction {
// Build environment variables that shall be available during build time.
map build_environment_variables = 28;
- // The VPC Network that this cloud function can connect to. It can be
- // either the fully-qualified URI, or the short name of the network resource.
- // If the short network name is used, the network must belong to the same
- // project. Otherwise, it must belong to a project within the same
- // organization. The format of this field is either
+ // The Serverless VPC Access connector that this cloud function can connect
+ // to. It can be either the fully qualified URI, or the short name of the
+ // connector resource. If the connector name is used, the connector must
+ // belong to the same project as the function. Otherwise, it must belong to a
+ // project within the same organization. The format of this field is either
// `projects/{project}/global/networks/{network}` or `{network}`, where
// `{project}` is a project id where the network is defined, and `{network}`
// is the short name of the network.
@@ -348,13 +361,13 @@ message CloudFunction {
// more information on connecting Cloud projects.
string network = 18;
- // The limit on the maximum number of function instances that may coexist at a
+ // The limit on the maximum number of function instances that can 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
+ // In some cases, such as rapid traffic surges, Cloud Functions can 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
+ // you might want to factor in a safety margin and set a lower max instances
// value than your function can tolerate.
//
// See the [Max
@@ -362,12 +375,12 @@ message CloudFunction {
// more details.
int32 max_instances = 20;
- // A lower bound for the number function instances that may coexist at a
+ // A lower bound for the number function instances that can coexist at a
// given time.
int32 min_instances = 32;
// 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
+ // be either the fully qualified URI, or the short name of the network
// connector resource. The format of this field is
// `projects/*/locations/*/connectors/*`
//
@@ -416,8 +429,8 @@ message CloudFunction {
// function resources in internal projects that are not accessible by the
// end user.
string kms_key_name = 25 [(google.api.resource_reference) = {
- type: "cloudkms.googleapis.com/CryptoKey"
- }];
+ type: "cloudkms.googleapis.com/CryptoKey"
+ }];
// Name of the Cloud Build Custom Worker Pool that should be used to build the
// function. The format of this field is
@@ -447,8 +460,8 @@ message CloudFunction {
// Secret volumes configuration.
repeated SecretVolume secret_volumes = 30;
- // Input only. An identifier for Firebase function sources. Disclaimer: This field is only
- // supported for Firebase function deployments.
+ // Input only. An identifier for Firebase function sources. Disclaimer: This
+ // field is only supported for Firebase function deployments.
string source_token = 31 [(google.api.field_behavior) = INPUT_ONLY];
// User managed repository created in Artifact Registry optionally with a
@@ -456,7 +469,7 @@ message CloudFunction {
// 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.
+ // the function docker image is pushed after it is built by Cloud Build.
//
// It must match the pattern
// `projects/{project}/locations/{location}/repositories/{repository}`.
@@ -465,12 +478,12 @@ message CloudFunction {
// Cross-location repositories are not supported.
// Repository format must be 'DOCKER'.
string docker_repository = 34 [(google.api.resource_reference) = {
- type: "artifactregistry.googleapis.com/Repository"
- }];
+ type: "artifactregistry.googleapis.com/Repository"
+ }];
// Docker Registry to use for this deployment.
//
- // If `docker_repository` field is specified, this field will be automatically
+ // If `docker_repository` field is specified, this field is automatically
// set as `ARTIFACT_REGISTRY`.
// If unspecified, it currently defaults to `CONTAINER_REGISTRY`.
// This field may be overridden by the backend for eligible deployments.
@@ -492,7 +505,7 @@ message SourceRepository {
// To refer to a specific fixed alias (tag):
// `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
//
- // You may omit `paths/*` if you want to use the main directory.
+ // You can omit `paths/*` if you want to use the main directory.
string url = 1;
// Output only. The URL pointing to the hosted repository where the function
@@ -503,11 +516,11 @@ message SourceRepository {
// Describes HttpsTrigger, could be used to connect web hooks to function.
message HttpsTrigger {
- // Available security level settings.
+ // Available security-level settings.
//
// This controls the methods to enforce security (HTTPS) on a URL.
//
- // If unspecified, SECURE_OPTIONAL will be used.
+ // If unspecified, SECURE_OPTIONAL is used.
enum SecurityLevel {
// Unspecified.
SECURITY_LEVEL_UNSPECIFIED = 0;
@@ -523,14 +536,14 @@ message HttpsTrigger {
SECURE_OPTIONAL = 2;
}
- // Output only. The deployed url for the function.
+ // Output only. The deployed URL for the function.
string url = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// The security level for the function.
SecurityLevel security_level = 2;
}
-// Describes EventTrigger, used to request events be sent from another
+// Describes EventTrigger, used to request that events be sent from another
// service.
message EventTrigger {
// Required. The type of event to observe. For example:
@@ -546,7 +559,7 @@ message EventTrigger {
// example, the Google Cloud Storage API includes the type `object`.
// 3. action: The action that generates the event. For example, action for
// a Google Cloud Storage Object is 'change'.
- // These parts are lower case.
+ // These parts are lowercase.
string event_type = 1;
// Required. The resource(s) from which to observe events, for example,
@@ -564,7 +577,7 @@ message EventTrigger {
// that matches Google Cloud Pub/Sub topics.
//
// Additionally, some services may support short names when creating an
- // `EventTrigger`. These will always be returned in the normalized "long"
+ // `EventTrigger`. These are always returned in the normalized "long"
// format.
//
// See each *service's* documentation for supported formats.
@@ -582,20 +595,18 @@ message EventTrigger {
}
// Describes the policy in case of function's execution failure.
-// If empty, then defaults to ignoring failures (i.e. not retrying them).
+// If empty, then defaults to ignoring failures (i.e., not retrying them).
message FailurePolicy {
// Describes the retry policy in case of function's execution failure.
- // A function execution will be retried on any failure.
- // A failed execution will be retried up to 7 days with an exponential backoff
+ // A function execution is retried on any failure.
+ // A failed execution is retried up to 7 days with an exponential backoff
// (capped at 10 seconds).
// Retried execution is charged as any other execution.
- message Retry {
-
- }
+ message Retry {}
// Defines the action taken in case of a function execution failure.
oneof action {
- // If specified, then the function will be retried in case of a failure.
+ // If specified, the function is retried in case of a failure.
Retry retry = 1;
}
}
@@ -623,19 +634,19 @@ enum CloudFunctionStatus {
}
// Configuration for a secret environment variable. It has the information
-// necessary to fetch the secret value from secret manager and expose it as an
+// necessary to fetch the secret value from Secret Manager and expose it as an
// environment variable.
message SecretEnvVar {
// Name of the environment variable.
string key = 1;
// Project identifier (preferrably project number but can also be the project
- // ID) of the project that contains the secret. If not set, it will be
- // populated with the function's project assuming that the secret exists in
- // the same project as of the function.
+ // ID) of the project that contains the secret. If not set, it is
+ // populated with the function's project, assuming that the secret exists in
+ // the same project as the function.
string project_id = 2;
- // Name of the secret in secret manager (not the full resource name).
+ // Name of the secret in Secret Manager (not the full resource name).
string secret = 3;
// Version of the secret (version number or the string 'latest'). It is
@@ -645,28 +656,28 @@ message SecretEnvVar {
}
// Configuration for a secret volume. It has the information necessary to fetch
-// the secret value from secret manager and make it available as files mounted
+// the secret value from Secret Manager and make it available as files mounted
// at the requested paths within the application container. Secret value is not
-// a part of the configuration. Every filesystem read operation performs a
-// lookup in secret manager to retrieve the secret value.
+// a part of the configuration. Every file system read operation performs a
+// lookup in Secret Manager to retrieve the secret value.
message SecretVolume {
// Configuration for a single version.
message SecretVersion {
// Version of the secret (version number or the string 'latest'). It is
- // preferrable to use `latest` version with secret volumes as secret value
+ // preferable to use `latest` version with secret volumes as secret value
// changes are reflected immediately.
string version = 1;
// Relative path of the file under the mount path where the secret value for
- // this version will be fetched and made available. For example, setting the
- // mount_path as '/etc/secrets' and path as `/secret_foo` would mount the
+ // this version is fetched and made available. For example, setting the
+ // mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
// secret value file at `/etc/secrets/secret_foo`.
string path = 2;
}
// The path within the container to mount the secret volume. For example,
- // setting the mount_path as `/etc/secrets` would mount the secret value files
- // under the `/etc/secrets` directory. This directory will also be completely
+ // setting the mount_path as `/etc/secrets` mounts the secret value files
+ // under the `/etc/secrets` directory. This directory is also completely
// shadowed and unavailable to mount any other secrets.
//
// Recommended mount paths: /etc/secrets
@@ -674,24 +685,24 @@ message SecretVolume {
string mount_path = 1;
// Project identifier (preferrably project number but can also be the project
- // ID) of the project that contains the secret. If not set, it will be
- // populated with the function's project assuming that the secret exists in
- // the same project as of the function.
+ // ID) of the project that contains the secret. If not set, it is
+ // populated with the function's project, assuming that the secret exists in
+ // the same project as the function.
string project_id = 2;
- // Name of the secret in secret manager (not the full resource name).
+ // Name of the secret in Secret Manager (not the full resource name).
string secret = 3;
// List of secret versions to mount for this secret. If empty, the `latest`
- // version of the secret will be made available in a file named after the
+ // version of the secret is made available in a file named after the
// secret under the mount point.
repeated SecretVersion versions = 4;
}
// Request for the `CreateFunction` method.
message CreateFunctionRequest {
- // Required. The project and location in which the function should be created, specified
- // in the format `projects/*/locations/*`
+ // Required. The project and location in which the function should be created,
+ // specified in the format `projects/*/locations/*`
string location = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -732,8 +743,8 @@ message ListFunctionsRequest {
// location(s) are unreachable, the response will contain functions from all
// reachable locations along with the names of any unreachable locations.
string parent = 1 [(google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }];
+ type: "locations.googleapis.com/Location"
+ }];
// Maximum number of functions to return per call.
int32 page_size = 2;
@@ -824,8 +835,8 @@ message GenerateUploadUrlRequest {
// delegate access to the Google Storage service account in the internal
// project.
string kms_key_name = 2 [(google.api.resource_reference) = {
- type: "cloudkms.googleapis.com/CryptoKey"
- }];
+ type: "cloudkms.googleapis.com/CryptoKey"
+ }];
}
// Response of `GenerateSourceUploadUrl` method.
diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto
index 880774c96c0d..1a9ba18890b0 100644
--- a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto
+++ b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/AsyncListLocations.java b/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/AsyncListLocations.java
new file mode 100644
index 000000000000..da7b5d092404
--- /dev/null
+++ b/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/AsyncListLocations.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.functions.v1.samples;
+
+// [START cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.functions.v1.CloudFunctionsServiceClient;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.Location;
+
+public class AsyncListLocations {
+
+ public static void main(String[] args) throws Exception {
+ asyncListLocations();
+ }
+
+ public static void asyncListLocations() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
+ CloudFunctionsServiceClient.create()) {
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("name3373707")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ ApiFuture future =
+ cloudFunctionsServiceClient.listLocationsPagedCallable().futureCall(request);
+ // Do something.
+ for (Location element : future.get().iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_async]
diff --git a/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/AsyncListLocationsPaged.java b/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/AsyncListLocationsPaged.java
new file mode 100644
index 000000000000..51cdbc7c80b0
--- /dev/null
+++ b/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/AsyncListLocationsPaged.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.functions.v1.samples;
+
+// [START cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_Paged_async]
+import com.google.cloud.functions.v1.CloudFunctionsServiceClient;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
+import com.google.common.base.Strings;
+
+public class AsyncListLocationsPaged {
+
+ public static void main(String[] args) throws Exception {
+ asyncListLocationsPaged();
+ }
+
+ public static void asyncListLocationsPaged() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
+ CloudFunctionsServiceClient.create()) {
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("name3373707")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ while (true) {
+ ListLocationsResponse response =
+ cloudFunctionsServiceClient.listLocationsCallable().call(request);
+ for (Location element : response.getLocationsList()) {
+ // doThingsWith(element);
+ }
+ String nextPageToken = response.getNextPageToken();
+ if (!Strings.isNullOrEmpty(nextPageToken)) {
+ request = request.toBuilder().setPageToken(nextPageToken).build();
+ } else {
+ break;
+ }
+ }
+ }
+ }
+}
+// [END cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_Paged_async]
diff --git a/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/SyncListLocations.java b/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/SyncListLocations.java
new file mode 100644
index 000000000000..25cc302b6375
--- /dev/null
+++ b/java-functions/samples/snippets/generated/com/google/cloud/functions/v1/cloudfunctionsservice/listlocations/SyncListLocations.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.functions.v1.samples;
+
+// [START cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_sync]
+import com.google.cloud.functions.v1.CloudFunctionsServiceClient;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.Location;
+
+public class SyncListLocations {
+
+ public static void main(String[] args) throws Exception {
+ syncListLocations();
+ }
+
+ public static void syncListLocations() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (CloudFunctionsServiceClient cloudFunctionsServiceClient =
+ CloudFunctionsServiceClient.create()) {
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("name3373707")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ for (Location element : cloudFunctionsServiceClient.listLocations(request).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_sync]