Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Deploy/samples/V1/CloudDeployClient/get_iam_policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/**
* Gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.
* if the resource exists and does not have a policy set.
*
* @param string $resource REQUIRED: The resource for which the policy is being requested.
* See the operation documentation for the appropriate value for this field.
Expand Down
8 changes: 4 additions & 4 deletions Deploy/samples/V1/CloudDeployClient/set_iam_policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@

/**
* Sets the access control policy on the specified resource. Replaces
any existing policy.

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.
* any existing policy.
*
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
* errors.
*
* @param string $resource REQUIRED: The resource for which the policy is being specified.
* See the operation documentation for the appropriate value for this field.
Expand Down
12 changes: 6 additions & 6 deletions Deploy/samples/V1/CloudDeployClient/test_iam_permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@

/**
* Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
* resource does not exist, this will return an empty set of
* permissions, not a `NOT_FOUND` error.
*
* Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization
* checking. This operation may "fail open" without warning.
*
* @param string $resource REQUIRED: The resource for which the policy detail is being requested.
* See the operation documentation for the appropriate value for this field.
Expand Down
22 changes: 11 additions & 11 deletions Deploy/src/V1/Client/CloudDeployClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ public function listLocations(ListLocationsRequest $request, array $callOptions

/**
* Gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.
* if the resource exists and does not have a policy set.
*
* The async variant is {@see CloudDeployClient::getIamPolicyAsync()} .
*
Expand All @@ -2053,10 +2053,10 @@ public function getIamPolicy(GetIamPolicyRequest $request, array $callOptions =

/**
* Sets the access control policy on the specified resource. Replaces
any existing policy.

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.
* any existing policy.
*
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
* errors.
*
* The async variant is {@see CloudDeployClient::setIamPolicyAsync()} .
*
Expand All @@ -2083,12 +2083,12 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =

/**
* Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
* resource does not exist, this will return an empty set of
* permissions, not a `NOT_FOUND` error.
*
* Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization
* checking. This operation may "fail open" without warning.
*
* The async variant is {@see CloudDeployClient::testIamPermissionsAsync()} .
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
* This method can be called in two ways:
*
* * **List all public locations:** Use the path `GET /v1/locations`.
* * **List project-visible locations:** Use the path
* `GET /v1/projects/{project_id}/locations`. This may include public
* locations as well as private or other locations specifically visible
* to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
* This method can be called in two ways:
*
* * **List all public locations:** Use the path `GET /v1/locations`.
* * **List project-visible locations:** Use the path
* `GET /v1/projects/{project_id}/locations`. This may include public
* locations as well as private or other locations specifically visible
* to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
14 changes: 7 additions & 7 deletions DeveloperConnect/src/V1/Client/DeveloperConnectClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1310,13 +1310,13 @@ public function getLocation(GetLocationRequest $request, array $callOptions = []

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
* This method can be called in two ways:
*
* * **List all public locations:** Use the path `GET /v1/locations`.
* * **List project-visible locations:** Use the path
* `GET /v1/projects/{project_id}/locations`. This may include public
* locations as well as private or other locations specifically visible
* to the project.
*
* The async variant is {@see DeveloperConnectClient::listLocationsAsync()} .
*
Expand Down
14 changes: 7 additions & 7 deletions DeveloperConnect/src/V1/Client/InsightsConfigServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,13 @@ public function getLocation(GetLocationRequest $request, array $callOptions = []

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
* This method can be called in two ways:
*
* * **List all public locations:** Use the path `GET /v1/locations`.
* * **List project-visible locations:** Use the path
* `GET /v1/projects/{project_id}/locations`. This may include public
* locations as well as private or other locations specifically visible
* to the project.
*
* The async variant is {@see InsightsConfigServiceClient::listLocationsAsync()} .
*
Expand Down
32 changes: 16 additions & 16 deletions Dialogflow/samples/V2/AgentsClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@

/**
* Lists information about the supported locations for this service.

This method lists locations based on the resource scope provided in
the [ListLocationsRequest.name] field:

* **Global locations**: If `name` is empty, the method lists the
public locations available to all projects. * **Project-specific
locations**: If `name` follows the format
`projects/{project}`, the method lists locations visible to that
specific project. This includes public, private, or other
project-specific locations enabled for the project.

For gRPC and client library implementations, the resource name is
passed as the `name` field. For direct service calls, the resource
name is
incorporated into the request path based on the specific service
implementation and version.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
* specific project. This includes public, private, or other
* project-specific locations enabled for the project.
*
* For gRPC and client library implementations, the resource name is
* passed as the `name` field. For direct service calls, the resource
* name is
* incorporated into the request path based on the specific service
* implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
32 changes: 16 additions & 16 deletions Dialogflow/samples/V2/AnswerRecordsClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@

/**
* Lists information about the supported locations for this service.

This method lists locations based on the resource scope provided in
the [ListLocationsRequest.name] field:

* **Global locations**: If `name` is empty, the method lists the
public locations available to all projects. * **Project-specific
locations**: If `name` follows the format
`projects/{project}`, the method lists locations visible to that
specific project. This includes public, private, or other
project-specific locations enabled for the project.

For gRPC and client library implementations, the resource name is
passed as the `name` field. For direct service calls, the resource
name is
incorporated into the request path based on the specific service
implementation and version.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
* specific project. This includes public, private, or other
* project-specific locations enabled for the project.
*
* For gRPC and client library implementations, the resource name is
* passed as the `name` field. For direct service calls, the resource
* name is
* incorporated into the request path based on the specific service
* implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
32 changes: 16 additions & 16 deletions Dialogflow/samples/V2/ContextsClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@

/**
* Lists information about the supported locations for this service.

This method lists locations based on the resource scope provided in
the [ListLocationsRequest.name] field:

* **Global locations**: If `name` is empty, the method lists the
public locations available to all projects. * **Project-specific
locations**: If `name` follows the format
`projects/{project}`, the method lists locations visible to that
specific project. This includes public, private, or other
project-specific locations enabled for the project.

For gRPC and client library implementations, the resource name is
passed as the `name` field. For direct service calls, the resource
name is
incorporated into the request path based on the specific service
implementation and version.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
* specific project. This includes public, private, or other
* project-specific locations enabled for the project.
*
* For gRPC and client library implementations, the resource name is
* passed as the `name` field. For direct service calls, the resource
* name is
* incorporated into the request path based on the specific service
* implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@

/**
* Lists information about the supported locations for this service.

This method lists locations based on the resource scope provided in
the [ListLocationsRequest.name] field:

* **Global locations**: If `name` is empty, the method lists the
public locations available to all projects. * **Project-specific
locations**: If `name` follows the format
`projects/{project}`, the method lists locations visible to that
specific project. This includes public, private, or other
project-specific locations enabled for the project.

For gRPC and client library implementations, the resource name is
passed as the `name` field. For direct service calls, the resource
name is
incorporated into the request path based on the specific service
implementation and version.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
* specific project. This includes public, private, or other
* project-specific locations enabled for the project.
*
* For gRPC and client library implementations, the resource name is
* passed as the `name` field. For direct service calls, the resource
* name is
* incorporated into the request path based on the specific service
* implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
32 changes: 16 additions & 16 deletions Dialogflow/samples/V2/ConversationModelsClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@

/**
* Lists information about the supported locations for this service.

This method lists locations based on the resource scope provided in
the [ListLocationsRequest.name] field:

* **Global locations**: If `name` is empty, the method lists the
public locations available to all projects. * **Project-specific
locations**: If `name` follows the format
`projects/{project}`, the method lists locations visible to that
specific project. This includes public, private, or other
project-specific locations enabled for the project.

For gRPC and client library implementations, the resource name is
passed as the `name` field. For direct service calls, the resource
name is
incorporated into the request path based on the specific service
implementation and version.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
* specific project. This includes public, private, or other
* project-specific locations enabled for the project.
*
* For gRPC and client library implementations, the resource name is
* passed as the `name` field. For direct service calls, the resource
* name is
* incorporated into the request path based on the specific service
* implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
Loading
Loading