diff --git a/java-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index 4e47ff76629d..bff1f796c005 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-securitycentermanagement/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycentermanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.1.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementClient.java b/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementClient.java index a05bd19c8897..ddf2a3094059 100644 --- a/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementClient.java +++ b/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementClient.java @@ -1995,11 +1995,9 @@ public final SecurityHealthAnalyticsCustomModule createSecurityHealthAnalyticsCu * } * * @param securityHealthAnalyticsCustomModule Required. The resource being updated - * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the - * SecurityHealthAnalyticsCustomModule resource by the update. The fields specified in the - * update_mask are relative to the resource, not the full request. A field will be overwritten - * if it is in the mask. If the user does not provide a mask then all fields will be - * overwritten. + * @param updateMask Required. The list of fields to be updated. The only fields that can be + * updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value + * `*`, both `enablement_state` and `custom_config` are updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SecurityHealthAnalyticsCustomModule updateSecurityHealthAnalyticsCustomModule( diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequest.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequest.java index aeb18a5861e1..ffaecbae6c27 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequest.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequest.java @@ -71,11 +71,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * Required. Field mask is used to specify the fields to be overwritten in the - * SecurityHealthAnalyticsCustomModule resource by the update. - * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * Required. The list of fields to be updated. The only fields that can be + * updated are `enablement_state` and `custom_config`. If empty or set to the + * wildcard value `*`, both `enablement_state` and `custom_config` are + * updated. ** *
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -91,11 +90,10 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -111,11 +109,10 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -686,11 +683,10 @@ public Builder mergeFrom(
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -705,11 +701,10 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -730,11 +725,10 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -757,11 +751,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -781,11 +774,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -811,11 +803,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -835,11 +826,10 @@ public Builder clearUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -854,11 +844,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -877,11 +866,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder.java
index 50a2b0dbe6b7..87129a81089f 100644
--- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder.java
+++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder.java
@@ -27,11 +27,10 @@ public interface UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -44,11 +43,10 @@ public interface UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -61,11 +59,10 @@ public interface UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
- * SecurityHealthAnalyticsCustomModule resource by the update.
- * The fields specified in the update_mask are relative to the resource, not
- * the full request. A field will be overwritten if it is in the mask. If the
- * user does not provide a mask then all fields will be overwritten.
+ * Required. The list of fields to be updated. The only fields that can be
+ * updated are `enablement_state` and `custom_config`. If empty or set to the
+ * wildcard value `*`, both `enablement_state` and `custom_config` are
+ * updated.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto
index 2472ea8f17ed..2f401c2b7874 100644
--- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto
+++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto
@@ -765,11 +765,10 @@ message CreateSecurityHealthAnalyticsCustomModuleRequest {
// Message for updating a SecurityHealthAnalyticsCustomModule
message UpdateSecurityHealthAnalyticsCustomModuleRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
- // SecurityHealthAnalyticsCustomModule resource by the update.
- // The fields specified in the update_mask are relative to the resource, not
- // the full request. A field will be overwritten if it is in the mask. If the
- // user does not provide a mask then all fields will be overwritten.
+ // Required. The list of fields to be updated. The only fields that can be
+ // updated are `enablement_state` and `custom_config`. If empty or set to the
+ // wildcard value `*`, both `enablement_state` and `custom_config` are
+ // updated.
google.protobuf.FieldMask update_mask = 1
[(google.api.field_behavior) = REQUIRED];
diff --git a/versions.txt b/versions.txt
index 02021a55dd8d..e7867e485698 100644
--- a/versions.txt
+++ b/versions.txt
@@ -718,4 +718,4 @@ proto-google-cloud-securitycentermanagement-v1:0.1.0:0.2.0-SNAPSHOT
grpc-google-cloud-securitycentermanagement-v1:0.1.0:0.2.0-SNAPSHOT
google-shopping-css:0.1.0:0.2.0-SNAPSHOT
proto-google-shopping-css-v1:0.1.0:0.2.0-SNAPSHOT
-grpc-google-shopping-css-v1:0.1.0:0.2.0-SNAPSHOT
\ No newline at end of file
+grpc-google-shopping-css-v1:0.1.0:0.2.0-SNAPSHOT