diff --git a/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java b/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java index b34002b3..24771d21 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java +++ b/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java @@ -254,6 +254,7 @@ public com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder() { * *
* If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. ** *
bool allow_without_credential = 5;
@@ -1048,6 +1049,7 @@ public com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder() {
*
* * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. ** *
bool allow_without_credential = 5;
@@ -1063,6 +1065,7 @@ public boolean getAllowWithoutCredential() {
*
* * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. ** *
bool allow_without_credential = 5;
@@ -1081,6 +1084,7 @@ public Builder setAllowWithoutCredential(boolean value) {
*
* * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. ** *
bool allow_without_credential = 5;
diff --git a/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java b/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java
index a8e7aafc..6b307c22 100644
--- a/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java
+++ b/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java
@@ -90,6 +90,7 @@ public interface AuthenticationRuleOrBuilder
*
* * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. ** *
bool allow_without_credential = 5;
diff --git a/proto-google-common-protos/src/main/java/com/google/api/Context.java b/proto-google-common-protos/src/main/java/com/google/api/Context.java
index 68332412..cc643c69 100644
--- a/proto-google-common-protos/src/main/java/com/google/api/Context.java
+++ b/proto-google-common-protos/src/main/java/com/google/api/Context.java
@@ -35,7 +35,7 @@
* `google.rpc.context.OriginContext`.
* Available context types are defined in package
* `google.rpc.context`.
- * This also provides mechanism to whitelist any protobuf message extension that
+ * This also provides mechanism to allowlist any protobuf message extension that
* can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
* “x-goog-ext-<extension_id>-jspb” format. For example, list any service
* specific protobuf types that can appear in grpc metadata as follows in your
@@ -390,7 +390,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* `google.rpc.context.OriginContext`.
* Available context types are defined in package
* `google.rpc.context`.
- * This also provides mechanism to whitelist any protobuf message extension that
+ * This also provides mechanism to allowlist any protobuf message extension that
* can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
* “x-goog-ext-<extension_id>-jspb” format. For example, list any service
* specific protobuf types that can appear in grpc metadata as follows in your
diff --git a/proto-google-common-protos/src/main/java/com/google/api/Distribution.java b/proto-google-common-protos/src/main/java/com/google/api/Distribution.java
index 88a09abd..bf71f1b0 100644
--- a/proto-google-common-protos/src/main/java/com/google/api/Distribution.java
+++ b/proto-google-common-protos/src/main/java/com/google/api/Distribution.java
@@ -6380,7 +6380,7 @@ public double getMean() {
* The sum of squared deviations from the mean of the values in the
* population. For values x_i this is:
* Sum[i=1..n]((x_i - mean)^2)
- * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
+ * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
* describes Welford's method for accumulating this sum in one pass.
* If `count` is zero then this field must be zero.
*
@@ -7283,7 +7283,7 @@ public Builder clearMean() {
* The sum of squared deviations from the mean of the values in the
* population. For values x_i this is:
* Sum[i=1..n]((x_i - mean)^2)
- * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
+ * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
* describes Welford's method for accumulating this sum in one pass.
* If `count` is zero then this field must be zero.
*
@@ -7303,7 +7303,7 @@ public double getSumOfSquaredDeviation() {
* The sum of squared deviations from the mean of the values in the
* population. For values x_i this is:
* Sum[i=1..n]((x_i - mean)^2)
- * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
+ * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
* describes Welford's method for accumulating this sum in one pass.
* If `count` is zero then this field must be zero.
*
@@ -7326,7 +7326,7 @@ public Builder setSumOfSquaredDeviation(double value) {
* The sum of squared deviations from the mean of the values in the
* population. For values x_i this is:
* Sum[i=1..n]((x_i - mean)^2)
- * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
+ * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
* describes Welford's method for accumulating this sum in one pass.
* If `count` is zero then this field must be zero.
*
diff --git a/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java b/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java
index c8fe4202..27f3411a 100644
--- a/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java
+++ b/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java
@@ -59,7 +59,7 @@ public interface DistributionOrBuilder
* The sum of squared deviations from the mean of the values in the
* population. For values x_i this is:
* Sum[i=1..n]((x_i - mean)^2)
- * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
+ * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
* describes Welford's method for accumulating this sum in one pass.
* If `count` is zero then this field must be zero.
*
diff --git a/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java b/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java
index 34a20a10..0deaa2d7 100644
--- a/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java
+++ b/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java
@@ -81,7 +81,7 @@ public enum LaunchStage implements com.google.protobuf.ProtocolMessageEnum {
* for widespread use. By Alpha, all significant design issues are resolved
* and we are in the process of verifying functionality. Alpha customers
* need to apply for access, agree to applicable terms, and have their
- * projects whitelisted. Alpha releases don’t have to be feature complete,
+ * projects allowlisted. Alpha releases don’t have to be feature complete,
* no SLAs are provided, and there are no technical support obligations, but
* they will be far enough along that customers can actually use them in
* test environments or for limited-use tests -- just like they would in
@@ -185,7 +185,7 @@ public enum LaunchStage implements com.google.protobuf.ProtocolMessageEnum {
* for widespread use. By Alpha, all significant design issues are resolved
* and we are in the process of verifying functionality. Alpha customers
* need to apply for access, agree to applicable terms, and have their
- * projects whitelisted. Alpha releases don’t have to be feature complete,
+ * projects allowlisted. Alpha releases don’t have to be feature complete,
* no SLAs are provided, and there are no technical support obligations, but
* they will be far enough along that customers can actually use them in
* test environments or for limited-use tests -- just like they would in
diff --git a/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java b/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
index 5ae7c802..283e6350 100644
--- a/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
+++ b/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java
@@ -25,15 +25,6 @@
* Defines a metric type and its schema. Once a metric descriptor is created,
* deleting or altering it stops data collection and makes the metric type's
* existing data unusable.
- * The following are specific rules for service defined Monitoring metric
- * descriptors:
- * * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
- * `launch_stage` fields are all required. The `unit` field must be specified
- * if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
- * * Maximum of default 500 metric descriptors per service is allowed.
- * * Maximum of default 10 labels per metric descriptor is allowed.
- * The default maximum limit can be overridden. Please follow
- * https://cloud.google.com/monitoring/quotas
*
*
* Protobuf type {@code google.api.MetricDescriptor}
@@ -226,6 +217,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* * The kind of measurement. It describes how the data is reported. + * For information on setting the start time and end time based on + * the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval]. ** * Protobuf enum {@code google.api.MetricDescriptor.MetricKind} @@ -2041,19 +2034,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
* The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -2080,19 +2063,9 @@ public java.lang.String getType() { * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -2122,13 +2095,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -2146,13 +2113,7 @@ public java.util.ListgetLabelsList() { * * * The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -2171,13 +2132,7 @@ public java.util.ListgetLabelsList() { * * * The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -2195,13 +2150,7 @@ public int getLabelsCount() { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -2219,13 +2168,7 @@ public com.google.api.LabelDescriptor getLabels(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3066,15 +3009,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Defines a metric type and its schema. Once a metric descriptor is created, * deleting or altering it stops data collection and makes the metric type's * existing data unusable. - * The following are specific rules for service defined Monitoring metric - * descriptors: - * * `type`, `metric_kind`, `value_type`, `description`, `display_name`, - * `launch_stage` fields are all required. The `unit` field must be specified - * if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. - * * Maximum of default 500 metric descriptors per service is allowed. - * * Maximum of default 10 labels per metric descriptor is allowed. - * The default maximum limit can be overridden. Please follow - * https://cloud.google.com/monitoring/quotas ** * Protobuf type {@code google.api.MetricDescriptor} @@ -3459,19 +3393,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3497,19 +3421,9 @@ public java.lang.String getType() { * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3535,19 +3449,9 @@ public com.google.protobuf.ByteString getTypeBytes() { * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3572,19 +3476,9 @@ public Builder setType(java.lang.String value) { * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3605,19 +3499,9 @@ public Builder clearType() { * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -3660,13 +3544,7 @@ private void ensureLabelsIsMutable() { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3687,13 +3565,7 @@ public java.util.ListgetLabelsList() { * * * The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3714,13 +3586,7 @@ public int getLabelsCount() { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3741,13 +3607,7 @@ public com.google.api.LabelDescriptor getLabels(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3774,13 +3634,7 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor value) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3804,13 +3658,7 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder build * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3837,13 +3685,7 @@ public Builder addLabels(com.google.api.LabelDescriptor value) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3870,13 +3712,7 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor value) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3900,13 +3736,7 @@ public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3930,13 +3760,7 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder build * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3961,13 +3785,7 @@ public Builder addAllLabels( * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -3991,13 +3809,7 @@ public Builder clearLabels() { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -4021,13 +3833,7 @@ public Builder removeLabels(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -4044,13 +3850,7 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -4071,13 +3871,7 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -4099,13 +3893,7 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -4123,13 +3911,7 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -4147,13 +3929,7 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just diff --git a/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java b/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java index 7e8a0888..e3cb50e8 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java +++ b/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java @@ -53,19 +53,9 @@ public interface MetricDescriptorOrBuilder * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -81,19 +71,9 @@ public interface MetricDescriptorOrBuilder * ** The metric type, including its DNS name prefix. The type is not - * URL-encoded. - * All service defined metrics must be prefixed with the service name, in the - * format of `{service name}/{relative metric name}`, such as - * `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric - * name must follow: - * * Only upper and lower-case letters, digits, '/' and underscores '_' are - * allowed. - * * The maximum number of characters allowed for the relative_metric_name is - * 100. - * All user-defined metric types have the DNS name - * `custom.googleapis.com`, `external.googleapis.com`, or - * `logging.googleapis.com/user/`. - * Metric types should use a natural hierarchical grouping. For example: + * URL-encoded. All user-defined metric types have the DNS name + * `custom.googleapis.com` or `external.googleapis.com`. Metric types should + * use a natural hierarchical grouping. For example: * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" @@ -110,13 +90,7 @@ public interface MetricDescriptorOrBuilder * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -131,13 +105,7 @@ public interface MetricDescriptorOrBuilder * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -152,13 +120,7 @@ public interface MetricDescriptorOrBuilder * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -173,13 +135,7 @@ public interface MetricDescriptorOrBuilder * ** * Protobuf type {@code google.api.Monitoring} @@ -1185,7 +1200,7 @@ public com.google.api.Monitoring.MonitoringDestination getDefaultInstanceForType * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just @@ -194,13 +150,7 @@ public interface MetricDescriptorOrBuilder * ** * Protobuf type {@code google.api.MonitoredResourceDescriptor} @@ -1146,16 +1076,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * ** The set of labels that can be used to describe a specific - * instance of this metric type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, the + * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric * type has a label for the HTTP response code, `response_code`, so * you can look at latencies for successful responses or just diff --git a/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java b/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java index dba378b7..5720def1 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java +++ b/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java @@ -27,20 +27,9 @@ * descriptor for Google Compute Engine VM instances has a type of * `"gce_instance"` and specifies the use of the labels `"instance_id"` and * `"zone"` to identify particular VM instances. - * Different services can support different monitored resource types. - * The following are specific rules to service defined monitored resources for - * Monitoring and Logging: - * * The `type`, `display_name`, `description`, `labels` and `launch_stage` - * fields are all required. - * * The first label of the monitored resource descriptor must be - * `resource_container`. There are legacy monitored resource descritptors - * start with `project_id`. - * * It must include a `location` label. - * * Maximum of default 5 service defined monitored resource descriptors - * is allowed per service. - * * Maximum of default 10 labels per monitored resource is allowed. - * The default maximum limit can be overridden. Please follow - * https://cloud.google.com/monitoring/quotas + * Different APIs can support different monitored resource types. APIs generally + * provide a `list` method that returns the monitored resource descriptors used + * by the API. ** * Protobuf type {@code google.api.MonitoredResourceDescriptor} @@ -242,16 +231,7 @@ public com.google.protobuf.ByteString getNameBytes() { * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -275,16 +255,7 @@ public java.lang.String getType() { * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -417,14 +388,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -438,14 +403,8 @@ public java.util.ListgetLabelsList() { * * * Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -460,14 +419,8 @@ public java.util.ListgetLabelsList() { * * * Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -481,14 +434,8 @@ public int getLabelsCount() { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -502,14 +449,8 @@ public com.google.api.LabelDescriptor getLabels(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -769,20 +710,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * descriptor for Google Compute Engine VM instances has a type of * `"gce_instance"` and specifies the use of the labels `"instance_id"` and * `"zone"` to identify particular VM instances. - * Different services can support different monitored resource types. - * The following are specific rules to service defined monitored resources for - * Monitoring and Logging: - * * The `type`, `display_name`, `description`, `labels` and `launch_stage` - * fields are all required. - * * The first label of the monitored resource descriptor must be - * `resource_container`. There are legacy monitored resource descritptors - * start with `project_id`. - * * It must include a `location` label. - * * Maximum of default 5 service defined monitored resource descriptors - * is allowed per service. - * * Maximum of default 10 labels per monitored resource is allowed. - * The default maximum limit can be overridden. Please follow - * https://cloud.google.com/monitoring/quotas + * Different APIs can support different monitored resource types. APIs generally + * provide a `list` method that returns the monitored resource descriptors used + * by the API. ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -1178,16 +1099,7 @@ public java.lang.String getType() { * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -1210,16 +1122,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -1241,16 +1144,7 @@ public Builder setType(java.lang.String value) { * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -1268,16 +1162,7 @@ public Builder clearType() { * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -1549,14 +1434,8 @@ private void ensureLabelsIsMutable() { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1573,14 +1452,8 @@ public java.util.ListgetLabelsList() { * * * Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1597,14 +1470,8 @@ public int getLabelsCount() { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1621,14 +1488,8 @@ public com.google.api.LabelDescriptor getLabels(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1651,14 +1512,8 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor value) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1678,14 +1533,8 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder build * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1708,14 +1557,8 @@ public Builder addLabels(com.google.api.LabelDescriptor value) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1738,14 +1581,8 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor value) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1765,14 +1602,8 @@ public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1792,14 +1623,8 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder build * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1820,14 +1645,8 @@ public Builder addAllLabels( * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1847,14 +1666,8 @@ public Builder clearLabels() { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1874,14 +1687,8 @@ public Builder removeLabels(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1894,14 +1701,8 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1918,14 +1719,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1943,14 +1738,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1964,14 +1753,8 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -1985,14 +1768,8 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) { * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
diff --git a/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java b/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java index c15338e4..61a11fb4 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java +++ b/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java @@ -63,16 +63,7 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -85,16 +76,7 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. The monitored resource type. For example, the type - * `cloudsql_database` represents databases in Google Cloud SQL. - * All service defined monitored resource types must be prefixed with the - * service name, in the format of `{service name}/{relative resource name}`. - * The relative resource name must follow: - * * Only upper and lower-case letters and digits are allowed. - * * It must start with upper case character and is recommended to use Upper - * Camel Case style. - * * The maximum number of characters allowed for the relative_resource_name - * is 100. - * Note there are legacy service monitored resources not following this rule. + * `"cloudsql_database"` represents databases in Google Cloud SQL. ** *string type = 1;
@@ -166,14 +148,8 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -184,14 +160,8 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -202,14 +172,8 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -220,14 +184,8 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
@@ -238,14 +196,8 @@ public interface MonitoredResourceDescriptorOrBuilder * ** Required. A set of labels used to describe instances of this monitored - * resource type. - * The label key name must follow: - * * Only upper and lower-case letters, digits and underscores (_) are - * allowed. - * * Label name must start with a letter or digit. - * * The maximum length of a label name is 100 characters. - * For example, an individual Google Cloud SQL database is - * identified by values for the labels `database_id` and `location`. + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. ** *repeated .google.api.LabelDescriptor labels = 4;
diff --git a/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java b/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java index bfca633c..71c8a496 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java +++ b/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java @@ -27,36 +27,51 @@ * for monitoring. In the example, a monitored resource and two metrics are * defined. The `library.googleapis.com/book/returned_count` metric is sent * to both producer and consumer projects, whereas the - * `library.googleapis.com/book/overdue_count` metric is only sent to the + * `library.googleapis.com/book/num_overdue` metric is only sent to the * consumer project. * monitored_resources: - * - type: library.googleapis.com/branch + * - type: library.googleapis.com/Branch + * display_name: "Library Branch" + * description: "A branch of a library." + * launch_stage: GA * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. + * - key: resource_container + * description: "The Cloud container (ie. project id) for the Branch." + * - key: location + * description: "The location of the library branch." + * - key: branch_id + * description: "The id of the branch." * metrics: * - name: library.googleapis.com/book/returned_count + * display_name: "Books Returned" + * description: "The count of books that have been returned." + * launch_stage: GA * metric_kind: DELTA * value_type: INT64 + * unit: "1" * labels: - * - key: /customer_id - * - name: library.googleapis.com/book/overdue_count + * - key: customer_id + * description: "The id of the customer." + * - name: library.googleapis.com/book/num_overdue + * display_name: "Books Overdue" + * description: "The current number of overdue books." + * launch_stage: GA * metric_kind: GAUGE * value_type: INT64 + * unit: "1" * labels: - * - key: /customer_id + * - key: customer_id + * description: "The id of the customer." * monitoring: * producer_destinations: - * - monitored_resource: library.googleapis.com/branch + * - monitored_resource: library.googleapis.com/Branch * metrics: * - library.googleapis.com/book/returned_count * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch + * - monitored_resource: library.googleapis.com/Branch * metrics: * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/overdue_count + * - library.googleapis.com/book/num_overdue ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1204,7 +1219,7 @@ public com.google.api.Monitoring.MonitoringDestination getDefaultInstanceForType * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1223,7 +1238,7 @@ public com.google.api.Monitoring.MonitoringDestination getDefaultInstanceForType * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1241,7 +1256,7 @@ public int getProducerDestinationsCount() { * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1259,7 +1274,7 @@ public com.google.api.Monitoring.MonitoringDestination getProducerDestinations(i * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1281,7 +1296,7 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1300,7 +1315,7 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1319,7 +1334,7 @@ public com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDesti * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1337,7 +1352,7 @@ public int getConsumerDestinationsCount() { * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1355,7 +1370,7 @@ public com.google.api.Monitoring.MonitoringDestination getConsumerDestinations(i * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1551,36 +1566,51 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * for monitoring. In the example, a monitored resource and two metrics are * defined. The `library.googleapis.com/book/returned_count` metric is sent * to both producer and consumer projects, whereas the - * `library.googleapis.com/book/overdue_count` metric is only sent to the + * `library.googleapis.com/book/num_overdue` metric is only sent to the * consumer project. * monitored_resources: - * - type: library.googleapis.com/branch + * - type: library.googleapis.com/Branch + * display_name: "Library Branch" + * description: "A branch of a library." + * launch_stage: GA * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. + * - key: resource_container + * description: "The Cloud container (ie. project id) for the Branch." + * - key: location + * description: "The location of the library branch." + * - key: branch_id + * description: "The id of the branch." * metrics: * - name: library.googleapis.com/book/returned_count + * display_name: "Books Returned" + * description: "The count of books that have been returned." + * launch_stage: GA * metric_kind: DELTA * value_type: INT64 + * unit: "1" * labels: - * - key: /customer_id - * - name: library.googleapis.com/book/overdue_count + * - key: customer_id + * description: "The id of the customer." + * - name: library.googleapis.com/book/num_overdue + * display_name: "Books Overdue" + * description: "The current number of overdue books." + * launch_stage: GA * metric_kind: GAUGE * value_type: INT64 + * unit: "1" * labels: - * - key: /customer_id + * - key: customer_id + * description: "The id of the customer." * monitoring: * producer_destinations: - * - monitored_resource: library.googleapis.com/branch + * - monitored_resource: library.googleapis.com/Branch * metrics: * - library.googleapis.com/book/returned_count * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch + * - monitored_resource: library.googleapis.com/Branch * metrics: * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/overdue_count + * - library.googleapis.com/book/num_overdue ** * Protobuf type {@code google.api.Monitoring} @@ -1834,7 +1864,7 @@ private void ensureProducerDestinationsIsMutable() { * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1856,7 +1886,7 @@ private void ensureProducerDestinationsIsMutable() { * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1877,7 +1907,7 @@ public int getProducerDestinationsCount() { * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1898,7 +1928,7 @@ public com.google.api.Monitoring.MonitoringDestination getProducerDestinations(i * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1926,7 +1956,7 @@ public Builder setProducerDestinations( * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1951,7 +1981,7 @@ public Builder setProducerDestinations( * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -1978,7 +2008,7 @@ public Builder addProducerDestinations(com.google.api.Monitoring.MonitoringDesti * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2006,7 +2036,7 @@ public Builder addProducerDestinations( * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2031,7 +2061,7 @@ public Builder addProducerDestinations( * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2056,7 +2086,7 @@ public Builder addProducerDestinations( * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2081,7 +2111,7 @@ public Builder addAllProducerDestinations( * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2105,7 +2135,7 @@ public Builder clearProducerDestinations() { * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2129,7 +2159,7 @@ public Builder removeProducerDestinations(int index) { * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2147,7 +2177,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getProducerDestin * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2169,7 +2199,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getProducerDestin * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2191,7 +2221,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getProducerDestin * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2210,7 +2240,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getProducerDestin * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2229,7 +2259,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestin * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2286,7 +2316,7 @@ private void ensureConsumerDestinationsIsMutable() { * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2308,7 +2338,7 @@ private void ensureConsumerDestinationsIsMutable() { * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2329,7 +2359,7 @@ public int getConsumerDestinationsCount() { * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2350,7 +2380,7 @@ public com.google.api.Monitoring.MonitoringDestination getConsumerDestinations(i * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2378,7 +2408,7 @@ public Builder setConsumerDestinations( * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2403,7 +2433,7 @@ public Builder setConsumerDestinations( * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2430,7 +2460,7 @@ public Builder addConsumerDestinations(com.google.api.Monitoring.MonitoringDesti * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2458,7 +2488,7 @@ public Builder addConsumerDestinations( * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2483,7 +2513,7 @@ public Builder addConsumerDestinations( * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2508,7 +2538,7 @@ public Builder addConsumerDestinations( * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2533,7 +2563,7 @@ public Builder addAllConsumerDestinations( * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2557,7 +2587,7 @@ public Builder clearConsumerDestinations() { * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2581,7 +2611,7 @@ public Builder removeConsumerDestinations(int index) { * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2599,7 +2629,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getConsumerDestin * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2621,7 +2651,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getConsumerDestin * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2643,7 +2673,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getConsumerDestin * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2662,7 +2692,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder getConsumerDestin * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -2681,7 +2711,7 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestin * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once diff --git a/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java b/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java index 545de1f8..4a9cc51c 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java +++ b/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java @@ -28,7 +28,7 @@ public interface MonitoringOrBuilder * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -43,7 +43,7 @@ public interface MonitoringOrBuilder * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -58,7 +58,7 @@ public interface MonitoringOrBuilder * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -73,7 +73,7 @@ public interface MonitoringOrBuilder * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -89,7 +89,7 @@ public interface MonitoringOrBuilder * ** Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resouce type may + * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -106,7 +106,7 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -121,7 +121,7 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -136,7 +136,7 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -151,7 +151,7 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once @@ -167,7 +167,7 @@ com.google.api.Monitoring.MonitoringDestinationOrBuilder getProducerDestinations * ** Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resouce type may + * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once diff --git a/proto-google-common-protos/src/main/java/com/google/api/Service.java b/proto-google-common-protos/src/main/java/com/google/api/Service.java index 1e4c416d..f7e12b8b 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/Service.java +++ b/proto-google-common-protos/src/main/java/com/google/api/Service.java @@ -458,10 +458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -476,10 +473,7 @@ public boolean hasConfigVersion() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -496,10 +490,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3052,10 +3043,7 @@ public Builder mergeFrom( * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3069,10 +3057,7 @@ public boolean hasConfigVersion() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3092,10 +3077,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3117,10 +3099,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value value) { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3139,10 +3118,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value.Builder builderF * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3168,10 +3144,7 @@ public Builder mergeConfigVersion(com.google.protobuf.UInt32Value value) { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3191,10 +3164,7 @@ public Builder clearConfigVersion() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3208,10 +3178,7 @@ public com.google.protobuf.UInt32Value.Builder getConfigVersionBuilder() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -3229,10 +3196,7 @@ public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder() { * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
diff --git a/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java b/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java index ddd33e6e..3840c3ea 100644 --- a/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java +++ b/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java @@ -27,10 +27,7 @@ public interface ServiceOrBuilder * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -42,10 +39,7 @@ public interface ServiceOrBuilder * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
@@ -57,10 +51,7 @@ public interface ServiceOrBuilder * * *- * The semantic version of the service configuration. The config version - * affects the interpretation of the service configuration. For example, - * certain features are enabled by default for certain config versions. - * The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. ** *.google.protobuf.UInt32Value config_version = 20;
diff --git a/synth.metadata b/synth.metadata index 7082b72a..d9f6faec 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-common-protos.git", - "sha": "744f4a72fc373440c4ac5fa5e8b85152ca8385be" + "sha": "1759fe7650869500e0d7b712fe8ef1bcc346d27a" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "29b789912908e71d60551022a0521206794b501c", - "internalRef": "338275151" + "sha": "28e0d72b1e74a9c7e46349db53ef006540bcbdfb", + "internalRef": "338547917" } }, {