diff --git a/google/cloud/securitycenter_v1/services/security_center/async_client.py b/google/cloud/securitycenter_v1/services/security_center/async_client.py index 192f574c..a93d8342 100644 --- a/google/cloud/securitycenter_v1/services/security_center/async_client.py +++ b/google/cloud/securitycenter_v1/services/security_center/async_client.py @@ -2664,8 +2664,8 @@ async def sample_list_sources(): parent (:class:`str`): Required. Resource name of the parent of sources to list. Its format should be - "organizations/[organization_id], folders/[folder_id], - or projects/[project_id]". + "organizations/[organization_id]", + "folders/[folder_id]", or "projects/[project_id]". This corresponds to the ``parent`` field on the ``request`` instance; if ``request`` is provided, this diff --git a/google/cloud/securitycenter_v1/services/security_center/client.py b/google/cloud/securitycenter_v1/services/security_center/client.py index a1a7d66a..e8870422 100644 --- a/google/cloud/securitycenter_v1/services/security_center/client.py +++ b/google/cloud/securitycenter_v1/services/security_center/client.py @@ -2963,8 +2963,8 @@ def sample_list_sources(): parent (str): Required. Resource name of the parent of sources to list. Its format should be - "organizations/[organization_id], folders/[folder_id], - or projects/[project_id]". + "organizations/[organization_id]", + "folders/[folder_id]", or "projects/[project_id]". This corresponds to the ``parent`` field on the ``request`` instance; if ``request`` is provided, this diff --git a/google/cloud/securitycenter_v1/types/securitycenter_service.py b/google/cloud/securitycenter_v1/types/securitycenter_service.py index f85c3384..4d294f33 100644 --- a/google/cloud/securitycenter_v1/types/securitycenter_service.py +++ b/google/cloud/securitycenter_v1/types/securitycenter_service.py @@ -401,8 +401,8 @@ class GroupAssetsRequest(proto.Message): Attributes: parent (str): Required. The name of the parent to group the assets by. Its - format is "organizations/[organization_id], - folders/[folder_id], or projects/[project_id]". + format is "organizations/[organization_id]", + "folders/[folder_id]", or "projects/[project_id]". filter (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions @@ -1027,8 +1027,8 @@ class ListSourcesRequest(proto.Message): Attributes: parent (str): Required. Resource name of the parent of sources to list. - Its format should be "organizations/[organization_id], - folders/[folder_id], or projects/[project_id]". + Its format should be "organizations/[organization_id]", + "folders/[folder_id]", or "projects/[project_id]". page_token (str): The value returned by the last ``ListSourcesResponse``; indicates that this is a continuation of a prior @@ -1085,9 +1085,11 @@ class ListAssetsRequest(proto.Message): Attributes: parent (str): - 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]". filter (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions diff --git a/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1.json index bdc69715..90fa2b68 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-securitycenter", - "version": "1.18.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1beta1.json index 5e0e4a19..a4c1295e 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-securitycenter", - "version": "1.18.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1p1beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1p1beta1.json index 1ebb15d1..774592ce 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1p1beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1p1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-securitycenter", - "version": "1.18.0" + "version": "0.1.0" }, "snippets": [ {