From cca1d335ceabb2b8157682ee964e9fe083b30a03 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:45:08 -0800 Subject: [PATCH] docs(security_center-v1): Clarify some resource name formats (#20012) --- .../security_center/v1/security_center/client.rb | 16 +++++++++------- .../securitycenter/v1/securitycenter_service.rb | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/google-cloud-security_center-v1/lib/google/cloud/security_center/v1/security_center/client.rb b/google-cloud-security_center-v1/lib/google/cloud/security_center/v1/security_center/client.rb index da41e81b80da..1ab21651234b 100644 --- a/google-cloud-security_center-v1/lib/google/cloud/security_center/v1/security_center/client.rb +++ b/google-cloud-security_center-v1/lib/google/cloud/security_center/v1/security_center/client.rb @@ -1452,8 +1452,8 @@ def get_source request, options = nil # # @param parent [::String] # Required. The name of the parent to group the assets by. Its format is - # "organizations/[organization_id], folders/[folder_id], or - # projects/[project_id]". + # "organizations/[organization_id]", "folders/[folder_id]", or + # "projects/[project_id]". # @param filter [::String] # Expression that defines the filter to apply across assets. # The expression is a list of zero or more restrictions combined via logical @@ -1892,9 +1892,11 @@ def group_findings request, options = nil # the default parameter values, pass an empty Hash as a request object (see above). # # @param parent [::String] - # Required. The name of the parent that the listed assets belong to. Its - # format is "organizations/[organization_id], folders/[folder_id], or - # projects/[project_id]". + # Required. The name of the parent resource that contains the assets. The + # value that you can specify on parent depends on the method in which you + # specify parent. You can specify one of the following values: + # "organizations/[organization_id]", "folders/[folder_id]", or + # "projects/[project_id]". # @param filter [::String] # Expression that defines the filter to apply across assets. # The expression is a list of zero or more restrictions combined via logical @@ -2547,8 +2549,8 @@ def list_notification_configs request, options = nil # # @param parent [::String] # Required. Resource name of the parent of sources to list. Its format should - # be "organizations/[organization_id], folders/[folder_id], or - # projects/[project_id]". + # be "organizations/[organization_id]", "folders/[folder_id]", or + # "projects/[project_id]". # @param page_token [::String] # The value returned by the last `ListSourcesResponse`; indicates # that this is a continuation of a prior `ListSources` call, and diff --git a/google-cloud-security_center-v1/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb b/google-cloud-security_center-v1/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb index 907cd6adf182..d2240ea37b70 100644 --- a/google-cloud-security_center-v1/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +++ b/google-cloud-security_center-v1/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb @@ -228,8 +228,8 @@ class GetSourceRequest # @!attribute [rw] parent # @return [::String] # Required. The name of the parent to group the assets by. Its format is - # "organizations/[organization_id], folders/[folder_id], or - # projects/[project_id]". + # "organizations/[organization_id]", "folders/[folder_id]", or + # "projects/[project_id]". # @!attribute [rw] filter # @return [::String] # Expression that defines the filter to apply across assets. @@ -643,8 +643,8 @@ class ListNotificationConfigsResponse # @!attribute [rw] parent # @return [::String] # Required. Resource name of the parent of sources to list. Its format should - # be "organizations/[organization_id], folders/[folder_id], or - # projects/[project_id]". + # be "organizations/[organization_id]", "folders/[folder_id]", or + # "projects/[project_id]". # @!attribute [rw] page_token # @return [::String] # The value returned by the last `ListSourcesResponse`; indicates @@ -675,9 +675,11 @@ class ListSourcesResponse # Request message for listing assets. # @!attribute [rw] parent # @return [::String] - # Required. The name of the parent that the listed assets belong to. Its - # format is "organizations/[organization_id], folders/[folder_id], or - # projects/[project_id]". + # Required. The name of the parent resource that contains the assets. The + # value that you can specify on parent depends on the method in which you + # specify parent. You can specify one of the following values: + # "organizations/[organization_id]", "folders/[folder_id]", or + # "projects/[project_id]". # @!attribute [rw] filter # @return [::String] # Expression that defines the filter to apply across assets.