@@ -715,7 +715,7 @@ async def sample_list_info_types():
715715
716716 ::
717717
718- locations/<var>LOCATION_ID</var>
718+ ` locations/{location_id}`
719719
720720 This corresponds to the ``parent`` field
721721 on the ``request`` instance; if ``request`` is provided, this
@@ -827,13 +827,13 @@ async def sample_create_inspect_template():
827827 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
828828
829829 - Projects scope, location specified:
830- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
830+ ``projects/{project_id} /locations/{location_id}``
831831 - Projects scope, no location specified (defaults to
832- global): ``projects/``\ PROJECT_ID
832+ global): ``projects/{project_id}``
833833 - Organizations scope, location specified:
834- ``organizations/``\ ORG_ID\ `` /locations/``\ LOCATION_ID
834+ ``organizations/{org_id} /locations/{location_id}``
835835 - Organizations scope, no location specified (defaults
836- to global): ``organizations/``\ ORG_ID
836+ to global): ``organizations/{org_id}``
837837
838838 The following example ``parent`` string specifies a
839839 parent project with the identifier ``example-project``,
@@ -1223,13 +1223,13 @@ async def sample_list_inspect_templates():
12231223 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
12241224
12251225 - Projects scope, location specified:
1226- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
1226+ ``projects/{project_id} /locations/{location_id}``
12271227 - Projects scope, no location specified (defaults to
1228- global): ``projects/``\ PROJECT_ID
1228+ global): ``projects/{project_id}``
12291229 - Organizations scope, location specified:
1230- ``organizations/``\ ORG_ID\ `` /locations/``\ LOCATION_ID
1230+ ``organizations/{org_id} /locations/{location_id}``
12311231 - Organizations scope, no location specified (defaults
1232- to global): ``organizations/``\ ORG_ID
1232+ to global): ``organizations/{org_id}``
12331233
12341234 The following example ``parent`` string specifies a
12351235 parent project with the identifier ``example-project``,
@@ -1469,13 +1469,13 @@ async def sample_create_deidentify_template():
14691469 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
14701470
14711471 - Projects scope, location specified:
1472- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
1472+ ``projects/{project_id} /locations/{location_id}``
14731473 - Projects scope, no location specified (defaults to
1474- global): ``projects/``\ PROJECT_ID
1474+ global): ``projects/{project_id}``
14751475 - Organizations scope, location specified:
1476- ``organizations/``\ ORG_ID\ `` /locations/``\ LOCATION_ID
1476+ ``organizations/{org_id} /locations/{location_id}``
14771477 - Organizations scope, no location specified (defaults
1478- to global): ``organizations/``\ ORG_ID
1478+ to global): ``organizations/{org_id}``
14791479
14801480 The following example ``parent`` string specifies a
14811481 parent project with the identifier ``example-project``,
@@ -1859,13 +1859,13 @@ async def sample_list_deidentify_templates():
18591859 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
18601860
18611861 - Projects scope, location specified:
1862- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
1862+ ``projects/{project_id} /locations/{location_id}``
18631863 - Projects scope, no location specified (defaults to
1864- global): ``projects/``\ PROJECT_ID
1864+ global): ``projects/{project_id}``
18651865 - Organizations scope, location specified:
1866- ``organizations/``\ ORG_ID\ `` /locations/``\ LOCATION_ID
1866+ ``organizations/{org_id} /locations/{location_id}``
18671867 - Organizations scope, no location specified (defaults
1868- to global): ``organizations/``\ ORG_ID
1868+ to global): ``organizations/{org_id}``
18691869
18701870 The following example ``parent`` string specifies a
18711871 parent project with the identifier ``example-project``,
@@ -2107,9 +2107,9 @@ async def sample_create_job_trigger():
21072107 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
21082108
21092109 - Projects scope, location specified:
2110- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
2110+ ``projects/{project_id} /locations/{location_id}``
21112111 - Projects scope, no location specified (defaults to
2112- global): ``projects/``\ PROJECT_ID
2112+ global): ``projects/{project_id}``
21132113
21142114 The following example ``parent`` string specifies a
21152115 parent project with the identifier ``example-project``,
@@ -2592,9 +2592,9 @@ async def sample_list_job_triggers():
25922592 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
25932593
25942594 - Projects scope, location specified:
2595- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
2595+ ``projects/{project_id} /locations/{location_id}``
25962596 - Projects scope, no location specified (defaults to
2597- global): ``projects/``\ PROJECT_ID
2597+ global): ``projects/{project_id}``
25982598
25992599 The following example ``parent`` string specifies a
26002600 parent project with the identifier ``example-project``,
@@ -2917,9 +2917,9 @@ async def sample_create_discovery_config():
29172917 of the request (project or organization):
29182918
29192919 - Projects scope:
2920- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
2920+ ``projects/{project_id} /locations/{location_id}``
29212921 - Organizations scope:
2922- ``organizations/``\ ORG_ID\ `` /locations/``\ LOCATION_ID
2922+ ``organizations/{org_id} /locations/{location_id}``
29232923
29242924 The following example ``parent`` string specifies a
29252925 parent project with the identifier ``example-project``,
@@ -3297,7 +3297,7 @@ async def sample_list_discovery_configs():
32973297 Required. Parent resource name.
32983298
32993299 The format of this value is as follows:
3300- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
3300+ ``projects/{project_id} /locations/{location_id}``
33013301
33023302 The following example ``parent`` string specifies a
33033303 parent project with the identifier ``example-project``,
@@ -3542,9 +3542,9 @@ async def sample_create_dlp_job():
35423542 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
35433543
35443544 - Projects scope, location specified:
3545- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
3545+ ``projects/{project_id} /locations/{location_id}``
35463546 - Projects scope, no location specified (defaults to
3547- global): ``projects/``\ PROJECT_ID
3547+ global): ``projects/{project_id}``
35483548
35493549 The following example ``parent`` string specifies a
35503550 parent project with the identifier ``example-project``,
@@ -3690,9 +3690,9 @@ async def sample_list_dlp_jobs():
36903690 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
36913691
36923692 - Projects scope, location specified:
3693- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
3693+ ``projects/{project_id} /locations/{location_id}``
36943694 - Projects scope, no location specified (defaults to
3695- global): ``projects/``\ PROJECT_ID
3695+ global): ``projects/{project_id}``
36963696
36973697 The following example ``parent`` string specifies a
36983698 parent project with the identifier ``example-project``,
@@ -4122,13 +4122,13 @@ async def sample_create_stored_info_type():
41224122 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
41234123
41244124 - Projects scope, location specified:
4125- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
4125+ ``projects/{project_id} /locations/{location_id}``
41264126 - Projects scope, no location specified (defaults to
4127- global): ``projects/``\ PROJECT_ID
4127+ global): ``projects/{project_id}``
41284128 - Organizations scope, location specified:
4129- ``organizations/``\ ORG_ID\ `` /locations/``\ LOCATION_ID
4129+ ``organizations/{org_id} /locations/{location_id}``
41304130 - Organizations scope, no location specified (defaults
4131- to global): ``organizations/``\ ORG_ID
4131+ to global): ``organizations/{org_id}``
41324132
41334133 The following example ``parent`` string specifies a
41344134 parent project with the identifier ``example-project``,
@@ -4511,9 +4511,9 @@ async def sample_list_stored_info_types():
45114511 location <https://cloud.google.com/sensitive-data-protection/docs/specifying-location>`__:
45124512
45134513 - Projects scope, location specified:
4514- ``projects/``\ PROJECT_ID\ `` /locations/``\ LOCATION_ID
4514+ ``projects/{project_id} /locations/{location_id}``
45154515 - Projects scope, no location specified (defaults to
4516- global): ``projects/``\ PROJECT_ID
4516+ global): ``projects/{project_id}``
45174517
45184518 The following example ``parent`` string specifies a
45194519 parent project with the identifier ``example-project``,
@@ -6036,8 +6036,15 @@ async def sample_create_connection():
60366036 request (Optional[Union[google.cloud.dlp_v2.types.CreateConnectionRequest, dict]]):
60376037 The request object. Request message for CreateConnection.
60386038 parent (:class:`str`):
6039- Required. Parent resource name in the format:
6040- ``projects/{project}/locations/{location}``.
6039+ Required. Parent resource name.
6040+
6041+ The format of this value varies depending on the scope
6042+ of the request (project or organization):
6043+
6044+ - Projects scope:
6045+ ``projects/{project_id}/locations/{location_id}``
6046+ - Organizations scope:
6047+ ``organizations/{org_id}/locations/{location_id}``
60416048
60426049 This corresponds to the ``parent`` field
60436050 on the ``request`` instance; if ``request`` is provided, this
@@ -6223,7 +6230,8 @@ async def list_connections(
62236230 timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
62246231 metadata : Sequence [Tuple [str , str ]] = (),
62256232 ) -> pagers .ListConnectionsAsyncPager :
6226- r"""Lists Connections in a parent.
6233+ r"""Lists Connections in a parent. Use SearchConnections
6234+ to see all connections within an organization.
62276235
62286236 .. code-block:: python
62296237
@@ -6256,8 +6264,10 @@ async def sample_list_connections():
62566264 request (Optional[Union[google.cloud.dlp_v2.types.ListConnectionsRequest, dict]]):
62576265 The request object. Request message for ListConnections.
62586266 parent (:class:`str`):
6259- Required. Parent name, for example:
6260- ``projects/project-id/locations/global``.
6267+ Required. Resource name of the organization or project,
6268+ for example,
6269+ ``organizations/433245324/locations/europe`` or
6270+ ``projects/project-id/locations/asia``.
62616271
62626272 This corresponds to the ``parent`` field
62636273 on the ``request`` instance; if ``request`` is provided, this
@@ -6377,9 +6387,10 @@ async def sample_search_connections():
63776387 The request object. Request message for
63786388 SearchConnections.
63796389 parent (:class:`str`):
6380- Required. Parent name, typically an organization,
6381- without location. For example:
6382- ``organizations/12345678``.
6390+ Required. Resource name of the organization or project
6391+ with a wildcard location, for example,
6392+ ``organizations/433245324/locations/-`` or
6393+ ``projects/project-id/locations/-``.
63836394
63846395 This corresponds to the ``parent`` field
63856396 on the ``request`` instance; if ``request`` is provided, this
0 commit comments