Skip to content

Commit c7cf0a1

Browse files
docs: [google-cloud-securitycentermanagement] update documentation for UpdateSecurityHealthAnalyticsCustomModule update_mask field (#12196)
- [ ] Regenerate this pull request now. --- docs: Add description --- chore: update go_package and Go importpath PiperOrigin-RevId: 597960211 Source-Link: googleapis/googleapis@5a5e3d6 Source-Link: googleapis/googleapis-gen@d02cc58 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5Y2VudGVybWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiZDAyY2M1ODAzNzliZDIzZjM5OGQ3N2VjMDRmZjZiZWIxODM0MWVkMiJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 2de325b commit c7cf0a1

6 files changed

Lines changed: 18 additions & 24 deletions

File tree

packages/google-cloud-securitycentermanagement/google/cloud/securitycentermanagement/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-securitycentermanagement/google/cloud/securitycentermanagement_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-securitycentermanagement/google/cloud/securitycentermanagement_v1/services/security_center_management/async_client.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,13 +1140,11 @@ async def sample_update_security_health_analytics_custom_module():
11401140
on the ``request`` instance; if ``request`` is provided, this
11411141
should not be set.
11421142
update_mask (:class:`google.protobuf.field_mask_pb2.FieldMask`):
1143-
Required. Field mask is used to specify the fields to be
1144-
overwritten in the SecurityHealthAnalyticsCustomModule
1145-
resource by the update. The fields specified in the
1146-
update_mask are relative to the resource, not the full
1147-
request. A field will be overwritten if it is in the
1148-
mask. If the user does not provide a mask then all
1149-
fields will be overwritten.
1143+
Required. The list of fields to be updated. The only
1144+
fields that can be updated are ``enablement_state`` and
1145+
``custom_config``. If empty or set to the wildcard value
1146+
``*``, both ``enablement_state`` and ``custom_config``
1147+
are updated.
11501148
11511149
This corresponds to the ``update_mask`` field
11521150
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-securitycentermanagement/google/cloud/securitycentermanagement_v1/services/security_center_management/client.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,13 +1408,11 @@ def sample_update_security_health_analytics_custom_module():
14081408
on the ``request`` instance; if ``request`` is provided, this
14091409
should not be set.
14101410
update_mask (google.protobuf.field_mask_pb2.FieldMask):
1411-
Required. Field mask is used to specify the fields to be
1412-
overwritten in the SecurityHealthAnalyticsCustomModule
1413-
resource by the update. The fields specified in the
1414-
update_mask are relative to the resource, not the full
1415-
request. A field will be overwritten if it is in the
1416-
mask. If the user does not provide a mask then all
1417-
fields will be overwritten.
1411+
Required. The list of fields to be updated. The only
1412+
fields that can be updated are ``enablement_state`` and
1413+
``custom_config``. If empty or set to the wildcard value
1414+
``*``, both ``enablement_state`` and ``custom_config``
1415+
are updated.
14181416
14191417
This corresponds to the ``update_mask`` field
14201418
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-securitycentermanagement/google/cloud/securitycentermanagement_v1/types/security_center_management.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,11 @@ class UpdateSecurityHealthAnalyticsCustomModuleRequest(proto.Message):
673673
674674
Attributes:
675675
update_mask (google.protobuf.field_mask_pb2.FieldMask):
676-
Required. Field mask is used to specify the fields to be
677-
overwritten in the SecurityHealthAnalyticsCustomModule
678-
resource by the update. The fields specified in the
679-
update_mask are relative to the resource, not the full
680-
request. A field will be overwritten if it is in the mask.
681-
If the user does not provide a mask then all fields will be
682-
overwritten.
676+
Required. The list of fields to be updated. The only fields
677+
that can be updated are ``enablement_state`` and
678+
``custom_config``. If empty or set to the wildcard value
679+
``*``, both ``enablement_state`` and ``custom_config`` are
680+
updated.
683681
security_health_analytics_custom_module (google.cloud.securitycentermanagement_v1.types.SecurityHealthAnalyticsCustomModule):
684682
Required. The resource being updated
685683
validate_only (bool):

packages/google-cloud-securitycentermanagement/samples/generated_samples/snippet_metadata_google.cloud.securitycentermanagement.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycentermanagement",
11-
"version": "0.1.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)