Skip to content

Commit 5a5e3d6

Browse files
Google APIscopybara-github
authored andcommitted
docs: update documentation for UpdateSecurityHealthAnalyticsCustomModule update_mask field
--- docs: Add description --- chore: update go_package and Go importpath PiperOrigin-RevId: 597960211
1 parent 6c31cc0 commit 5a5e3d6

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

google/cloud/securitycentermanagement/v1/security_center_management.proto

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -765,11 +765,10 @@ message CreateSecurityHealthAnalyticsCustomModuleRequest {
765765

766766
// Message for updating a SecurityHealthAnalyticsCustomModule
767767
message UpdateSecurityHealthAnalyticsCustomModuleRequest {
768-
// Required. Field mask is used to specify the fields to be overwritten in the
769-
// SecurityHealthAnalyticsCustomModule resource by the update.
770-
// The fields specified in the update_mask are relative to the resource, not
771-
// the full request. A field will be overwritten if it is in the mask. If the
772-
// user does not provide a mask then all fields will be overwritten.
768+
// Required. The list of fields to be updated. The only fields that can be
769+
// updated are `enablement_state` and `custom_config`. If empty or set to the
770+
// wildcard value `*`, both `enablement_state` and `custom_config` are
771+
// updated.
773772
google.protobuf.FieldMask update_mask = 1
774773
[(google.api.field_behavior) = REQUIRED];
775774

google/cloud/securitycentermanagement/v1/securitycentermanagement_v1.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ apis:
88
- name: google.cloud.securitycentermanagement.v1.SecurityCenterManagement
99

1010
documentation:
11+
summary: |-
12+
Management API for the Security Command Center, a built-in security and
13+
risk management solution for Google Cloud. Use this API to
14+
programmatically update the settings and configuration of Security Command
15+
Center.
1116
rules:
1217
- selector: google.cloud.location.Locations.GetLocation
1318
description: Gets information about a location.
@@ -38,7 +43,7 @@ authentication:
3843
https://www.googleapis.com/auth/cloud-platform
3944
4045
publishing:
41-
new_issue_uri: https://issuetracker.google.com/issues/new?component=190865&template=1161103
46+
new_issue_uri: https://issuetracker.google.com/issues/new?component=709980
4247
documentation_uri: https://cloud.google.com/securitycentermanagement/docs/overview
4348
api_short_name: securitycentermanagement
4449
github_label: 'api: securitycentermanagement'

0 commit comments

Comments
 (0)