diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 1830d09a..34f691d3 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:8e27e5a7297b40eca3ab46ae67f10c575813a85c673839030aa161d0818f3a24 + digest: sha256:677e79291a12251a7c7e9c24db87f50ae0428bbb79c2bebc50e4fc5e9ed1ee32 diff --git a/.github/release-trigger.yml b/.github/release-trigger.yml new file mode 100644 index 00000000..d4ca9418 --- /dev/null +++ b/.github/release-trigger.yml @@ -0,0 +1 @@ +enabled: true diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index ffd39f6f..32e0ea5a 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -10,7 +10,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (8) @@ -26,7 +25,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (7) diff --git a/CHANGELOG.md b/CHANGELOG.md index d893efc3..f343de02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.0.3](https://www.github.com/googleapis/java-functions/compare/v2.0.2...v2.0.3) (2021-08-25) + + +### Documentation + +* minor formatting fixes to Cloud Functions reference docs ([#272](https://www.github.com/googleapis/java-functions/issues/272)) ([4ffb50d](https://www.github.com/googleapis/java-functions/commit/4ffb50da1877ccf8cc7b4ff321dd3850e2c16d73)) + ### [2.0.2](https://www.github.com/googleapis/java-functions/compare/v2.0.1...v2.0.2) (2021-08-23) diff --git a/README.md b/README.md index 73d0c57c..b19e5aae 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-functions:2.0.1' +compile 'com.google.cloud:google-cloud-functions:2.0.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.0.1" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.0.2" ``` ## Authentication diff --git a/google-cloud-functions-bom/pom.xml b/google-cloud-functions-bom/pom.xml index 6164a08d..937dcc3a 100644 --- a/google-cloud-functions-bom/pom.xml +++ b/google-cloud-functions-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions-bom - 2.0.2 + 2.0.3 pom com.google.cloud @@ -56,17 +56,17 @@ com.google.cloud google-cloud-functions - 2.0.2 + 2.0.3 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.0.2 + 2.0.3 com.google.api.grpc proto-google-cloud-functions-v1 - 2.0.2 + 2.0.3 diff --git a/google-cloud-functions/pom.xml b/google-cloud-functions/pom.xml index cd9e9c5f..9a746c66 100644 --- a/google-cloud-functions/pom.xml +++ b/google-cloud-functions/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions - 2.0.2 + 2.0.3 jar Google Cloud Functions https://github.com/googleapis/java-functions @@ -11,7 +11,7 @@ com.google.cloud google-cloud-functions-parent - 2.0.2 + 2.0.3 google-cloud-functions diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java index 10f032d0..b2da34cb 100644 --- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java +++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java @@ -303,7 +303,9 @@ public static List getDefaultServiceScopes() { /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES); + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); } /** Returns a builder for the default ChannelProvider for this service. */ diff --git a/grpc-google-cloud-functions-v1/pom.xml b/grpc-google-cloud-functions-v1/pom.xml index da999bf7..bd1db3b2 100644 --- a/grpc-google-cloud-functions-v1/pom.xml +++ b/grpc-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.0.2 + 2.0.3 grpc-google-cloud-functions-v1 GRPC library for grpc-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.0.2 + 2.0.3 diff --git a/pom.xml b/pom.xml index a1a62f1f..e0b1a6aa 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-functions-parent pom - 2.0.2 + 2.0.3 Google Cloud Functions Parent https://github.com/googleapis/java-functions @@ -61,17 +61,17 @@ com.google.cloud google-cloud-functions - 2.0.2 + 2.0.3 com.google.api.grpc proto-google-cloud-functions-v1 - 2.0.2 + 2.0.3 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.0.2 + 2.0.3 diff --git a/proto-google-cloud-functions-v1/pom.xml b/proto-google-cloud-functions-v1/pom.xml index 9b7d68df..38e9201e 100644 --- a/proto-google-cloud-functions-v1/pom.xml +++ b/proto-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v1 - 2.0.2 + 2.0.3 proto-google-cloud-functions-v1 PROTO library for proto-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.0.2 + 2.0.3 diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java index 824f91d5..03700e1c 100644 --- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java +++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java @@ -894,7 +894,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
    * archive which contains the function.
    * 
* @@ -909,7 +909,7 @@ public boolean hasSourceArchiveUrl() { * * *
-   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
    * archive which contains the function.
    * 
* @@ -937,7 +937,7 @@ public java.lang.String getSourceArchiveUrl() { * * *
-   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
    * archive which contains the function.
    * 
* @@ -1023,9 +1023,9 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito *
    * The Google Cloud Storage signed URL used for source uploading, generated
    * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-   * The signature is validated on write methods {Create, Update}
-   * The signature is stripped from the Function object on read methods {Get,
-   * List}
+   * The signature is validated on write methods (Create, Update)
+   * The signature is stripped from the Function object on read methods (Get,
+   * List)
    * 
* * string source_upload_url = 16; @@ -1041,9 +1041,9 @@ public boolean hasSourceUploadUrl() { *
    * The Google Cloud Storage signed URL used for source uploading, generated
    * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-   * The signature is validated on write methods {Create, Update}
-   * The signature is stripped from the Function object on read methods {Get,
-   * List}
+   * The signature is validated on write methods (Create, Update)
+   * The signature is stripped from the Function object on read methods (Get,
+   * List)
    * 
* * string source_upload_url = 16; @@ -1072,9 +1072,9 @@ public java.lang.String getSourceUploadUrl() { *
    * The Google Cloud Storage signed URL used for source uploading, generated
    * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-   * The signature is validated on write methods {Create, Update}
-   * The signature is stripped from the Function object on read methods {Get,
-   * List}
+   * The signature is validated on write methods (Create, Update)
+   * The signature is stripped from the Function object on read methods (Get,
+   * List)
    * 
* * string source_upload_url = 16; @@ -1309,7 +1309,7 @@ public com.google.protobuf.ByteString getEntryPointBytes() { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -1336,7 +1336,7 @@ public java.lang.String getRuntime() { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -1759,8 +1759,8 @@ public java.lang.String getEnvironmentVariablesOrThrow(java.lang.String key) { * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -1793,8 +1793,8 @@ public java.lang.String getNetwork() { * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -3112,7 +3112,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
      * archive which contains the function.
      * 
* @@ -3128,7 +3128,7 @@ public boolean hasSourceArchiveUrl() { * * *
-     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
      * archive which contains the function.
      * 
* @@ -3157,7 +3157,7 @@ public java.lang.String getSourceArchiveUrl() { * * *
-     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
      * archive which contains the function.
      * 
* @@ -3186,7 +3186,7 @@ public com.google.protobuf.ByteString getSourceArchiveUrlBytes() { * * *
-     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
      * archive which contains the function.
      * 
* @@ -3208,7 +3208,7 @@ public Builder setSourceArchiveUrl(java.lang.String value) { * * *
-     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
      * archive which contains the function.
      * 
* @@ -3228,7 +3228,7 @@ public Builder clearSourceArchiveUrl() { * * *
-     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
      * archive which contains the function.
      * 
* @@ -3472,9 +3472,9 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito *
      * The Google Cloud Storage signed URL used for source uploading, generated
      * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-     * The signature is validated on write methods {Create, Update}
-     * The signature is stripped from the Function object on read methods {Get,
-     * List}
+     * The signature is validated on write methods (Create, Update)
+     * The signature is stripped from the Function object on read methods (Get,
+     * List)
      * 
* * string source_upload_url = 16; @@ -3491,9 +3491,9 @@ public boolean hasSourceUploadUrl() { *
      * The Google Cloud Storage signed URL used for source uploading, generated
      * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-     * The signature is validated on write methods {Create, Update}
-     * The signature is stripped from the Function object on read methods {Get,
-     * List}
+     * The signature is validated on write methods (Create, Update)
+     * The signature is stripped from the Function object on read methods (Get,
+     * List)
      * 
* * string source_upload_url = 16; @@ -3523,9 +3523,9 @@ public java.lang.String getSourceUploadUrl() { *
      * The Google Cloud Storage signed URL used for source uploading, generated
      * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-     * The signature is validated on write methods {Create, Update}
-     * The signature is stripped from the Function object on read methods {Get,
-     * List}
+     * The signature is validated on write methods (Create, Update)
+     * The signature is stripped from the Function object on read methods (Get,
+     * List)
      * 
* * string source_upload_url = 16; @@ -3555,9 +3555,9 @@ public com.google.protobuf.ByteString getSourceUploadUrlBytes() { *
      * The Google Cloud Storage signed URL used for source uploading, generated
      * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-     * The signature is validated on write methods {Create, Update}
-     * The signature is stripped from the Function object on read methods {Get,
-     * List}
+     * The signature is validated on write methods (Create, Update)
+     * The signature is stripped from the Function object on read methods (Get,
+     * List)
      * 
* * string source_upload_url = 16; @@ -3580,9 +3580,9 @@ public Builder setSourceUploadUrl(java.lang.String value) { *
      * The Google Cloud Storage signed URL used for source uploading, generated
      * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-     * The signature is validated on write methods {Create, Update}
-     * The signature is stripped from the Function object on read methods {Get,
-     * List}
+     * The signature is validated on write methods (Create, Update)
+     * The signature is stripped from the Function object on read methods (Get,
+     * List)
      * 
* * string source_upload_url = 16; @@ -3603,9 +3603,9 @@ public Builder clearSourceUploadUrl() { *
      * The Google Cloud Storage signed URL used for source uploading, generated
      * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-     * The signature is validated on write methods {Create, Update}
-     * The signature is stripped from the Function object on read methods {Get,
-     * List}
+     * The signature is validated on write methods (Create, Update)
+     * The signature is stripped from the Function object on read methods (Get,
+     * List)
      * 
* * string source_upload_url = 16; @@ -4285,7 +4285,7 @@ public Builder setEntryPointBytes(com.google.protobuf.ByteString value) { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -4311,7 +4311,7 @@ public java.lang.String getRuntime() { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -4337,7 +4337,7 @@ public com.google.protobuf.ByteString getRuntimeBytes() { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -4362,7 +4362,7 @@ public Builder setRuntime(java.lang.String value) { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -4383,7 +4383,7 @@ public Builder clearRuntime() { * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -5353,8 +5353,8 @@ public Builder putAllEnvironmentVariables( * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -5386,8 +5386,8 @@ public java.lang.String getNetwork() { * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -5419,8 +5419,8 @@ public com.google.protobuf.ByteString getNetworkBytes() { * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -5451,8 +5451,8 @@ public Builder setNetwork(java.lang.String value) { * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -5479,8 +5479,8 @@ public Builder clearNetwork() { * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java index 58a80df7..5129f736 100644 --- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java +++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java @@ -79,7 +79,7 @@ public interface CloudFunctionOrBuilder * * *
-   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
    * archive which contains the function.
    * 
* @@ -92,7 +92,7 @@ public interface CloudFunctionOrBuilder * * *
-   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
    * archive which contains the function.
    * 
* @@ -105,7 +105,7 @@ public interface CloudFunctionOrBuilder * * *
-   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
    * archive which contains the function.
    * 
* @@ -159,9 +159,9 @@ public interface CloudFunctionOrBuilder *
    * The Google Cloud Storage signed URL used for source uploading, generated
    * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-   * The signature is validated on write methods {Create, Update}
-   * The signature is stripped from the Function object on read methods {Get,
-   * List}
+   * The signature is validated on write methods (Create, Update)
+   * The signature is stripped from the Function object on read methods (Get,
+   * List)
    * 
* * string source_upload_url = 16; @@ -175,9 +175,9 @@ public interface CloudFunctionOrBuilder *
    * The Google Cloud Storage signed URL used for source uploading, generated
    * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-   * The signature is validated on write methods {Create, Update}
-   * The signature is stripped from the Function object on read methods {Get,
-   * List}
+   * The signature is validated on write methods (Create, Update)
+   * The signature is stripped from the Function object on read methods (Get,
+   * List)
    * 
* * string source_upload_url = 16; @@ -191,9 +191,9 @@ public interface CloudFunctionOrBuilder *
    * The Google Cloud Storage signed URL used for source uploading, generated
    * by calling [google.cloud.functions.v1.GenerateUploadUrl].
-   * The signature is validated on write methods {Create, Update}
-   * The signature is stripped from the Function object on read methods {Get,
-   * List}
+   * The signature is validated on write methods (Create, Update)
+   * The signature is stripped from the Function object on read methods (Get,
+   * List)
    * 
* * string source_upload_url = 16; @@ -344,7 +344,7 @@ public interface CloudFunctionOrBuilder * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -360,7 +360,7 @@ public interface CloudFunctionOrBuilder * function, optional when updating an existing function. For a complete * list of possible choices, see the * [`gcloud` command - * reference](/sdk/gcloud/reference/functions/deploy#--runtime). + * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). * * * string runtime = 19; @@ -622,8 +622,8 @@ java.lang.String getEnvironmentVariablesOrDefault( * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for @@ -645,8 +645,8 @@ java.lang.String getEnvironmentVariablesOrDefault( * project. 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. + * `{project}` is a project id where the network is defined, and `{network}` + * is the short name of the network. * This field is mutually exclusive with `vpc_connector` and will be replaced * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1.java index ae7eb1fb..252be479 100644 --- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1.java +++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1.java @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Target of the operation - for example
-   * projects/project-1/locations/region-1/functions/function-1
+   * `projects/project-1/locations/region-1/functions/function-1`
    * 
* * string target = 1; @@ -192,7 +192,7 @@ public java.lang.String getTarget() { * *
    * Target of the operation - for example
-   * projects/project-1/locations/region-1/functions/function-1
+   * `projects/project-1/locations/region-1/functions/function-1`
    * 
* * string target = 1; @@ -836,7 +836,7 @@ public Builder mergeFrom( * *
      * Target of the operation - for example
-     * projects/project-1/locations/region-1/functions/function-1
+     * `projects/project-1/locations/region-1/functions/function-1`
      * 
* * string target = 1; @@ -859,7 +859,7 @@ public java.lang.String getTarget() { * *
      * Target of the operation - for example
-     * projects/project-1/locations/region-1/functions/function-1
+     * `projects/project-1/locations/region-1/functions/function-1`
      * 
* * string target = 1; @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getTargetBytes() { * *
      * Target of the operation - for example
-     * projects/project-1/locations/region-1/functions/function-1
+     * `projects/project-1/locations/region-1/functions/function-1`
      * 
* * string target = 1; @@ -904,7 +904,7 @@ public Builder setTarget(java.lang.String value) { * *
      * Target of the operation - for example
-     * projects/project-1/locations/region-1/functions/function-1
+     * `projects/project-1/locations/region-1/functions/function-1`
      * 
* * string target = 1; @@ -922,7 +922,7 @@ public Builder clearTarget() { * *
      * Target of the operation - for example
-     * projects/project-1/locations/region-1/functions/function-1
+     * `projects/project-1/locations/region-1/functions/function-1`
      * 
* * string target = 1; diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1OrBuilder.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1OrBuilder.java index b14c24d4..982f3ce4 100644 --- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1OrBuilder.java +++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/OperationMetadataV1OrBuilder.java @@ -28,7 +28,7 @@ public interface OperationMetadataV1OrBuilder * *
    * Target of the operation - for example
-   * projects/project-1/locations/region-1/functions/function-1
+   * `projects/project-1/locations/region-1/functions/function-1`
    * 
* * string target = 1; @@ -41,7 +41,7 @@ public interface OperationMetadataV1OrBuilder * *
    * Target of the operation - for example
-   * projects/project-1/locations/region-1/functions/function-1
+   * `projects/project-1/locations/region-1/functions/function-1`
    * 
* * string target = 1; diff --git a/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto b/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto index 6523c7db..98a6d536 100644 --- a/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto +++ b/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto @@ -233,7 +233,7 @@ message CloudFunction { // The location of the function source code. oneof source_code { - // The Google Cloud Storage URL, starting with gs://, pointing to the zip + // The Google Cloud Storage URL, starting with `gs://`, pointing to the zip // archive which contains the function. string source_archive_url = 3; @@ -245,9 +245,9 @@ message CloudFunction { // The Google Cloud Storage signed URL used for source uploading, generated // by calling [google.cloud.functions.v1.GenerateUploadUrl]. // - // The signature is validated on write methods {Create, Update} - // The signature is stripped from the Function object on read methods {Get, - // List} + // The signature is validated on write methods (Create, Update) + // The signature is stripped from the Function object on read methods (Get, + // List) string source_upload_url = 16; } @@ -275,7 +275,7 @@ message CloudFunction { // function, optional when updating an existing function. For a complete // list of possible choices, see the // [`gcloud` command - // reference](/sdk/gcloud/reference/functions/deploy#--runtime). + // reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). string runtime = 19; // The function execution timeout. Execution is considered failed and @@ -310,8 +310,8 @@ message CloudFunction { // project. 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. + // `{project}` is a project id where the network is defined, and `{network}` + // is the short name of the network. // // This field is mutually exclusive with `vpc_connector` and will be replaced // by it. diff --git a/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto b/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto index 053ee013..961cd0b5 100644 --- a/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto +++ b/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto @@ -43,7 +43,7 @@ enum OperationType { // Metadata describing an [Operation][google.longrunning.Operation] message OperationMetadataV1 { // Target of the operation - for example - // projects/project-1/locations/region-1/functions/function-1 + // `projects/project-1/locations/region-1/functions/function-1` string target = 1; // Type of operation. diff --git a/versions.txt b/versions.txt index 2b8476af..24a2a2e0 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-functions:2.0.2:2.0.2 -grpc-google-cloud-functions-v1:2.0.2:2.0.2 -proto-google-cloud-functions-v1:2.0.2:2.0.2 +google-cloud-functions:2.0.3:2.0.3 +grpc-google-cloud-functions-v1:2.0.3:2.0.3 +proto-google-cloud-functions-v1:2.0.3:2.0.3