diff --git a/java-recommender/README.md b/java-recommender/README.md
index 7ba029cf08f5..4f1d9a7cd93e 100644
--- a/java-recommender/README.md
+++ b/java-recommender/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
Examples: *
The max allowed filter length is 500 characters. *
(These expressions are based on the filter language described at * https://google.aip.dev/160) * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -930,6 +938,9 @@ public final ListRecommendationsPagedResponse listRecommendations( *
Examples: *
The max allowed filter length is 500 characters. *
(These expressions are based on the filter language described at * https://google.aip.dev/160) * @throws com.google.api.gax.rpc.ApiException if the remote call fails diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjection.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjection.java index bf10cfeaad66..ea0b07c81dc0 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjection.java +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjection.java @@ -167,6 +167,56 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } + public static final int COST_IN_LOCAL_CURRENCY_FIELD_NUMBER = 3; + private com.google.type.Money costInLocalCurrency_; + /** + * + * + *
+ * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ *
+ * @return Whether the costInLocalCurrency field is set.
+ */
+ @java.lang.Override
+ public boolean hasCostInLocalCurrency() {
+ return costInLocalCurrency_ != null;
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ *
+ * @return The costInLocalCurrency.
+ */
+ @java.lang.Override
+ public com.google.type.Money getCostInLocalCurrency() {
+ return costInLocalCurrency_ == null
+ ? com.google.type.Money.getDefaultInstance()
+ : costInLocalCurrency_;
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ @java.lang.Override
+ public com.google.type.MoneyOrBuilder getCostInLocalCurrencyOrBuilder() {
+ return costInLocalCurrency_ == null
+ ? com.google.type.Money.getDefaultInstance()
+ : costInLocalCurrency_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -187,6 +237,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (duration_ != null) {
output.writeMessage(2, getDuration());
}
+ if (costInLocalCurrency_ != null) {
+ output.writeMessage(3, getCostInLocalCurrency());
+ }
getUnknownFields().writeTo(output);
}
@@ -202,6 +255,9 @@ public int getSerializedSize() {
if (duration_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
}
+ if (costInLocalCurrency_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCostInLocalCurrency());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -226,6 +282,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasDuration()) {
if (!getDuration().equals(other.getDuration())) return false;
}
+ if (hasCostInLocalCurrency() != other.hasCostInLocalCurrency()) return false;
+ if (hasCostInLocalCurrency()) {
+ if (!getCostInLocalCurrency().equals(other.getCostInLocalCurrency())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -245,6 +305,10 @@ public int hashCode() {
hash = (37 * hash) + DURATION_FIELD_NUMBER;
hash = (53 * hash) + getDuration().hashCode();
}
+ if (hasCostInLocalCurrency()) {
+ hash = (37 * hash) + COST_IN_LOCAL_CURRENCY_FIELD_NUMBER;
+ hash = (53 * hash) + getCostInLocalCurrency().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -394,6 +458,11 @@ public Builder clear() {
durationBuilder_.dispose();
durationBuilder_ = null;
}
+ costInLocalCurrency_ = null;
+ if (costInLocalCurrencyBuilder_ != null) {
+ costInLocalCurrencyBuilder_.dispose();
+ costInLocalCurrencyBuilder_ = null;
+ }
return this;
}
@@ -436,6 +505,12 @@ private void buildPartial0(com.google.cloud.recommender.v1.CostProjection result
if (((from_bitField0_ & 0x00000002) != 0)) {
result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.costInLocalCurrency_ =
+ costInLocalCurrencyBuilder_ == null
+ ? costInLocalCurrency_
+ : costInLocalCurrencyBuilder_.build();
+ }
}
@java.lang.Override
@@ -489,6 +564,9 @@ public Builder mergeFrom(com.google.cloud.recommender.v1.CostProjection other) {
if (other.hasDuration()) {
mergeDuration(other.getDuration());
}
+ if (other.hasCostInLocalCurrency()) {
+ mergeCostInLocalCurrency(other.getCostInLocalCurrency());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -527,6 +605,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 18
+ case 26:
+ {
+ input.readMessage(
+ getCostInLocalCurrencyFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -944,6 +1029,185 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
return durationBuilder_;
}
+ private com.google.type.Money costInLocalCurrency_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+ costInLocalCurrencyBuilder_;
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ *
+ * @return Whether the costInLocalCurrency field is set.
+ */
+ public boolean hasCostInLocalCurrency() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ *
+ * @return The costInLocalCurrency.
+ */
+ public com.google.type.Money getCostInLocalCurrency() {
+ if (costInLocalCurrencyBuilder_ == null) {
+ return costInLocalCurrency_ == null
+ ? com.google.type.Money.getDefaultInstance()
+ : costInLocalCurrency_;
+ } else {
+ return costInLocalCurrencyBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ public Builder setCostInLocalCurrency(com.google.type.Money value) {
+ if (costInLocalCurrencyBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ costInLocalCurrency_ = value;
+ } else {
+ costInLocalCurrencyBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ public Builder setCostInLocalCurrency(com.google.type.Money.Builder builderForValue) {
+ if (costInLocalCurrencyBuilder_ == null) {
+ costInLocalCurrency_ = builderForValue.build();
+ } else {
+ costInLocalCurrencyBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ public Builder mergeCostInLocalCurrency(com.google.type.Money value) {
+ if (costInLocalCurrencyBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && costInLocalCurrency_ != null
+ && costInLocalCurrency_ != com.google.type.Money.getDefaultInstance()) {
+ getCostInLocalCurrencyBuilder().mergeFrom(value);
+ } else {
+ costInLocalCurrency_ = value;
+ }
+ } else {
+ costInLocalCurrencyBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ public Builder clearCostInLocalCurrency() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ costInLocalCurrency_ = null;
+ if (costInLocalCurrencyBuilder_ != null) {
+ costInLocalCurrencyBuilder_.dispose();
+ costInLocalCurrencyBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ public com.google.type.Money.Builder getCostInLocalCurrencyBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getCostInLocalCurrencyFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ public com.google.type.MoneyOrBuilder getCostInLocalCurrencyOrBuilder() {
+ if (costInLocalCurrencyBuilder_ != null) {
+ return costInLocalCurrencyBuilder_.getMessageOrBuilder();
+ } else {
+ return costInLocalCurrency_ == null
+ ? com.google.type.Money.getDefaultInstance()
+ : costInLocalCurrency_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+ getCostInLocalCurrencyFieldBuilder() {
+ if (costInLocalCurrencyBuilder_ == null) {
+ costInLocalCurrencyBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Money,
+ com.google.type.Money.Builder,
+ com.google.type.MoneyOrBuilder>(
+ getCostInLocalCurrency(), getParentForChildren(), isClean());
+ costInLocalCurrency_ = null;
+ }
+ return costInLocalCurrencyBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjectionOrBuilder.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjectionOrBuilder.java
index 8873cb3b9d86..bfbbb7525056 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjectionOrBuilder.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/CostProjectionOrBuilder.java
@@ -107,4 +107,39 @@ public interface CostProjectionOrBuilder
* .google.protobuf.Duration duration = 2;
*/
com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
+
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ *
+ * @return Whether the costInLocalCurrency field is set.
+ */
+ boolean hasCostInLocalCurrency();
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ *
+ * @return The costInLocalCurrency.
+ */
+ com.google.type.Money getCostInLocalCurrency();
+ /**
+ *
+ *
+ * + * The approximate cost savings in the billing account's local currency. + *+ * + *
.google.type.Money cost_in_local_currency = 3;
+ */
+ com.google.type.MoneyOrBuilder getCostInLocalCurrencyOrBuilder();
}
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/Impact.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/Impact.java
index dc6493ffd71f..df718d392548 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/Impact.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/Impact.java
@@ -560,7 +560,7 @@ public com.google.cloud.recommender.v1.SustainabilityProjection getSustainabilit
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -575,7 +575,7 @@ public boolean hasReliabilityProjection() {
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -593,7 +593,7 @@ public com.google.cloud.recommender.v1.ReliabilityProjection getReliabilityProje
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -1862,7 +1862,7 @@ public Builder clearSustainabilityProjection() {
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -1877,7 +1877,7 @@ public boolean hasReliabilityProjection() {
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -1902,7 +1902,7 @@ public com.google.cloud.recommender.v1.ReliabilityProjection getReliabilityProje
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -1925,7 +1925,7 @@ public Builder setReliabilityProjection(
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -1945,7 +1945,7 @@ public Builder setReliabilityProjection(
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -1979,7 +1979,7 @@ public Builder mergeReliabilityProjection(
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -2004,7 +2004,7 @@ public Builder clearReliabilityProjection() {
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -2017,7 +2017,7 @@ public Builder clearReliabilityProjection() {
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -2038,7 +2038,7 @@ public Builder clearReliabilityProjection() {
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ImpactOrBuilder.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ImpactOrBuilder.java
index b7d46e592f3b..9f47d4acd245 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ImpactOrBuilder.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ImpactOrBuilder.java
@@ -161,7 +161,7 @@ public interface ImpactOrBuilder
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -173,7 +173,7 @@ public interface ImpactOrBuilder
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
@@ -185,7 +185,7 @@ public interface ImpactOrBuilder
*
*
* - * Use with CategoryType.RELAIBILITY + * Use with CategoryType.RELIABILITY ** *
.google.cloud.recommender.v1.ReliabilityProjection reliability_projection = 103;
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequest.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequest.java
index e42c81a383ad..a4a15fb1c24c 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequest.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequest.java
@@ -245,6 +245,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -253,8 +255,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -288,6 +295,8 @@ public java.lang.String getFilter() {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -296,8 +305,13 @@ public java.lang.String getFilter() {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1121,6 +1135,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1129,8 +1145,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1163,6 +1184,8 @@ public java.lang.String getFilter() {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1171,8 +1194,13 @@ public java.lang.String getFilter() {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1205,6 +1233,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1213,8 +1243,13 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1246,6 +1281,8 @@ public Builder setFilter(java.lang.String value) {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1254,8 +1291,13 @@ public Builder setFilter(java.lang.String value) {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1283,6 +1325,8 @@ public Builder clearFilter() {
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1291,8 +1335,13 @@ public Builder clearFilter() {
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequestOrBuilder.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequestOrBuilder.java
index d3f7d5bd58b0..73b336b57257 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequestOrBuilder.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListInsightsRequestOrBuilder.java
@@ -143,6 +143,8 @@ public interface ListInsightsRequestOrBuilder
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -151,8 +153,13 @@ public interface ListInsightsRequestOrBuilder
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -175,6 +182,8 @@ public interface ListInsightsRequestOrBuilder
*
* * `severity`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -183,8 +192,13 @@ public interface ListInsightsRequestOrBuilder
*
* * `severity = CRITICAL OR severity = HIGH`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequest.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequest.java
index dc479187c716..4f63b4a83310 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequest.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequest.java
@@ -245,6 +245,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -253,8 +255,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -288,6 +295,8 @@ public java.lang.String getFilter() {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -296,8 +305,13 @@ public java.lang.String getFilter() {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1122,6 +1136,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1130,8 +1146,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1164,6 +1185,8 @@ public java.lang.String getFilter() {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1172,8 +1195,13 @@ public java.lang.String getFilter() {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1206,6 +1234,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1214,8 +1244,13 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1247,6 +1282,8 @@ public Builder setFilter(java.lang.String value) {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1255,8 +1292,13 @@ public Builder setFilter(java.lang.String value) {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -1284,6 +1326,8 @@ public Builder clearFilter() {
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -1292,8 +1336,13 @@ public Builder clearFilter() {
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequestOrBuilder.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequestOrBuilder.java
index e2cfcad015cc..57a66f2e7dcd 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequestOrBuilder.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ListRecommendationsRequestOrBuilder.java
@@ -143,6 +143,8 @@ public interface ListRecommendationsRequestOrBuilder
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -151,8 +153,13 @@ public interface ListRecommendationsRequestOrBuilder
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
@@ -175,6 +182,8 @@ public interface ListRecommendationsRequestOrBuilder
*
* * `priority`
*
+ * * `targetResources`
+ *
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -183,8 +192,13 @@ public interface ListRecommendationsRequestOrBuilder
*
* * `priority = P1 OR priority = P2`
*
+ * * `targetResources :
+ * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ *
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
+ * The max allowed filter length is 500 characters.
+ *
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequest.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequest.java
index 2d97f70cadc5..0addb54af3b4 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequest.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequest.java
@@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* - * Name of the recommendation. + * Required. Name of the recommendation. ** *
@@ -97,7 +97,7 @@ public java.lang.String getName() {
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
@@ -550,7 +550,7 @@ public Builder mergeFrom(
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
@@ -574,7 +574,7 @@ public java.lang.String getName() {
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
@@ -598,7 +598,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
@@ -621,7 +621,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
@@ -640,7 +640,7 @@ public Builder clearName() {
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequestOrBuilder.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequestOrBuilder.java
index 6c06bedf6022..c088b3d22a22 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequestOrBuilder.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/MarkRecommendationDismissedRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface MarkRecommendationDismissedRequestOrBuilder
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
@@ -41,7 +41,7 @@ public interface MarkRecommendationDismissedRequestOrBuilder
*
*
*
- * Name of the recommendation.
+ * Required. Name of the recommendation.
*
*
*
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java
index 04d43bc0e8b9..6fa5f69e8671 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java
@@ -153,54 +153,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "8\n\005value\030\002 \001(\0132).google.cloud.recommende"
+ "r.v1.ValueMatcher:\0028\001B\014\n\npath_value\":\n\014V"
+ "alueMatcher\022\031\n\017matches_pattern\030\001 \001(\tH\000B\017"
- + "\n\rmatch_variant\"_\n\016CostProjection\022 \n\004cos"
- + "t\030\001 \001(\0132\022.google.type.Money\022+\n\010duration\030"
- + "\002 \001(\0132\031.google.protobuf.Duration\">\n\022Secu"
- + "rityProjection\022(\n\007details\030\002 \001(\0132\027.google"
- + ".protobuf.Struct\"Y\n\030SustainabilityProjec"
- + "tion\022\020\n\010kg_c_o2e\030\001 \001(\001\022+\n\010duration\030\002 \001(\013"
- + "2\031.google.protobuf.Duration\"\354\001\n\025Reliabil"
- + "ityProjection\022J\n\005risks\030\001 \003(\0162;.google.cl"
- + "oud.recommender.v1.ReliabilityProjection"
- + ".RiskType\022(\n\007details\030\002 \001(\0132\027.google.prot"
- + "obuf.Struct\"]\n\010RiskType\022\031\n\025RISK_TYPE_UNS"
- + "PECIFIED\020\000\022\026\n\022SERVICE_DISRUPTION\020\001\022\r\n\tDA"
- + "TA_LOSS\020\002\022\017\n\013ACCESS_DENY\020\003\"\250\004\n\006Impact\022>\n"
- + "\010category\030\001 \001(\0162,.google.cloud.recommend"
- + "er.v1.Impact.Category\022F\n\017cost_projection"
- + "\030d \001(\0132+.google.cloud.recommender.v1.Cos"
- + "tProjectionH\000\022N\n\023security_projection\030e \001"
- + "(\0132/.google.cloud.recommender.v1.Securit"
- + "yProjectionH\000\022Z\n\031sustainability_projecti"
- + "on\030f \001(\01325.google.cloud.recommender.v1.S"
- + "ustainabilityProjectionH\000\022T\n\026reliability"
- + "_projection\030g \001(\01322.google.cloud.recomme"
- + "nder.v1.ReliabilityProjectionH\000\"\205\001\n\010Cate"
- + "gory\022\030\n\024CATEGORY_UNSPECIFIED\020\000\022\010\n\004COST\020\001"
- + "\022\014\n\010SECURITY\020\002\022\017\n\013PERFORMANCE\020\003\022\021\n\rMANAG"
- + "EABILITY\020\004\022\022\n\016SUSTAINABILITY\020\005\022\017\n\013RELIAB"
- + "ILITY\020\006B\014\n\nprojection\"\336\002\n\027Recommendation"
- + "StateInfo\022I\n\005state\030\001 \001(\0162:.google.cloud."
- + "recommender.v1.RecommendationStateInfo.S"
- + "tate\022_\n\016state_metadata\030\002 \003(\0132G.google.cl"
- + "oud.recommender.v1.RecommendationStateIn"
- + "fo.StateMetadataEntry\0324\n\022StateMetadataEn"
- + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\005S"
- + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022"
- + "\013\n\007CLAIMED\020\006\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022"
- + "\r\n\tDISMISSED\020\005B\336\003\n\037com.google.cloud.reco"
- + "mmender.v1P\001ZAcloud.google.com/go/recomm"
- + "ender/apiv1/recommenderpb;recommenderpb\242"
- + "\002\004CREC\252\002\033Google.Cloud.Recommender.V1\352A\317\002"
- + "\n&recommender.googleapis.com/Recommender"
- + "\022Bprojects/{project}/locations/{location"
- + "}/recommenders/{recommender}\022QbillingAcc"
- + "ounts/{billing_account}/locations/{locat"
- + "ion}/recommenders/{recommender}\022@folders"
- + "/{folder}/locations/{location}/recommend"
- + "ers/{recommender}\022Lorganizations/{organi"
- + "zation}/locations/{location}/recommender"
- + "s/{recommender}b\006proto3"
+ + "\n\rmatch_variant\"\223\001\n\016CostProjection\022 \n\004co"
+ + "st\030\001 \001(\0132\022.google.type.Money\022+\n\010duration"
+ + "\030\002 \001(\0132\031.google.protobuf.Duration\0222\n\026cos"
+ + "t_in_local_currency\030\003 \001(\0132\022.google.type."
+ + "Money\">\n\022SecurityProjection\022(\n\007details\030\002"
+ + " \001(\0132\027.google.protobuf.Struct\"Y\n\030Sustain"
+ + "abilityProjection\022\020\n\010kg_c_o2e\030\001 \001(\001\022+\n\010d"
+ + "uration\030\002 \001(\0132\031.google.protobuf.Duration"
+ + "\"\354\001\n\025ReliabilityProjection\022J\n\005risks\030\001 \003("
+ + "\0162;.google.cloud.recommender.v1.Reliabil"
+ + "ityProjection.RiskType\022(\n\007details\030\002 \001(\0132"
+ + "\027.google.protobuf.Struct\"]\n\010RiskType\022\031\n\025"
+ + "RISK_TYPE_UNSPECIFIED\020\000\022\026\n\022SERVICE_DISRU"
+ + "PTION\020\001\022\r\n\tDATA_LOSS\020\002\022\017\n\013ACCESS_DENY\020\003\""
+ + "\250\004\n\006Impact\022>\n\010category\030\001 \001(\0162,.google.cl"
+ + "oud.recommender.v1.Impact.Category\022F\n\017co"
+ + "st_projection\030d \001(\0132+.google.cloud.recom"
+ + "mender.v1.CostProjectionH\000\022N\n\023security_p"
+ + "rojection\030e \001(\0132/.google.cloud.recommend"
+ + "er.v1.SecurityProjectionH\000\022Z\n\031sustainabi"
+ + "lity_projection\030f \001(\01325.google.cloud.rec"
+ + "ommender.v1.SustainabilityProjectionH\000\022T"
+ + "\n\026reliability_projection\030g \001(\01322.google."
+ + "cloud.recommender.v1.ReliabilityProjecti"
+ + "onH\000\"\205\001\n\010Category\022\030\n\024CATEGORY_UNSPECIFIE"
+ + "D\020\000\022\010\n\004COST\020\001\022\014\n\010SECURITY\020\002\022\017\n\013PERFORMAN"
+ + "CE\020\003\022\021\n\rMANAGEABILITY\020\004\022\022\n\016SUSTAINABILIT"
+ + "Y\020\005\022\017\n\013RELIABILITY\020\006B\014\n\nprojection\"\336\002\n\027R"
+ + "ecommendationStateInfo\022I\n\005state\030\001 \001(\0162:."
+ + "google.cloud.recommender.v1.Recommendati"
+ + "onStateInfo.State\022_\n\016state_metadata\030\002 \003("
+ + "\0132G.google.cloud.recommender.v1.Recommen"
+ + "dationStateInfo.StateMetadataEntry\0324\n\022St"
+ + "ateMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002"
+ + " \001(\t:\0028\001\"a\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000"
+ + "\022\n\n\006ACTIVE\020\001\022\013\n\007CLAIMED\020\006\022\r\n\tSUCCEEDED\020\003"
+ + "\022\n\n\006FAILED\020\004\022\r\n\tDISMISSED\020\005B\336\003\n\037com.goog"
+ + "le.cloud.recommender.v1P\001ZAcloud.google."
+ + "com/go/recommender/apiv1/recommenderpb;r"
+ + "ecommenderpb\242\002\004CREC\252\002\033Google.Cloud.Recom"
+ + "mender.V1\352A\317\002\n&recommender.googleapis.co"
+ + "m/Recommender\022Bprojects/{project}/locati"
+ + "ons/{location}/recommenders/{recommender"
+ + "}\022QbillingAccounts/{billing_account}/loc"
+ + "ations/{location}/recommenders/{recommen"
+ + "der}\022@folders/{folder}/locations/{locati"
+ + "on}/recommenders/{recommender}\022Lorganiza"
+ + "tions/{organization}/locations/{location"
+ + "}/recommenders/{recommender}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -305,7 +306,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_recommender_v1_CostProjection_descriptor,
new java.lang.String[] {
- "Cost", "Duration",
+ "Cost", "Duration", "CostInLocalCurrency",
});
internal_static_google_cloud_recommender_v1_SecurityProjection_descriptor =
getDescriptor().getMessageTypes().get(6);
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto
index ec6932580d2b..ad0f71b0fdad 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto
@@ -256,6 +256,9 @@ message CostProjection {
// Duration for which this cost applies.
google.protobuf.Duration duration = 2;
+
+ // The approximate cost savings in the billing account's local currency.
+ google.type.Money cost_in_local_currency = 3;
}
// Contains various ways of describing the impact on Security.
@@ -340,7 +343,7 @@ message Impact {
// Use with CategoryType.SUSTAINABILITY
SustainabilityProjection sustainability_projection = 102;
- // Use with CategoryType.RELAIBILITY
+ // Use with CategoryType.RELIABILITY
ReliabilityProjection reliability_projection = 103;
}
}
diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto
index 991e3796ed19..eecb1ae8186e 100644
--- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto
+++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto
@@ -383,6 +383,8 @@ message ListInsightsRequest {
//
// * `severity`
//
+ // * `targetResources`
+ //
// Examples:
//
// * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -391,8 +393,13 @@ message ListInsightsRequest {
//
// * `severity = CRITICAL OR severity = HIGH`
//
+ // * `targetResources :
+ // //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ //
// * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
//
+ // The max allowed filter length is 500 characters.
+ //
// (These expressions are based on the filter language described at
// https://google.aip.dev/160)
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
@@ -484,6 +491,8 @@ message ListRecommendationsRequest {
//
// * `priority`
//
+ // * `targetResources`
+ //
// Examples:
//
// * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -492,8 +501,13 @@ message ListRecommendationsRequest {
//
// * `priority = P1 OR priority = P2`
//
+ // * `targetResources :
+ // //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
+ //
// * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
//
+ // The max allowed filter length is 500 characters.
+ //
// (These expressions are based on the filter language described at
// https://google.aip.dev/160)
string filter = 5;
@@ -522,7 +536,7 @@ message GetRecommendationRequest {
// Request for the `MarkRecommendationDismissed` Method.
message MarkRecommendationDismissedRequest {
- // Name of the recommendation.
+ // Required. Name of the recommendation.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {