diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java index 77acb1a8d309..c646c93ff514 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java @@ -9,9 +9,9 @@ *
  * Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
  * Platform (GCP) resource.
- * The Asset is a Cloud SCC resource that captures information about a single GCP
- * resource. All modifications to an Asset are only within the context of Cloud
- * SCC and don't affect the referenced GCP resource.
+ * The Asset is a Cloud SCC resource that captures information about a single
+ * GCP resource. All modifications to an Asset are only within the context of
+ * Cloud SCC and don't affect the referenced GCP resource.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1beta1.Asset} @@ -2313,9 +2313,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
    * Platform (GCP) resource.
-   * The Asset is a Cloud SCC resource that captures information about a single GCP
-   * resource. All modifications to an Asset are only within the context of Cloud
-   * SCC and don't affect the referenced GCP resource.
+   * The Asset is a Cloud SCC resource that captures information about a single
+   * GCP resource. All modifications to an Asset are only within the context of
+   * Cloud SCC and don't affect the referenced GCP resource.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1beta1.Asset} diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java index c93a4caf7e3d..66e9daf45dc1 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java @@ -546,7 +546,7 @@ public com.google.cloud.securitycenter.v1beta1.Finding.State getState() { * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -568,7 +568,7 @@ public java.lang.String getCategory() { * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -669,7 +669,9 @@ public int getSourcePropertiesCount() { * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -690,7 +692,9 @@ public java.util.Map getSourcePrope * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -703,7 +707,9 @@ public java.util.Map getSourcePrope * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -722,7 +728,9 @@ public com.google.protobuf.Value getSourcePropertiesOrDefault( * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -1819,7 +1827,7 @@ public Builder clearState() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1841,7 +1849,7 @@ public java.lang.String getCategory() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1863,7 +1871,7 @@ public com.google.protobuf.ByteString getCategoryBytes() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1883,7 +1891,7 @@ public Builder setCategory(java.lang.String value) { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1900,7 +1908,7 @@ public Builder clearCategory() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -2057,7 +2065,9 @@ public int getSourcePropertiesCount() { * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2078,7 +2088,9 @@ public java.util.Map getSourcePrope * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2091,7 +2103,9 @@ public java.util.Map getSourcePrope * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2110,7 +2124,9 @@ public com.google.protobuf.Value getSourcePropertiesOrDefault( * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2136,7 +2152,9 @@ public Builder clearSourceProperties() { * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2158,7 +2176,9 @@ public java.util.Map getMutableSour * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2178,7 +2198,9 @@ public Builder putSourceProperties(java.lang.String key, com.google.protobuf.Val * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java index 53c149a4a66b..2ca317e013b1 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java @@ -116,7 +116,7 @@ public interface FindingOrBuilder * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -128,7 +128,7 @@ public interface FindingOrBuilder * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -167,7 +167,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -178,7 +180,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -192,7 +196,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -203,7 +209,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -215,7 +223,9 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java index cfd9a23bfed4..15fad8be8285 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java @@ -169,8 +169,8 @@ public com.google.protobuf.ByteString getNameBytes() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -195,8 +195,8 @@ public java.lang.String getDisplayName() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -738,8 +738,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -764,8 +764,8 @@ public java.lang.String getDisplayName() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -790,8 +790,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -814,8 +814,8 @@ public Builder setDisplayName(java.lang.String value) { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -835,8 +835,8 @@ public Builder clearDisplayName() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java index dc8fd860dd9e..300666754cbc 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java @@ -44,8 +44,8 @@ public interface SourceOrBuilder * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -60,8 +60,8 @@ public interface SourceOrBuilder * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java index 0d24185ca9ee..e73a3747fc99 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java @@ -172,8 +172,8 @@ public com.google.cloud.securitycenter.v1beta1.FindingOrBuilder getFindingOrBuil * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -185,8 +185,8 @@ public boolean hasUpdateMask() { * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -198,8 +198,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -798,8 +798,8 @@ public com.google.cloud.securitycenter.v1beta1.FindingOrBuilder getFindingOrBuil * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -811,8 +811,8 @@ public boolean hasUpdateMask() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -830,8 +830,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -853,8 +853,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -873,8 +873,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -898,8 +898,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -919,8 +919,8 @@ public Builder clearUpdateMask() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -934,8 +934,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -953,8 +953,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java index a19b13bb974b..63cca3013082 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java @@ -55,8 +55,8 @@ public interface UpdateFindingRequestOrBuilder * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -66,8 +66,8 @@ public interface UpdateFindingRequestOrBuilder * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -77,8 +77,8 @@ public interface UpdateFindingRequestOrBuilder * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto index d8f93409a8cf..3dd5b358141d 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto @@ -26,13 +26,12 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud // Platform (GCP) resource. // -// The Asset is a Cloud SCC resource that captures information about a single GCP -// resource. All modifications to an Asset are only within the context of Cloud -// SCC and don't affect the referenced GCP resource. +// The Asset is a Cloud SCC resource that captures information about a single +// GCP resource. All modifications to an Asset are only within the context of +// Cloud SCC and don't affect the referenced GCP resource. message Asset { // Cloud SCC managed properties. These properties are managed by Cloud SCC and // cannot be modified by the user. diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto index 0c99247b6059..21dfdd5616e2 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto @@ -26,7 +26,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // Cloud Security Command Center (Cloud SCC) finding. // // A finding is a record of assessment data (security, risk, health or privacy) @@ -69,7 +68,7 @@ message Finding { // The state of the finding. State state = 4; - // The additional taxonomy group within findings from a give source. + // The additional taxonomy group within findings from a given source. // This field is immutable after creation time. // Example: "XSS_FLASH_INJECTION" string category = 5; @@ -80,7 +79,9 @@ message Finding { string external_uri = 6; // Source specific properties. These properties are managed by the source - // that writes the finding. + // that writes the finding. The key names in the source_properties map must be + // between 1 and 255 characters, and must start with a letter and contain + // alphanumeric characters or underscores only. map source_properties = 7; // Output only. User specified security marks. These marks are entirely diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto index fecca4f0dffd..dafce562dc7e 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto @@ -36,7 +36,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // V1 Beta APIs for Security Center service. service SecurityCenter { // Creates a source. @@ -57,7 +56,8 @@ service SecurityCenter { } // Gets the access control policy on the specified Source. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy" body: "*" @@ -65,7 +65,8 @@ service SecurityCenter { } // Gets the settings for an organization. - rpc GetOrganizationSettings(GetOrganizationSettingsRequest) returns (OrganizationSettings) { + rpc GetOrganizationSettings(GetOrganizationSettingsRequest) + returns (OrganizationSettings) { option (google.api.http) = { get: "/v1beta1/{name=organizations/*/organizationSettings}" }; @@ -129,7 +130,8 @@ service SecurityCenter { // This API can only be called with limited frequency for an organization. If // it is called too frequently the caller will receive a TOO_MANY_REQUESTS // error. - rpc RunAssetDiscovery(RunAssetDiscoveryRequest) returns (google.longrunning.Operation) { + rpc RunAssetDiscovery(RunAssetDiscoveryRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=organizations/*}/assets:runDiscovery" body: "*" @@ -145,7 +147,8 @@ service SecurityCenter { } // Sets the access control policy on the specified Source. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy" body: "*" @@ -153,7 +156,8 @@ service SecurityCenter { } // Returns the permissions that a caller has on the specified source. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions" body: "*" @@ -170,7 +174,8 @@ service SecurityCenter { } // Updates an organization's settings. - rpc UpdateOrganizationSettings(UpdateOrganizationSettingsRequest) returns (OrganizationSettings) { + rpc UpdateOrganizationSettings(UpdateOrganizationSettingsRequest) + returns (OrganizationSettings) { option (google.api.http) = { patch: "/v1beta1/{organization_settings.name=organizations/*/organizationSettings}" body: "organization_settings" @@ -714,8 +719,8 @@ message UpdateFindingRequest { // characters in length. Finding finding = 1; - // The FieldMask to use when updating the finding resource. This field is - // ignored if the finding does not already exist and the finding is created. + // The FieldMask to use when updating the finding resource. This field should + // not be specified when creating a finding. google.protobuf.FieldMask update_mask = 2; } diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto index 5eabe2b1a349..cc1fae6eaa66 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto @@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // Cloud Security Command Center's (Cloud SCC) finding source. A finding source // is an entity or a mechanism that can produce a finding. A source is like a // container of findings that come from the same scanner, logger, monitor, etc. @@ -39,8 +38,8 @@ message Source { // two sources with the same parent can't share the same display name. // The display name must start and end with a letter or digit, may contain // letters, digits, spaces, hyphens, and underscores, and can be no longer - // than 30 characters. This is captured by the regular expression: - // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + // than 32 characters. This is captured by the regular expression: + // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. string display_name = 2; // The description of the source (max of 1024 characters). diff --git a/google-cloud-clients/google-cloud-securitycenter/synth.metadata b/google-cloud-clients/google-cloud-securitycenter/synth.metadata index ab3fde98056b..fafa47a43f2e 100644 --- a/google-cloud-clients/google-cloud-securitycenter/synth.metadata +++ b/google-cloud-clients/google-cloud-securitycenter/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-04T08:46:44.268721Z", + "updateTime": "2019-01-09T08:46:01.510426Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.4", - "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "4930597beb4d26be020513af985506b39d4b73cd", - "internalRef": "227765328" + "sha": "659d66ec24bf40b35a41a0b79218d96ba3add3d3", + "internalRef": "228437827" } } ],