Sample code:
*
@@ -295,10 +299,14 @@ public final OperationFuture Sample code:
*
@@ -324,10 +332,14 @@ public final OperationFuture Sample code:
*
@@ -351,11 +363,11 @@ public final UnaryCallable Sample code:
*
@@ -379,11 +391,11 @@ public final BatchGetAssetsHistoryResponse batchGetAssetsHistory(
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * 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,
+ * Batch gets the update history of assets that overlap a time window. 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. If a specified asset does not exist, this API returns an
- * INVALID_ARGUMENT error.
+ * gaps in the output history. Otherwise, this API outputs history with asset in both non-delete
+ * or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+ * error.
*
* Sample code:
*
diff --git a/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java
index 7be17b545..0f2a858e7 100644
--- a/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java
+++ b/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java
@@ -481,10 +481,16 @@ public abstract static class AssetServiceImplBase implements io.grpc.BindableSer
*
*
* 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.
+ * location/BigQuery table. For Cloud Storage location destinations, the
+ * output format is newline-delimited JSON. Each line represents a
+ * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+ * format; for BigQuery table destinations, the output table stores the fields
+ * in asset proto as columns. This API implements the
+ * [google.longrunning.Operation][google.longrunning.Operation] API , which
+ * allows you to keep track of the export. We recommend intervals of at least
+ * 2 seconds with exponential retry to poll the export operation result. For
+ * regular-size resource parent, the export operation usually finishes within
+ * 5 minutes.
*
*/
public void exportAssets(
@@ -498,10 +504,10 @@ public void exportAssets(
*
*
* 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.
+ * Otherwise, this API outputs history with asset in both non-delete or
+ * deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
*
@@ -700,10 +706,16 @@ protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
*
*
* 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.
+ * location/BigQuery table. For Cloud Storage location destinations, the
+ * output format is newline-delimited JSON. Each line represents a
+ * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+ * format; for BigQuery table destinations, the output table stores the fields
+ * in asset proto as columns. This API implements the
+ * [google.longrunning.Operation][google.longrunning.Operation] API , which
+ * allows you to keep track of the export. We recommend intervals of at least
+ * 2 seconds with exponential retry to poll the export operation result. For
+ * regular-size resource parent, the export operation usually finishes within
+ * 5 minutes.
*
*/
public void exportAssets(
@@ -720,10 +732,10 @@ public void exportAssets(
*
*
* 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.
+ * Otherwise, this API outputs history with asset in both non-delete or
+ * deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
*
@@ -874,10 +886,16 @@ protected AssetServiceBlockingStub build(
*
*
* 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.
+ * location/BigQuery table. For Cloud Storage location destinations, the
+ * output format is newline-delimited JSON. Each line represents a
+ * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+ * format; for BigQuery table destinations, the output table stores the fields
+ * in asset proto as columns. This API implements the
+ * [google.longrunning.Operation][google.longrunning.Operation] API , which
+ * allows you to keep track of the export. We recommend intervals of at least
+ * 2 seconds with exponential retry to poll the export operation result. For
+ * regular-size resource parent, the export operation usually finishes within
+ * 5 minutes.
*
*/
public com.google.longrunning.Operation exportAssets(
@@ -890,10 +908,10 @@ public com.google.longrunning.Operation exportAssets(
*
*
* 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.
+ * Otherwise, this API outputs history with asset in both non-delete or
+ * deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
*
@@ -1022,10 +1040,16 @@ protected AssetServiceFutureStub build(
*
*
* 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.
+ * location/BigQuery table. For Cloud Storage location destinations, the
+ * output format is newline-delimited JSON. Each line represents a
+ * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+ * format; for BigQuery table destinations, the output table stores the fields
+ * in asset proto as columns. This API implements the
+ * [google.longrunning.Operation][google.longrunning.Operation] API , which
+ * allows you to keep track of the export. We recommend intervals of at least
+ * 2 seconds with exponential retry to poll the export operation result. For
+ * regular-size resource parent, the export operation usually finishes within
+ * 5 minutes.
*
*/
public com.google.common.util.concurrent.ListenableFuture
* 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.
+ * Otherwise, this API outputs history with asset in both non-delete or
+ * deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
*
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
index 784aafea8..bc537d80e 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
@@ -26,7 +26,10 @@
* [resource
* hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
* a resource outside the Google Cloud resource hierarchy (such as Google
- * Kubernetes Engine clusters and objects), or a Cloud IAM policy.
+ * Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
*
*
* Protobuf type {@code google.cloud.asset.v1.Asset}
@@ -205,6 +208,21 @@ private Asset(
mutable_bitField0_ |= 0x00000002;
}
ancestors_.add(s);
+ break;
+ }
+ case 90:
+ {
+ com.google.protobuf.Timestamp.Builder subBuilder = null;
+ if (updateTime_ != null) {
+ subBuilder = updateTime_.toBuilder();
+ }
+ updateTime_ =
+ input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(updateTime_);
+ updateTime_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -296,13 +314,62 @@ public AccessContextPolicyCase getAccessContextPolicyCase() {
return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
}
+ public static final int UPDATE_TIME_FIELD_NUMBER = 11;
+ private com.google.protobuf.Timestamp updateTime_;
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ *
+ * @return Whether the updateTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdateTime() {
+ return updateTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ *
+ * @return The updateTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ return getUpdateTime();
+ }
+
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -329,7 +396,7 @@ public java.lang.String getName() {
*
*
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -359,7 +426,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -385,7 +452,7 @@ public java.lang.String getAssetType() {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -610,6 +677,13 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
/**
+ *
+ *
+ *
*
*
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*
* @return Whether the accessPolicy field is set.
@@ -619,6 +693,13 @@ public boolean hasAccessPolicy() {
return accessContextPolicyCase_ == 7;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*
* @return The accessPolicy.
@@ -630,7 +711,16 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
}
return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
getAccessPolicyOrBuilder() {
@@ -642,6 +732,13 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
/**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*
* @return Whether the accessLevel field is set.
@@ -651,6 +748,13 @@ public boolean hasAccessLevel() {
return accessContextPolicyCase_ == 8;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*
* @return The accessLevel.
@@ -662,7 +766,16 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
}
return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
getAccessLevelOrBuilder() {
@@ -674,6 +787,13 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*
* @return Whether the servicePerimeter field is set.
@@ -683,6 +803,13 @@ public boolean hasServicePerimeter() {
return accessContextPolicyCase_ == 9;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*
* @return The servicePerimeter.
@@ -695,6 +822,13 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
@java.lang.Override
@@ -718,7 +852,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -738,7 +872,7 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -758,7 +892,7 @@ public int getAncestorsCount() {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -779,7 +913,7 @@ public java.lang.String getAncestors(int index) {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -835,6 +969,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < ancestors_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i));
}
+ if (updateTime_ != null) {
+ output.writeMessage(11, getUpdateTime());
+ }
unknownFields.writeTo(output);
}
@@ -883,6 +1020,9 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getAncestorsList().size();
}
+ if (updateTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -898,6 +1038,10 @@ public boolean equals(final java.lang.Object obj) {
}
com.google.cloud.asset.v1.Asset other = (com.google.cloud.asset.v1.Asset) obj;
+ if (hasUpdateTime() != other.hasUpdateTime()) return false;
+ if (hasUpdateTime()) {
+ if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+ }
if (!getName().equals(other.getName())) return false;
if (!getAssetType().equals(other.getAssetType())) return false;
if (hasResource() != other.hasResource()) return false;
@@ -935,6 +1079,10 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasUpdateTime()) {
+ hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateTime().hashCode();
+ }
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + ASSET_TYPE_FIELD_NUMBER;
@@ -1078,7 +1226,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* [resource
* hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
* a resource outside the Google Cloud resource hierarchy (such as Google
- * Kubernetes Engine clusters and objects), or a Cloud IAM policy.
+ * Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
*
*
* Protobuf type {@code google.cloud.asset.v1.Asset}
@@ -1120,6 +1271,12 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = null;
+ } else {
+ updateTime_ = null;
+ updateTimeBuilder_ = null;
+ }
name_ = "";
assetType_ = "";
@@ -1173,6 +1330,11 @@ public com.google.cloud.asset.v1.Asset build() {
public com.google.cloud.asset.v1.Asset buildPartial() {
com.google.cloud.asset.v1.Asset result = new com.google.cloud.asset.v1.Asset(this);
int from_bitField0_ = bitField0_;
+ if (updateTimeBuilder_ == null) {
+ result.updateTime_ = updateTime_;
+ } else {
+ result.updateTime_ = updateTimeBuilder_.build();
+ }
result.name_ = name_;
result.assetType_ = assetType_;
if (resourceBuilder_ == null) {
@@ -1270,6 +1432,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
if (other == com.google.cloud.asset.v1.Asset.getDefaultInstance()) return this;
+ if (other.hasUpdateTime()) {
+ mergeUpdateTime(other.getUpdateTime());
+ }
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
@@ -1387,12 +1552,204 @@ public Builder clearAccessContextPolicy() {
private int bitField0_;
+ private com.google.protobuf.Timestamp updateTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ updateTimeBuilder_;
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ *
+ * @return Whether the updateTime field is set.
+ */
+ public boolean hasUpdateTime() {
+ return updateTimeBuilder_ != null || updateTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ *
+ * @return The updateTime.
+ */
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ } else {
+ return updateTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateTime_ = value;
+ onChanged();
+ } else {
+ updateTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ updateTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (updateTime_ != null) {
+ updateTime_ =
+ com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ } else {
+ updateTime_ = value;
+ }
+ onChanged();
+ } else {
+ updateTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ public Builder clearUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = null;
+ onChanged();
+ } else {
+ updateTime_ = null;
+ updateTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
+
+ onChanged();
+ return getUpdateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ if (updateTimeBuilder_ != null) {
+ return updateTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getUpdateTimeFieldBuilder() {
+ if (updateTimeBuilder_ == null) {
+ updateTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getUpdateTime(), getParentForChildren(), isClean());
+ updateTime_ = null;
+ }
+ return updateTimeBuilder_;
+ }
+
private java.lang.Object name_ = "";
/**
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -1418,7 +1775,7 @@ public java.lang.String getName() {
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -1444,7 +1801,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -1469,7 +1826,7 @@ public Builder setName(java.lang.String value) {
*
*
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -1490,7 +1847,7 @@ public Builder clearName() {
*
*
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -1518,7 +1875,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -1543,7 +1900,7 @@ public java.lang.String getAssetType() {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -1568,7 +1925,7 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -1592,7 +1949,7 @@ public Builder setAssetType(java.lang.String value) {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -1612,7 +1969,7 @@ public Builder clearAssetType() {
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -2478,6 +2835,13 @@ public java.util.List
*
*
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*
* @return Whether the accessPolicy field is set.
@@ -2487,6 +2851,13 @@ public boolean hasAccessPolicy() {
return accessContextPolicyCase_ == 7;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*
* @return The accessPolicy.
@@ -2505,7 +2876,16 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
}
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
if (accessPolicyBuilder_ == null) {
if (value == null) {
@@ -2519,7 +2899,16 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
accessContextPolicyCase_ = 7;
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
public Builder setAccessPolicy(
com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue) {
if (accessPolicyBuilder_ == null) {
@@ -2531,7 +2920,16 @@ public Builder setAccessPolicy(
accessContextPolicyCase_ = 7;
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
public Builder mergeAccessPolicy(
com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
if (accessPolicyBuilder_ == null) {
@@ -2557,7 +2955,16 @@ public Builder mergeAccessPolicy(
accessContextPolicyCase_ = 7;
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
public Builder clearAccessPolicy() {
if (accessPolicyBuilder_ == null) {
if (accessContextPolicyCase_ == 7) {
@@ -2574,12 +2981,30 @@ public Builder clearAccessPolicy() {
}
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
getAccessPolicyBuilder() {
return getAccessPolicyFieldBuilder().getBuilder();
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
getAccessPolicyOrBuilder() {
@@ -2592,7 +3017,16 @@ public Builder clearAccessPolicy() {
return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
}
}
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
private com.google.protobuf.SingleFieldBuilderV3<
com.google.identity.accesscontextmanager.v1.AccessPolicy,
com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
@@ -2625,6 +3059,13 @@ public Builder clearAccessPolicy() {
com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
accessLevelBuilder_;
/**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*
* @return Whether the accessLevel field is set.
@@ -2634,6 +3075,13 @@ public boolean hasAccessLevel() {
return accessContextPolicyCase_ == 8;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*
* @return The accessLevel.
@@ -2652,7 +3100,16 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
}
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
if (accessLevelBuilder_ == null) {
if (value == null) {
@@ -2666,7 +3123,16 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
accessContextPolicyCase_ = 8;
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
public Builder setAccessLevel(
com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue) {
if (accessLevelBuilder_ == null) {
@@ -2678,7 +3144,16 @@ public Builder setAccessLevel(
accessContextPolicyCase_ = 8;
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
if (accessLevelBuilder_ == null) {
if (accessContextPolicyCase_ == 8
@@ -2703,7 +3178,16 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
accessContextPolicyCase_ = 8;
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
public Builder clearAccessLevel() {
if (accessLevelBuilder_ == null) {
if (accessContextPolicyCase_ == 8) {
@@ -2720,11 +3204,29 @@ public Builder clearAccessLevel() {
}
return this;
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccessLevelBuilder() {
return getAccessLevelFieldBuilder().getBuilder();
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
getAccessLevelOrBuilder() {
@@ -2737,7 +3239,16 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
}
}
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
private com.google.protobuf.SingleFieldBuilderV3<
com.google.identity.accesscontextmanager.v1.AccessLevel,
com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
@@ -2770,6 +3281,13 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
servicePerimeterBuilder_;
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*
* @return Whether the servicePerimeter field is set.
@@ -2779,6 +3297,13 @@ public boolean hasServicePerimeter() {
return accessContextPolicyCase_ == 9;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*
* @return The servicePerimeter.
@@ -2799,6 +3324,13 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
}
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
public Builder setServicePerimeter(
@@ -2816,6 +3348,13 @@ public Builder setServicePerimeter(
return this;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
public Builder setServicePerimeter(
@@ -2830,6 +3369,13 @@ public Builder setServicePerimeter(
return this;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
public Builder mergeServicePerimeter(
@@ -2859,6 +3405,13 @@ public Builder mergeServicePerimeter(
return this;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
public Builder clearServicePerimeter() {
@@ -2878,6 +3431,13 @@ public Builder clearServicePerimeter() {
return this;
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
@@ -2885,6 +3445,13 @@ public Builder clearServicePerimeter() {
return getServicePerimeterFieldBuilder().getBuilder();
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
@java.lang.Override
@@ -2901,6 +3468,13 @@ public Builder clearServicePerimeter() {
}
}
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -2948,7 +3522,7 @@ private void ensureAncestorsIsMutable() {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -2968,7 +3542,7 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -2988,7 +3562,7 @@ public int getAncestorsCount() {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -3009,7 +3583,7 @@ public java.lang.String getAncestors(int index) {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -3030,7 +3604,7 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -3058,7 +3632,7 @@ public Builder setAncestors(int index, java.lang.String value) {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -3085,7 +3659,7 @@ public Builder addAncestors(java.lang.String value) {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -3109,7 +3683,7 @@ public Builder addAllAncestors(java.lang.Iterablerepeated string ancestors = 10;
@@ -3132,7 +3706,7 @@ public Builder clearAncestors() {
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java
index b6ca6ac91..487c91a9d 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java
@@ -27,7 +27,45 @@ public interface AssetOrBuilder
*
*
*
- * The full name of the asset. For example:
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ *
+ * @return Whether the updateTime field is set.
+ */
+ boolean hasUpdateTime();
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ *
+ * @return The updateTime.
+ */
+ com.google.protobuf.Timestamp getUpdateTime();
+ /**
+ *
+ *
+ *
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 11;
+ */
+ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The full name of the asset. 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)
@@ -43,7 +81,7 @@ public interface AssetOrBuilder
*
*
*
*
*
- * The full name of the asset. For example:
+ * The full name of the asset. 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)
@@ -60,7 +98,7 @@ public interface AssetOrBuilder
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -75,7 +113,7 @@ public interface AssetOrBuilder
*
*
*
*
*
- * The type of the asset. For example: `compute.googleapis.com/Disk`
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
* See [Supported asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for more information.
@@ -249,48 +287,115 @@ public interface AssetOrBuilder
com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
/**
+ *
+ *
+ *
*
*
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*
* @return Whether the accessPolicy field is set.
*/
boolean hasAccessPolicy();
/**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*
* @return The accessPolicy.
*/
com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy();
- /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ */
com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
/**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*
* @return Whether the accessLevel field is set.
*/
boolean hasAccessLevel();
/**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
* .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*
* @return The accessLevel.
*/
com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel();
- /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
*/
+ /**
+ *
+ *
+ *
+ * Please also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ *
+ * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ */
com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*
* @return Whether the servicePerimeter field is set.
*/
boolean hasServicePerimeter();
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*
* @return The servicePerimeter.
*/
com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter();
/**
+ *
+ *
+ *
+ * Please also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ *
* .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
*/
com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
@@ -306,7 +411,7 @@ public interface AssetOrBuilder
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -324,7 +429,7 @@ public interface AssetOrBuilder
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -342,7 +447,7 @@ public interface AssetOrBuilder
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
@@ -361,7 +466,7 @@ public interface AssetOrBuilder
* with the closest ancestor in the hierarchy and ends at root. If the asset
* is a project, folder, or organization, the ancestry path starts from the
* asset itself.
- * For example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
* repeated string ancestors = 10;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java
index 5fa6f411e..0f828b660 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java
@@ -87,55 +87,63 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ntity/accesscontextmanager/v1/service_pe"
+ "rimeter.proto\032\031google/protobuf/any.proto"
+ "\032\034google/protobuf/struct.proto\032\037google/p"
- + "rotobuf/timestamp.proto\"\200\001\n\rTemporalAsse"
- + "t\0221\n\006window\030\001 \001(\0132!.google.cloud.asset.v"
- + "1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\022+\n\005asset\030\003"
- + " \001(\0132\034.google.cloud.asset.v1.Asset\"j\n\nTi"
- + "meWindow\022.\n\nstart_time\030\001 \001(\0132\032.google.pr"
- + "otobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.goo"
- + "gle.protobuf.Timestamp\"\211\004\n\005Asset\022\014\n\004name"
- + "\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0221\n\010resource\030\003"
- + " \001(\0132\037.google.cloud.asset.v1.Resource\022)\n"
- + "\niam_policy\030\004 \001(\0132\025.google.iam.v1.Policy"
- + "\0225\n\norg_policy\030\006 \003(\0132!.google.cloud.orgp"
- + "olicy.v1.Policy\022N\n\raccess_policy\030\007 \001(\01325"
- + ".google.identity.accesscontextmanager.v1"
- + ".AccessPolicyH\000\022L\n\014access_level\030\010 \001(\01324."
+ + "rotobuf/timestamp.proto\032\025google/rpc/code"
+ + ".proto\"\365\002\n\rTemporalAsset\0221\n\006window\030\001 \001(\013"
+ + "2!.google.cloud.asset.v1.TimeWindow\022\017\n\007d"
+ + "eleted\030\002 \001(\010\022+\n\005asset\030\003 \001(\0132\034.google.clo"
+ + "ud.asset.v1.Asset\022O\n\021prior_asset_state\030\004"
+ + " \001(\01624.google.cloud.asset.v1.TemporalAss"
+ + "et.PriorAssetState\0221\n\013prior_asset\030\005 \001(\0132"
+ + "\034.google.cloud.asset.v1.Asset\"o\n\017PriorAs"
+ + "setState\022!\n\035PRIOR_ASSET_STATE_UNSPECIFIE"
+ + "D\020\000\022\013\n\007PRESENT\020\001\022\013\n\007INVALID\020\002\022\022\n\016DOES_NO"
+ + "T_EXIST\020\003\022\013\n\007DELETED\020\004\"j\n\nTimeWindow\022.\n\n"
+ + "start_time\030\001 \001(\0132\032.google.protobuf.Times"
+ + "tamp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf"
+ + ".Timestamp\"\272\004\n\005Asset\022/\n\013update_time\030\013 \001("
+ + "\0132\032.google.protobuf.Timestamp\022\014\n\004name\030\001 "
+ + "\001(\t\022\022\n\nasset_type\030\002 \001(\t\0221\n\010resource\030\003 \001("
+ + "\0132\037.google.cloud.asset.v1.Resource\022)\n\nia"
+ + "m_policy\030\004 \001(\0132\025.google.iam.v1.Policy\0225\n"
+ + "\norg_policy\030\006 \003(\0132!.google.cloud.orgpoli"
+ + "cy.v1.Policy\022N\n\raccess_policy\030\007 \001(\01325.go"
+ + "ogle.identity.accesscontextmanager.v1.Ac"
+ + "cessPolicyH\000\022L\n\014access_level\030\010 \001(\01324.goo"
+ + "gle.identity.accesscontextmanager.v1.Acc"
+ + "essLevelH\000\022V\n\021service_perimeter\030\t \001(\01329."
+ "google.identity.accesscontextmanager.v1."
- + "AccessLevelH\000\022V\n\021service_perimeter\030\t \001(\013"
- + "29.google.identity.accesscontextmanager."
- + "v1.ServicePerimeterH\000\022\021\n\tancestors\030\n \003(\t"
- + ":\'\352A$\n\037cloudasset.googleapis.com/Asset\022\001"
- + "*B\027\n\025access_context_policy\"\262\001\n\010Resource\022"
- + "\017\n\007version\030\001 \001(\t\022\036\n\026discovery_document_u"
- + "ri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014reso"
- + "urce_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006"
- + " \001(\0132\027.google.protobuf.Struct\022\020\n\010locatio"
- + "n\030\010 \001(\t\"\314\002\n\024ResourceSearchResult\022\014\n\004name"
- + "\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007project\030\003 "
- + "\001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013description"
- + "\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\022G\n\006labels\030\007 \003(\013"
- + "27.google.cloud.asset.v1.ResourceSearchR"
- + "esult.LabelsEntry\022\024\n\014network_tags\030\010 \003(\t\022"
- + "6\n\025additional_attributes\030\t \001(\0132\027.google."
- + "protobuf.Struct\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
- + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\324\003\n\025IamPolicySear"
- + "chResult\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\002 "
- + "\001(\t\022%\n\006policy\030\003 \001(\0132\025.google.iam.v1.Poli"
- + "cy\022M\n\013explanation\030\004 \001(\01328.google.cloud.a"
- + "sset.v1.IamPolicySearchResult.Explanatio"
- + "n\032\241\002\n\013Explanation\022m\n\023matched_permissions"
- + "\030\001 \003(\0132P.google.cloud.asset.v1.IamPolicy"
- + "SearchResult.Explanation.MatchedPermissi"
- + "onsEntry\032\"\n\013Permissions\022\023\n\013permissions\030\001"
- + " \003(\t\032\177\n\027MatchedPermissionsEntry\022\013\n\003key\030\001"
- + " \001(\t\022S\n\005value\030\002 \001(\0132D.google.cloud.asset"
- + ".v1.IamPolicySearchResult.Explanation.Pe"
- + "rmissions:\0028\001B\230\001\n\031com.google.cloud.asset"
- + ".v1B\nAssetProtoP\001Z:google.golang.org/gen"
- + "proto/googleapis/cloud/asset/v1;asset\370\001\001"
- + "\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\Cloud\\"
- + "Asset\\V1b\006proto3"
+ + "ServicePerimeterH\000\022\021\n\tancestors\030\n \003(\t:\'\352"
+ + "A$\n\037cloudasset.googleapis.com/Asset\022\001*B\027"
+ + "\n\025access_context_policy\"\262\001\n\010Resource\022\017\n\007"
+ + "version\030\001 \001(\t\022\036\n\026discovery_document_uri\030"
+ + "\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014resourc"
+ + "e_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006 \001("
+ + "\0132\027.google.protobuf.Struct\022\020\n\010location\030\010"
+ + " \001(\t\"\314\002\n\024ResourceSearchResult\022\014\n\004name\030\001 "
+ + "\001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007project\030\003 \001(\t"
+ + "\022\024\n\014display_name\030\004 \001(\t\022\023\n\013description\030\005 "
+ + "\001(\t\022\020\n\010location\030\006 \001(\t\022G\n\006labels\030\007 \003(\01327."
+ + "google.cloud.asset.v1.ResourceSearchResu"
+ + "lt.LabelsEntry\022\024\n\014network_tags\030\010 \003(\t\0226\n\025"
+ + "additional_attributes\030\t \001(\0132\027.google.pro"
+ + "tobuf.Struct\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\324\003\n\025IamPolicySearchR"
+ + "esult\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\002 \001(\t"
+ + "\022%\n\006policy\030\003 \001(\0132\025.google.iam.v1.Policy\022"
+ + "M\n\013explanation\030\004 \001(\01328.google.cloud.asse"
+ + "t.v1.IamPolicySearchResult.Explanation\032\241"
+ + "\002\n\013Explanation\022m\n\023matched_permissions\030\001 "
+ + "\003(\0132P.google.cloud.asset.v1.IamPolicySea"
+ + "rchResult.Explanation.MatchedPermissions"
+ + "Entry\032\"\n\013Permissions\022\023\n\013permissions\030\001 \003("
+ + "\t\032\177\n\027MatchedPermissionsEntry\022\013\n\003key\030\001 \001("
+ + "\t\022S\n\005value\030\002 \001(\0132D.google.cloud.asset.v1"
+ + ".IamPolicySearchResult.Explanation.Permi"
+ + "ssions:\0028\001B\230\001\n\031com.google.cloud.asset.v1"
+ + "B\nAssetProtoP\001Z:google.golang.org/genpro"
+ + "to/googleapis/cloud/asset/v1;asset\370\001\001\252\002\025"
+ + "Google.Cloud.Asset.V1\312\002\025Google\\Cloud\\Ass"
+ + "et\\V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -151,6 +159,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.AnyProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.rpc.CodeProto.getDescriptor(),
});
internal_static_google_cloud_asset_v1_TemporalAsset_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -158,7 +167,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_asset_v1_TemporalAsset_descriptor,
new java.lang.String[] {
- "Window", "Deleted", "Asset",
+ "Window", "Deleted", "Asset", "PriorAssetState", "PriorAsset",
});
internal_static_google_cloud_asset_v1_TimeWindow_descriptor =
getDescriptor().getMessageTypes().get(1);
@@ -174,6 +183,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_asset_v1_Asset_descriptor,
new java.lang.String[] {
+ "UpdateTime",
"Name",
"AssetType",
"Resource",
@@ -278,6 +288,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.AnyProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
+ com.google.rpc.CodeProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java
index 3f7a21dba..e5c7f574c 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java
@@ -122,119 +122,121 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "o\032\037google/api/field_behavior.proto\032\031goog"
+ "le/api/resource.proto\032\"google/cloud/asse"
+ "t/v1/assets.proto\032#google/longrunning/op"
- + "erations.proto\032\033google/protobuf/empty.pr"
- + "oto\032 google/protobuf/field_mask.proto\032\037g"
- + "oogle/protobuf/timestamp.proto\032\026google/t"
- + "ype/expr.proto\"\215\002\n\023ExportAssetsRequest\0227"
- + "\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.googl"
- + "eapis.com/Asset\022-\n\tread_time\030\002 \001(\0132\032.goo"
- + "gle.protobuf.Timestamp\022\023\n\013asset_types\030\003 "
- + "\003(\t\0228\n\014content_type\030\004 \001(\0162\".google.cloud"
- + ".asset.v1.ContentType\022?\n\routput_config\030\005"
- + " \001(\0132#.google.cloud.asset.v1.OutputConfi"
- + "gB\003\340A\002\"\201\001\n\024ExportAssetsResponse\022-\n\tread_"
- + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022:"
- + "\n\routput_config\030\002 \001(\0132#.google.cloud.ass"
- + "et.v1.OutputConfig\"\355\001\n\034BatchGetAssetsHis"
- + "toryRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037clo"
- + "udasset.googleapis.com/Asset\022\023\n\013asset_na"
- + "mes\030\002 \003(\t\022=\n\014content_type\030\003 \001(\0162\".google"
- + ".cloud.asset.v1.ContentTypeB\003\340A\001\022@\n\020read"
- + "_time_window\030\004 \001(\0132!.google.cloud.asset."
- + "v1.TimeWindowB\003\340A\001\"U\n\035BatchGetAssetsHist"
- + "oryResponse\0224\n\006assets\030\001 \003(\0132$.google.clo"
- + "ud.asset.v1.TemporalAsset\"n\n\021CreateFeedR"
- + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002"
- + " \001(\tB\003\340A\002\022.\n\004feed\030\003 \001(\0132\033.google.cloud.a"
- + "sset.v1.FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004n"
- + "ame\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.googleapis"
- + ".com/Feed\"\'\n\020ListFeedsRequest\022\023\n\006parent\030"
- + "\001 \001(\tB\003\340A\002\"?\n\021ListFeedsResponse\022*\n\005feeds"
- + "\030\001 \003(\0132\033.google.cloud.asset.v1.Feed\"y\n\021U"
- + "pdateFeedRequest\022.\n\004feed\030\001 \001(\0132\033.google."
- + "cloud.asset.v1.FeedB\003\340A\002\0224\n\013update_mask\030"
- + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"I"
- + "\n\021DeleteFeedRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A"
- + " \n\036cloudasset.googleapis.com/Feed\"\253\001\n\014Ou"
- + "tputConfig\022@\n\017gcs_destination\030\001 \001(\0132%.go"
- + "ogle.cloud.asset.v1.GcsDestinationH\000\022J\n\024"
- + "bigquery_destination\030\002 \001(\0132*.google.clou"
- + "d.asset.v1.BigQueryDestinationH\000B\r\n\013dest"
- + "ination\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000"
- + "\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"N\n\023"
- + "BigQueryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340A"
- + "\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\"\"\n\021"
- + "PubsubDestination\022\r\n\005topic\030\001 \001(\t\"i\n\020Feed"
- + "OutputConfig\022F\n\022pubsub_destination\030\001 \001(\013"
- + "2(.google.cloud.asset.v1.PubsubDestinati"
- + "onH\000B\r\n\013destination\"\333\002\n\004Feed\022\021\n\004name\030\001 \001"
- + "(\tB\003\340A\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset_ty"
- + "pes\030\003 \003(\t\0228\n\014content_type\030\004 \001(\0162\".google"
- + ".cloud.asset.v1.ContentType\022H\n\022feed_outp"
- + "ut_config\030\005 \001(\0132\'.google.cloud.asset.v1."
- + "FeedOutputConfigB\003\340A\002:\221\001\352A\215\001\n\036cloudasset"
- + ".googleapis.com/Feed\022\037projects/{project}"
- + "/feeds/{feed}\022\035folders/{folder}/feeds/{f"
- + "eed}\022)organizations/{organization}/feeds"
- + "/{feed} \001\"\245\001\n\031SearchAllResourcesRequest\022"
- + "\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022"
- + "\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022\026\n\tpage_size\030\004"
- + " \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\025\n\010or"
- + "der_by\030\006 \001(\tB\003\340A\001\"s\n\032SearchAllResourcesR"
- + "esponse\022<\n\007results\030\001 \003(\0132+.google.cloud."
- + "asset.v1.ResourceSearchResult\022\027\n\017next_pa"
- + "ge_token\030\002 \001(\t\"v\n\033SearchAllIamPoliciesRe"
- + "quest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\t"
- + "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_to"
- + "ken\030\004 \001(\tB\003\340A\001\"v\n\034SearchAllIamPoliciesRe"
- + "sponse\022=\n\007results\030\001 \003(\0132,.google.cloud.a"
- + "sset.v1.IamPolicySearchResult\022\027\n\017next_pa"
- + "ge_token\030\002 \001(\t*l\n\013ContentType\022\034\n\030CONTENT"
- + "_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM"
- + "_POLICY\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLI"
- + "CY\020\0052\360\013\n\014AssetService\022\336\001\n\014ExportAssets\022*"
- + ".google.cloud.asset.v1.ExportAssetsReque"
- + "st\032\035.google.longrunning.Operation\"\202\001\202\323\344\223"
- + "\002\"\"\035/v1/{parent=*/*}:exportAssets:\001*\312AW\n"
- + "*google.cloud.asset.v1.ExportAssetsRespo"
- + "nse\022)google.cloud.asset.v1.ExportAssetsR"
- + "equest\022\262\001\n\025BatchGetAssetsHistory\0223.googl"
- + "e.cloud.asset.v1.BatchGetAssetsHistoryRe"
- + "quest\0324.google.cloud.asset.v1.BatchGetAs"
- + "setsHistoryResponse\".\202\323\344\223\002(\022&/v1/{parent"
- + "=*/*}:batchGetAssetsHistory\022\177\n\nCreateFee"
- + "d\022(.google.cloud.asset.v1.CreateFeedRequ"
- + "est\032\033.google.cloud.asset.v1.Feed\"*\202\323\344\223\002\033"
- + "\"\026/v1/{parent=*/*}/feeds:\001*\332A\006parent\022t\n\007"
- + "GetFeed\022%.google.cloud.asset.v1.GetFeedR"
- + "equest\032\033.google.cloud.asset.v1.Feed\"%\202\323\344"
- + "\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A\004name\022\207\001\n\tL"
- + "istFeeds\022\'.google.cloud.asset.v1.ListFee"
- + "dsRequest\032(.google.cloud.asset.v1.ListFe"
- + "edsResponse\"\'\202\323\344\223\002\030\022\026/v1/{parent=*/*}/fe"
- + "eds\332A\006parent\022\202\001\n\nUpdateFeed\022(.google.clo"
- + "ud.asset.v1.UpdateFeedRequest\032\033.google.c"
- + "loud.asset.v1.Feed\"-\202\323\344\223\002 2\033/v1/{feed.na"
- + "me=*/*/feeds/*}:\001*\332A\004feed\022u\n\nDeleteFeed\022"
- + "(.google.cloud.asset.v1.DeleteFeedReques"
- + "t\032\026.google.protobuf.Empty\"%\202\323\344\223\002\030*\026/v1/{"
- + "name=*/*/feeds/*}\332A\004name\022\277\001\n\022SearchAllRe"
- + "sources\0220.google.cloud.asset.v1.SearchAl"
- + "lResourcesRequest\0321.google.cloud.asset.v"
- + "1.SearchAllResourcesResponse\"D\202\323\344\223\002$\022\"/v"
- + "1/{scope=*/*}:searchAllResources\332A\027scope"
- + ",query,asset_types\022\273\001\n\024SearchAllIamPolic"
- + "ies\0222.google.cloud.asset.v1.SearchAllIam"
- + "PoliciesRequest\0323.google.cloud.asset.v1."
- + "SearchAllIamPoliciesResponse\":\202\323\344\223\002&\022$/v"
- + "1/{scope=*/*}:searchAllIamPolicies\332A\013sco"
- + "pe,query\032M\312A\031cloudasset.googleapis.com\322A"
- + ".https://www.googleapis.com/auth/cloud-p"
- + "latformB\234\001\n\031com.google.cloud.asset.v1B\021A"
- + "ssetServiceProtoP\001Z:google.golang.org/ge"
- + "nproto/googleapis/cloud/asset/v1;asset\252\002"
- + "\025Google.Cloud.Asset.V1\312\002\025Google\\Cloud\\As"
- + "set\\V1b\006proto3"
+ + "erations.proto\032\036google/protobuf/duration"
+ + ".proto\032\033google/protobuf/empty.proto\032 goo"
+ + "gle/protobuf/field_mask.proto\032\037google/pr"
+ + "otobuf/timestamp.proto\032\026google/type/expr"
+ + ".proto\"\215\002\n\023ExportAssetsRequest\0227\n\006parent"
+ + "\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.googleapis.co"
+ + "m/Asset\022-\n\tread_time\030\002 \001(\0132\032.google.prot"
+ + "obuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014c"
+ + "ontent_type\030\004 \001(\0162\".google.cloud.asset.v"
+ + "1.ContentType\022?\n\routput_config\030\005 \001(\0132#.g"
+ + "oogle.cloud.asset.v1.OutputConfigB\003\340A\002\"\201"
+ + "\001\n\024ExportAssetsResponse\022-\n\tread_time\030\001 \001"
+ + "(\0132\032.google.protobuf.Timestamp\022:\n\routput"
+ + "_config\030\002 \001(\0132#.google.cloud.asset.v1.Ou"
+ + "tputConfig\"\355\001\n\034BatchGetAssetsHistoryRequ"
+ + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset."
+ + "googleapis.com/Asset\022\023\n\013asset_names\030\002 \003("
+ + "\t\022=\n\014content_type\030\003 \001(\0162\".google.cloud.a"
+ + "sset.v1.ContentTypeB\003\340A\001\022@\n\020read_time_wi"
+ + "ndow\030\004 \001(\0132!.google.cloud.asset.v1.TimeW"
+ + "indowB\003\340A\001\"U\n\035BatchGetAssetsHistoryRespo"
+ + "nse\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset"
+ + ".v1.TemporalAsset\"n\n\021CreateFeedRequest\022\023"
+ + "\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A"
+ + "\002\022.\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1."
+ + "FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001("
+ + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee"
+ + "d\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340"
+ + "A\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(\0132\033"
+ + ".google.cloud.asset.v1.Feed\"y\n\021UpdateFee"
+ + "dRequest\022.\n\004feed\030\001 \001(\0132\033.google.cloud.as"
+ + "set.v1.FeedB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032."
+ + "google.protobuf.FieldMaskB\003\340A\002\"I\n\021Delete"
+ + "FeedRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud"
+ + "asset.googleapis.com/Feed\"\253\001\n\014OutputConf"
+ + "ig\022@\n\017gcs_destination\030\001 \001(\0132%.google.clo"
+ + "ud.asset.v1.GcsDestinationH\000\022J\n\024bigquery"
+ + "_destination\030\002 \001(\0132*.google.cloud.asset."
+ + "v1.BigQueryDestinationH\000B\r\n\013destination\""
+ + "C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri_"
+ + "prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"N\n\023BigQuery"
+ + "Destination\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005tab"
+ + "le\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\"\"\n\021PubsubDe"
+ + "stination\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutputCo"
+ + "nfig\022F\n\022pubsub_destination\030\001 \001(\0132(.googl"
+ + "e.cloud.asset.v1.PubsubDestinationH\000B\r\n\013"
+ + "destination\"\201\003\n\004Feed\022\021\n\004name\030\001 \001(\tB\003\340A\002\022"
+ + "\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset_types\030\003 \003("
+ + "\t\0228\n\014content_type\030\004 \001(\0162\".google.cloud.a"
+ + "sset.v1.ContentType\022H\n\022feed_output_confi"
+ + "g\030\005 \001(\0132\'.google.cloud.asset.v1.FeedOutp"
+ + "utConfigB\003\340A\002\022$\n\tcondition\030\006 \001(\0132\021.googl"
+ + "e.type.Expr:\221\001\352A\215\001\n\036cloudasset.googleapi"
+ + "s.com/Feed\022\037projects/{project}/feeds/{fe"
+ + "ed}\022\035folders/{folder}/feeds/{feed}\022)orga"
+ + "nizations/{organization}/feeds/{feed} \001\""
+ + "\245\001\n\031SearchAllResourcesRequest\022\022\n\005scope\030\001"
+ + " \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022\030\n\013asset_t"
+ + "ypes\030\003 \003(\tB\003\340A\001\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022"
+ + "\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001"
+ + "(\tB\003\340A\001\"s\n\032SearchAllResourcesResponse\022<\n"
+ + "\007results\030\001 \003(\0132+.google.cloud.asset.v1.R"
+ + "esourceSearchResult\022\027\n\017next_page_token\030\002"
+ + " \001(\t\"v\n\033SearchAllIamPoliciesRequest\022\022\n\005s"
+ + "cope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tp"
+ + "age_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB"
+ + "\003\340A\001\"v\n\034SearchAllIamPoliciesResponse\022=\n\007"
+ + "results\030\001 \003(\0132,.google.cloud.asset.v1.Ia"
+ + "mPolicySearchResult\022\027\n\017next_page_token\030\002"
+ + " \001(\t*l\n\013ContentType\022\034\n\030CONTENT_TYPE_UNSP"
+ + "ECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022"
+ + "\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\0052\360\013\n\014A"
+ + "ssetService\022\336\001\n\014ExportAssets\022*.google.cl"
+ + "oud.asset.v1.ExportAssetsRequest\032\035.googl"
+ + "e.longrunning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{p"
+ + "arent=*/*}:exportAssets:\001*\312AW\n*google.cl"
+ + "oud.asset.v1.ExportAssetsResponse\022)googl"
+ + "e.cloud.asset.v1.ExportAssetsRequest\022\262\001\n"
+ + "\025BatchGetAssetsHistory\0223.google.cloud.as"
+ + "set.v1.BatchGetAssetsHistoryRequest\0324.go"
+ + "ogle.cloud.asset.v1.BatchGetAssetsHistor"
+ + "yResponse\".\202\323\344\223\002(\022&/v1/{parent=*/*}:batc"
+ + "hGetAssetsHistory\022\177\n\nCreateFeed\022(.google"
+ + ".cloud.asset.v1.CreateFeedRequest\032\033.goog"
+ + "le.cloud.asset.v1.Feed\"*\202\323\344\223\002\033\"\026/v1/{par"
+ + "ent=*/*}/feeds:\001*\332A\006parent\022t\n\007GetFeed\022%."
+ + "google.cloud.asset.v1.GetFeedRequest\032\033.g"
+ + "oogle.cloud.asset.v1.Feed\"%\202\323\344\223\002\030\022\026/v1/{"
+ + "name=*/*/feeds/*}\332A\004name\022\207\001\n\tListFeeds\022\'"
+ + ".google.cloud.asset.v1.ListFeedsRequest\032"
+ + "(.google.cloud.asset.v1.ListFeedsRespons"
+ + "e\"\'\202\323\344\223\002\030\022\026/v1/{parent=*/*}/feeds\332A\006pare"
+ + "nt\022\202\001\n\nUpdateFeed\022(.google.cloud.asset.v"
+ + "1.UpdateFeedRequest\032\033.google.cloud.asset"
+ + ".v1.Feed\"-\202\323\344\223\002 2\033/v1/{feed.name=*/*/fee"
+ + "ds/*}:\001*\332A\004feed\022u\n\nDeleteFeed\022(.google.c"
+ + "loud.asset.v1.DeleteFeedRequest\032\026.google"
+ + ".protobuf.Empty\"%\202\323\344\223\002\030*\026/v1/{name=*/*/f"
+ + "eeds/*}\332A\004name\022\277\001\n\022SearchAllResources\0220."
+ + "google.cloud.asset.v1.SearchAllResources"
+ + "Request\0321.google.cloud.asset.v1.SearchAl"
+ + "lResourcesResponse\"D\202\323\344\223\002$\022\"/v1/{scope=*"
+ + "/*}:searchAllResources\332A\027scope,query,ass"
+ + "et_types\022\273\001\n\024SearchAllIamPolicies\0222.goog"
+ + "le.cloud.asset.v1.SearchAllIamPoliciesRe"
+ + "quest\0323.google.cloud.asset.v1.SearchAllI"
+ + "amPoliciesResponse\":\202\323\344\223\002&\022$/v1/{scope=*"
+ + "/*}:searchAllIamPolicies\332A\013scope,query\032M"
+ + "\312A\031cloudasset.googleapis.com\322A.https://w"
+ + "ww.googleapis.com/auth/cloud-platformB\234\001"
+ + "\n\031com.google.cloud.asset.v1B\021AssetServic"
+ + "eProtoP\001Z:google.golang.org/genproto/goo"
+ + "gleapis/cloud/asset/v1;asset\252\002\025Google.Cl"
+ + "oud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V1b\006pr"
+ + "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -246,6 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.asset.v1.AssetProto.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -377,7 +380,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_asset_v1_Feed_descriptor,
new java.lang.String[] {
- "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig",
+ "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", "Condition",
});
internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor =
getDescriptor().getMessageTypes().get(16);
@@ -429,6 +432,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.asset.v1.AssetProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
+ com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
index 6ef855866..1979583bc 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
@@ -213,13 +213,10 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -235,13 +232,10 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -257,13 +251,10 @@ public int getAssetNamesCount() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -280,13 +271,10 @@ public java.lang.String getAssetNames(int index) {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -948,13 +936,10 @@ private void ensureAssetNamesIsMutable() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -970,13 +955,10 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -992,13 +974,10 @@ public int getAssetNamesCount() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -1015,13 +994,10 @@ public java.lang.String getAssetNames(int index) {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -1038,13 +1014,10 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -1068,13 +1041,10 @@ public Builder setAssetNames(int index, java.lang.String value) {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -1097,13 +1067,10 @@ public Builder addAssetNames(java.lang.String value) {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -1123,13 +1090,10 @@ public Builder addAllAssetNames(java.lang.Iterable
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -1148,13 +1112,10 @@ public Builder clearAssetNames() {
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java
index 6f0b38278..c68722c91 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java
@@ -60,13 +60,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -80,13 +77,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -100,13 +94,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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.
*
@@ -121,13 +112,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * A list of the full names of the assets. For example:
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * 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)
- * and [Resource Name
- * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- * 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/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java
index 1ba99cc34..c1893e39f 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java
@@ -22,7 +22,7 @@
*
*
*
- * A BigQuery destination.
+ * A BigQuery destination for exporting assets to.
*
*
* Protobuf type {@code google.cloud.asset.v1.BigQueryDestination}
@@ -434,7 +434,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A BigQuery destination.
+ * A BigQuery destination for exporting assets to.
*
*
* Protobuf type {@code google.cloud.asset.v1.BigQueryDestination}
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java
index 260ae79c8..4bffc22c9 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java
@@ -288,7 +288,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -306,7 +306,7 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -324,7 +324,7 @@ public int getAssetTypesCount() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -343,7 +343,7 @@ public java.lang.String getAssetTypes(int index) {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -404,7 +404,7 @@ public com.google.cloud.asset.v1.ContentType getContentType() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -422,7 +422,7 @@ public boolean hasOutputConfig() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -442,7 +442,7 @@ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1238,7 +1238,7 @@ private void ensureAssetTypesIsMutable() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1256,7 +1256,7 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1274,7 +1274,7 @@ public int getAssetTypesCount() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1293,7 +1293,7 @@ public java.lang.String getAssetTypes(int index) {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1312,7 +1312,7 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1338,7 +1338,7 @@ public Builder setAssetTypes(int index, java.lang.String value) {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1363,7 +1363,7 @@ public Builder addAssetTypes(java.lang.String value) {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1385,7 +1385,7 @@ public Builder addAllAssetTypes(java.lang.Iterable
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1406,7 +1406,7 @@ public Builder clearAssetTypes() {
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -1536,7 +1536,7 @@ public Builder clearContentType() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1553,7 +1553,7 @@ public boolean hasOutputConfig() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1576,7 +1576,7 @@ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1601,7 +1601,7 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1623,7 +1623,7 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder bu
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1652,7 +1652,7 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1675,7 +1675,7 @@ public Builder clearOutputConfig() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1692,7 +1692,7 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() {
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -1713,7 +1713,7 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java
index aefed15e1..9edf3be27 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java
@@ -109,7 +109,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -125,7 +125,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -141,7 +141,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -158,7 +158,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * A list of asset types of which to take a snapshot for. For example:
+ * A list of asset types of which to take a snapshot for. Example:
* "compute.googleapis.com/Disk". If specified, only matching assets will be
* returned. See [Introduction to Cloud Asset
* Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -204,7 +204,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -219,7 +219,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
@@ -234,7 +234,7 @@ public interface ExportAssetsRequestOrBuilder
*
*
* Required. Output configuration indicating where the results will be output
- * to. All results will be in newline delimited JSON format.
+ * to.
*
*
*
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java
index 204d9f82b..fafa13c55 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java
@@ -190,7 +190,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
*/
com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder();
+
+ /**
+ *
+ *
+ *
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -206,7 +205,6 @@ public boolean hasOutputConfig() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -224,7 +222,6 @@ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -784,7 +781,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -799,7 +795,6 @@ public boolean hasOutputConfig() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -820,7 +815,6 @@ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -843,7 +837,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -863,7 +856,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder bu
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -890,7 +882,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -911,7 +902,6 @@ public Builder clearOutputConfig() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -926,7 +916,6 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() {
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -945,7 +934,6 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
index a6c19ffbe..164821978 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
@@ -63,7 +63,6 @@ public interface ExportAssetsResponseOrBuilder
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -76,7 +75,6 @@ public interface ExportAssetsResponseOrBuilder
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
@@ -89,7 +87,6 @@ public interface ExportAssetsResponseOrBuilder
*
*
* Output configuration indicating where the results were output to.
- * All results are in JSON format.
*
*
* .google.cloud.asset.v1.OutputConfig output_config = 2;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
index 8d6cc4df0..fcd48ce7e 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
@@ -126,6 +126,20 @@ private Feed(
feedOutputConfig_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 50:
+ {
+ com.google.type.Expr.Builder subBuilder = null;
+ if (condition_ != null) {
+ subBuilder = condition_.toBuilder();
+ }
+ condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(condition_);
+ condition_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -234,8 +248,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -255,8 +269,8 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -276,8 +290,8 @@ public int getAssetNamesCount() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -298,8 +312,8 @@ public java.lang.String getAssetNames(int index) {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -323,8 +337,8 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -343,8 +357,8 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -363,8 +377,8 @@ public int getAssetTypesCount() {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -384,8 +398,8 @@ public java.lang.String getAssetTypes(int index) {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -495,6 +509,73 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
return getFeedOutputConfig();
}
+ public static final int CONDITION_FIELD_NUMBER = 6;
+ private com.google.type.Expr condition_;
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ *
+ * @return Whether the condition field is set.
+ */
+ @java.lang.Override
+ public boolean hasCondition() {
+ return condition_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ *
+ * @return The condition.
+ */
+ @java.lang.Override
+ public com.google.type.Expr getCondition() {
+ return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ @java.lang.Override
+ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
+ return getCondition();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -525,6 +606,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (feedOutputConfig_ != null) {
output.writeMessage(5, getFeedOutputConfig());
}
+ if (condition_ != null) {
+ output.writeMessage(6, getCondition());
+ }
unknownFields.writeTo(output);
}
@@ -560,6 +644,9 @@ public int getSerializedSize() {
if (feedOutputConfig_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFeedOutputConfig());
}
+ if (condition_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCondition());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -583,6 +670,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasFeedOutputConfig()) {
if (!getFeedOutputConfig().equals(other.getFeedOutputConfig())) return false;
}
+ if (hasCondition() != other.hasCondition()) return false;
+ if (hasCondition()) {
+ if (!getCondition().equals(other.getCondition())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -610,6 +701,10 @@ public int hashCode() {
hash = (37 * hash) + FEED_OUTPUT_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getFeedOutputConfig().hashCode();
}
+ if (hasCondition()) {
+ hash = (37 * hash) + CONDITION_FIELD_NUMBER;
+ hash = (53 * hash) + getCondition().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -771,6 +866,12 @@ public Builder clear() {
feedOutputConfig_ = null;
feedOutputConfigBuilder_ = null;
}
+ if (conditionBuilder_ == null) {
+ condition_ = null;
+ } else {
+ condition_ = null;
+ conditionBuilder_ = null;
+ }
return this;
}
@@ -815,6 +916,11 @@ public com.google.cloud.asset.v1.Feed buildPartial() {
} else {
result.feedOutputConfig_ = feedOutputConfigBuilder_.build();
}
+ if (conditionBuilder_ == null) {
+ result.condition_ = condition_;
+ } else {
+ result.condition_ = conditionBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -894,6 +1000,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Feed other) {
if (other.hasFeedOutputConfig()) {
mergeFeedOutputConfig(other.getFeedOutputConfig());
}
+ if (other.hasCondition()) {
+ mergeCondition(other.getCondition());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1071,8 +1180,8 @@ private void ensureAssetNamesIsMutable() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1092,8 +1201,8 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1113,8 +1222,8 @@ public int getAssetNamesCount() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1135,8 +1244,8 @@ public java.lang.String getAssetNames(int index) {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1157,8 +1266,8 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1186,8 +1295,8 @@ public Builder setAssetNames(int index, java.lang.String value) {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1214,8 +1323,8 @@ public Builder addAssetNames(java.lang.String value) {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1239,8 +1348,8 @@ public Builder addAllAssetNames(java.lang.Iterable
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1263,8 +1372,8 @@ public Builder clearAssetNames() {
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -1302,8 +1411,8 @@ private void ensureAssetTypesIsMutable() {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1322,8 +1431,8 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1342,8 +1451,8 @@ public int getAssetTypesCount() {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1363,8 +1472,8 @@ public java.lang.String getAssetTypes(int index) {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1384,8 +1493,8 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1412,8 +1521,8 @@ public Builder setAssetTypes(int index, java.lang.String value) {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1439,8 +1548,8 @@ public Builder addAssetTypes(java.lang.String value) {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1463,8 +1572,8 @@ public Builder addAllAssetTypes(java.lang.Iterable
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1486,8 +1595,8 @@ public Builder clearAssetTypes() {
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -1818,6 +1927,241 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
return feedOutputConfigBuilder_;
}
+ private com.google.type.Expr condition_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>
+ conditionBuilder_;
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ *
+ * @return Whether the condition field is set.
+ */
+ public boolean hasCondition() {
+ return conditionBuilder_ != null || condition_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ *
+ * @return The condition.
+ */
+ public com.google.type.Expr getCondition() {
+ if (conditionBuilder_ == null) {
+ return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_;
+ } else {
+ return conditionBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ public Builder setCondition(com.google.type.Expr value) {
+ if (conditionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ condition_ = value;
+ onChanged();
+ } else {
+ conditionBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
+ if (conditionBuilder_ == null) {
+ condition_ = builderForValue.build();
+ onChanged();
+ } else {
+ conditionBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ public Builder mergeCondition(com.google.type.Expr value) {
+ if (conditionBuilder_ == null) {
+ if (condition_ != null) {
+ condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
+ } else {
+ condition_ = value;
+ }
+ onChanged();
+ } else {
+ conditionBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ public Builder clearCondition() {
+ if (conditionBuilder_ == null) {
+ condition_ = null;
+ onChanged();
+ } else {
+ condition_ = null;
+ conditionBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ public com.google.type.Expr.Builder getConditionBuilder() {
+
+ onChanged();
+ return getConditionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
+ if (conditionBuilder_ != null) {
+ return conditionBuilder_.getMessageOrBuilder();
+ } else {
+ return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>
+ getConditionFieldBuilder() {
+ if (conditionBuilder_ == null) {
+ conditionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
+ getCondition(), getParentForChildren(), isClean());
+ condition_ = null;
+ }
+ return conditionBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java
index 700f632b5..90864c4df 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java
@@ -64,8 +64,8 @@ public interface FeedOrBuilder
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -83,8 +83,8 @@ public interface FeedOrBuilder
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -102,8 +102,8 @@ public interface FeedOrBuilder
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -122,8 +122,8 @@ public interface FeedOrBuilder
*
* A list of the full names of the assets to receive updates. You must specify
* either or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed. For
- * example:
+ * specified asset_names or asset_types are exported to the feed.
+ * 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)
@@ -143,8 +143,8 @@ public interface FeedOrBuilder
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -161,8 +161,8 @@ public interface FeedOrBuilder
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -179,8 +179,8 @@ public interface FeedOrBuilder
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -198,8 +198,8 @@ public interface FeedOrBuilder
*
* A list of types of the assets to receive updates. You must specify either
* or both of asset_names and asset_types. Only asset updates matching
- * specified asset_names and asset_types are exported to the feed.
- * For example: `"compute.googleapis.com/Disk"`
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
* See [this
* topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* for a list of all supported asset types.
@@ -282,4 +282,60 @@ public interface FeedOrBuilder
*
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ *
+ * @return Whether the condition field is set.
+ */
+ boolean hasCondition();
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ *
+ * @return The condition.
+ */
+ com.google.type.Expr getCondition();
+ /**
+ *
+ *
+ *
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields in `Expr` are
+ * optional.
+ *
+ *
+ * .google.type.Expr condition = 6;
+ */
+ com.google.type.ExprOrBuilder getConditionOrBuilder();
}
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java
index 7a403d290..e4ffb7d48 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java
@@ -169,7 +169,7 @@ public ObjectUriCase getObjectUriCase() {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -200,7 +200,7 @@ public java.lang.String getUri() {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -232,10 +232,10 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -267,10 +267,10 @@ public java.lang.String getUriPrefix() {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -681,7 +681,7 @@ public Builder clearObjectUri() {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -713,7 +713,7 @@ public java.lang.String getUri() {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -745,7 +745,7 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -770,7 +770,7 @@ public Builder setUri(java.lang.String value) {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -793,7 +793,7 @@ public Builder clearUri() {
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -819,10 +819,10 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -855,10 +855,10 @@ public java.lang.String getUriPrefix() {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -891,10 +891,10 @@ public com.google.protobuf.ByteString getUriPrefixBytes() {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -920,10 +920,10 @@ public Builder setUriPrefix(java.lang.String value) {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -947,10 +947,10 @@ public Builder clearUriPrefix() {
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java
index dcfbddd6c..ca873312d 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java
@@ -28,7 +28,7 @@ public interface GcsDestinationOrBuilder
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -44,7 +44,7 @@ public interface GcsDestinationOrBuilder
*
*
* The uri of the Cloud Storage object. It's the same uri that is used by
- * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
* Editing Object
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
@@ -60,10 +60,10 @@ public interface GcsDestinationOrBuilder
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
@@ -80,10 +80,10 @@ public interface GcsDestinationOrBuilder
*
*
*
- * The uri prefix of all generated Cloud Storage objects. For example:
+ * The uri prefix of all generated Cloud Storage objects. Example:
* "gs://bucket_name/object_name_prefix". Each object uri is in format:
* "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
- * contains assets for that type. <shard number> starts from 0. For example:
+ * contains assets for that type. <shard number> starts from 0. Example:
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
* the first shard of output objects containing all
* compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java
index eb29edf7e..a1fd2a75e 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java
@@ -239,9 +239,7 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -257,9 +255,7 @@ public boolean hasBigqueryDestination() {
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -278,9 +274,7 @@ public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() {
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -897,9 +891,7 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -915,9 +907,7 @@ public boolean hasBigqueryDestination() {
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -943,9 +933,7 @@ public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() {
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -968,9 +956,7 @@ public Builder setBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestinat
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -991,9 +977,7 @@ public Builder setBigqueryDestination(
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -1025,9 +1009,7 @@ public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestin
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -1053,9 +1035,7 @@ public Builder clearBigqueryDestination() {
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -1068,9 +1048,7 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -1092,9 +1070,7 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
index f0a6d3102..d324d6b00 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
@@ -63,9 +63,7 @@ public interface OutputConfigOrBuilder
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -78,9 +76,7 @@ public interface OutputConfigOrBuilder
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
@@ -93,9 +89,7 @@ public interface OutputConfigOrBuilder
*
*
* Destination on BigQuery. The output table stores the fields in asset
- * proto as columns in BigQuery. The resource/iam_policy field is converted
- * to a record with each field to a column, except metadata to a single JSON
- * string.
+ * proto as columns in BigQuery.
*
*
* .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java
index 1eafa4283..8ffb4157f 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java
@@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -142,7 +142,7 @@ public java.lang.String getTopic() {
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -484,7 +484,7 @@ public Builder mergeFrom(
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -507,7 +507,7 @@ public java.lang.String getTopic() {
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -530,7 +530,7 @@ public com.google.protobuf.ByteString getTopicBytes() {
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -552,7 +552,7 @@ public Builder setTopic(java.lang.String value) {
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -570,7 +570,7 @@ public Builder clearTopic() {
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java
index 36c5ca8bd..ba1e2e54c 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java
@@ -28,7 +28,7 @@ public interface PubsubDestinationOrBuilder
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
@@ -41,7 +41,7 @@ public interface PubsubDestinationOrBuilder
*
*
* The name of the Pub/Sub topic to publish to.
- * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
*
*
* string topic = 1;
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java
index 836088c23..607922327 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java
@@ -171,7 +171,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -194,7 +194,7 @@ public java.lang.String getVersion() {
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -248,7 +248,7 @@ public java.lang.String getDiscoveryDocumentUri() {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -277,7 +277,7 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
*
*
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -303,7 +303,7 @@ public java.lang.String getDiscoveryName() {
*
*
*
@@ -974,7 +974,7 @@ public Builder mergeFrom(
*
*
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -333,7 +333,7 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
*
*
@@ -426,7 +426,7 @@ public java.lang.String getParent() {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -359,7 +359,7 @@ public java.lang.String getResourceUrl() {
*
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -394,7 +394,7 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -996,7 +996,7 @@ public java.lang.String getVersion() {
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -1039,7 +1039,7 @@ public Builder setVersion(java.lang.String value) {
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -1056,7 +1056,7 @@ public Builder clearVersion() {
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -1081,7 +1081,7 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1107,7 +1107,7 @@ public java.lang.String getDiscoveryDocumentUri() {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1133,7 +1133,7 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1158,7 +1158,7 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1179,7 +1179,7 @@ public Builder clearDiscoveryDocumentUri() {
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1206,7 +1206,7 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value
*
*
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1231,7 +1231,7 @@ public java.lang.String getDiscoveryName() {
*
*
*
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java
index f39d9bd58..72cf57aa5 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java
@@ -27,7 +27,7 @@ public interface ResourceOrBuilder
*
*
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1256,7 +1256,7 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
*
*
*
@@ -1573,7 +1573,7 @@ public Builder clearParent() {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1280,7 +1280,7 @@ public Builder setDiscoveryName(java.lang.String value) {
*
*
*
@@ -1547,7 +1547,7 @@ public Builder setParent(java.lang.String value) {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1300,7 +1300,7 @@ public Builder clearDiscoveryName() {
*
*
*
@@ -1517,7 +1517,7 @@ public com.google.protobuf.ByteString getParentBytes() {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -1328,7 +1328,7 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) {
*
*
@@ -1486,7 +1486,7 @@ public java.lang.String getParent() {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -1353,7 +1353,7 @@ public java.lang.String getResourceUrl() {
*
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -1378,7 +1378,7 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
*
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -1402,7 +1402,7 @@ public Builder setResourceUrl(java.lang.String value) {
*
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -1422,7 +1422,7 @@ public Builder clearResourceUrl() {
*
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -1455,7 +1455,7 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) {
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -39,7 +39,7 @@ public interface ResourceOrBuilder
*
*
*
- * The API version. For example: `v1`
+ * The API version. Example: `v1`
*
*
* string version = 1;
@@ -53,7 +53,7 @@ public interface ResourceOrBuilder
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -69,7 +69,7 @@ public interface ResourceOrBuilder
*
*
* The URL of the discovery document containing the resource's JSON schema.
- * For example:
+ * Example:
* `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -85,7 +85,7 @@ public interface ResourceOrBuilder
*
*
*
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -100,7 +100,7 @@ public interface ResourceOrBuilder
*
*
*
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java
index 2480bdd8e..66dfa664c 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java
@@ -38,7 +38,9 @@ private TemporalAsset(com.google.protobuf.GeneratedMessageV3.Builder> builder)
super(builder);
}
- private TemporalAsset() {}
+ private TemporalAsset() {
+ priorAssetState_ = 0;
+ }
@java.lang.Override
@SuppressWarnings({"unused"})
@@ -103,6 +105,28 @@ private TemporalAsset(
asset_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 32:
+ {
+ int rawValue = input.readEnum();
+
+ priorAssetState_ = rawValue;
+ break;
+ }
+ case 42:
+ {
+ com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
+ if (priorAsset_ != null) {
+ subBuilder = priorAsset_.toBuilder();
+ }
+ priorAsset_ =
+ input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(priorAsset_);
+ priorAsset_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -139,6 +163,209 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.asset.v1.TemporalAsset.Builder.class);
}
+ /**
+ *
+ *
+ *
- * The JSON schema name listed in the discovery document. For example:
+ * The JSON schema name listed in the discovery document. Example:
* `Project`
* This value is unspecified for resources that do not have an API based on a
* discovery document, such as Cloud Bigtable.
@@ -117,7 +117,7 @@ public interface ResourceOrBuilder
*
*
@@ -175,7 +175,7 @@ public interface ResourceOrBuilder
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -132,7 +132,7 @@ public interface ResourceOrBuilder
*
*
* The REST URL for accessing the resource. An HTTP `GET` request using this
- * URL returns the resource itself. For example:
+ * URL returns the resource itself. Example:
* `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
* This value is unspecified for resources without a REST API.
*
@@ -154,7 +154,7 @@ public interface ResourceOrBuilder
* For Google Cloud assets, this value is the parent resource defined in the
* [Cloud IAM policy
* hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
- * For example:
+ * Example:
* `//cloudresourcemanager.googleapis.com/projects/my_project_123`
* For third-party assets, this field may be set differently.
*
+ * State of prior asset.
+ *
+ *
+ * Protobuf enum {@code google.cloud.asset.v1.TemporalAsset.PriorAssetState}
+ */
+ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * prior_asset is not applicable for the current asset.
+ *
+ *
+ * PRIOR_ASSET_STATE_UNSPECIFIED = 0;
+ */
+ PRIOR_ASSET_STATE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * prior_asset is populated correctly.
+ *
+ *
+ * PRESENT = 1;
+ */
+ PRESENT(1),
+ /**
+ *
+ *
+ *
+ * Failed to set prior_asset.
+ *
+ *
+ * INVALID = 2;
+ */
+ INVALID(2),
+ /**
+ *
+ *
+ *
+ * Current asset is the first known state.
+ *
+ *
+ * DOES_NOT_EXIST = 3;
+ */
+ DOES_NOT_EXIST(3),
+ /**
+ *
+ *
+ *
+ * prior_asset is a deletion.
+ *
+ *
+ * DELETED = 4;
+ */
+ DELETED(4),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * prior_asset is not applicable for the current asset.
+ *
+ *
+ * PRIOR_ASSET_STATE_UNSPECIFIED = 0;
+ */
+ public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * prior_asset is populated correctly.
+ *
+ *
+ * PRESENT = 1;
+ */
+ public static final int PRESENT_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Failed to set prior_asset.
+ *
+ *
+ * INVALID = 2;
+ */
+ public static final int INVALID_VALUE = 2;
+ /**
+ *
+ *
+ *
+ * Current asset is the first known state.
+ *
+ *
+ * DOES_NOT_EXIST = 3;
+ */
+ public static final int DOES_NOT_EXIST_VALUE = 3;
+ /**
+ *
+ *
+ *
+ * prior_asset is a deletion.
+ *
+ *
+ * DELETED = 4;
+ */
+ public static final int DELETED_VALUE = 4;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static PriorAssetState valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static PriorAssetState forNumber(int value) {
+ switch (value) {
+ case 0:
+ return PRIOR_ASSET_STATE_UNSPECIFIED;
+ case 1:
+ return PRESENT;
+ case 2:
+ return INVALID;
+ case 3:
+ return DOES_NOT_EXIST;
+ case 4:
+ return DELETED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return The enum numeric value on the wire for priorAssetState.
+ */
+ @java.lang.Override
+ public int getPriorAssetStateValue() {
+ return priorAssetState_;
+ }
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return The priorAssetState.
+ */
+ @java.lang.Override
+ public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result =
+ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_);
+ return result == null
+ ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int PRIOR_ASSET_FIELD_NUMBER = 5;
+ private com.google.cloud.asset.v1.Asset priorAsset_;
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ *
+ * @return Whether the priorAsset field is set.
+ */
+ @java.lang.Override
+ public boolean hasPriorAsset() {
+ return priorAsset_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ *
+ * @return The priorAsset.
+ */
+ @java.lang.Override
+ public com.google.cloud.asset.v1.Asset getPriorAsset() {
+ return priorAsset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ @java.lang.Override
+ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
+ return getPriorAsset();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -272,6 +586,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (asset_ != null) {
output.writeMessage(3, getAsset());
}
+ if (priorAssetState_
+ != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(4, priorAssetState_);
+ }
+ if (priorAsset_ != null) {
+ output.writeMessage(5, getPriorAsset());
+ }
unknownFields.writeTo(output);
}
@@ -290,6 +612,14 @@ public int getSerializedSize() {
if (asset_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset());
}
+ if (priorAssetState_
+ != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, priorAssetState_);
+ }
+ if (priorAsset_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPriorAsset());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -314,6 +644,11 @@ public boolean equals(final java.lang.Object obj) {
if (hasAsset()) {
if (!getAsset().equals(other.getAsset())) return false;
}
+ if (priorAssetState_ != other.priorAssetState_) return false;
+ if (hasPriorAsset() != other.hasPriorAsset()) return false;
+ if (hasPriorAsset()) {
+ if (!getPriorAsset().equals(other.getPriorAsset())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -335,6 +670,12 @@ public int hashCode() {
hash = (37 * hash) + ASSET_FIELD_NUMBER;
hash = (53 * hash) + getAsset().hashCode();
}
+ hash = (37 * hash) + PRIOR_ASSET_STATE_FIELD_NUMBER;
+ hash = (53 * hash) + priorAssetState_;
+ if (hasPriorAsset()) {
+ hash = (37 * hash) + PRIOR_ASSET_FIELD_NUMBER;
+ hash = (53 * hash) + getPriorAsset().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -495,6 +836,14 @@ public Builder clear() {
asset_ = null;
assetBuilder_ = null;
}
+ priorAssetState_ = 0;
+
+ if (priorAssetBuilder_ == null) {
+ priorAsset_ = null;
+ } else {
+ priorAsset_ = null;
+ priorAssetBuilder_ = null;
+ }
return this;
}
@@ -533,6 +882,12 @@ public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
} else {
result.asset_ = assetBuilder_.build();
}
+ result.priorAssetState_ = priorAssetState_;
+ if (priorAssetBuilder_ == null) {
+ result.priorAsset_ = priorAsset_;
+ } else {
+ result.priorAsset_ = priorAssetBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -591,6 +946,12 @@ public Builder mergeFrom(com.google.cloud.asset.v1.TemporalAsset other) {
if (other.hasAsset()) {
mergeAsset(other.getAsset());
}
+ if (other.priorAssetState_ != 0) {
+ setPriorAssetStateValue(other.getPriorAssetStateValue());
+ }
+ if (other.hasPriorAsset()) {
+ mergePriorAsset(other.getPriorAsset());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1036,6 +1397,294 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() {
return assetBuilder_;
}
+ private int priorAssetState_ = 0;
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return The enum numeric value on the wire for priorAssetState.
+ */
+ @java.lang.Override
+ public int getPriorAssetStateValue() {
+ return priorAssetState_;
+ }
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @param value The enum numeric value on the wire for priorAssetState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPriorAssetStateValue(int value) {
+
+ priorAssetState_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return The priorAssetState.
+ */
+ @java.lang.Override
+ public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result =
+ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_);
+ return result == null
+ ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @param value The priorAssetState to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPriorAssetState(
+ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ priorAssetState_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPriorAssetState() {
+
+ priorAssetState_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.asset.v1.Asset priorAsset_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.asset.v1.Asset,
+ com.google.cloud.asset.v1.Asset.Builder,
+ com.google.cloud.asset.v1.AssetOrBuilder>
+ priorAssetBuilder_;
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ *
+ * @return Whether the priorAsset field is set.
+ */
+ public boolean hasPriorAsset() {
+ return priorAssetBuilder_ != null || priorAsset_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ *
+ * @return The priorAsset.
+ */
+ public com.google.cloud.asset.v1.Asset getPriorAsset() {
+ if (priorAssetBuilder_ == null) {
+ return priorAsset_ == null
+ ? com.google.cloud.asset.v1.Asset.getDefaultInstance()
+ : priorAsset_;
+ } else {
+ return priorAssetBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset value) {
+ if (priorAssetBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ priorAsset_ = value;
+ onChanged();
+ } else {
+ priorAssetBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) {
+ if (priorAssetBuilder_ == null) {
+ priorAsset_ = builderForValue.build();
+ onChanged();
+ } else {
+ priorAssetBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
+ if (priorAssetBuilder_ == null) {
+ if (priorAsset_ != null) {
+ priorAsset_ =
+ com.google.cloud.asset.v1.Asset.newBuilder(priorAsset_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ priorAsset_ = value;
+ }
+ onChanged();
+ } else {
+ priorAssetBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ public Builder clearPriorAsset() {
+ if (priorAssetBuilder_ == null) {
+ priorAsset_ = null;
+ onChanged();
+ } else {
+ priorAsset_ = null;
+ priorAssetBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ public com.google.cloud.asset.v1.Asset.Builder getPriorAssetBuilder() {
+
+ onChanged();
+ return getPriorAssetFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
+ if (priorAssetBuilder_ != null) {
+ return priorAssetBuilder_.getMessageOrBuilder();
+ } else {
+ return priorAsset_ == null
+ ? com.google.cloud.asset.v1.Asset.getDefaultInstance()
+ : priorAsset_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.asset.v1.Asset,
+ com.google.cloud.asset.v1.Asset.Builder,
+ com.google.cloud.asset.v1.AssetOrBuilder>
+ getPriorAssetFieldBuilder() {
+ if (priorAssetBuilder_ == null) {
+ priorAssetBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.asset.v1.Asset,
+ com.google.cloud.asset.v1.Asset.Builder,
+ com.google.cloud.asset.v1.AssetOrBuilder>(
+ getPriorAsset(), getParentForChildren(), isClean());
+ priorAsset_ = null;
+ }
+ return priorAssetBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
index 05e6fb46f..68d9d1d37 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
@@ -105,4 +105,67 @@ public interface TemporalAssetOrBuilder
* .google.cloud.asset.v1.Asset asset = 3;
*/
com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return The enum numeric value on the wire for priorAssetState.
+ */
+ int getPriorAssetStateValue();
+ /**
+ *
+ *
+ *
+ * State of prior_asset.
+ *
+ *
+ * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ *
+ * @return The priorAssetState.
+ */
+ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState();
+
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ *
+ * @return Whether the priorAsset field is set.
+ */
+ boolean hasPriorAsset();
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ *
+ * @return The priorAsset.
+ */
+ com.google.cloud.asset.v1.Asset getPriorAsset();
+ /**
+ *
+ *
+ *
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ *
+ * .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder();
}
diff --git a/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto b/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
index 0eab6efdd..db3ca4123 100644
--- a/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
+++ b/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
@@ -22,6 +22,7 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/asset/v1/assets.proto";
import "google/longrunning/operations.proto";
+import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
@@ -41,10 +42,16 @@ service AssetService {
"https://www.googleapis.com/auth/cloud-platform";
// 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.
+ // location/BigQuery table. For Cloud Storage location destinations, the
+ // output format is newline-delimited JSON. Each line represents a
+ // [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+ // format; for BigQuery table destinations, the output table stores the fields
+ // in asset proto as columns. This API implements the
+ // [google.longrunning.Operation][google.longrunning.Operation] API , which
+ // allows you to keep track of the export. We recommend intervals of at least
+ // 2 seconds with exponential retry to poll the export operation result. For
+ // regular-size resource parent, the export operation usually finishes within
+ // 5 minutes.
rpc ExportAssets(ExportAssetsRequest) returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{parent=*/*}:exportAssets"
@@ -57,10 +64,10 @@ service AssetService {
}
// 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.
+ // Otherwise, this API outputs history with asset in both non-delete or
+ // deleted status.
// If a specified asset does not exist, this API returns an INVALID_ARGUMENT
// error.
rpc BatchGetAssetsHistory(BatchGetAssetsHistoryRequest)
@@ -158,7 +165,7 @@ message ExportAssetsRequest {
// running the same query may get different results.
google.protobuf.Timestamp read_time = 2;
- // A list of asset types of which to take a snapshot for. For example:
+ // A list of asset types of which to take a snapshot for. Example:
// "compute.googleapis.com/Disk". If specified, only matching assets will be
// returned. See [Introduction to Cloud Asset
// Inventory](https://cloud.google.com/asset-inventory/docs/overview)
@@ -170,7 +177,7 @@ message ExportAssetsRequest {
ContentType content_type = 4;
// Required. Output configuration indicating where the results will be output
- // to. All results will be in newline delimited JSON format.
+ // to.
OutputConfig output_config = 5 [(google.api.field_behavior) = REQUIRED];
}
@@ -184,7 +191,6 @@ message ExportAssetsResponse {
google.protobuf.Timestamp read_time = 1;
// Output configuration indicating where the results were output to.
- // All results are in JSON format.
OutputConfig output_config = 2;
}
@@ -200,13 +206,11 @@ message BatchGetAssetsHistoryRequest {
}
];
- // A list of the full names of the assets. For example:
+ // A list of the full names of the assets.
+ // See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ // 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)
- // and [Resource Name
- // Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
- // 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.
@@ -310,9 +314,7 @@ message OutputConfig {
GcsDestination gcs_destination = 1;
// Destination on BigQuery. The output table stores the fields in asset
- // proto as columns in BigQuery. The resource/iam_policy field is converted
- // to a record with each field to a column, except metadata to a single JSON
- // string.
+ // proto as columns in BigQuery.
BigQueryDestination bigquery_destination = 2;
}
}
@@ -322,16 +324,16 @@ message GcsDestination {
// Required.
oneof object_uri {
// The uri of the Cloud Storage object. It's the same uri that is used by
- // gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ // gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
// Editing Object
// Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
// for more information.
string uri = 1;
- // The uri prefix of all generated Cloud Storage objects. For example:
+ // The uri prefix of all generated Cloud Storage objects. Example:
// "gs://bucket_name/object_name_prefix". Each object uri is in format:
// "gs://bucket_name/object_name_prefix/