diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceGrpc.java b/google-api-grpc/grpc-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceGrpc.java index c7cfc4e7ad96..d4b64c01a0f7 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceGrpc.java @@ -137,9 +137,9 @@ public static abstract class AssetServiceImplBase implements io.grpc.BindableSer /** *
-     * Exports assets with time and resource types to a given Google Cloud Storage
+     * Exports assets with time and resource types to a given Cloud Storage
      * location. The output format is newline-delimited JSON.
-     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing users
+     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you
      * to keep track of the export.
      * 
*/ @@ -150,11 +150,11 @@ public void exportAssets(com.google.cloud.asset.v1beta1.ExportAssetsRequest requ /** *
-     * Batch gets assets update history that overlaps a time window.
+     * Batch gets the update history of assets that overlap a time window.
      * For RESOURCE content, this API outputs history with asset in both
      * non-delete or deleted status.
-     * For IAM_POLICY content, this API only outputs history when asset and its
-     * attached IAM POLICY both exist. So there may be gaps in the output history.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
      * 
*/ public void batchGetAssetsHistory(com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest request, @@ -205,9 +205,9 @@ protected AssetServiceStub build(io.grpc.Channel channel, /** *
-     * Exports assets with time and resource types to a given Google Cloud Storage
+     * Exports assets with time and resource types to a given Cloud Storage
      * location. The output format is newline-delimited JSON.
-     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing users
+     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you
      * to keep track of the export.
      * 
*/ @@ -219,11 +219,11 @@ public void exportAssets(com.google.cloud.asset.v1beta1.ExportAssetsRequest requ /** *
-     * Batch gets assets update history that overlaps a time window.
+     * Batch gets the update history of assets that overlap a time window.
      * For RESOURCE content, this API outputs history with asset in both
      * non-delete or deleted status.
-     * For IAM_POLICY content, this API only outputs history when asset and its
-     * attached IAM POLICY both exist. So there may be gaps in the output history.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
      * 
*/ public void batchGetAssetsHistory(com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest request, @@ -256,9 +256,9 @@ protected AssetServiceBlockingStub build(io.grpc.Channel channel, /** *
-     * Exports assets with time and resource types to a given Google Cloud Storage
+     * Exports assets with time and resource types to a given Cloud Storage
      * location. The output format is newline-delimited JSON.
-     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing users
+     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you
      * to keep track of the export.
      * 
*/ @@ -269,11 +269,11 @@ public com.google.longrunning.Operation exportAssets(com.google.cloud.asset.v1be /** *
-     * Batch gets assets update history that overlaps a time window.
+     * Batch gets the update history of assets that overlap a time window.
      * For RESOURCE content, this API outputs history with asset in both
      * non-delete or deleted status.
-     * For IAM_POLICY content, this API only outputs history when asset and its
-     * attached IAM POLICY both exist. So there may be gaps in the output history.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
      * 
*/ public com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse batchGetAssetsHistory(com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest request) { @@ -305,9 +305,9 @@ protected AssetServiceFutureStub build(io.grpc.Channel channel, /** *
-     * Exports assets with time and resource types to a given Google Cloud Storage
+     * Exports assets with time and resource types to a given Cloud Storage
      * location. The output format is newline-delimited JSON.
-     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing users
+     * This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you
      * to keep track of the export.
      * 
*/ @@ -319,11 +319,11 @@ public com.google.common.util.concurrent.ListenableFuture - * Batch gets assets update history that overlaps a time window. + * Batch gets the update history of assets that overlap a time window. * For RESOURCE content, this API outputs history with asset in both * non-delete or deleted status. - * For IAM_POLICY content, this API only outputs history when asset and its - * attached IAM POLICY both exist. So there may be gaps in the output history. + * For IAM_POLICY content, this API outputs history when the asset and its + * attached IAM POLICY both exist. This can create gaps in the output history. * */ public com.google.common.util.concurrent.ListenableFuture batchGetAssetsHistory( diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java index 187869b9274f..12bf1187b559 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java @@ -5,8 +5,8 @@ /** *
- * Cloud asset. This include all Google Cloud Platform resources, as well as
- * IAM policies and other non-GCP assets.
+ * Cloud asset. This includes all Google Cloud Platform resources,
+ * Cloud IAM policies, and other non-GCP assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1beta1.Asset} @@ -123,10 +123,9 @@ private Asset( private volatile java.lang.Object name_; /** *
-   * The full name of the asset. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
    * 
* * string name = 1; @@ -145,10 +144,9 @@ public java.lang.String getName() { } /** *
-   * The full name of the asset. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
    * 
* * string name = 1; @@ -246,8 +244,8 @@ public com.google.cloud.asset.v1beta1.ResourceOrBuilder getResourceOrBuilder() { private com.google.iam.v1.Policy iamPolicy_; /** *
-   * Representation of the actual IAM policy set on a cloud resource. For each
-   * resource, there must be at most one IAM policy set on it.
+   * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+   * resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -257,8 +255,8 @@ public boolean hasIamPolicy() { } /** *
-   * Representation of the actual IAM policy set on a cloud resource. For each
-   * resource, there must be at most one IAM policy set on it.
+   * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+   * resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -268,8 +266,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } /** *
-   * Representation of the actual IAM policy set on a cloud resource. For each
-   * resource, there must be at most one IAM policy set on it.
+   * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+   * resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -477,8 +475,8 @@ protected Builder newBuilderForType( } /** *
-   * Cloud asset. This include all Google Cloud Platform resources, as well as
-   * IAM policies and other non-GCP assets.
+   * Cloud asset. This includes all Google Cloud Platform resources,
+   * Cloud IAM policies, and other non-GCP assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1beta1.Asset} @@ -666,10 +664,9 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** *
-     * The full name of the asset. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
      * 
* * string name = 1; @@ -688,10 +685,9 @@ public java.lang.String getName() { } /** *
-     * The full name of the asset. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
      * 
* * string name = 1; @@ -711,10 +707,9 @@ public java.lang.String getName() { } /** *
-     * The full name of the asset. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
      * 
* * string name = 1; @@ -731,10 +726,9 @@ public Builder setName( } /** *
-     * The full name of the asset. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
      * 
* * string name = 1; @@ -747,10 +741,9 @@ public Builder clearName() { } /** *
-     * The full name of the asset. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
      * 
* * string name = 1; @@ -1014,8 +1007,8 @@ public com.google.cloud.asset.v1beta1.ResourceOrBuilder getResourceOrBuilder() { com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1025,8 +1018,8 @@ public boolean hasIamPolicy() { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1040,8 +1033,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1061,8 +1054,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1080,8 +1073,8 @@ public Builder setIamPolicy( } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1103,8 +1096,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1122,8 +1115,8 @@ public Builder clearIamPolicy() { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1135,8 +1128,8 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -1151,8 +1144,8 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() { } /** *
-     * Representation of the actual IAM policy set on a cloud resource. For each
-     * resource, there must be at most one IAM policy set on it.
+     * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+     * resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java index c3a54c03daea..a36e5872a909 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java @@ -9,10 +9,9 @@ public interface AssetOrBuilder extends /** *
-   * The full name of the asset. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
    * 
* * string name = 1; @@ -20,10 +19,9 @@ public interface AssetOrBuilder extends java.lang.String getName(); /** *
-   * The full name of the asset. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
    * 
* * string name = 1; @@ -76,8 +74,8 @@ public interface AssetOrBuilder extends /** *
-   * Representation of the actual IAM policy set on a cloud resource. For each
-   * resource, there must be at most one IAM policy set on it.
+   * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+   * resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -85,8 +83,8 @@ public interface AssetOrBuilder extends boolean hasIamPolicy(); /** *
-   * Representation of the actual IAM policy set on a cloud resource. For each
-   * resource, there must be at most one IAM policy set on it.
+   * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+   * resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; @@ -94,8 +92,8 @@ public interface AssetOrBuilder extends com.google.iam.v1.Policy getIamPolicy(); /** *
-   * Representation of the actual IAM policy set on a cloud resource. For each
-   * resource, there must be at most one IAM policy set on it.
+   * Representation of the actual Cloud IAM policy set on a cloud resource. For each
+   * resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java index b340f65a2f97..ea77a606d221 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java @@ -80,23 +80,23 @@ public static void registerAllExtensions( "nationH\000B\r\n\013destination\"\035\n\016GcsDestinatio" + "n\022\013\n\003uri\030\001 \001(\t*I\n\013ContentType\022\034\n\030CONTENT" + "_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM" + - "_POLICY\020\0022\337\003\n\014AssetService\022\311\001\n\014ExportAss" + + "_POLICY\020\0022\340\003\n\014AssetService\022\311\001\n\014ExportAss" + "ets\022/.google.cloud.asset.v1beta1.ExportA" + "ssetsRequest\032\035.google.longrunning.Operat" + "ion\"i\202\323\344\223\002c\")/v1beta1/{parent=projects/*" + "}:exportAssets:\001*Z3\"./v1beta1/{parent=or" + - "ganizations/*}:exportAssets:\001*\022\202\002\n\025Batch" + + "ganizations/*}:exportAssets:\001*\022\203\002\n\025Batch" + "GetAssetsHistory\0228.google.cloud.asset.v1" + "beta1.BatchGetAssetsHistoryRequest\0329.goo" + "gle.cloud.asset.v1beta1.BatchGetAssetsHi" + - "storyResponse\"t\202\323\344\223\002n\0222/v1beta1/{parent=" + - "projects/*}:batchGetAssetsHistoryZ8\0226/v1" + + "storyResponse\"u\202\323\344\223\002o\0222/v1beta1/{parent=" + + "projects/*}:batchGetAssetsHistoryZ9\0227/v1" + "beta1/{parent=organizations/*}:batchGetA" + - "ssetHistoryB\260\001\n\036com.google.cloud.asset.v" + - "1beta1B\021AssetServiceProtoP\001Z?google.gola" + - "ng.org/genproto/googleapis/cloud/asset/v" + - "1beta1;asset\252\002\032Google.Cloud.Asset.V1Beta" + - "1\312\002\032Google\\Cloud\\Asset\\V1beta1b\006proto3" + "ssetsHistoryB\260\001\n\036com.google.cloud.asset." + + "v1beta1B\021AssetServiceProtoP\001Z?google.gol" + + "ang.org/genproto/googleapis/cloud/asset/" + + "v1beta1;asset\252\002\032Google.Cloud.Asset.V1Bet" + + "a1\312\002\032Google\\Cloud\\Asset\\V1beta1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java index 6f00c7eb3a9a..4addadf344ce 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java @@ -124,8 +124,8 @@ private BatchGetAssetsHistoryRequest( /** *
    * Required. The relative name of the root asset. It can only be an
-   * organization number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id")"or a project number (such as "projects/12345").
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -145,8 +145,8 @@ public java.lang.String getParent() { /** *
    * Required. The relative name of the root asset. It can only be an
-   * organization number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id")"or a project number (such as "projects/12345").
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -169,10 +169,10 @@ public java.lang.String getParent() { private com.google.protobuf.LazyStringList assetNames_; /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -185,10 +185,10 @@ public java.lang.String getParent() { } /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -200,10 +200,10 @@ public int getAssetNamesCount() { } /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -215,10 +215,10 @@ public java.lang.String getAssetNames(int index) { } /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -689,8 +689,8 @@ public Builder mergeFrom( /** *
      * Required. The relative name of the root asset. It can only be an
-     * organization number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id")"or a project number (such as "projects/12345").
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -710,8 +710,8 @@ public java.lang.String getParent() { /** *
      * Required. The relative name of the root asset. It can only be an
-     * organization number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id")"or a project number (such as "projects/12345").
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -732,8 +732,8 @@ public java.lang.String getParent() { /** *
      * Required. The relative name of the root asset. It can only be an
-     * organization number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id")"or a project number (such as "projects/12345").
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -751,8 +751,8 @@ public Builder setParent( /** *
      * Required. The relative name of the root asset. It can only be an
-     * organization number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id")"or a project number (such as "projects/12345").
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -766,8 +766,8 @@ public Builder clearParent() { /** *
      * Required. The relative name of the root asset. It can only be an
-     * organization number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id")"or a project number (such as "projects/12345").
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -793,10 +793,10 @@ private void ensureAssetNamesIsMutable() { } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -809,10 +809,10 @@ private void ensureAssetNamesIsMutable() { } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -824,10 +824,10 @@ public int getAssetNamesCount() { } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -839,10 +839,10 @@ public java.lang.String getAssetNames(int index) { } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -855,10 +855,10 @@ public java.lang.String getAssetNames(int index) { } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -877,10 +877,10 @@ public Builder setAssetNames( } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -899,10 +899,10 @@ public Builder addAssetNames( } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -919,10 +919,10 @@ public Builder addAllAssetNames( } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
@@ -937,10 +937,10 @@ public Builder clearAssetNames() { } /** *
-     * A list of the full names of the assets. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * Example:
-     * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+     * A list of the full names of the assets. For example:
+     * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more info.
      * The request becomes a no-op if the asset name list is empty, and the max
      * size of the asset name list is 100 in one request.
      * 
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java index 015ea0635afd..7e231dfb12b3 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java @@ -10,8 +10,8 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends /** *
    * Required. The relative name of the root asset. It can only be an
-   * organization number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id")"or a project number (such as "projects/12345").
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -20,8 +20,8 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends /** *
    * Required. The relative name of the root asset. It can only be an
-   * organization number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id")"or a project number (such as "projects/12345").
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -31,10 +31,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -45,10 +45,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends getAssetNamesList(); /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -58,10 +58,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends int getAssetNamesCount(); /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
@@ -71,10 +71,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends java.lang.String getAssetNames(int index); /** *
-   * A list of the full names of the assets. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * Example:
-   * "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1".
+   * A list of the full names of the assets. For example:
+   * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more info.
    * The request becomes a no-op if the asset name list is empty, and the max
    * size of the asset name list is 100 in one request.
    * 
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java index 6e9ad14f1adc..91d90fafdd95 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java @@ -136,9 +136,9 @@ private ExportAssetsRequest( private volatile java.lang.Object parent_; /** *
-   * Required. The relative name of the root asset. Can only be an organization
-   * number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id") or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an organization
+   * number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -157,9 +157,9 @@ public java.lang.String getParent() { } /** *
-   * Required. The relative name of the root asset. Can only be an organization
-   * number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id") or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an organization
+   * number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -227,7 +227,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.protobuf.LazyStringList assetTypes_; /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -239,7 +239,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -250,7 +250,7 @@ public int getAssetTypesCount() { } /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -261,7 +261,7 @@ public java.lang.String getAssetTypes(int index) { } /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -759,9 +759,9 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** *
-     * Required. The relative name of the root asset. Can only be an organization
-     * number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id") or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an organization
+     * number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -780,9 +780,9 @@ public java.lang.String getParent() { } /** *
-     * Required. The relative name of the root asset. Can only be an organization
-     * number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id") or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an organization
+     * number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -802,9 +802,9 @@ public java.lang.String getParent() { } /** *
-     * Required. The relative name of the root asset. Can only be an organization
-     * number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id") or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an organization
+     * number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -821,9 +821,9 @@ public Builder setParent( } /** *
-     * Required. The relative name of the root asset. Can only be an organization
-     * number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id") or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an organization
+     * number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -836,9 +836,9 @@ public Builder clearParent() { } /** *
-     * Required. The relative name of the root asset. Can only be an organization
-     * number (such as "organizations/123"), or a project id (such as
-     * "projects/my-project-id") or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an organization
+     * number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), or a project number (such as "projects/12345").
      * 
* * string parent = 1; @@ -1053,7 +1053,7 @@ private void ensureAssetTypesIsMutable() { } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1065,7 +1065,7 @@ private void ensureAssetTypesIsMutable() { } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1076,7 +1076,7 @@ public int getAssetTypesCount() { } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1087,7 +1087,7 @@ public java.lang.String getAssetTypes(int index) { } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1099,7 +1099,7 @@ public java.lang.String getAssetTypes(int index) { } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1117,7 +1117,7 @@ public Builder setAssetTypes( } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1135,7 +1135,7 @@ public Builder addAssetTypes( } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1151,7 +1151,7 @@ public Builder addAllAssetTypes( } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* @@ -1165,7 +1165,7 @@ public Builder clearAssetTypes() { } /** *
-     * A list of asset types of which to take a snapshot for. Example:
+     * A list of asset types of which to take a snapshot for. For example:
      * "google.compute.disk". If specified, only matching assets will be returned.
      * 
* diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java index 2a6d2bd02c2c..2e97a614fd4e 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java @@ -9,9 +9,9 @@ public interface ExportAssetsRequestOrBuilder extends /** *
-   * Required. The relative name of the root asset. Can only be an organization
-   * number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id") or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an organization
+   * number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -19,9 +19,9 @@ public interface ExportAssetsRequestOrBuilder extends java.lang.String getParent(); /** *
-   * Required. The relative name of the root asset. Can only be an organization
-   * number (such as "organizations/123"), or a project id (such as
-   * "projects/my-project-id") or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an organization
+   * number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), or a project number (such as "projects/12345").
    * 
* * string parent = 1; @@ -68,7 +68,7 @@ public interface ExportAssetsRequestOrBuilder extends /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -78,7 +78,7 @@ public interface ExportAssetsRequestOrBuilder extends getAssetTypesList(); /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -87,7 +87,7 @@ public interface ExportAssetsRequestOrBuilder extends int getAssetTypesCount(); /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* @@ -96,7 +96,7 @@ public interface ExportAssetsRequestOrBuilder extends java.lang.String getAssetTypes(int index); /** *
-   * A list of asset types of which to take a snapshot for. Example:
+   * A list of asset types of which to take a snapshot for. For example:
    * "google.compute.disk". If specified, only matching assets will be returned.
    * 
* diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java index 213c84e267d4..6e31b7d723f6 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java @@ -5,7 +5,7 @@ /** *
- * A Google Cloud Storage (GCS) location.
+ * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1beta1.GcsDestination} @@ -89,10 +89,9 @@ private GcsDestination( private volatile java.lang.Object uri_; /** *
-   * The path of the GCS objects. It's the same path that is used by gsutil, for
-   * example: "gs://bucket_name/object_path". See:
-   * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-   * information.
+   * The path of the Cloud Storage objects. It's the same path that is used by
+   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * for more information.
    * 
* * string uri = 1; @@ -111,10 +110,9 @@ public java.lang.String getUri() { } /** *
-   * The path of the GCS objects. It's the same path that is used by gsutil, for
-   * example: "gs://bucket_name/object_path". See:
-   * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-   * information.
+   * The path of the Cloud Storage objects. It's the same path that is used by
+   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * for more information.
    * 
* * string uri = 1; @@ -290,7 +288,7 @@ protected Builder newBuilderForType( } /** *
-   * A Google Cloud Storage (GCS) location.
+   * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1beta1.GcsDestination} @@ -443,10 +441,9 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** *
-     * The path of the GCS objects. It's the same path that is used by gsutil, for
-     * example: "gs://bucket_name/object_path". See:
-     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-     * information.
+     * The path of the Cloud Storage objects. It's the same path that is used by
+     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * for more information.
      * 
* * string uri = 1; @@ -465,10 +462,9 @@ public java.lang.String getUri() { } /** *
-     * The path of the GCS objects. It's the same path that is used by gsutil, for
-     * example: "gs://bucket_name/object_path". See:
-     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-     * information.
+     * The path of the Cloud Storage objects. It's the same path that is used by
+     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * for more information.
      * 
* * string uri = 1; @@ -488,10 +484,9 @@ public java.lang.String getUri() { } /** *
-     * The path of the GCS objects. It's the same path that is used by gsutil, for
-     * example: "gs://bucket_name/object_path". See:
-     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-     * information.
+     * The path of the Cloud Storage objects. It's the same path that is used by
+     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * for more information.
      * 
* * string uri = 1; @@ -508,10 +503,9 @@ public Builder setUri( } /** *
-     * The path of the GCS objects. It's the same path that is used by gsutil, for
-     * example: "gs://bucket_name/object_path". See:
-     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-     * information.
+     * The path of the Cloud Storage objects. It's the same path that is used by
+     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * for more information.
      * 
* * string uri = 1; @@ -524,10 +518,9 @@ public Builder clearUri() { } /** *
-     * The path of the GCS objects. It's the same path that is used by gsutil, for
-     * example: "gs://bucket_name/object_path". See:
-     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-     * information.
+     * The path of the Cloud Storage objects. It's the same path that is used by
+     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * for more information.
      * 
* * string uri = 1; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java index f0a4e3a95884..1f01445f6b2c 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java @@ -9,10 +9,9 @@ public interface GcsDestinationOrBuilder extends /** *
-   * The path of the GCS objects. It's the same path that is used by gsutil, for
-   * example: "gs://bucket_name/object_path". See:
-   * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-   * information.
+   * The path of the Cloud Storage objects. It's the same path that is used by
+   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * for more information.
    * 
* * string uri = 1; @@ -20,10 +19,9 @@ public interface GcsDestinationOrBuilder extends java.lang.String getUri(); /** *
-   * The path of the GCS objects. It's the same path that is used by gsutil, for
-   * example: "gs://bucket_name/object_path". See:
-   * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
-   * information.
+   * The path of the Cloud Storage objects. It's the same path that is used by
+   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * for more information.
    * 
* * string uri = 1; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfig.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfig.java index b034f0192a89..6b885aba860a 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfig.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfig.java @@ -131,7 +131,7 @@ public int getNumber() { public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** *
-   * Destination on Google Cloud Storage (GCS).
+   * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -141,7 +141,7 @@ public boolean hasGcsDestination() { } /** *
-   * Destination on Google Cloud Storage (GCS).
+   * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -154,7 +154,7 @@ public com.google.cloud.asset.v1beta1.GcsDestination getGcsDestination() { } /** *
-   * Destination on Google Cloud Storage (GCS).
+   * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -520,7 +520,7 @@ public Builder clearDestination() { com.google.cloud.asset.v1beta1.GcsDestination, com.google.cloud.asset.v1beta1.GcsDestination.Builder, com.google.cloud.asset.v1beta1.GcsDestinationOrBuilder> gcsDestinationBuilder_; /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -530,7 +530,7 @@ public boolean hasGcsDestination() { } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -550,7 +550,7 @@ public com.google.cloud.asset.v1beta1.GcsDestination getGcsDestination() { } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -570,7 +570,7 @@ public Builder setGcsDestination(com.google.cloud.asset.v1beta1.GcsDestination v } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -588,7 +588,7 @@ public Builder setGcsDestination( } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -614,7 +614,7 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1beta1.GcsDestination } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -637,7 +637,7 @@ public Builder clearGcsDestination() { } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -647,7 +647,7 @@ public com.google.cloud.asset.v1beta1.GcsDestination.Builder getGcsDestinationBu } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -664,7 +664,7 @@ public com.google.cloud.asset.v1beta1.GcsDestinationOrBuilder getGcsDestinationO } /** *
-     * Destination on Google Cloud Storage (GCS).
+     * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfigOrBuilder.java index 2fa0d8472f36..6510d5c3a684 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfigOrBuilder.java @@ -9,7 +9,7 @@ public interface OutputConfigOrBuilder extends /** *
-   * Destination on Google Cloud Storage (GCS).
+   * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -17,7 +17,7 @@ public interface OutputConfigOrBuilder extends boolean hasGcsDestination(); /** *
-   * Destination on Google Cloud Storage (GCS).
+   * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; @@ -25,7 +25,7 @@ public interface OutputConfigOrBuilder extends com.google.cloud.asset.v1beta1.GcsDestination getGcsDestination(); /** *
-   * Destination on Google Cloud Storage (GCS).
+   * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1beta1.GcsDestination gcs_destination = 1; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Resource.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Resource.java index fdddfefe18f6..d7ea897e30d9 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Resource.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Resource.java @@ -173,8 +173,8 @@ public java.lang.String getVersion() { /** *
    * The URL of the discovery document containing the resource's JSON schema.
-   * Example:
-   * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+   * For example:
+   * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
    * It will be left unspecified for resources without a discovery-based API,
    * such as Cloud Bigtable.
    * 
@@ -196,8 +196,8 @@ public java.lang.String getDiscoveryDocumentUri() { /** *
    * The URL of the discovery document containing the resource's JSON schema.
-   * Example:
-   * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+   * For example:
+   * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
    * It will be left unspecified for resources without a discovery-based API,
    * such as Cloud Bigtable.
    * 
@@ -318,11 +318,12 @@ public java.lang.String getResourceUrl() { private volatile java.lang.Object parent_; /** *
-   * The full name of the immediate parent of this resource. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * For GCP assets, it is the parent resource defined in the IAM policy
-   * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-   * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+   * The full name of the immediate parent of this resource. See
+   * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
+   * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+   * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+   * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
    * For third-party assets, it is up to the users to define.
    * 
* @@ -342,11 +343,12 @@ public java.lang.String getParent() { } /** *
-   * The full name of the immediate parent of this resource. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * For GCP assets, it is the parent resource defined in the IAM policy
-   * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-   * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+   * The full name of the immediate parent of this resource. See
+   * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
+   * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+   * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+   * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
    * For third-party assets, it is up to the users to define.
    * 
* @@ -900,8 +902,8 @@ public Builder setVersionBytes( /** *
      * The URL of the discovery document containing the resource's JSON schema.
-     * Example:
-     * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+     * For example:
+     * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
      * It will be left unspecified for resources without a discovery-based API,
      * such as Cloud Bigtable.
      * 
@@ -923,8 +925,8 @@ public java.lang.String getDiscoveryDocumentUri() { /** *
      * The URL of the discovery document containing the resource's JSON schema.
-     * Example:
-     * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+     * For example:
+     * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
      * It will be left unspecified for resources without a discovery-based API,
      * such as Cloud Bigtable.
      * 
@@ -947,8 +949,8 @@ public java.lang.String getDiscoveryDocumentUri() { /** *
      * The URL of the discovery document containing the resource's JSON schema.
-     * Example:
-     * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+     * For example:
+     * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
      * It will be left unspecified for resources without a discovery-based API,
      * such as Cloud Bigtable.
      * 
@@ -968,8 +970,8 @@ public Builder setDiscoveryDocumentUri( /** *
      * The URL of the discovery document containing the resource's JSON schema.
-     * Example:
-     * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+     * For example:
+     * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
      * It will be left unspecified for resources without a discovery-based API,
      * such as Cloud Bigtable.
      * 
@@ -985,8 +987,8 @@ public Builder clearDiscoveryDocumentUri() { /** *
      * The URL of the discovery document containing the resource's JSON schema.
-     * Example:
-     * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+     * For example:
+     * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
      * It will be left unspecified for resources without a discovery-based API,
      * such as Cloud Bigtable.
      * 
@@ -1216,11 +1218,12 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** *
-     * The full name of the immediate parent of this resource. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * For GCP assets, it is the parent resource defined in the IAM policy
-     * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-     * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+     * The full name of the immediate parent of this resource. See
+     * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
+     * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+     * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+     * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
      * For third-party assets, it is up to the users to define.
      * 
* @@ -1240,11 +1243,12 @@ public java.lang.String getParent() { } /** *
-     * The full name of the immediate parent of this resource. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * For GCP assets, it is the parent resource defined in the IAM policy
-     * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-     * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+     * The full name of the immediate parent of this resource. See
+     * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
+     * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+     * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+     * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
      * For third-party assets, it is up to the users to define.
      * 
* @@ -1265,11 +1269,12 @@ public java.lang.String getParent() { } /** *
-     * The full name of the immediate parent of this resource. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * For GCP assets, it is the parent resource defined in the IAM policy
-     * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-     * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+     * The full name of the immediate parent of this resource. See
+     * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
+     * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+     * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+     * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
      * For third-party assets, it is up to the users to define.
      * 
* @@ -1287,11 +1292,12 @@ public Builder setParent( } /** *
-     * The full name of the immediate parent of this resource. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * For GCP assets, it is the parent resource defined in the IAM policy
-     * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-     * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+     * The full name of the immediate parent of this resource. See
+     * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
+     * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+     * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+     * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
      * For third-party assets, it is up to the users to define.
      * 
* @@ -1305,11 +1311,12 @@ public Builder clearParent() { } /** *
-     * The full name of the immediate parent of this resource. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name
-     * For GCP assets, it is the parent resource defined in the IAM policy
-     * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-     * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+     * The full name of the immediate parent of this resource. See
+     * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+     * for more information.
+     * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+     * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+     * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
      * For third-party assets, it is up to the users to define.
      * 
* diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ResourceOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ResourceOrBuilder.java index 15b6539a128c..6c786a4b5347 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ResourceOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ResourceOrBuilder.java @@ -28,8 +28,8 @@ public interface ResourceOrBuilder extends /** *
    * The URL of the discovery document containing the resource's JSON schema.
-   * Example:
-   * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+   * For example:
+   * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
    * It will be left unspecified for resources without a discovery-based API,
    * such as Cloud Bigtable.
    * 
@@ -40,8 +40,8 @@ public interface ResourceOrBuilder extends /** *
    * The URL of the discovery document containing the resource's JSON schema.
-   * Example:
-   * "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest".
+   * For example:
+   * `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
    * It will be left unspecified for resources without a discovery-based API,
    * such as Cloud Bigtable.
    * 
@@ -101,11 +101,12 @@ public interface ResourceOrBuilder extends /** *
-   * The full name of the immediate parent of this resource. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * For GCP assets, it is the parent resource defined in the IAM policy
-   * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-   * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+   * The full name of the immediate parent of this resource. See
+   * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
+   * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+   * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+   * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
    * For third-party assets, it is up to the users to define.
    * 
* @@ -114,11 +115,12 @@ public interface ResourceOrBuilder extends java.lang.String getParent(); /** *
-   * The full name of the immediate parent of this resource. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name
-   * For GCP assets, it is the parent resource defined in the IAM policy
-   * hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy.
-   * Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".
+   * The full name of the immediate parent of this resource. See
+   * [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+   * for more information.
+   * For GCP assets, it is the parent resource defined in the [Cloud IAM policy
+   * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+   * For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
    * For third-party assets, it is up to the users to define.
    * 
* diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto index b64502f68e42..aaaa0ba223b4 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto @@ -32,9 +32,9 @@ option php_namespace = "Google\\Cloud\\Asset\\V1beta1"; // Asset service definition. service AssetService { - // Exports assets with time and resource types to a given Google Cloud Storage + // Exports assets with time and resource types to a given Cloud Storage // location. The output format is newline-delimited JSON. - // This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing users + // This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you // to keep track of the export. rpc ExportAssets(ExportAssetsRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -47,16 +47,16 @@ service AssetService { }; } - // Batch gets assets update history that overlaps a time window. + // Batch gets the update history of assets that overlap a time window. // For RESOURCE content, this API outputs history with asset in both // non-delete or deleted status. - // For IAM_POLICY content, this API only outputs history when asset and its - // attached IAM POLICY both exist. So there may be gaps in the output history. + // For IAM_POLICY content, this API outputs history when the asset and its + // attached IAM POLICY both exist. This can create gaps in the output history. rpc BatchGetAssetsHistory(BatchGetAssetsHistoryRequest) returns (BatchGetAssetsHistoryResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*}:batchGetAssetsHistory" additional_bindings { - get: "/v1beta1/{parent=organizations/*}:batchGetAssetHistory" + get: "/v1beta1/{parent=organizations/*}:batchGetAssetsHistory" } }; } @@ -64,9 +64,9 @@ service AssetService { // Export asset request. message ExportAssetsRequest { - // Required. The relative name of the root asset. Can only be an organization - // number (such as "organizations/123"), or a project id (such as - // "projects/my-project-id") or a project number (such as "projects/12345"). + // Required. The relative name of the root asset. This can only be an organization + // number (such as "organizations/123"), a project ID (such as + // "projects/my-project-id"), or a project number (such as "projects/12345"). string parent = 1; // Timestamp to take an asset snapshot. This can only be set to a timestamp in @@ -76,7 +76,7 @@ message ExportAssetsRequest { // results. google.protobuf.Timestamp read_time = 2; - // A list of asset types of which to take a snapshot for. Example: + // A list of asset types of which to take a snapshot for. For example: // "google.compute.disk". If specified, only matching assets will be returned. repeated string asset_types = 3; @@ -104,14 +104,14 @@ message ExportAssetsResponse { // Batch get assets history request. message BatchGetAssetsHistoryRequest { // Required. The relative name of the root asset. It can only be an - // organization number (such as "organizations/123"), or a project id (such as - // "projects/my-project-id")"or a project number (such as "projects/12345"). + // organization number (such as "organizations/123"), a project ID (such as + // "projects/my-project-id")", or a project number (such as "projects/12345"). string parent = 1; - // A list of the full names of the assets. See: - // https://cloud.google.com/apis/design/resource_names#full_resource_name - // Example: - // "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1". + // A list of the full names of the assets. For example: + // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + // See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more info. // // The request becomes a no-op if the asset name list is empty, and the max // size of the asset name list is 100 in one request. @@ -136,17 +136,16 @@ message BatchGetAssetsHistoryResponse { message OutputConfig { // Asset export destination. oneof destination { - // Destination on Google Cloud Storage (GCS). + // Destination on Cloud Storage. GcsDestination gcs_destination = 1; } } -// A Google Cloud Storage (GCS) location. +// A Cloud Storage location. message GcsDestination { - // The path of the GCS objects. It's the same path that is used by gsutil, for - // example: "gs://bucket_name/object_path". See: - // https://cloud.google.com/storage/docs/viewing-editing-metadata for more - // information. + // The path of the Cloud Storage objects. It's the same path that is used by + // gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) + // for more information. string uri = 1; } diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto index db270b0879fa..5d339a20f007 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto @@ -54,13 +54,12 @@ message TimeWindow { google.protobuf.Timestamp end_time = 2; } -// Cloud asset. This include all Google Cloud Platform resources, as well as -// IAM policies and other non-GCP assets. +// Cloud asset. This includes all Google Cloud Platform resources, +// Cloud IAM policies, and other non-GCP assets. message Asset { - // The full name of the asset. See: - // https://cloud.google.com/apis/design/resource_names#full_resource_name - // Example: - // "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1". + // The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + // See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more information. string name = 1; // Type of the asset. Example: "google.compute.disk". @@ -69,8 +68,8 @@ message Asset { // Representation of the resource. Resource resource = 3; - // Representation of the actual IAM policy set on a cloud resource. For each - // resource, there must be at most one IAM policy set on it. + // Representation of the actual Cloud IAM policy set on a cloud resource. For each + // resource, there must be at most one Cloud IAM policy set on it. google.iam.v1.Policy iam_policy = 4; } @@ -80,8 +79,8 @@ message Resource { string version = 1; // The URL of the discovery document containing the resource's JSON schema. - // Example: - // "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest". + // For example: + // `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. // It will be left unspecified for resources without a discovery-based API, // such as Cloud Bigtable. string discovery_document_uri = 2; @@ -98,12 +97,13 @@ message Resource { // It will be left unspecified for resources without a REST API. string resource_url = 4; - // The full name of the immediate parent of this resource. See: - // https://cloud.google.com/apis/design/resource_names#full_resource_name + // The full name of the immediate parent of this resource. See + // [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more information. // - // For GCP assets, it is the parent resource defined in the IAM policy - // hierarchy: https://cloud.google.com/iam/docs/overview#policy_hierarchy. - // Example: "//cloudresourcemanager.googleapis.com/projects/my_project_123". + // For GCP assets, it is the parent resource defined in the [Cloud IAM policy + // hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). + // For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. // // For third-party assets, it is up to the users to define. string parent = 5; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index abdc13e421e3..5b75d1e931da 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -441,7 +441,7 @@ public java.lang.String getName() { /** *
    * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -452,7 +452,7 @@ public boolean hasAppEngineHttpQueue() { /** *
    * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -466,7 +466,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() /** *
    * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1326,7 +1326,7 @@ public Builder setNameBytes( /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1337,7 +1337,7 @@ public boolean hasAppEngineHttpQueue() { /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1358,7 +1358,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1379,7 +1379,7 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1398,7 +1398,7 @@ public Builder setAppEngineHttpQueue( /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1425,7 +1425,7 @@ public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineH /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1449,7 +1449,7 @@ public Builder clearAppEngineHttpQueue() { /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1460,7 +1460,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHtt /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1478,7 +1478,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt /** *
      * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index 04601d17d2c2..f0cddec6f312 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java @@ -56,7 +56,7 @@ public interface QueueOrBuilder extends /** *
    * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -65,7 +65,7 @@ public interface QueueOrBuilder extends /** *
    * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -74,7 +74,7 @@ public interface QueueOrBuilder extends /** *
    * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type.
+   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto index 64e3db51f0e4..5448e85d4fe9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto @@ -97,7 +97,7 @@ message Queue { oneof queue_type { // App Engine HTTP queue. // - // An App Engine queue is a queue that has an [AppEngineHttpQeueue][] type. + // An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type. AppEngineHttpQueue app_engine_http_queue = 3; } diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java index f07fa8298d50..d4943dad3205 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java @@ -169,10 +169,10 @@ public final OperationsClient getOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Exports assets with time and resource types to a given Google Cloud Storage location. The - * output format is newline-delimited JSON. This API implements the - * [google.longrunning.Operation][google.longrunning.Operation] API allowing users to keep track - * of the export. + * Exports assets with time and resource types to a given Cloud Storage location. The output + * format is newline-delimited JSON. This API implements the + * [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep track of + * the export. * *

Sample code: * @@ -200,10 +200,10 @@ public final OperationFuture exportAs // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Exports assets with time and resource types to a given Google Cloud Storage location. The - * output format is newline-delimited JSON. This API implements the - * [google.longrunning.Operation][google.longrunning.Operation] API allowing users to keep track - * of the export. + * Exports assets with time and resource types to a given Cloud Storage location. The output + * format is newline-delimited JSON. This API implements the + * [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep track of + * the export. * *

Sample code: * @@ -229,10 +229,10 @@ public final OperationFuture exportAs // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Exports assets with time and resource types to a given Google Cloud Storage location. The - * output format is newline-delimited JSON. This API implements the - * [google.longrunning.Operation][google.longrunning.Operation] API allowing users to keep track - * of the export. + * Exports assets with time and resource types to a given Cloud Storage location. The output + * format is newline-delimited JSON. This API implements the + * [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep track of + * the export. * *

Sample code: * @@ -256,9 +256,9 @@ public final UnaryCallable exportAssetsCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Batch gets assets update history that overlaps a time window. For RESOURCE content, this API - * outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, this - * API only outputs history when asset and its attached IAM POLICY both exist. So there may be + * Batch gets the update history of assets that overlap a time window. For RESOURCE content, this + * API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, + * this API outputs history when the asset and its attached IAM POLICY both exist. This can create * gaps in the output history. * *

Sample code: @@ -287,9 +287,9 @@ public final BatchGetAssetsHistoryResponse batchGetAssetsHistory( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Batch gets assets update history that overlaps a time window. For RESOURCE content, this API - * outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, this - * API only outputs history when asset and its attached IAM POLICY both exist. So there may be + * Batch gets the update history of assets that overlap a time window. For RESOURCE content, this + * API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, + * this API outputs history when the asset and its attached IAM POLICY both exist. This can create * gaps in the output history. * *

Sample code: diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index bb9cbc808874..ee0bdc817035 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -342,7 +342,7 @@ public final Dataset getDataset(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Dataset getDataset(GetDatasetRequest request) { + public final Dataset getDataset(GetDatasetRequest request) { return getDatasetCallable().call(request); } @@ -574,7 +574,7 @@ public final OperationFuture deleteDatasetAsync(String */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture deleteDatasetAsync( + public final OperationFuture deleteDatasetAsync( DeleteDatasetRequest request) { return deleteDatasetOperationCallable().futureCall(request); } @@ -1126,7 +1126,7 @@ public final Model getModel(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Model getModel(GetModelRequest request) { + public final Model getModel(GetModelRequest request) { return getModelCallable().call(request); } @@ -1358,7 +1358,7 @@ public final OperationFuture deleteModelAsync(String n */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture deleteModelAsync( + public final OperationFuture deleteModelAsync( DeleteModelRequest request) { return deleteModelOperationCallable().futureCall(request); } @@ -1482,7 +1482,7 @@ public final Operation deployModel(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Operation deployModel(DeployModelRequest request) { + public final Operation deployModel(DeployModelRequest request) { return deployModelCallable().call(request); } @@ -1576,7 +1576,7 @@ public final Operation undeployModel(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Operation undeployModel(UndeployModelRequest request) { + public final Operation undeployModel(UndeployModelRequest request) { return undeployModelCallable().call(request); } @@ -1670,7 +1670,7 @@ public final ModelEvaluation getModelEvaluation(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ModelEvaluation getModelEvaluation(GetModelEvaluationRequest request) { + public final ModelEvaluation getModelEvaluation(GetModelEvaluationRequest request) { return getModelEvaluationCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java index 4d5a7ef482d4..aa6b459a33f4 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java @@ -224,7 +224,7 @@ public final DataSource getDataSource(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final DataSource getDataSource(GetDataSourceRequest request) { + public final DataSource getDataSource(GetDataSourceRequest request) { return getDataSourceCallable().call(request); } @@ -642,7 +642,7 @@ public final void deleteTransferConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteTransferConfig(DeleteTransferConfigRequest request) { + public final void deleteTransferConfig(DeleteTransferConfigRequest request) { deleteTransferConfigCallable().call(request); } @@ -736,7 +736,7 @@ public final TransferConfig getTransferConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final TransferConfig getTransferConfig(GetTransferConfigRequest request) { + public final TransferConfig getTransferConfig(GetTransferConfigRequest request) { return getTransferConfigCallable().call(request); } @@ -1096,7 +1096,7 @@ public final TransferRun getTransferRun(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final TransferRun getTransferRun(GetTransferRunRequest request) { + public final TransferRun getTransferRun(GetTransferRunRequest request) { return getTransferRunCallable().call(request); } @@ -1190,7 +1190,7 @@ public final void deleteTransferRun(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteTransferRun(DeleteTransferRunRequest request) { + public final void deleteTransferRun(DeleteTransferRunRequest request) { deleteTransferRunCallable().call(request); } @@ -1559,7 +1559,7 @@ public final CheckValidCredsResponse checkValidCreds(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final CheckValidCredsResponse checkValidCreds(CheckValidCredsRequest request) { + public final CheckValidCredsResponse checkValidCreds(CheckValidCredsRequest request) { return checkValidCredsCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java index 5cc716c7d21d..b198173adbd9 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java @@ -451,7 +451,7 @@ public final Instance getInstance(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Instance getInstance(GetInstanceRequest request) { + public final Instance getInstance(GetInstanceRequest request) { return getInstanceCallable().call(request); } @@ -748,7 +748,7 @@ public final void deleteInstance(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteInstance(DeleteInstanceRequest request) { + public final void deleteInstance(DeleteInstanceRequest request) { deleteInstanceCallable().call(request); } @@ -996,7 +996,7 @@ public final Cluster getCluster(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Cluster getCluster(GetClusterRequest request) { + public final Cluster getCluster(GetClusterRequest request) { return getClusterCallable().call(request); } @@ -1263,7 +1263,7 @@ public final void deleteCluster(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteCluster(DeleteClusterRequest request) { + public final void deleteCluster(DeleteClusterRequest request) { deleteClusterCallable().call(request); } @@ -1478,7 +1478,7 @@ public final AppProfile getAppProfile(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final AppProfile getAppProfile(GetAppProfileRequest request) { + public final AppProfile getAppProfile(GetAppProfileRequest request) { return getAppProfileCallable().call(request); } @@ -1892,7 +1892,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index 168d78d71cd3..ee5677963148 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -804,7 +804,7 @@ public final void deleteTable(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteTable(DeleteTableRequest request) { + public final void deleteTable(DeleteTableRequest request) { deleteTableCallable().call(request); } @@ -1073,7 +1073,7 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken(String na * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final GenerateConsistencyTokenResponse generateConsistencyToken( + public final GenerateConsistencyTokenResponse generateConsistencyToken( GenerateConsistencyTokenRequest request) { return generateConsistencyTokenCallable().call(request); } @@ -1498,7 +1498,7 @@ public final Snapshot getSnapshot(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Snapshot getSnapshot(GetSnapshotRequest request) { + public final Snapshot getSnapshot(GetSnapshotRequest request) { return getSnapshotCallable().call(request); } @@ -1771,7 +1771,7 @@ public final void deleteSnapshot(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSnapshot(DeleteSnapshotRequest request) { + public final void deleteSnapshot(DeleteSnapshotRequest request) { deleteSnapshotCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java index 5c1acb5c85e4..034853f15cce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java @@ -25,21 +25,27 @@ @Generated("by GAPIC") @BetaApi public final class CustomerEncryptionKey implements ApiMessage { + private final String kmsKeyName; private final String rawKey; private final String sha256; private CustomerEncryptionKey() { + this.kmsKeyName = null; this.rawKey = null; this.sha256 = null; } - private CustomerEncryptionKey(String rawKey, String sha256) { + private CustomerEncryptionKey(String kmsKeyName, String rawKey, String sha256) { + this.kmsKeyName = kmsKeyName; this.rawKey = rawKey; this.sha256 = sha256; } @Override public Object getFieldValue(String fieldName) { + if (fieldName.equals("kmsKeyName")) { + return kmsKeyName; + } if (fieldName.equals("rawKey")) { return rawKey; } @@ -61,6 +67,10 @@ public List getFieldMask() { return null; } + public String getKmsKeyName() { + return kmsKeyName; + } + public String getRawKey() { return rawKey; } @@ -92,6 +102,7 @@ public static CustomerEncryptionKey getDefaultInstance() { } public static class Builder { + private String kmsKeyName; private String rawKey; private String sha256; @@ -99,6 +110,9 @@ public static class Builder { public Builder mergeFrom(CustomerEncryptionKey other) { if (other == CustomerEncryptionKey.getDefaultInstance()) return this; + if (other.getKmsKeyName() != null) { + this.kmsKeyName = other.kmsKeyName; + } if (other.getRawKey() != null) { this.rawKey = other.rawKey; } @@ -109,10 +123,20 @@ public Builder mergeFrom(CustomerEncryptionKey other) { } Builder(CustomerEncryptionKey source) { + this.kmsKeyName = source.kmsKeyName; this.rawKey = source.rawKey; this.sha256 = source.sha256; } + public String getKmsKeyName() { + return kmsKeyName; + } + + public Builder setKmsKeyName(String kmsKeyName) { + this.kmsKeyName = kmsKeyName; + return this; + } + public String getRawKey() { return rawKey; } @@ -133,11 +157,12 @@ public Builder setSha256(String sha256) { public CustomerEncryptionKey build() { - return new CustomerEncryptionKey(rawKey, sha256); + return new CustomerEncryptionKey(kmsKeyName, rawKey, sha256); } public Builder clone() { Builder newBuilder = new Builder(); + newBuilder.setKmsKeyName(this.kmsKeyName); newBuilder.setRawKey(this.rawKey); newBuilder.setSha256(this.sha256); return newBuilder; @@ -146,7 +171,16 @@ public Builder clone() { @Override public String toString() { - return "CustomerEncryptionKey{" + "rawKey=" + rawKey + ", " + "sha256=" + sha256 + "}"; + return "CustomerEncryptionKey{" + + "kmsKeyName=" + + kmsKeyName + + ", " + + "rawKey=" + + rawKey + + ", " + + "sha256=" + + sha256 + + "}"; } @Override @@ -156,7 +190,8 @@ public boolean equals(Object o) { } if (o instanceof CustomerEncryptionKey) { CustomerEncryptionKey that = (CustomerEncryptionKey) o; - return Objects.equals(this.rawKey, that.getRawKey()) + return Objects.equals(this.kmsKeyName, that.getKmsKeyName()) + && Objects.equals(this.rawKey, that.getRawKey()) && Objects.equals(this.sha256, that.getSha256()); } return false; @@ -164,6 +199,6 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(rawKey, sha256); + return Objects.hash(kmsKeyName, rawKey, sha256); } } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java index d9cf64e2df11..62fc0e5b3437 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java @@ -30,6 +30,7 @@ public final class HttpHealthCheck implements ApiMessage { private final String portName; private final String proxyHeader; private final String requestPath; + private final String response; private HttpHealthCheck() { this.host = null; @@ -37,15 +38,22 @@ private HttpHealthCheck() { this.portName = null; this.proxyHeader = null; this.requestPath = null; + this.response = null; } private HttpHealthCheck( - String host, Integer port, String portName, String proxyHeader, String requestPath) { + String host, + Integer port, + String portName, + String proxyHeader, + String requestPath, + String response) { this.host = host; this.port = port; this.portName = portName; this.proxyHeader = proxyHeader; this.requestPath = requestPath; + this.response = response; } @Override @@ -65,6 +73,9 @@ public Object getFieldValue(String fieldName) { if (fieldName.equals("requestPath")) { return requestPath; } + if (fieldName.equals("response")) { + return response; + } return null; } @@ -100,6 +111,10 @@ public String getRequestPath() { return requestPath; } + public String getResponse() { + return response; + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } @@ -128,6 +143,7 @@ public static class Builder { private String portName; private String proxyHeader; private String requestPath; + private String response; Builder() {} @@ -148,6 +164,9 @@ public Builder mergeFrom(HttpHealthCheck other) { if (other.getRequestPath() != null) { this.requestPath = other.requestPath; } + if (other.getResponse() != null) { + this.response = other.response; + } return this; } @@ -157,6 +176,7 @@ public Builder mergeFrom(HttpHealthCheck other) { this.portName = source.portName; this.proxyHeader = source.proxyHeader; this.requestPath = source.requestPath; + this.response = source.response; } public String getHost() { @@ -204,9 +224,18 @@ public Builder setRequestPath(String requestPath) { return this; } + public String getResponse() { + return response; + } + + public Builder setResponse(String response) { + this.response = response; + return this; + } + public HttpHealthCheck build() { - return new HttpHealthCheck(host, port, portName, proxyHeader, requestPath); + return new HttpHealthCheck(host, port, portName, proxyHeader, requestPath, response); } public Builder clone() { @@ -216,6 +245,7 @@ public Builder clone() { newBuilder.setPortName(this.portName); newBuilder.setProxyHeader(this.proxyHeader); newBuilder.setRequestPath(this.requestPath); + newBuilder.setResponse(this.response); return newBuilder; } } @@ -237,6 +267,9 @@ public String toString() { + ", " + "requestPath=" + requestPath + + ", " + + "response=" + + response + "}"; } @@ -251,13 +284,14 @@ public boolean equals(Object o) { && Objects.equals(this.port, that.getPort()) && Objects.equals(this.portName, that.getPortName()) && Objects.equals(this.proxyHeader, that.getProxyHeader()) - && Objects.equals(this.requestPath, that.getRequestPath()); + && Objects.equals(this.requestPath, that.getRequestPath()) + && Objects.equals(this.response, that.getResponse()); } return false; } @Override public int hashCode() { - return Objects.hash(host, port, portName, proxyHeader, requestPath); + return Objects.hash(host, port, portName, proxyHeader, requestPath, response); } } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java index 3631367073bd..3eb3d32cd09c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java @@ -30,6 +30,7 @@ public final class HttpSHealthCheck implements ApiMessage { private final String portName; private final String proxyHeader; private final String requestPath; + private final String response; private HttpSHealthCheck() { this.host = null; @@ -37,15 +38,22 @@ private HttpSHealthCheck() { this.portName = null; this.proxyHeader = null; this.requestPath = null; + this.response = null; } private HttpSHealthCheck( - String host, Integer port, String portName, String proxyHeader, String requestPath) { + String host, + Integer port, + String portName, + String proxyHeader, + String requestPath, + String response) { this.host = host; this.port = port; this.portName = portName; this.proxyHeader = proxyHeader; this.requestPath = requestPath; + this.response = response; } @Override @@ -65,6 +73,9 @@ public Object getFieldValue(String fieldName) { if (fieldName.equals("requestPath")) { return requestPath; } + if (fieldName.equals("response")) { + return response; + } return null; } @@ -100,6 +111,10 @@ public String getRequestPath() { return requestPath; } + public String getResponse() { + return response; + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } @@ -128,6 +143,7 @@ public static class Builder { private String portName; private String proxyHeader; private String requestPath; + private String response; Builder() {} @@ -148,6 +164,9 @@ public Builder mergeFrom(HttpSHealthCheck other) { if (other.getRequestPath() != null) { this.requestPath = other.requestPath; } + if (other.getResponse() != null) { + this.response = other.response; + } return this; } @@ -157,6 +176,7 @@ public Builder mergeFrom(HttpSHealthCheck other) { this.portName = source.portName; this.proxyHeader = source.proxyHeader; this.requestPath = source.requestPath; + this.response = source.response; } public String getHost() { @@ -204,9 +224,18 @@ public Builder setRequestPath(String requestPath) { return this; } + public String getResponse() { + return response; + } + + public Builder setResponse(String response) { + this.response = response; + return this; + } + public HttpSHealthCheck build() { - return new HttpSHealthCheck(host, port, portName, proxyHeader, requestPath); + return new HttpSHealthCheck(host, port, portName, proxyHeader, requestPath, response); } public Builder clone() { @@ -216,6 +245,7 @@ public Builder clone() { newBuilder.setPortName(this.portName); newBuilder.setProxyHeader(this.proxyHeader); newBuilder.setRequestPath(this.requestPath); + newBuilder.setResponse(this.response); return newBuilder; } } @@ -237,6 +267,9 @@ public String toString() { + ", " + "requestPath=" + requestPath + + ", " + + "response=" + + response + "}"; } @@ -251,13 +284,14 @@ public boolean equals(Object o) { && Objects.equals(this.port, that.getPort()) && Objects.equals(this.portName, that.getPortName()) && Objects.equals(this.proxyHeader, that.getProxyHeader()) - && Objects.equals(this.requestPath, that.getRequestPath()); + && Objects.equals(this.requestPath, that.getRequestPath()) + && Objects.equals(this.response, that.getResponse()); } return false; } @Override public int hashCode() { - return Objects.hash(host, port, portName, proxyHeader, requestPath); + return Objects.hash(host, port, portName, proxyHeader, requestPath, response); } } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java index c6d3139c3ab4..ccfd31877491 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java @@ -645,7 +645,7 @@ public final Project getProject(String project) { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - private final Project getProject(GetProjectHttpRequest request) { + public final Project getProject(GetProjectHttpRequest request) { return getProjectCallable().call(request); } @@ -742,7 +742,7 @@ public final Project getXpnHostProject(String project) { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - private final Project getXpnHostProject(GetXpnHostProjectHttpRequest request) { + public final Project getXpnHostProject(GetXpnHostProjectHttpRequest request) { return getXpnHostProjectCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java index cbb4a1271182..a9de1ea09bbd 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java @@ -394,7 +394,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } @@ -623,7 +623,7 @@ public final ScanConfig getScanConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ScanConfig getScanConfig(GetScanConfigRequest request) { + public final ScanConfig getScanConfig(GetScanConfigRequest request) { return getScanConfigCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java index a2caf579212e..fa42f67af801 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java @@ -258,7 +258,7 @@ public final Occurrence getOccurrence(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Occurrence getOccurrence(GetOccurrenceRequest request) { + public final Occurrence getOccurrence(GetOccurrenceRequest request) { return getOccurrenceCallable().call(request); } @@ -492,7 +492,7 @@ public final void deleteOccurrence(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteOccurrence(DeleteOccurrenceRequest request) { + public final void deleteOccurrence(DeleteOccurrenceRequest request) { deleteOccurrenceCallable().call(request); } @@ -920,7 +920,7 @@ public final Note getOccurrenceNote(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Note getOccurrenceNote(GetOccurrenceNoteRequest request) { + public final Note getOccurrenceNote(GetOccurrenceNoteRequest request) { return getOccurrenceNoteCallable().call(request); } @@ -1011,7 +1011,7 @@ public final Note getNote(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Note getNote(GetNoteRequest request) { + public final Note getNote(GetNoteRequest request) { return getNoteCallable().call(request); } @@ -1236,7 +1236,7 @@ public final void deleteNote(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteNote(DeleteNoteRequest request) { + public final void deleteNote(DeleteNoteRequest request) { deleteNoteCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java index 63feb23ba17b..5d1bf1e1d638 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java @@ -651,7 +651,7 @@ public final WorkflowTemplate updateWorkflowTemplate(WorkflowTemplate template) * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final WorkflowTemplate updateWorkflowTemplate(UpdateWorkflowTemplateRequest request) { + public final WorkflowTemplate updateWorkflowTemplate(UpdateWorkflowTemplateRequest request) { return updateWorkflowTemplateCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index a4b7270dbfe9..138b9c8e9a0b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java @@ -257,7 +257,7 @@ public final Agent getAgent(String parent) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Agent getAgent(GetAgentRequest request) { + public final Agent getAgent(GetAgentRequest request) { return getAgentCallable().call(request); } @@ -521,7 +521,7 @@ public final OperationFuture trainAgentAsync(String parent) { */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture trainAgentAsync(TrainAgentRequest request) { + public final OperationFuture trainAgentAsync(TrainAgentRequest request) { return trainAgentOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java index fbf2d052d98c..7bdb066c23a7 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java @@ -363,7 +363,7 @@ public final Context getContext(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Context getContext(GetContextRequest request) { + public final Context getContext(GetContextRequest request) { return getContextCallable().call(request); } @@ -626,7 +626,7 @@ public final void deleteContext(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteContext(DeleteContextRequest request) { + public final void deleteContext(DeleteContextRequest request) { deleteContextCallable().call(request); } @@ -721,7 +721,7 @@ public final void deleteAllContexts(String parent) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteAllContexts(DeleteAllContextsRequest request) { + public final void deleteAllContexts(DeleteAllContextsRequest request) { deleteAllContextsCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java index 68359602ee1f..4a6ecf2f37b7 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java @@ -888,7 +888,7 @@ public final void deleteEntityType(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteEntityType(DeleteEntityTypeRequest request) { + public final void deleteEntityType(DeleteEntityTypeRequest request) { deleteEntityTypeCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index d9d5f7e62fdf..7644dc0a57a6 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -897,7 +897,7 @@ public final void deleteIntent(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteIntent(DeleteIntentRequest request) { + public final void deleteIntent(DeleteIntentRequest request) { deleteIntentCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java index dd0f3cbe8a2d..d71b854e0293 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java @@ -367,7 +367,7 @@ public final SessionEntityType getSessionEntityType(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest request) { + public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest request) { return getSessionEntityTypeCallable().call(request); } @@ -643,7 +643,7 @@ public final void deleteSessionEntityType(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request) { + public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request) { deleteSessionEntityTypeCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java index b77b83f27ef9..6c876cbe33dd 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java @@ -258,7 +258,7 @@ public final Agent getAgent(String parent) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Agent getAgent(GetAgentRequest request) { + public final Agent getAgent(GetAgentRequest request) { return getAgentCallable().call(request); } @@ -522,7 +522,7 @@ public final OperationFuture trainAgentAsync(String parent) { */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture trainAgentAsync(TrainAgentRequest request) { + public final OperationFuture trainAgentAsync(TrainAgentRequest request) { return trainAgentOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java index f779728c7a85..37cfa14d2496 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java @@ -377,7 +377,7 @@ public final Context getContext(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Context getContext(GetContextRequest request) { + public final Context getContext(GetContextRequest request) { return getContextCallable().call(request); } @@ -654,7 +654,7 @@ public final void deleteContext(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteContext(DeleteContextRequest request) { + public final void deleteContext(DeleteContextRequest request) { deleteContextCallable().call(request); } @@ -755,7 +755,7 @@ public final void deleteAllContexts(String parent) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteAllContexts(DeleteAllContextsRequest request) { + public final void deleteAllContexts(DeleteAllContextsRequest request) { deleteAllContextsCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java index cc23b0f7b550..b9a409c3cc5a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java @@ -366,7 +366,7 @@ public final Document getDocument(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Document getDocument(GetDocumentRequest request) { + public final Document getDocument(GetDocumentRequest request) { return getDocumentCallable().call(request); } @@ -628,7 +628,7 @@ public final OperationFuture deleteDocumentAs */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture deleteDocumentAsync( + public final OperationFuture deleteDocumentAsync( DeleteDocumentRequest request) { return deleteDocumentOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java index 4f2be73334fd..71af4ba4eec3 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java @@ -888,7 +888,7 @@ public final void deleteEntityType(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteEntityType(DeleteEntityTypeRequest request) { + public final void deleteEntityType(DeleteEntityTypeRequest request) { deleteEntityTypeCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java index c47263c766a1..10ffcec3f918 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java @@ -897,7 +897,7 @@ public final void deleteIntent(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteIntent(DeleteIntentRequest request) { + public final void deleteIntent(DeleteIntentRequest request) { deleteIntentCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java index 5fab2c8ec253..6a96e53765e0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java @@ -356,7 +356,7 @@ public final KnowledgeBase getKnowledgeBase(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final KnowledgeBase getKnowledgeBase(GetKnowledgeBaseRequest request) { + public final KnowledgeBase getKnowledgeBase(GetKnowledgeBaseRequest request) { return getKnowledgeBaseCallable().call(request); } @@ -559,7 +559,7 @@ public final void deleteKnowledgeBase(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteKnowledgeBase(DeleteKnowledgeBaseRequest request) { + public final void deleteKnowledgeBase(DeleteKnowledgeBaseRequest request) { deleteKnowledgeBaseCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java index a60868ff21d2..355b9c1204e0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java @@ -381,7 +381,7 @@ public final SessionEntityType getSessionEntityType(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest request) { + public final SessionEntityType getSessionEntityType(GetSessionEntityTypeRequest request) { return getSessionEntityTypeCallable().call(request); } @@ -675,7 +675,7 @@ public final void deleteSessionEntityType(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request) { + public final void deleteSessionEntityType(DeleteSessionEntityTypeRequest request) { deleteSessionEntityTypeCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java index a4b822bd463b..b71c0d869c62 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java @@ -225,7 +225,7 @@ public final ErrorGroup getGroup(String groupName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ErrorGroup getGroup(GetGroupRequest request) { + public final ErrorGroup getGroup(GetGroupRequest request) { return getGroupCallable().call(request); } @@ -292,7 +292,7 @@ public final ErrorGroup updateGroup(ErrorGroup group) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ErrorGroup updateGroup(UpdateGroupRequest request) { + public final ErrorGroup updateGroup(UpdateGroupRequest request) { return updateGroupCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java index 387060fe53f1..02c377d68d80 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java @@ -546,7 +546,7 @@ public final DeleteEventsResponse deleteEvents(String projectName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final DeleteEventsResponse deleteEvents(DeleteEventsRequest request) { + public final DeleteEventsResponse deleteEvents(DeleteEventsRequest request) { return deleteEventsCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java index de0a3cd88c6c..53aee631cf58 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java @@ -341,7 +341,7 @@ public final DeviceRegistry getDeviceRegistry(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final DeviceRegistry getDeviceRegistry(GetDeviceRegistryRequest request) { + public final DeviceRegistry getDeviceRegistry(GetDeviceRegistryRequest request) { return getDeviceRegistryCallable().call(request); } @@ -520,7 +520,7 @@ public final void deleteDeviceRegistry(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteDeviceRegistry(DeleteDeviceRegistryRequest request) { + public final void deleteDeviceRegistry(DeleteDeviceRegistryRequest request) { deleteDeviceRegistryCallable().call(request); } @@ -1028,7 +1028,7 @@ public final void deleteDevice(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteDevice(DeleteDeviceRequest request) { + public final void deleteDevice(DeleteDeviceRequest request) { deleteDeviceCallable().call(request); } @@ -1681,7 +1681,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java index 40b59707ae22..68ac2e5b98bb 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java @@ -635,7 +635,7 @@ public final KeyRing getKeyRing(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final KeyRing getKeyRing(GetKeyRingRequest request) { + public final KeyRing getKeyRing(GetKeyRingRequest request) { return getKeyRingCallable().call(request); } @@ -733,7 +733,7 @@ public final CryptoKey getCryptoKey(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final CryptoKey getCryptoKey(GetCryptoKeyRequest request) { + public final CryptoKey getCryptoKey(GetCryptoKeyRequest request) { return getCryptoKeyCallable().call(request); } @@ -830,7 +830,7 @@ public final CryptoKeyVersion getCryptoKeyVersion(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final CryptoKeyVersion getCryptoKeyVersion(GetCryptoKeyVersionRequest request) { + public final CryptoKeyVersion getCryptoKeyVersion(GetCryptoKeyVersionRequest request) { return getCryptoKeyVersionCallable().call(request); } @@ -1963,7 +1963,7 @@ public final CryptoKeyVersion destroyCryptoKeyVersion(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final CryptoKeyVersion destroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest request) { + public final CryptoKeyVersion destroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest request) { return destroyCryptoKeyVersionCallable().call(request); } @@ -2093,7 +2093,7 @@ public final CryptoKeyVersion restoreCryptoKeyVersion(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final CryptoKeyVersion restoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest request) { + public final CryptoKeyVersion restoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest request) { return restoreCryptoKeyVersionCallable().call(request); } @@ -2655,7 +2655,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java index 264f0e54921d..7698c5c689ce 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java @@ -188,7 +188,7 @@ public final AnalyzeSentimentResponse analyzeSentiment(Document document) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final AnalyzeSentimentResponse analyzeSentiment(AnalyzeSentimentRequest request) { + public final AnalyzeSentimentResponse analyzeSentiment(AnalyzeSentimentRequest request) { return analyzeSentimentCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java index c01e89556ba0..1bebf32b1ae1 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java @@ -189,7 +189,7 @@ public final AnalyzeSentimentResponse analyzeSentiment(Document document) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final AnalyzeSentimentResponse analyzeSentiment(AnalyzeSentimentRequest request) { + public final AnalyzeSentimentResponse analyzeSentiment(AnalyzeSentimentRequest request) { return analyzeSentimentCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java index b9bf9a233bc8..9bf9398fe23f 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java @@ -377,7 +377,7 @@ public final LogSink getSink(String sinkName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final LogSink getSink(GetSinkRequest request) { + public final LogSink getSink(GetSinkRequest request) { return getSinkCallable().call(request); } @@ -826,7 +826,7 @@ public final void deleteSink(String sinkName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSink(DeleteSinkRequest request) { + public final void deleteSink(DeleteSinkRequest request) { deleteSinkCallable().call(request); } @@ -1062,7 +1062,7 @@ public final LogExclusion getExclusion(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final LogExclusion getExclusion(GetExclusionRequest request) { + public final LogExclusion getExclusion(GetExclusionRequest request) { return getExclusionCallable().call(request); } @@ -1415,7 +1415,7 @@ public final void deleteExclusion(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteExclusion(DeleteExclusionRequest request) { + public final void deleteExclusion(DeleteExclusionRequest request) { deleteExclusionCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java index 79df0e897089..aad9aa0d80f3 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java @@ -245,7 +245,7 @@ public final void deleteLog(String logName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteLog(DeleteLogRequest request) { + public final void deleteLog(DeleteLogRequest request) { deleteLogCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java index 52368c478f53..5d42ac65e676 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java @@ -362,7 +362,7 @@ public final LogMetric getLogMetric(String metricName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final LogMetric getLogMetric(GetLogMetricRequest request) { + public final LogMetric getLogMetric(GetLogMetricRequest request) { return getLogMetricCallable().call(request); } @@ -673,7 +673,7 @@ public final void deleteLogMetric(String metricName) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteLogMetric(DeleteLogMetricRequest request) { + public final void deleteLogMetric(DeleteLogMetricRequest request) { deleteLogMetricCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index 17375a6c3886..5a370dff7bc7 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -317,7 +317,7 @@ public final Group getGroup(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Group getGroup(GetGroupRequest request) { + public final Group getGroup(GetGroupRequest request) { return getGroupCallable().call(request); } @@ -583,7 +583,7 @@ public final void deleteGroup(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteGroup(DeleteGroupRequest request) { + public final void deleteGroup(DeleteGroupRequest request) { deleteGroupCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index c87afc40fac8..14ca01cbbadf 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -391,7 +391,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor(String n * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final MonitoredResourceDescriptor getMonitoredResourceDescriptor( + public final MonitoredResourceDescriptor getMonitoredResourceDescriptor( GetMonitoredResourceDescriptorRequest request) { return getMonitoredResourceDescriptorCallable().call(request); } @@ -631,7 +631,7 @@ public final MetricDescriptor getMetricDescriptor(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest request) { + public final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest request) { return getMetricDescriptorCallable().call(request); } @@ -846,7 +846,7 @@ public final void deleteMetricDescriptor(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request) { + public final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request) { deleteMetricDescriptorCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index 582e251cc67d..cd31accb645f 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -323,7 +323,7 @@ public final UptimeCheckConfig getUptimeCheckConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest request) { + public final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest request) { return getUptimeCheckConfigCallable().call(request); } @@ -559,7 +559,7 @@ public final void deleteUptimeCheckConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request) { + public final void deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request) { deleteUptimeCheckConfigCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java index f06cdc6206e1..dba7d3faeaf3 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java @@ -221,7 +221,7 @@ public final void deletePosixAccount(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deletePosixAccount(DeletePosixAccountRequest request) { + public final void deletePosixAccount(DeletePosixAccountRequest request) { deletePosixAccountCallable().call(request); } @@ -318,7 +318,7 @@ public final void deleteSshPublicKey(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSshPublicKey(DeleteSshPublicKeyRequest request) { + public final void deleteSshPublicKey(DeleteSshPublicKeyRequest request) { deleteSshPublicKeyCallable().call(request); } @@ -411,7 +411,7 @@ public final LoginProfile getLoginProfile(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final LoginProfile getLoginProfile(GetLoginProfileRequest request) { + public final LoginProfile getLoginProfile(GetLoginProfileRequest request) { return getLoginProfileCallable().call(request); } @@ -506,7 +506,7 @@ public final SshPublicKey getSshPublicKey(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final SshPublicKey getSshPublicKey(GetSshPublicKeyRequest request) { + public final SshPublicKey getSshPublicKey(GetSshPublicKeyRequest request) { return getSshPublicKeyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java index 6657e5f80d41..95d706e5083f 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java @@ -461,7 +461,7 @@ public final Subscription getSubscription(String subscription) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Subscription getSubscription(GetSubscriptionRequest request) { + public final Subscription getSubscription(GetSubscriptionRequest request) { return getSubscriptionCallable().call(request); } @@ -764,7 +764,7 @@ public final void deleteSubscription(String subscription) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSubscription(DeleteSubscriptionRequest request) { + public final void deleteSubscription(DeleteSubscriptionRequest request) { deleteSubscriptionCallable().call(request); } @@ -1823,7 +1823,7 @@ public final void deleteSnapshot(String snapshot) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSnapshot(DeleteSnapshotRequest request) { + public final void deleteSnapshot(DeleteSnapshotRequest request) { deleteSnapshotCallable().call(request); } @@ -2029,7 +2029,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java index 66b45a50d291..bb6e8b7aafc2 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java @@ -248,7 +248,7 @@ public final Topic createTopic(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Topic createTopic(Topic request) { + public final Topic createTopic(Topic request) { return createTopicCallable().call(request); } @@ -517,7 +517,7 @@ public final Topic getTopic(String topic) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Topic getTopic(GetTopicRequest request) { + public final Topic getTopic(GetTopicRequest request) { return getTopicCallable().call(request); } @@ -882,7 +882,7 @@ public final void deleteTopic(String topic) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteTopic(DeleteTopicRequest request) { + public final void deleteTopic(DeleteTopicRequest request) { deleteTopicCallable().call(request); } @@ -1034,7 +1034,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index a53c9a141dd0..9d683ee79520 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -479,7 +479,6 @@ public static class Builder extends StubSettings.BuildernewArrayList( - StatusCode.Code.CANCELLED, StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.INTERNAL, StatusCode.Code.RESOURCE_EXHAUSTED, @@ -643,7 +642,7 @@ private static Builder initDefaults(Builder builder) { builder .acknowledgeSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("messaging")); builder diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java index 117c4ab91338..139809f2df38 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java @@ -416,7 +416,7 @@ public final Instance getInstance(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Instance getInstance(GetInstanceRequest request) { + public final Instance getInstance(GetInstanceRequest request) { return getInstanceCallable().call(request); } @@ -923,7 +923,7 @@ public final OperationFuture deleteInstanceAsync(Strin */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture deleteInstanceAsync( + public final OperationFuture deleteInstanceAsync( DeleteInstanceRequest request) { return deleteInstanceOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java index 3a6a581520cb..ceaf48ff4445 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java @@ -417,7 +417,7 @@ public final Instance getInstance(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Instance getInstance(GetInstanceRequest request) { + public final Instance getInstance(GetInstanceRequest request) { return getInstanceCallable().call(request); } @@ -922,7 +922,7 @@ public final OperationFuture deleteInstanceAsync(String name) { */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture deleteInstanceAsync(DeleteInstanceRequest request) { + public final OperationFuture deleteInstanceAsync(DeleteInstanceRequest request) { return deleteInstanceOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java index d91b43e7dedd..3199110cdbcb 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java @@ -263,7 +263,7 @@ public final ListDatabasesPagedResponse listDatabases(String parent) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ListDatabasesPagedResponse listDatabases(ListDatabasesRequest request) { + public final ListDatabasesPagedResponse listDatabases(ListDatabasesRequest request) { return listDatabasesPagedCallable().call(request); } @@ -569,7 +569,7 @@ public final Database getDatabase(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Database getDatabase(GetDatabaseRequest request) { + public final Database getDatabase(GetDatabaseRequest request) { return getDatabaseCallable().call(request); } @@ -831,7 +831,7 @@ public final void dropDatabase(String database) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void dropDatabase(DropDatabaseRequest request) { + public final void dropDatabase(DropDatabaseRequest request) { dropDatabaseCallable().call(request); } @@ -930,7 +930,7 @@ public final GetDatabaseDdlResponse getDatabaseDdl(String database) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final GetDatabaseDdlResponse getDatabaseDdl(GetDatabaseDdlRequest request) { + public final GetDatabaseDdlResponse getDatabaseDdl(GetDatabaseDdlRequest request) { return getDatabaseDdlCallable().call(request); } @@ -1097,7 +1097,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java index baa270709c1e..ee8a28c06dbc 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java @@ -281,7 +281,7 @@ public final ListInstanceConfigsPagedResponse listInstanceConfigs(String parent) * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ListInstanceConfigsPagedResponse listInstanceConfigs( + public final ListInstanceConfigsPagedResponse listInstanceConfigs( ListInstanceConfigsRequest request) { return listInstanceConfigsPagedCallable().call(request); } @@ -411,7 +411,7 @@ public final InstanceConfig getInstanceConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final InstanceConfig getInstanceConfig(GetInstanceConfigRequest request) { + public final InstanceConfig getInstanceConfig(GetInstanceConfigRequest request) { return getInstanceConfigCallable().call(request); } @@ -635,7 +635,7 @@ public final Instance getInstance(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Instance getInstance(GetInstanceRequest request) { + public final Instance getInstance(GetInstanceRequest request) { return getInstanceCallable().call(request); } @@ -1292,7 +1292,7 @@ public final void deleteInstance(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteInstance(DeleteInstanceRequest request) { + public final void deleteInstance(DeleteInstanceRequest request) { deleteInstanceCallable().call(request); } @@ -1465,7 +1465,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java index 960cafdc6969..dcdf7154113c 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java @@ -286,7 +286,7 @@ public final Session createSession(String database) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Session createSession(CreateSessionRequest request) { + public final Session createSession(CreateSessionRequest request) { return createSessionCallable().call(request); } @@ -393,7 +393,7 @@ public final Session getSession(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Session getSession(GetSessionRequest request) { + public final Session getSession(GetSessionRequest request) { return getSessionCallable().call(request); } @@ -588,7 +588,7 @@ public final void deleteSession(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteSession(DeleteSessionRequest request) { + public final void deleteSession(DeleteSessionRequest request) { deleteSessionCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java index 92ba718a0a0e..08a3e92f23c8 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java @@ -16,7 +16,6 @@ package com.google.cloud.spanner.v1; import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse; -import static com.google.common.truth.Truth.assertThat; import com.google.api.gax.core.NoCredentialsProvider; import com.google.api.gax.grpc.GaxGrpcProperties; @@ -28,8 +27,6 @@ import com.google.api.gax.rpc.InvalidArgumentException; import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.StatusCode; -import com.google.cloud.spanner.v1.stub.SpannerStub; -import com.google.cloud.spanner.v1.stub.SpannerStubSettings; import com.google.common.collect.Lists; import com.google.protobuf.ByteString; import com.google.protobuf.Empty; @@ -104,16 +101,6 @@ public void tearDown() throws Exception { client.close(); } - @Test - public void createClientTest() throws IOException { - SpannerStub stub = - SpannerStubSettings.newBuilder() - .setCredentialsProvider(NoCredentialsProvider.create()).build().createStub(); - SpannerClient client1 = SpannerClient.create(stub); - assertThat(client1.getStub()).isEqualTo(stub); - assertThat(client1.getSettings()).isNull(); - } - @Test @SuppressWarnings("all") public void createSessionTest() { @@ -137,27 +124,6 @@ public void createSessionTest() { GaxGrpcProperties.getDefaultApiClientHeaderPattern())); } - @Test - public void createSessionWithStringName() { - String name = "projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]"; - Session expectedResponse = Session.newBuilder().setName(name).build(); - mockSpanner.addResponse(expectedResponse); - - DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); - - Session actualResponse = client.createSession(name); - assertThat(actualResponse).isEqualTo(expectedResponse); - - List actualRequests = mockSpanner.getRequests(); - assertThat(actualRequests).hasSize(1); - - CreateSessionRequest actualRequest = (CreateSessionRequest) actualRequests.get(0); - assertThat(DatabaseName.parse(actualRequest.getDatabase())).isEqualTo(database); - assertThat(channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())).isTrue(); - } - @Test @SuppressWarnings("all") public void createSessionExceptionTest() throws Exception { @@ -197,24 +163,6 @@ public void getSessionTest() { GaxGrpcProperties.getDefaultApiClientHeaderPattern())); } - @Test - public void getSessionByStringNameTest() { - String name = "projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]/sessions/[SESSION]"; - SessionName sessionName = SessionName.parse(name); - Session expectedResponse = Session.newBuilder().setName(name).build(); - mockSpanner.addResponse(expectedResponse); - - Session actualResponse = client.getSession(name); - assertThat(actualResponse).isEqualTo(expectedResponse); - - List actualRequests = mockSpanner.getRequests(); - assertThat(actualRequests).hasSize(1); - - GetSessionRequest actualRequest = (GetSessionRequest) actualRequests.get(0); - assertThat(SessionName.parse(actualRequest.getName())).isEqualTo(sessionName); - - } - @Test @SuppressWarnings("all") public void getSessionExceptionTest() throws Exception { @@ -263,27 +211,6 @@ public void listSessionsTest() { GaxGrpcProperties.getDefaultApiClientHeaderPattern())); } - @Test - public void listSessionsCallableTest() { - List sessions = Arrays.asList(Session.newBuilder().build()); - ListSessionsResponse expectedResponse = - ListSessionsResponse.newBuilder() - .addAllSessions(sessions) - .build(); - mockSpanner.addResponse(expectedResponse); - - String formattedDatabase = DatabaseName.format("[PROJECT]", "[INSTANCE]", "[DATABASE]"); - - ListSessionsRequest request = ListSessionsRequest.newBuilder() - .setDatabase(formattedDatabase) - .build(); - - ListSessionsResponse listSessionsResponse = client.listSessionsCallable().call(request); - List resources = Lists.newArrayList(listSessionsResponse.getSessionsList()); - assertThat(resources).hasSize(1); - assertThat(expectedResponse.getSessionsList().get(0)).isEqualTo(resources.get(0)); - } - @Test @SuppressWarnings("all") public void listSessionsExceptionTest() throws Exception { @@ -321,25 +248,6 @@ public void deleteSessionTest() { GaxGrpcProperties.getDefaultApiClientHeaderPattern())); } - @Test - public void deleteSessionWithStringName() { - Empty expectedResponse = Empty.newBuilder().build(); - mockSpanner.addResponse(expectedResponse); - - String name = "projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]/sessions/[SESSION]"; - SessionName sessionName = SessionName.parse(name); - client.deleteSession(name); - - List actualRequests = mockSpanner.getRequests(); - assertThat(actualRequests).hasSize(1); - - DeleteSessionRequest actualRequest = (DeleteSessionRequest) actualRequests.get(0); - assertThat(SessionName.parse(actualRequest.getName())).isEqualTo(sessionName); - assertThat(channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())).isTrue(); - } - @Test @SuppressWarnings("all") public void deleteSessionExceptionTest() throws Exception { @@ -518,31 +426,6 @@ public void beginTransactionExceptionTest() throws Exception { } } - @Test - public void commitWithStringNameTest() { - CommitResponse expectedResponse = CommitResponse.newBuilder().build(); - mockSpanner.addResponse(expectedResponse); - - ByteString transactionId = ByteString.copyFromUtf8("28"); - List mutations = new ArrayList<>(); - - String name = "projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]/sessions/[SESSION]"; - SessionName sessionName = SessionName.parse(name); - CommitResponse actualResponse = client.commit(name, transactionId, mutations); - assertThat(actualResponse).isEqualTo(expectedResponse); - - List actualRequests = mockSpanner.getRequests(); - assertThat(actualRequests).hasSize(1); - - CommitRequest actualRequest = (CommitRequest) actualRequests.get(0); - assertThat(SessionName.parse(actualRequest.getSession())).isEqualTo(sessionName); - assertThat(actualRequest.getTransactionId()).isEqualTo(transactionId); - assertThat(actualRequest.getMutationsList()).isEqualTo(mutations); - assertThat(channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())).isTrue(); - } - @Test @SuppressWarnings("all") public void commitTest() { @@ -587,29 +470,6 @@ public void commitExceptionTest() throws Exception { } } - @Test - public void commitWithStringNameViaTransactionTest() { - CommitResponse expectedResponse = CommitResponse.newBuilder().build(); - mockSpanner.addResponse(expectedResponse); - - String name = "projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]/sessions/[SESSION]"; - TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); - List mutations = new ArrayList<>(); - - CommitResponse actualResponse = client.commit(name, singleUseTransaction, mutations); - assertThat(actualResponse).isEqualTo(expectedResponse); - - List actualRequests = mockSpanner.getRequests(); - assertThat(actualRequests.size()).isEqualTo(1); - - CommitRequest actualRequest = (CommitRequest) actualRequests.get(0); - assertThat(actualRequest.getSingleUseTransaction()).isEqualTo(singleUseTransaction); - assertThat(actualRequest.getMutationsList()).isEqualTo(mutations); - assertThat(channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())).isTrue(); - } - @Test @SuppressWarnings("all") public void commitTest2() { @@ -654,26 +514,6 @@ public void commitExceptionTest2() throws Exception { } } - @Test - public void rollbackWithStringNameTest() { - Empty expectedResponse = Empty.newBuilder().build(); - mockSpanner.addResponse(expectedResponse); - - String name = "projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]/sessions/[SESSION]"; - ByteString transactionId = ByteString.copyFromUtf8("28"); - - client.rollback(name, transactionId); - - List actualRequests = mockSpanner.getRequests(); - assertThat(actualRequests).hasSize(1); - - RollbackRequest actualRequest = (RollbackRequest) actualRequests.get(0); - assertThat(actualRequest.getTransactionId()).isEqualTo(transactionId); - assertThat(channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())).isTrue(); - } - @Test @SuppressWarnings("all") public void rollbackTest() { diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java index 62cb62e856f2..4949bb026605 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java @@ -367,7 +367,7 @@ public final Queue getQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue getQueue(GetQueueRequest request) { + public final Queue getQueue(GetQueueRequest request) { return getQueueCallable().call(request); } @@ -730,7 +730,7 @@ public final void deleteQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteQueue(DeleteQueueRequest request) { + public final void deleteQueue(DeleteQueueRequest request) { deleteQueueCallable().call(request); } @@ -845,7 +845,7 @@ public final Queue purgeQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue purgeQueue(PurgeQueueRequest request) { + public final Queue purgeQueue(PurgeQueueRequest request) { return purgeQueueCallable().call(request); } @@ -960,7 +960,7 @@ public final Queue pauseQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue pauseQueue(PauseQueueRequest request) { + public final Queue pauseQueue(PauseQueueRequest request) { return pauseQueueCallable().call(request); } @@ -1088,7 +1088,7 @@ public final Queue resumeQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue resumeQueue(ResumeQueueRequest request) { + public final Queue resumeQueue(ResumeQueueRequest request) { return resumeQueueCallable().call(request); } @@ -1212,7 +1212,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } @@ -2041,7 +2041,7 @@ public final void deleteTask(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteTask(DeleteTaskRequest request) { + public final void deleteTask(DeleteTaskRequest request) { deleteTaskCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java index 860c95ad4c61..cf91dd21ca54 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java @@ -365,7 +365,7 @@ public final Queue getQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue getQueue(GetQueueRequest request) { + public final Queue getQueue(GetQueueRequest request) { return getQueueCallable().call(request); } @@ -728,7 +728,7 @@ public final void deleteQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteQueue(DeleteQueueRequest request) { + public final void deleteQueue(DeleteQueueRequest request) { deleteQueueCallable().call(request); } @@ -843,7 +843,7 @@ public final Queue purgeQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue purgeQueue(PurgeQueueRequest request) { + public final Queue purgeQueue(PurgeQueueRequest request) { return purgeQueueCallable().call(request); } @@ -958,7 +958,7 @@ public final Queue pauseQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue pauseQueue(PauseQueueRequest request) { + public final Queue pauseQueue(PauseQueueRequest request) { return pauseQueueCallable().call(request); } @@ -1086,7 +1086,7 @@ public final Queue resumeQueue(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Queue resumeQueue(ResumeQueueRequest request) { + public final Queue resumeQueue(ResumeQueueRequest request) { return resumeQueueCallable().call(request); } @@ -1210,7 +1210,7 @@ public final Policy getIamPolicy(String resource) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Policy getIamPolicy(GetIamPolicyRequest request) { + public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } @@ -2035,7 +2035,7 @@ public final void deleteTask(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteTask(DeleteTaskRequest request) { + public final void deleteTask(DeleteTaskRequest request) { deleteTaskCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java index 9019e662037a..a2d5e92aa8e6 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java @@ -291,7 +291,7 @@ public final Trace getTrace(String projectId, String traceId) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Trace getTrace(GetTraceRequest request) { + public final Trace getTrace(GetTraceRequest request) { return getTraceCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java index 98ff358e287f..beaa5d0a1bba 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java @@ -206,8 +206,7 @@ public final BatchAnnotateImagesResponse batchAnnotateImages( * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final BatchAnnotateImagesResponse batchAnnotateImages( - BatchAnnotateImagesRequest request) { + public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImagesRequest request) { return batchAnnotateImagesCallable().call(request); } @@ -289,7 +288,7 @@ private final BatchAnnotateImagesResponse batchAnnotateImages( */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture + public final OperationFuture asyncBatchAnnotateFilesAsync(AsyncBatchAnnotateFilesRequest request) { return asyncBatchAnnotateFilesOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java index 4a74b64c09d9..e8ae0bfa6d95 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorClient.java @@ -190,8 +190,7 @@ public final BatchAnnotateImagesResponse batchAnnotateImages( * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final BatchAnnotateImagesResponse batchAnnotateImages( - BatchAnnotateImagesRequest request) { + public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImagesRequest request) { return batchAnnotateImagesCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java index 9c46df149c52..91b5ea877fd0 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorClient.java @@ -207,8 +207,7 @@ public final BatchAnnotateImagesResponse batchAnnotateImages( * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final BatchAnnotateImagesResponse batchAnnotateImages( - BatchAnnotateImagesRequest request) { + public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImagesRequest request) { return batchAnnotateImagesCallable().call(request); } @@ -290,7 +289,7 @@ private final BatchAnnotateImagesResponse batchAnnotateImages( */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture + public final OperationFuture asyncBatchAnnotateFilesAsync(AsyncBatchAnnotateFilesRequest request) { return asyncBatchAnnotateFilesOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java index 527ae2a3d2a8..4fd8e9487101 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorClient.java @@ -207,8 +207,7 @@ public final BatchAnnotateImagesResponse batchAnnotateImages( * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final BatchAnnotateImagesResponse batchAnnotateImages( - BatchAnnotateImagesRequest request) { + public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImagesRequest request) { return batchAnnotateImagesCallable().call(request); } @@ -290,7 +289,7 @@ private final BatchAnnotateImagesResponse batchAnnotateImages( */ @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") - private final OperationFuture + public final OperationFuture asyncBatchAnnotateFilesAsync(AsyncBatchAnnotateFilesRequest request) { return asyncBatchAnnotateFilesOperationCallable().futureCall(request); } diff --git a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java index 7519ca143a17..959661bb9d1d 100644 --- a/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java +++ b/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java @@ -563,7 +563,7 @@ public final ProductSet getProductSet(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ProductSet getProductSet(GetProductSetRequest request) { + public final ProductSet getProductSet(GetProductSetRequest request) { return getProductSetCallable().call(request); } @@ -777,7 +777,7 @@ public final void deleteProductSet(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteProductSet(DeleteProductSetRequest request) { + public final void deleteProductSet(DeleteProductSetRequest request) { deleteProductSetCallable().call(request); } @@ -1187,7 +1187,7 @@ public final Product getProduct(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Product getProduct(GetProductRequest request) { + public final Product getProduct(GetProductRequest request) { return getProductCallable().call(request); } @@ -1420,7 +1420,7 @@ public final void deleteProduct(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteProduct(DeleteProductRequest request) { + public final void deleteProduct(DeleteProductRequest request) { deleteProductCallable().call(request); } @@ -1744,7 +1744,7 @@ public final void deleteReferenceImage(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteReferenceImage(DeleteReferenceImageRequest request) { + public final void deleteReferenceImage(DeleteReferenceImageRequest request) { deleteReferenceImageCallable().call(request); } @@ -2021,7 +2021,7 @@ public final ReferenceImage getReferenceImage(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ReferenceImage getReferenceImage(GetReferenceImageRequest request) { + public final ReferenceImage getReferenceImage(GetReferenceImageRequest request) { return getReferenceImageCallable().call(request); } diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java index 9af9c3547b2b..5a3f54bcffd8 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java @@ -386,7 +386,7 @@ public final void deleteScanConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final void deleteScanConfig(DeleteScanConfigRequest request) { + public final void deleteScanConfig(DeleteScanConfigRequest request) { deleteScanConfigCallable().call(request); } @@ -454,7 +454,7 @@ public final ScanConfig getScanConfig(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ScanConfig getScanConfig(GetScanConfigRequest request) { + public final ScanConfig getScanConfig(GetScanConfigRequest request) { return getScanConfigCallable().call(request); } @@ -710,7 +710,7 @@ public final ScanRun startScanRun(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ScanRun startScanRun(StartScanRunRequest request) { + public final ScanRun startScanRun(StartScanRunRequest request) { return startScanRunCallable().call(request); } @@ -778,7 +778,7 @@ public final ScanRun getScanRun(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ScanRun getScanRun(GetScanRunRequest request) { + public final ScanRun getScanRun(GetScanRunRequest request) { return getScanRunCallable().call(request); } @@ -952,7 +952,7 @@ public final ScanRun stopScanRun(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ScanRun stopScanRun(StopScanRunRequest request) { + public final ScanRun stopScanRun(StopScanRunRequest request) { return stopScanRunCallable().call(request); } @@ -1128,7 +1128,7 @@ public final Finding getFinding(String name) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final Finding getFinding(GetFindingRequest request) { + public final Finding getFinding(GetFindingRequest request) { return getFindingCallable().call(request); } @@ -1313,7 +1313,7 @@ public final ListFindingTypeStatsResponse listFindingTypeStats(String parent) { * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - private final ListFindingTypeStatsResponse listFindingTypeStats( + public final ListFindingTypeStatsResponse listFindingTypeStats( ListFindingTypeStatsRequest request) { return listFindingTypeStatsCallable().call(request); }