diff --git a/AiPlatform/samples/V1/DataFoundryServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/DataFoundryServiceClient/get_iam_policy.php index ea7fd56a336a..f8770670a68d 100644 --- a/AiPlatform/samples/V1/DataFoundryServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/DataFoundryServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/DataFoundryServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/DataFoundryServiceClient/set_iam_policy.php index ff73a4d25f70..52a5ff89da7a 100644 --- a/AiPlatform/samples/V1/DataFoundryServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/DataFoundryServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/DataFoundryServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/DataFoundryServiceClient/test_iam_permissions.php index 6a6424c6f1c8..c186392b57b6 100644 --- a/AiPlatform/samples/V1/DataFoundryServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/DataFoundryServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/DatasetServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/DatasetServiceClient/get_iam_policy.php index 7b907b6c06b1..7a15f569fc66 100644 --- a/AiPlatform/samples/V1/DatasetServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/DatasetServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/DatasetServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/DatasetServiceClient/set_iam_policy.php index ce7013f5438c..ff64dbf86943 100644 --- a/AiPlatform/samples/V1/DatasetServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/DatasetServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/DatasetServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/DatasetServiceClient/test_iam_permissions.php index adf9a2f4b839..c06bbadb0c41 100644 --- a/AiPlatform/samples/V1/DatasetServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/DatasetServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/get_iam_policy.php index 1fa90abfd9a2..6598f3cbebe9 100644 --- a/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/set_iam_policy.php index 11a3bd3055e7..ebbafdae2175 100644 --- a/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/test_iam_permissions.php index c4dd62bcfb34..d59c6347a54a 100644 --- a/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/DeploymentResourcePoolServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/EndpointServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/EndpointServiceClient/get_iam_policy.php index 7fd4622a53c6..c1d8d29f780e 100644 --- a/AiPlatform/samples/V1/EndpointServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/EndpointServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/EndpointServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/EndpointServiceClient/set_iam_policy.php index acf6edc9f20a..0b706eff8838 100644 --- a/AiPlatform/samples/V1/EndpointServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/EndpointServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/EndpointServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/EndpointServiceClient/test_iam_permissions.php index 317d599d42e4..7f6886a17aec 100644 --- a/AiPlatform/samples/V1/EndpointServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/EndpointServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/EvaluationServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/EvaluationServiceClient/get_iam_policy.php index 82d29e437ba7..dc3a633b7ee0 100644 --- a/AiPlatform/samples/V1/EvaluationServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/EvaluationServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/EvaluationServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/EvaluationServiceClient/set_iam_policy.php index d58116314326..f2708953ee4f 100644 --- a/AiPlatform/samples/V1/EvaluationServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/EvaluationServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/EvaluationServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/EvaluationServiceClient/test_iam_permissions.php index f83eab16b842..cbbecd0739fd 100644 --- a/AiPlatform/samples/V1/EvaluationServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/EvaluationServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/get_iam_policy.php index 561e05a94558..c29e0e695bdb 100644 --- a/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/set_iam_policy.php index 444c85020f20..4559a598bdb8 100644 --- a/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/test_iam_permissions.php index a010efa59cd5..411ef548d4f2 100644 --- a/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/FeatureOnlineStoreAdminServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/get_iam_policy.php index dc17d2caaace..3107277d4a9a 100644 --- a/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/set_iam_policy.php index 9bf84ea38ecd..4ea6e1e90b65 100644 --- a/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/test_iam_permissions.php index f2082dc68612..dca73e96f337 100644 --- a/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/FeatureOnlineStoreServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureRegistryServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/FeatureRegistryServiceClient/get_iam_policy.php index f94e5c331713..d858c9c7ff9a 100644 --- a/AiPlatform/samples/V1/FeatureRegistryServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/FeatureRegistryServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureRegistryServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/FeatureRegistryServiceClient/set_iam_policy.php index 73d3fb1b3b6a..9511c3ca6aff 100644 --- a/AiPlatform/samples/V1/FeatureRegistryServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/FeatureRegistryServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeatureRegistryServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/FeatureRegistryServiceClient/test_iam_permissions.php index 01e82d57f4cf..9a9bc4954bae 100644 --- a/AiPlatform/samples/V1/FeatureRegistryServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/FeatureRegistryServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/get_iam_policy.php index 3a882e205171..9f10edb71b0e 100644 --- a/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/set_iam_policy.php index 1d7fc0482904..3c2b2231e372 100644 --- a/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/test_iam_permissions.php index 0f5e38f30ef3..ffecabdff37e 100644 --- a/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/FeaturestoreOnlineServingServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/FeaturestoreServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/FeaturestoreServiceClient/get_iam_policy.php index 455b8e490ec0..4f05195badd6 100644 --- a/AiPlatform/samples/V1/FeaturestoreServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/FeaturestoreServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeaturestoreServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/FeaturestoreServiceClient/set_iam_policy.php index d59b85670c77..6db327852918 100644 --- a/AiPlatform/samples/V1/FeaturestoreServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/FeaturestoreServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/FeaturestoreServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/FeaturestoreServiceClient/test_iam_permissions.php index 6c5430dd300a..e97b3ddf3ffd 100644 --- a/AiPlatform/samples/V1/FeaturestoreServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/FeaturestoreServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/GenAiCacheServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/GenAiCacheServiceClient/get_iam_policy.php index 2d04e53cbe45..884868415847 100644 --- a/AiPlatform/samples/V1/GenAiCacheServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/GenAiCacheServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/GenAiCacheServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/GenAiCacheServiceClient/set_iam_policy.php index fb028ce2825b..4e53e1d1b9a4 100644 --- a/AiPlatform/samples/V1/GenAiCacheServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/GenAiCacheServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/GenAiCacheServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/GenAiCacheServiceClient/test_iam_permissions.php index 0651652c177f..b735865b1c98 100644 --- a/AiPlatform/samples/V1/GenAiCacheServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/GenAiCacheServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/GenAiTuningServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/GenAiTuningServiceClient/get_iam_policy.php index 517e836e89bc..8e8a11bdeb4b 100644 --- a/AiPlatform/samples/V1/GenAiTuningServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/GenAiTuningServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/GenAiTuningServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/GenAiTuningServiceClient/set_iam_policy.php index 1a67475c3d0b..5499189bec8f 100644 --- a/AiPlatform/samples/V1/GenAiTuningServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/GenAiTuningServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/GenAiTuningServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/GenAiTuningServiceClient/test_iam_permissions.php index 37e3e3ca6892..e5a9064e77e2 100644 --- a/AiPlatform/samples/V1/GenAiTuningServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/GenAiTuningServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/IndexEndpointServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/IndexEndpointServiceClient/get_iam_policy.php index 06be7e9844ee..bb49a6216492 100644 --- a/AiPlatform/samples/V1/IndexEndpointServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/IndexEndpointServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/IndexEndpointServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/IndexEndpointServiceClient/set_iam_policy.php index ef80faed8ae1..13f3ff8962c9 100644 --- a/AiPlatform/samples/V1/IndexEndpointServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/IndexEndpointServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/IndexEndpointServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/IndexEndpointServiceClient/test_iam_permissions.php index fb684951578b..1bbd86cb42d5 100644 --- a/AiPlatform/samples/V1/IndexEndpointServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/IndexEndpointServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/IndexServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/IndexServiceClient/get_iam_policy.php index 10ef3ca3234a..088116141b80 100644 --- a/AiPlatform/samples/V1/IndexServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/IndexServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/IndexServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/IndexServiceClient/set_iam_policy.php index ce7455c2a126..07903912c6ab 100644 --- a/AiPlatform/samples/V1/IndexServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/IndexServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/IndexServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/IndexServiceClient/test_iam_permissions.php index 57aa2d9feb53..68b2c6ea1cf4 100644 --- a/AiPlatform/samples/V1/IndexServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/IndexServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/JobServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/JobServiceClient/get_iam_policy.php index 34e7c9bb9e72..6ae673506c87 100644 --- a/AiPlatform/samples/V1/JobServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/JobServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/JobServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/JobServiceClient/set_iam_policy.php index ee0e0db34ec6..c8154ec9279c 100644 --- a/AiPlatform/samples/V1/JobServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/JobServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/JobServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/JobServiceClient/test_iam_permissions.php index 5e8724b70b3a..518c1263d135 100644 --- a/AiPlatform/samples/V1/JobServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/JobServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/LlmUtilityServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/LlmUtilityServiceClient/get_iam_policy.php index 51290e416270..7fe6fa2cdace 100644 --- a/AiPlatform/samples/V1/LlmUtilityServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/LlmUtilityServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/LlmUtilityServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/LlmUtilityServiceClient/set_iam_policy.php index 53b7c7d5fced..69662e1e2c1d 100644 --- a/AiPlatform/samples/V1/LlmUtilityServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/LlmUtilityServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/LlmUtilityServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/LlmUtilityServiceClient/test_iam_permissions.php index 45e8a8451975..2056c24af9fa 100644 --- a/AiPlatform/samples/V1/LlmUtilityServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/LlmUtilityServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/MatchServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/MatchServiceClient/get_iam_policy.php index 30cce17478af..d9b312fefecb 100644 --- a/AiPlatform/samples/V1/MatchServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/MatchServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/MatchServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/MatchServiceClient/set_iam_policy.php index 721d0624bb0f..c0b5ac032314 100644 --- a/AiPlatform/samples/V1/MatchServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/MatchServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/MatchServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/MatchServiceClient/test_iam_permissions.php index b74b2f91b108..61e4d6c2a076 100644 --- a/AiPlatform/samples/V1/MatchServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/MatchServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/MetadataServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/MetadataServiceClient/get_iam_policy.php index 8c66840e2e0f..45e81d27a60c 100644 --- a/AiPlatform/samples/V1/MetadataServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/MetadataServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/MetadataServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/MetadataServiceClient/set_iam_policy.php index 9de645ecc1cd..9a444a731462 100644 --- a/AiPlatform/samples/V1/MetadataServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/MetadataServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/MetadataServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/MetadataServiceClient/test_iam_permissions.php index aa13836eb599..00f57325f6a3 100644 --- a/AiPlatform/samples/V1/MetadataServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/MetadataServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/MigrationServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/MigrationServiceClient/get_iam_policy.php index 29cd3b47f039..6e64b762d0f5 100644 --- a/AiPlatform/samples/V1/MigrationServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/MigrationServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/MigrationServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/MigrationServiceClient/set_iam_policy.php index 3f5d9ec95943..b7c2152c197c 100644 --- a/AiPlatform/samples/V1/MigrationServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/MigrationServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/MigrationServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/MigrationServiceClient/test_iam_permissions.php index 5fd55d69bcc9..75ba89dd6d11 100644 --- a/AiPlatform/samples/V1/MigrationServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/MigrationServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/ModelGardenServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/ModelGardenServiceClient/get_iam_policy.php index c2dd8f8e5e80..4617c7760558 100644 --- a/AiPlatform/samples/V1/ModelGardenServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/ModelGardenServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ModelGardenServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/ModelGardenServiceClient/set_iam_policy.php index 1a8e03dd5e4c..977b7111ad4c 100644 --- a/AiPlatform/samples/V1/ModelGardenServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/ModelGardenServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ModelGardenServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/ModelGardenServiceClient/test_iam_permissions.php index 3d641ebab1f1..d2d530b035ef 100644 --- a/AiPlatform/samples/V1/ModelGardenServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/ModelGardenServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/ModelServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/ModelServiceClient/get_iam_policy.php index 63d4b8ed9147..77261b959a25 100644 --- a/AiPlatform/samples/V1/ModelServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/ModelServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ModelServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/ModelServiceClient/set_iam_policy.php index ff1d3b82739d..5984a3dc6f97 100644 --- a/AiPlatform/samples/V1/ModelServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/ModelServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ModelServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/ModelServiceClient/test_iam_permissions.php index f8db786514c5..279604c5713c 100644 --- a/AiPlatform/samples/V1/ModelServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/ModelServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/NotebookServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/NotebookServiceClient/get_iam_policy.php index 54da739e0b19..8f602061a850 100644 --- a/AiPlatform/samples/V1/NotebookServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/NotebookServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/NotebookServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/NotebookServiceClient/set_iam_policy.php index e4d447307a9e..4692545ada8c 100644 --- a/AiPlatform/samples/V1/NotebookServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/NotebookServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/NotebookServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/NotebookServiceClient/test_iam_permissions.php index 63a012d0279e..b37984c0d6c5 100644 --- a/AiPlatform/samples/V1/NotebookServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/NotebookServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/PersistentResourceServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/PersistentResourceServiceClient/get_iam_policy.php index 8f1a2e864ce4..1fb7fac5f11e 100644 --- a/AiPlatform/samples/V1/PersistentResourceServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/PersistentResourceServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/PersistentResourceServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/PersistentResourceServiceClient/set_iam_policy.php index 737bcba007f3..8a4939df059e 100644 --- a/AiPlatform/samples/V1/PersistentResourceServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/PersistentResourceServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/PersistentResourceServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/PersistentResourceServiceClient/test_iam_permissions.php index 83c4c82209e4..391745ebca87 100644 --- a/AiPlatform/samples/V1/PersistentResourceServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/PersistentResourceServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/PipelineServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/PipelineServiceClient/get_iam_policy.php index cded068e37b3..e7ead96f50f9 100644 --- a/AiPlatform/samples/V1/PipelineServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/PipelineServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/PipelineServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/PipelineServiceClient/set_iam_policy.php index 9bc2617a0091..66e9e5d5923e 100644 --- a/AiPlatform/samples/V1/PipelineServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/PipelineServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/PipelineServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/PipelineServiceClient/test_iam_permissions.php index 00d00a2ca0f8..c1783200436c 100644 --- a/AiPlatform/samples/V1/PipelineServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/PipelineServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/PredictionServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/PredictionServiceClient/get_iam_policy.php index b14c9fb18c2e..1daaaf2dc253 100644 --- a/AiPlatform/samples/V1/PredictionServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/PredictionServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/PredictionServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/PredictionServiceClient/set_iam_policy.php index dcc3b83189ae..7a0947b5d2a0 100644 --- a/AiPlatform/samples/V1/PredictionServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/PredictionServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/PredictionServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/PredictionServiceClient/test_iam_permissions.php index af531e7f8b50..ba134acaaa6c 100644 --- a/AiPlatform/samples/V1/PredictionServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/PredictionServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/get_iam_policy.php index 45fcd5c037d6..5aac619557fa 100644 --- a/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/set_iam_policy.php index 31bb12d7abbb..6c56f1d2b8a3 100644 --- a/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/test_iam_permissions.php index cde177a524b1..a824fdb792c4 100644 --- a/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/ReasoningEngineExecutionServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/ReasoningEngineServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/ReasoningEngineServiceClient/get_iam_policy.php index ef5c3c100038..42a7074602b1 100644 --- a/AiPlatform/samples/V1/ReasoningEngineServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/ReasoningEngineServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ReasoningEngineServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/ReasoningEngineServiceClient/set_iam_policy.php index 8ce83c4b96a5..fc1232147166 100644 --- a/AiPlatform/samples/V1/ReasoningEngineServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/ReasoningEngineServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ReasoningEngineServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/ReasoningEngineServiceClient/test_iam_permissions.php index 361e0ddc6cc0..d0b99370a9fb 100644 --- a/AiPlatform/samples/V1/ReasoningEngineServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/ReasoningEngineServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/ScheduleServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/ScheduleServiceClient/get_iam_policy.php index c17a7b747ef5..27147d1637e6 100644 --- a/AiPlatform/samples/V1/ScheduleServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/ScheduleServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ScheduleServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/ScheduleServiceClient/set_iam_policy.php index a8a3dca62dba..f351110811e7 100644 --- a/AiPlatform/samples/V1/ScheduleServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/ScheduleServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/ScheduleServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/ScheduleServiceClient/test_iam_permissions.php index 2263bc9eefe6..e6c292658bf9 100644 --- a/AiPlatform/samples/V1/ScheduleServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/ScheduleServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/SessionServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/SessionServiceClient/get_iam_policy.php index 50d638bea7e2..fe06bfdf5c81 100644 --- a/AiPlatform/samples/V1/SessionServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/SessionServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/SessionServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/SessionServiceClient/set_iam_policy.php index 109e6f671c8d..f829fd59c39a 100644 --- a/AiPlatform/samples/V1/SessionServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/SessionServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/SessionServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/SessionServiceClient/test_iam_permissions.php index 2a181a27da72..045cd448d004 100644 --- a/AiPlatform/samples/V1/SessionServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/SessionServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/SpecialistPoolServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/SpecialistPoolServiceClient/get_iam_policy.php index 25b462ad68c9..9609eb660f58 100644 --- a/AiPlatform/samples/V1/SpecialistPoolServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/SpecialistPoolServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/SpecialistPoolServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/SpecialistPoolServiceClient/set_iam_policy.php index 4f429d51a906..e781454caab9 100644 --- a/AiPlatform/samples/V1/SpecialistPoolServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/SpecialistPoolServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/SpecialistPoolServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/SpecialistPoolServiceClient/test_iam_permissions.php index 6cc3019b9a70..9432f188e6a2 100644 --- a/AiPlatform/samples/V1/SpecialistPoolServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/SpecialistPoolServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/TensorboardServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/TensorboardServiceClient/get_iam_policy.php index e3e401f2d295..76bab7d4cee1 100644 --- a/AiPlatform/samples/V1/TensorboardServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/TensorboardServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/TensorboardServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/TensorboardServiceClient/set_iam_policy.php index 5b26386c961c..051d4cb3d2b4 100644 --- a/AiPlatform/samples/V1/TensorboardServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/TensorboardServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/TensorboardServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/TensorboardServiceClient/test_iam_permissions.php index 1a3a1c5e78af..f76fa17e0936 100644 --- a/AiPlatform/samples/V1/TensorboardServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/TensorboardServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/VertexRagDataServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/VertexRagDataServiceClient/get_iam_policy.php index a0201ea26f19..8307b135e6cb 100644 --- a/AiPlatform/samples/V1/VertexRagDataServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/VertexRagDataServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/VertexRagDataServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/VertexRagDataServiceClient/set_iam_policy.php index e760fcf0c5a1..a0904803899a 100644 --- a/AiPlatform/samples/V1/VertexRagDataServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/VertexRagDataServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/VertexRagDataServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/VertexRagDataServiceClient/test_iam_permissions.php index 07429cdcda18..4af87ee54662 100644 --- a/AiPlatform/samples/V1/VertexRagDataServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/VertexRagDataServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/VertexRagServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/VertexRagServiceClient/get_iam_policy.php index a1fa48136fbc..5241cf05c9bf 100644 --- a/AiPlatform/samples/V1/VertexRagServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/VertexRagServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/VertexRagServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/VertexRagServiceClient/set_iam_policy.php index 6c6990f42a87..3584b60f2f04 100644 --- a/AiPlatform/samples/V1/VertexRagServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/VertexRagServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/VertexRagServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/VertexRagServiceClient/test_iam_permissions.php index c22994a1fb7d..22d0e9be20b7 100644 --- a/AiPlatform/samples/V1/VertexRagServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/VertexRagServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/samples/V1/VizierServiceClient/get_iam_policy.php b/AiPlatform/samples/V1/VizierServiceClient/get_iam_policy.php index 2ca4e90e33ac..6caa86b3ed14 100644 --- a/AiPlatform/samples/V1/VizierServiceClient/get_iam_policy.php +++ b/AiPlatform/samples/V1/VizierServiceClient/get_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/VizierServiceClient/set_iam_policy.php b/AiPlatform/samples/V1/VizierServiceClient/set_iam_policy.php index 97c3acab3bc5..3e1dc9a65335 100644 --- a/AiPlatform/samples/V1/VizierServiceClient/set_iam_policy.php +++ b/AiPlatform/samples/V1/VizierServiceClient/set_iam_policy.php @@ -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. diff --git a/AiPlatform/samples/V1/VizierServiceClient/test_iam_permissions.php b/AiPlatform/samples/V1/VizierServiceClient/test_iam_permissions.php index ccdefb27cd12..15d230401284 100644 --- a/AiPlatform/samples/V1/VizierServiceClient/test_iam_permissions.php +++ b/AiPlatform/samples/V1/VizierServiceClient/test_iam_permissions.php @@ -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. diff --git a/AiPlatform/src/V1/Client/DataFoundryServiceClient.php b/AiPlatform/src/V1/Client/DataFoundryServiceClient.php index ea1d405ab065..b8e00934fad8 100644 --- a/AiPlatform/src/V1/Client/DataFoundryServiceClient.php +++ b/AiPlatform/src/V1/Client/DataFoundryServiceClient.php @@ -320,7 +320,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 DataFoundryServiceClient::getIamPolicyAsync()} . * @@ -347,10 +347,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 DataFoundryServiceClient::setIamPolicyAsync()} . * @@ -377,12 +377,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 DataFoundryServiceClient::testIamPermissionsAsync()} * . diff --git a/AiPlatform/src/V1/Client/DatasetServiceClient.php b/AiPlatform/src/V1/Client/DatasetServiceClient.php index adc4ee3f1710..ec419b74b8ea 100644 --- a/AiPlatform/src/V1/Client/DatasetServiceClient.php +++ b/AiPlatform/src/V1/Client/DatasetServiceClient.php @@ -1005,7 +1005,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 DatasetServiceClient::getIamPolicyAsync()} . * @@ -1032,10 +1032,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 DatasetServiceClient::setIamPolicyAsync()} . * @@ -1062,12 +1062,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 DatasetServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/DeploymentResourcePoolServiceClient.php b/AiPlatform/src/V1/Client/DeploymentResourcePoolServiceClient.php index 6b2c14bc75df..fc7735baa547 100644 --- a/AiPlatform/src/V1/Client/DeploymentResourcePoolServiceClient.php +++ b/AiPlatform/src/V1/Client/DeploymentResourcePoolServiceClient.php @@ -592,7 +592,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 DeploymentResourcePoolServiceClient::getIamPolicyAsync()} . @@ -620,10 +620,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 DeploymentResourcePoolServiceClient::setIamPolicyAsync()} . @@ -651,12 +651,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 DeploymentResourcePoolServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/EndpointServiceClient.php b/AiPlatform/src/V1/Client/EndpointServiceClient.php index b34908a27da9..87950e3fc553 100644 --- a/AiPlatform/src/V1/Client/EndpointServiceClient.php +++ b/AiPlatform/src/V1/Client/EndpointServiceClient.php @@ -775,7 +775,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 EndpointServiceClient::getIamPolicyAsync()} . * @@ -802,10 +802,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 EndpointServiceClient::setIamPolicyAsync()} . * @@ -832,12 +832,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 EndpointServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/EvaluationServiceClient.php b/AiPlatform/src/V1/Client/EvaluationServiceClient.php index a4394c15d64c..2479bf581c12 100644 --- a/AiPlatform/src/V1/Client/EvaluationServiceClient.php +++ b/AiPlatform/src/V1/Client/EvaluationServiceClient.php @@ -319,7 +319,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 EvaluationServiceClient::getIamPolicyAsync()} . * @@ -346,10 +346,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 EvaluationServiceClient::setIamPolicyAsync()} . * @@ -376,12 +376,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 EvaluationServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/FeatureOnlineStoreAdminServiceClient.php b/AiPlatform/src/V1/Client/FeatureOnlineStoreAdminServiceClient.php index 52e19fbaac71..6bfb9323abd5 100644 --- a/AiPlatform/src/V1/Client/FeatureOnlineStoreAdminServiceClient.php +++ b/AiPlatform/src/V1/Client/FeatureOnlineStoreAdminServiceClient.php @@ -813,7 +813,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 FeatureOnlineStoreAdminServiceClient::getIamPolicyAsync()} . @@ -841,10 +841,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 FeatureOnlineStoreAdminServiceClient::setIamPolicyAsync()} . @@ -872,12 +872,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 FeatureOnlineStoreAdminServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/FeatureOnlineStoreServiceClient.php b/AiPlatform/src/V1/Client/FeatureOnlineStoreServiceClient.php index fcff831b145d..0023c95bb890 100644 --- a/AiPlatform/src/V1/Client/FeatureOnlineStoreServiceClient.php +++ b/AiPlatform/src/V1/Client/FeatureOnlineStoreServiceClient.php @@ -422,7 +422,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 FeatureOnlineStoreServiceClient::getIamPolicyAsync()} * . @@ -450,10 +450,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 FeatureOnlineStoreServiceClient::setIamPolicyAsync()} * . @@ -481,12 +481,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 FeatureOnlineStoreServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/FeatureRegistryServiceClient.php b/AiPlatform/src/V1/Client/FeatureRegistryServiceClient.php index f624e24a5e2e..6660f0e7029f 100644 --- a/AiPlatform/src/V1/Client/FeatureRegistryServiceClient.php +++ b/AiPlatform/src/V1/Client/FeatureRegistryServiceClient.php @@ -790,7 +790,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 FeatureRegistryServiceClient::getIamPolicyAsync()} . * @@ -817,10 +817,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 FeatureRegistryServiceClient::setIamPolicyAsync()} . * @@ -847,12 +847,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 FeatureRegistryServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/FeaturestoreOnlineServingServiceClient.php b/AiPlatform/src/V1/Client/FeaturestoreOnlineServingServiceClient.php index dc66045109c1..3105b1db052c 100644 --- a/AiPlatform/src/V1/Client/FeaturestoreOnlineServingServiceClient.php +++ b/AiPlatform/src/V1/Client/FeaturestoreOnlineServingServiceClient.php @@ -399,7 +399,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 FeaturestoreOnlineServingServiceClient::getIamPolicyAsync()} . @@ -427,10 +427,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 FeaturestoreOnlineServingServiceClient::setIamPolicyAsync()} . @@ -458,12 +458,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 FeaturestoreOnlineServingServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/FeaturestoreServiceClient.php b/AiPlatform/src/V1/Client/FeaturestoreServiceClient.php index 61655eb70996..ece35bb3f4c7 100644 --- a/AiPlatform/src/V1/Client/FeaturestoreServiceClient.php +++ b/AiPlatform/src/V1/Client/FeaturestoreServiceClient.php @@ -1134,7 +1134,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 FeaturestoreServiceClient::getIamPolicyAsync()} . * @@ -1161,10 +1161,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 FeaturestoreServiceClient::setIamPolicyAsync()} . * @@ -1191,12 +1191,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 FeaturestoreServiceClient::testIamPermissionsAsync()} * . diff --git a/AiPlatform/src/V1/Client/GenAiCacheServiceClient.php b/AiPlatform/src/V1/Client/GenAiCacheServiceClient.php index b8f1c63db730..11b6ff3f714d 100644 --- a/AiPlatform/src/V1/Client/GenAiCacheServiceClient.php +++ b/AiPlatform/src/V1/Client/GenAiCacheServiceClient.php @@ -471,7 +471,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 GenAiCacheServiceClient::getIamPolicyAsync()} . * @@ -498,10 +498,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 GenAiCacheServiceClient::setIamPolicyAsync()} . * @@ -528,12 +528,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 GenAiCacheServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/GenAiTuningServiceClient.php b/AiPlatform/src/V1/Client/GenAiTuningServiceClient.php index fc6ca32f1e02..de5bb257689d 100644 --- a/AiPlatform/src/V1/Client/GenAiTuningServiceClient.php +++ b/AiPlatform/src/V1/Client/GenAiTuningServiceClient.php @@ -645,7 +645,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 GenAiTuningServiceClient::getIamPolicyAsync()} . * @@ -672,10 +672,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 GenAiTuningServiceClient::setIamPolicyAsync()} . * @@ -702,12 +702,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 GenAiTuningServiceClient::testIamPermissionsAsync()} * . diff --git a/AiPlatform/src/V1/Client/IndexEndpointServiceClient.php b/AiPlatform/src/V1/Client/IndexEndpointServiceClient.php index 99699f54c7f0..e868fcb0c8c5 100644 --- a/AiPlatform/src/V1/Client/IndexEndpointServiceClient.php +++ b/AiPlatform/src/V1/Client/IndexEndpointServiceClient.php @@ -639,7 +639,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 IndexEndpointServiceClient::getIamPolicyAsync()} . * @@ -666,10 +666,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 IndexEndpointServiceClient::setIamPolicyAsync()} . * @@ -696,12 +696,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 IndexEndpointServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/IndexServiceClient.php b/AiPlatform/src/V1/Client/IndexServiceClient.php index c0feedb10230..cd1575951d75 100644 --- a/AiPlatform/src/V1/Client/IndexServiceClient.php +++ b/AiPlatform/src/V1/Client/IndexServiceClient.php @@ -588,7 +588,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 IndexServiceClient::getIamPolicyAsync()} . * @@ -615,10 +615,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 IndexServiceClient::setIamPolicyAsync()} . * @@ -645,12 +645,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 IndexServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/JobServiceClient.php b/AiPlatform/src/V1/Client/JobServiceClient.php index 2380b5e6c835..e84acc31981e 100644 --- a/AiPlatform/src/V1/Client/JobServiceClient.php +++ b/AiPlatform/src/V1/Client/JobServiceClient.php @@ -1850,7 +1850,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 JobServiceClient::getIamPolicyAsync()} . * @@ -1877,10 +1877,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 JobServiceClient::setIamPolicyAsync()} . * @@ -1907,12 +1907,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 JobServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/LlmUtilityServiceClient.php b/AiPlatform/src/V1/Client/LlmUtilityServiceClient.php index 51a005b7a71f..672a7cfa39a7 100644 --- a/AiPlatform/src/V1/Client/LlmUtilityServiceClient.php +++ b/AiPlatform/src/V1/Client/LlmUtilityServiceClient.php @@ -414,7 +414,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 LlmUtilityServiceClient::getIamPolicyAsync()} . * @@ -441,10 +441,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 LlmUtilityServiceClient::setIamPolicyAsync()} . * @@ -471,12 +471,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 LlmUtilityServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/MatchServiceClient.php b/AiPlatform/src/V1/Client/MatchServiceClient.php index 3b438b5e4835..90399dc8191e 100644 --- a/AiPlatform/src/V1/Client/MatchServiceClient.php +++ b/AiPlatform/src/V1/Client/MatchServiceClient.php @@ -352,7 +352,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 MatchServiceClient::getIamPolicyAsync()} . * @@ -379,10 +379,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 MatchServiceClient::setIamPolicyAsync()} . * @@ -409,12 +409,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 MatchServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/MetadataServiceClient.php b/AiPlatform/src/V1/Client/MetadataServiceClient.php index de4e16f0a4f6..4c2282af97e5 100644 --- a/AiPlatform/src/V1/Client/MetadataServiceClient.php +++ b/AiPlatform/src/V1/Client/MetadataServiceClient.php @@ -1411,7 +1411,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 MetadataServiceClient::getIamPolicyAsync()} . * @@ -1438,10 +1438,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 MetadataServiceClient::setIamPolicyAsync()} . * @@ -1468,12 +1468,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 MetadataServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/MigrationServiceClient.php b/AiPlatform/src/V1/Client/MigrationServiceClient.php index 566ebf7a7141..45f9f16becd4 100644 --- a/AiPlatform/src/V1/Client/MigrationServiceClient.php +++ b/AiPlatform/src/V1/Client/MigrationServiceClient.php @@ -489,7 +489,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 MigrationServiceClient::getIamPolicyAsync()} . * @@ -516,10 +516,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 MigrationServiceClient::setIamPolicyAsync()} . * @@ -546,12 +546,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 MigrationServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/ModelGardenServiceClient.php b/AiPlatform/src/V1/Client/ModelGardenServiceClient.php index 0da298a28efa..583434f309d1 100644 --- a/AiPlatform/src/V1/Client/ModelGardenServiceClient.php +++ b/AiPlatform/src/V1/Client/ModelGardenServiceClient.php @@ -438,7 +438,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 ModelGardenServiceClient::getIamPolicyAsync()} . * @@ -465,10 +465,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 ModelGardenServiceClient::setIamPolicyAsync()} . * @@ -495,12 +495,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 ModelGardenServiceClient::testIamPermissionsAsync()} * . diff --git a/AiPlatform/src/V1/Client/ModelServiceClient.php b/AiPlatform/src/V1/Client/ModelServiceClient.php index 5e29a250de5f..3e7961859582 100644 --- a/AiPlatform/src/V1/Client/ModelServiceClient.php +++ b/AiPlatform/src/V1/Client/ModelServiceClient.php @@ -1106,7 +1106,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 ModelServiceClient::getIamPolicyAsync()} . * @@ -1133,10 +1133,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 ModelServiceClient::setIamPolicyAsync()} . * @@ -1163,12 +1163,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 ModelServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/NotebookServiceClient.php b/AiPlatform/src/V1/Client/NotebookServiceClient.php index e91b5de94465..b62eae312a6b 100644 --- a/AiPlatform/src/V1/Client/NotebookServiceClient.php +++ b/AiPlatform/src/V1/Client/NotebookServiceClient.php @@ -981,7 +981,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 NotebookServiceClient::getIamPolicyAsync()} . * @@ -1008,10 +1008,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 NotebookServiceClient::setIamPolicyAsync()} . * @@ -1038,12 +1038,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 NotebookServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/PersistentResourceServiceClient.php b/AiPlatform/src/V1/Client/PersistentResourceServiceClient.php index 0fc8b10c765e..5c77241d863c 100644 --- a/AiPlatform/src/V1/Client/PersistentResourceServiceClient.php +++ b/AiPlatform/src/V1/Client/PersistentResourceServiceClient.php @@ -610,7 +610,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 PersistentResourceServiceClient::getIamPolicyAsync()} * . @@ -638,10 +638,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 PersistentResourceServiceClient::setIamPolicyAsync()} * . @@ -669,12 +669,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 PersistentResourceServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/PipelineServiceClient.php b/AiPlatform/src/V1/Client/PipelineServiceClient.php index 3207c7c14b8d..62251139d737 100644 --- a/AiPlatform/src/V1/Client/PipelineServiceClient.php +++ b/AiPlatform/src/V1/Client/PipelineServiceClient.php @@ -1012,7 +1012,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 PipelineServiceClient::getIamPolicyAsync()} . * @@ -1039,10 +1039,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 PipelineServiceClient::setIamPolicyAsync()} . * @@ -1069,12 +1069,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 PipelineServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/PredictionServiceClient.php b/AiPlatform/src/V1/Client/PredictionServiceClient.php index 85cd743a0124..1b535ac6c735 100644 --- a/AiPlatform/src/V1/Client/PredictionServiceClient.php +++ b/AiPlatform/src/V1/Client/PredictionServiceClient.php @@ -786,7 +786,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 PredictionServiceClient::getIamPolicyAsync()} . * @@ -813,10 +813,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 PredictionServiceClient::setIamPolicyAsync()} . * @@ -843,12 +843,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 PredictionServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/ReasoningEngineExecutionServiceClient.php b/AiPlatform/src/V1/Client/ReasoningEngineExecutionServiceClient.php index a08bd5cfe3cf..37cc65adc282 100644 --- a/AiPlatform/src/V1/Client/ReasoningEngineExecutionServiceClient.php +++ b/AiPlatform/src/V1/Client/ReasoningEngineExecutionServiceClient.php @@ -472,7 +472,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 ReasoningEngineExecutionServiceClient::getIamPolicyAsync()} . @@ -500,10 +500,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 ReasoningEngineExecutionServiceClient::setIamPolicyAsync()} . @@ -531,12 +531,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 ReasoningEngineExecutionServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/ReasoningEngineServiceClient.php b/AiPlatform/src/V1/Client/ReasoningEngineServiceClient.php index 8272f4301da3..e239763a802a 100644 --- a/AiPlatform/src/V1/Client/ReasoningEngineServiceClient.php +++ b/AiPlatform/src/V1/Client/ReasoningEngineServiceClient.php @@ -562,7 +562,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 ReasoningEngineServiceClient::getIamPolicyAsync()} . * @@ -589,10 +589,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 ReasoningEngineServiceClient::setIamPolicyAsync()} . * @@ -619,12 +619,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 ReasoningEngineServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/ScheduleServiceClient.php b/AiPlatform/src/V1/Client/ScheduleServiceClient.php index f8503a9d8b99..de3f69b1e33c 100644 --- a/AiPlatform/src/V1/Client/ScheduleServiceClient.php +++ b/AiPlatform/src/V1/Client/ScheduleServiceClient.php @@ -835,7 +835,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 ScheduleServiceClient::getIamPolicyAsync()} . * @@ -862,10 +862,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 ScheduleServiceClient::setIamPolicyAsync()} . * @@ -892,12 +892,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 ScheduleServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/SessionServiceClient.php b/AiPlatform/src/V1/Client/SessionServiceClient.php index bbccadb3ea34..c22654ab643f 100644 --- a/AiPlatform/src/V1/Client/SessionServiceClient.php +++ b/AiPlatform/src/V1/Client/SessionServiceClient.php @@ -599,7 +599,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 SessionServiceClient::getIamPolicyAsync()} . * @@ -626,10 +626,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 SessionServiceClient::setIamPolicyAsync()} . * @@ -656,12 +656,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 SessionServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/SpecialistPoolServiceClient.php b/AiPlatform/src/V1/Client/SpecialistPoolServiceClient.php index f1459a97cab7..58b90abe1be7 100644 --- a/AiPlatform/src/V1/Client/SpecialistPoolServiceClient.php +++ b/AiPlatform/src/V1/Client/SpecialistPoolServiceClient.php @@ -519,7 +519,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 SpecialistPoolServiceClient::getIamPolicyAsync()} . * @@ -546,10 +546,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 SpecialistPoolServiceClient::setIamPolicyAsync()} . * @@ -576,12 +576,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 SpecialistPoolServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/TensorboardServiceClient.php b/AiPlatform/src/V1/Client/TensorboardServiceClient.php index 57634e17d9fe..bad44eddb714 100644 --- a/AiPlatform/src/V1/Client/TensorboardServiceClient.php +++ b/AiPlatform/src/V1/Client/TensorboardServiceClient.php @@ -1380,7 +1380,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 TensorboardServiceClient::getIamPolicyAsync()} . * @@ -1407,10 +1407,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 TensorboardServiceClient::setIamPolicyAsync()} . * @@ -1437,12 +1437,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 TensorboardServiceClient::testIamPermissionsAsync()} * . diff --git a/AiPlatform/src/V1/Client/VertexRagDataServiceClient.php b/AiPlatform/src/V1/Client/VertexRagDataServiceClient.php index 11f4c1641f6c..00a40b2428de 100644 --- a/AiPlatform/src/V1/Client/VertexRagDataServiceClient.php +++ b/AiPlatform/src/V1/Client/VertexRagDataServiceClient.php @@ -853,7 +853,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 VertexRagDataServiceClient::getIamPolicyAsync()} . * @@ -880,10 +880,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 VertexRagDataServiceClient::setIamPolicyAsync()} . * @@ -910,12 +910,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 VertexRagDataServiceClient::testIamPermissionsAsync()} . diff --git a/AiPlatform/src/V1/Client/VertexRagServiceClient.php b/AiPlatform/src/V1/Client/VertexRagServiceClient.php index 320e8aa0fa3c..23e32cb3c6c7 100644 --- a/AiPlatform/src/V1/Client/VertexRagServiceClient.php +++ b/AiPlatform/src/V1/Client/VertexRagServiceClient.php @@ -517,7 +517,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 VertexRagServiceClient::getIamPolicyAsync()} . * @@ -544,10 +544,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 VertexRagServiceClient::setIamPolicyAsync()} . * @@ -574,12 +574,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 VertexRagServiceClient::testIamPermissionsAsync()} . * diff --git a/AiPlatform/src/V1/Client/VizierServiceClient.php b/AiPlatform/src/V1/Client/VizierServiceClient.php index f98d504a1088..87abceab4d69 100644 --- a/AiPlatform/src/V1/Client/VizierServiceClient.php +++ b/AiPlatform/src/V1/Client/VizierServiceClient.php @@ -848,7 +848,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 VizierServiceClient::getIamPolicyAsync()} . * @@ -875,10 +875,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 VizierServiceClient::setIamPolicyAsync()} . * @@ -905,12 +905,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 VizierServiceClient::testIamPermissionsAsync()} . * diff --git a/ApigeeRegistry/samples/V1/ProvisioningClient/get_iam_policy.php b/ApigeeRegistry/samples/V1/ProvisioningClient/get_iam_policy.php index 9f98a2db53c8..91fc754b4eb2 100644 --- a/ApigeeRegistry/samples/V1/ProvisioningClient/get_iam_policy.php +++ b/ApigeeRegistry/samples/V1/ProvisioningClient/get_iam_policy.php @@ -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. diff --git a/ApigeeRegistry/samples/V1/ProvisioningClient/set_iam_policy.php b/ApigeeRegistry/samples/V1/ProvisioningClient/set_iam_policy.php index ac628927c190..ea2b8fd3d158 100644 --- a/ApigeeRegistry/samples/V1/ProvisioningClient/set_iam_policy.php +++ b/ApigeeRegistry/samples/V1/ProvisioningClient/set_iam_policy.php @@ -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. diff --git a/ApigeeRegistry/samples/V1/ProvisioningClient/test_iam_permissions.php b/ApigeeRegistry/samples/V1/ProvisioningClient/test_iam_permissions.php index f1e009ee4624..48688c32b61b 100644 --- a/ApigeeRegistry/samples/V1/ProvisioningClient/test_iam_permissions.php +++ b/ApigeeRegistry/samples/V1/ProvisioningClient/test_iam_permissions.php @@ -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. diff --git a/ApigeeRegistry/samples/V1/RegistryClient/get_iam_policy.php b/ApigeeRegistry/samples/V1/RegistryClient/get_iam_policy.php index b8d2149456b3..5d8288e43a2e 100644 --- a/ApigeeRegistry/samples/V1/RegistryClient/get_iam_policy.php +++ b/ApigeeRegistry/samples/V1/RegistryClient/get_iam_policy.php @@ -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. diff --git a/ApigeeRegistry/samples/V1/RegistryClient/set_iam_policy.php b/ApigeeRegistry/samples/V1/RegistryClient/set_iam_policy.php index b6cbbaf0d2ec..9f141befb41d 100644 --- a/ApigeeRegistry/samples/V1/RegistryClient/set_iam_policy.php +++ b/ApigeeRegistry/samples/V1/RegistryClient/set_iam_policy.php @@ -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. diff --git a/ApigeeRegistry/samples/V1/RegistryClient/test_iam_permissions.php b/ApigeeRegistry/samples/V1/RegistryClient/test_iam_permissions.php index 4f721072c47a..2a2e7b849a9f 100644 --- a/ApigeeRegistry/samples/V1/RegistryClient/test_iam_permissions.php +++ b/ApigeeRegistry/samples/V1/RegistryClient/test_iam_permissions.php @@ -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. diff --git a/ApigeeRegistry/src/V1/Client/ProvisioningClient.php b/ApigeeRegistry/src/V1/Client/ProvisioningClient.php index 9f077e540c3e..060c3f4ec0ac 100644 --- a/ApigeeRegistry/src/V1/Client/ProvisioningClient.php +++ b/ApigeeRegistry/src/V1/Client/ProvisioningClient.php @@ -448,7 +448,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 ProvisioningClient::getIamPolicyAsync()} . * @@ -475,10 +475,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 ProvisioningClient::setIamPolicyAsync()} . * @@ -505,12 +505,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 ProvisioningClient::testIamPermissionsAsync()} . * diff --git a/ApigeeRegistry/src/V1/Client/RegistryClient.php b/ApigeeRegistry/src/V1/Client/RegistryClient.php index 7112e8d75885..adf4cc677c4e 100644 --- a/ApigeeRegistry/src/V1/Client/RegistryClient.php +++ b/ApigeeRegistry/src/V1/Client/RegistryClient.php @@ -1536,7 +1536,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 RegistryClient::getIamPolicyAsync()} . * @@ -1563,10 +1563,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 RegistryClient::setIamPolicyAsync()} . * @@ -1593,12 +1593,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 RegistryClient::testIamPermissionsAsync()} . * diff --git a/AppHub/samples/V1/AppHubClient/get_iam_policy.php b/AppHub/samples/V1/AppHubClient/get_iam_policy.php index 07a25026e931..b820f1a67ae1 100644 --- a/AppHub/samples/V1/AppHubClient/get_iam_policy.php +++ b/AppHub/samples/V1/AppHubClient/get_iam_policy.php @@ -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. diff --git a/AppHub/samples/V1/AppHubClient/set_iam_policy.php b/AppHub/samples/V1/AppHubClient/set_iam_policy.php index 2b3a02804669..4d008cdcafcf 100644 --- a/AppHub/samples/V1/AppHubClient/set_iam_policy.php +++ b/AppHub/samples/V1/AppHubClient/set_iam_policy.php @@ -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. diff --git a/AppHub/samples/V1/AppHubClient/test_iam_permissions.php b/AppHub/samples/V1/AppHubClient/test_iam_permissions.php index 0987f4f6f2c6..fa50fd37689d 100644 --- a/AppHub/samples/V1/AppHubClient/test_iam_permissions.php +++ b/AppHub/samples/V1/AppHubClient/test_iam_permissions.php @@ -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. diff --git a/AppHub/src/V1/Client/AppHubClient.php b/AppHub/src/V1/Client/AppHubClient.php index 73586604f371..545961dcc92b 100644 --- a/AppHub/src/V1/Client/AppHubClient.php +++ b/AppHub/src/V1/Client/AppHubClient.php @@ -1290,7 +1290,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 AppHubClient::getIamPolicyAsync()} . * @@ -1317,10 +1317,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 AppHubClient::setIamPolicyAsync()} . * @@ -1347,12 +1347,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 AppHubClient::testIamPermissionsAsync()} . * diff --git a/Appoptimize/metadata/V1Beta/AppOptimize.php b/Appoptimize/metadata/V1Beta/AppOptimize.php new file mode 100644 index 000000000000..babbdcef1653 --- /dev/null +++ b/Appoptimize/metadata/V1Beta/AppOptimize.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\xC3\x18\x0A2google/cloud/appoptimize/v1beta/app_optimize.proto\x12\x1Fgoogle.cloud.appoptimize.v1beta\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA6\x01\x0A\x13CreateReportRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!appoptimize.googleapis.com/Report\x12\x16\x0A\x09report_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12<\x0A\x06report\x18\x03 \x01(\x0B2'.google.cloud.appoptimize.v1beta.ReportB\x03\xE0A\x02\"\xD5\x02\x0A\x06Report\x126\x0A\x0Bexpire_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x17\x0A\x0Adimensions\x18\x02 \x03(\x09B\x03\xE0A\x02\x12\x14\x0A\x07metrics\x18\x07 \x03(\x09B\x03\xE0A\x02\x12;\x0A\x06scopes\x18\x03 \x03(\x0B2&.google.cloud.appoptimize.v1beta.ScopeB\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01:q\xEAAn\x0A!appoptimize.googleapis.com/Report\x128projects/{project}/locations/{location}/reports/{report}*\x07reports2\x06reportB\x0C\x0A\x0Aexpiration\"\x9A\x01\x0A\x05Scope\x12F\x0A\x07project\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+cloudresourcemanager.googleapis.com/ProjectH\x00\x12@\x0A\x0Bapplication\x18\x02 \x01(\x09B)\xE0A\x02\xFAA#\x0A!apphub.googleapis.com/ApplicationH\x00B\x07\x0A\x05scope\"K\x0A\x10GetReportRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!appoptimize.googleapis.com/Report\"\x80\x01\x0A\x12ListReportsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!appoptimize.googleapis.com/Report\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"h\x0A\x13ListReportsResponse\x128\x0A\x07reports\x18\x01 \x03(\x0B2'.google.cloud.appoptimize.v1beta.Report\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"j\x0A\x13DeleteReportRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!appoptimize.googleapis.com/Report\x12\x1A\x0A\x0Dallow_missing\x18\x02 \x01(\x08B\x03\xE0A\x01\"}\x0A\x11ReadReportRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!appoptimize.googleapis.com/Report\x12\x16\x0A\x09page_size\x18\x04 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x91\x01\x0A\x12ReadReportResponse\x12(\x0A\x04rows\x18\x01 \x03(\x0B2\x1A.google.protobuf.ListValue\x128\x0A\x07columns\x18\x05 \x03(\x0B2'.google.cloud.appoptimize.v1beta.Column\x12\x17\x0A\x0Fnext_page_token\x18\x03 \x01(\x09\"l\x0A\x06Column\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0C\x0A\x04type\x18\x02 \x01(\x09\x12\x0C\x0A\x04mode\x18\x03 \x01(\x09\x128\x0A\x07columns\x18\x04 \x03(\x0B2'.google.cloud.appoptimize.v1beta.Column\"\x13\x0A\x11OperationMetadata2\x82\x08\x0A\x0BAppOptimize\x12\xDC\x01\x0A\x0CCreateReport\x124.google.cloud.appoptimize.v1beta.CreateReportRequest\x1A\x1D.google.longrunning.Operation\"w\xCAA\x1B\x0A\x06Report\x12\x11OperationMetadata\xDAA\x17parent,report,report_id\x82\xD3\xE4\x93\x029\"//v1beta/{parent=projects/*/locations/*}/reports:\x06report\x12\xA7\x01\x0A\x09GetReport\x121.google.cloud.appoptimize.v1beta.GetReportRequest\x1A'.google.cloud.appoptimize.v1beta.Report\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1beta/{name=projects/*/locations/*/reports/*}\x12\xBA\x01\x0A\x0BListReports\x123.google.cloud.appoptimize.v1beta.ListReportsRequest\x1A4.google.cloud.appoptimize.v1beta.ListReportsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1beta/{parent=projects/*/locations/*}/reports\x12\x9C\x01\x0A\x0CDeleteReport\x124.google.cloud.appoptimize.v1beta.DeleteReportRequest\x1A\x16.google.protobuf.Empty\">\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1beta/{name=projects/*/locations/*/reports/*}\x12\xBD\x01\x0A\x0AReadReport\x122.google.cloud.appoptimize.v1beta.ReadReportRequest\x1A3.google.cloud.appoptimize.v1beta.ReadReportResponse\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\"4/v1beta/{name=projects/*/locations/*/reports/*}:read:\x01*\x1AN\xCAA\x1Aappoptimize.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xAE\x02\x0A#com.google.cloud.appoptimize.v1betaB\x10AppOptimizeProtoP\x01ZEcloud.google.com/go/appoptimize/apiv1beta/appoptimizepb;appoptimizepb\xAA\x02\x1FGoogle.Cloud.AppOptimize.V1Beta\xCA\x02\x1FGoogle\\Cloud\\AppOptimize\\V1beta\xEAAg\x0A!apphub.googleapis.com/Application\x12Bprojects/{project}/locations/{location}/applications/{application}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/create_report.php b/Appoptimize/samples/V1beta/AppOptimizeClient/create_report.php new file mode 100644 index 000000000000..35d73ceb2eaf --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/create_report.php @@ -0,0 +1,150 @@ +setDimensions($reportDimensions) + ->setMetrics($reportMetrics); + $request = (new CreateReportRequest()) + ->setParent($formattedParent) + ->setReportId($reportId) + ->setReport($report); + + // Call the API and handle any network failures. + try { + /** @var OperationResponse $response */ + $response = $appOptimizeClient->createReport($request); + $response->pollUntilComplete(); + + if ($response->operationSucceeded()) { + /** @var Report $result */ + $result = $response->getResult(); + printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString()); + } else { + /** @var Status $error */ + $error = $response->getError(); + printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AppOptimizeClient::locationName('[PROJECT]', '[LOCATION]'); + $reportId = '[REPORT_ID]'; + $reportDimensionsElement = '[DIMENSIONS]'; + $reportMetricsElement = '[METRICS]'; + + create_report_sample($formattedParent, $reportId, $reportDimensionsElement, $reportMetricsElement); +} +// [END appoptimize_v1beta_generated_AppOptimize_CreateReport_sync] diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/delete_report.php b/Appoptimize/samples/V1beta/AppOptimizeClient/delete_report.php new file mode 100644 index 000000000000..833b9575fa07 --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/delete_report.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $appOptimizeClient->deleteReport($request); + printf('Call completed successfully.' . PHP_EOL); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AppOptimizeClient::reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + + delete_report_sample($formattedName); +} +// [END appoptimize_v1beta_generated_AppOptimize_DeleteReport_sync] diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/get_location.php b/Appoptimize/samples/V1beta/AppOptimizeClient/get_location.php new file mode 100644 index 000000000000..68c8db419acd --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/get_location.php @@ -0,0 +1,57 @@ +getLocation($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END appoptimize_v1beta_generated_AppOptimize_GetLocation_sync] diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/get_report.php b/Appoptimize/samples/V1beta/AppOptimizeClient/get_report.php new file mode 100644 index 000000000000..63fea8e451fd --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/get_report.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Report $response */ + $response = $appOptimizeClient->getReport($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AppOptimizeClient::reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + + get_report_sample($formattedName); +} +// [END appoptimize_v1beta_generated_AppOptimize_GetReport_sync] diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/list_locations.php b/Appoptimize/samples/V1beta/AppOptimizeClient/list_locations.php new file mode 100644 index 000000000000..fb1b973045f9 --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/list_locations.php @@ -0,0 +1,78 @@ +listLocations($request); + + /** @var Location $element */ + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END appoptimize_v1beta_generated_AppOptimize_ListLocations_sync] diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/list_reports.php b/Appoptimize/samples/V1beta/AppOptimizeClient/list_reports.php new file mode 100644 index 000000000000..b5d6e8e6f740 --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/list_reports.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $appOptimizeClient->listReports($request); + + /** @var Report $element */ + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AppOptimizeClient::locationName('[PROJECT]', '[LOCATION]'); + + list_reports_sample($formattedParent); +} +// [END appoptimize_v1beta_generated_AppOptimize_ListReports_sync] diff --git a/Appoptimize/samples/V1beta/AppOptimizeClient/read_report.php b/Appoptimize/samples/V1beta/AppOptimizeClient/read_report.php new file mode 100644 index 000000000000..a174d86aabdc --- /dev/null +++ b/Appoptimize/samples/V1beta/AppOptimizeClient/read_report.php @@ -0,0 +1,78 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $appOptimizeClient->readReport($request); + + /** @var ListValue $element */ + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AppOptimizeClient::reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + + read_report_sample($formattedName); +} +// [END appoptimize_v1beta_generated_AppOptimize_ReadReport_sync] diff --git a/Appoptimize/src/V1beta/Client/AppOptimizeClient.php b/Appoptimize/src/V1beta/Client/AppOptimizeClient.php new file mode 100644 index 000000000000..4189841e9c8d --- /dev/null +++ b/Appoptimize/src/V1beta/Client/AppOptimizeClient.php @@ -0,0 +1,585 @@ + createReportAsync(CreateReportRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteReportAsync(DeleteReportRequest $request, array $optionalArgs = []) + * @method PromiseInterface getReportAsync(GetReportRequest $request, array $optionalArgs = []) + * @method PromiseInterface listReportsAsync(ListReportsRequest $request, array $optionalArgs = []) + * @method PromiseInterface readReportAsync(ReadReportRequest $request, array $optionalArgs = []) + * @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = []) + */ +final class AppOptimizeClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.cloud.appoptimize.v1beta.AppOptimize'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'appoptimize.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'appoptimize.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + + private $operationsClient; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/app_optimize_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/app_optimize_descriptor_config.php', + 'gcpApiConfigPath' => __DIR__ . '/../resources/app_optimize_grpc_config.json', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/app_optimize_rest_client_config.php', + ], + ], + ]; + } + + /** + * Return an OperationsClient object with the same endpoint as $this. + * + * @return OperationsClient + * + * @experimental + */ + public function getOperationsClient() + { + return $this->operationsClient; + } + + /** + * Resume an existing long running operation that was previously started by a long + * running API method. If $methodName is not provided, or does not match a long + * running API method, then the operation can still be resumed, but the + * OperationResponse object will not deserialize the final response. + * + * @param string $operationName The name of the long running operation + * @param string $methodName The name of the method used to start the operation + * + * @return OperationResponse + * + * @experimental + */ + public function resumeOperation($operationName, $methodName = null) + { + $options = $this->descriptors[$methodName]['longRunning'] ?? []; + $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); + $operation->reload(); + return $operation; + } + + /** + * Create the default operation client for the service. + * + * @param array $options ClientOptions for the client. + * + * @return OperationsClient + */ + private function createOperationsClient(array $options) + { + // Unset client-specific configuration options + unset($options['serviceName'], $options['clientConfig'], $options['descriptorsConfigPath']); + + if (isset($options['operationsClient'])) { + return $options['operationsClient']; + } + + return new OperationsClient($options); + } + + /** + * Formats a string containing the fully-qualified path to represent a application + * resource. + * + * @param string $project + * @param string $location + * @param string $application + * + * @return string The formatted application resource. + * + * @experimental + */ + public static function applicationName(string $project, string $location, string $application): string + { + return self::getPathTemplate('application')->render([ + 'project' => $project, + 'location' => $location, + 'application' => $application, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a location + * resource. + * + * @param string $project + * @param string $location + * + * @return string The formatted location resource. + * + * @experimental + */ + public static function locationName(string $project, string $location): string + { + return self::getPathTemplate('location')->render([ + 'project' => $project, + 'location' => $location, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a project + * resource. + * + * @param string $project + * + * @return string The formatted project resource. + * + * @experimental + */ + public static function projectName(string $project): string + { + return self::getPathTemplate('project')->render([ + 'project' => $project, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a report + * resource. + * + * @param string $project + * @param string $location + * @param string $report + * + * @return string The formatted report resource. + * + * @experimental + */ + public static function reportName(string $project, string $location, string $report): string + { + return self::getPathTemplate('report')->render([ + 'project' => $project, + 'location' => $location, + 'report' => $report, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - application: projects/{project}/locations/{location}/applications/{application} + * - location: projects/{project}/locations/{location} + * - project: projects/{project} + * - report: projects/{project}/locations/{location}/reports/{report} + * + * The optional $template argument can be supplied to specify a particular pattern, + * and must match one of the templates listed above. If no $template argument is + * provided, or if the $template argument does not match one of the templates + * listed, then parseName will check each of the supported templates, and return + * the first match. + * + * @param string $formattedName The formatted name string + * @param ?string $template Optional name of template to match + * + * @return array An associative array from name component IDs to component values. + * + * @throws ValidationException If $formattedName could not be matched. + * + * @experimental + */ + public static function parseName(string $formattedName, ?string $template = null): array + { + return self::parseFormattedName($formattedName, $template); + } + + /** + * Constructor. + * + * @param array|ClientOptions $options { + * Optional. Options for configuring the service API wrapper. + * + * @type string $apiEndpoint + * The address of the API remote host. May optionally include the port, formatted + * as ":". Default 'appoptimize.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Cloud\AppOptimize\V1beta\AppOptimizeClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AppOptimizeClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @type array $credentialsConfig + * Options used to configure credentials, including auth token caching, for the + * client. For a full list of supporting configuration options, see + * {@see \Google\ApiCore\CredentialsWrapper::build()} . + * @type bool $disableRetries + * Determines whether or not retries defined by the client configuration should be + * disabled. Defaults to `false`. + * @type string|array $clientConfig + * Client method configuration, including retry settings. This option can be either + * a path to a JSON file, or a PHP array containing the decoded JSON data. By + * default this settings points to the default client config file, which is + * provided in the resources folder. + * @type string|TransportInterface $transport + * The transport used for executing network requests. May be either the string + * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. + * *Advanced usage*: Additionally, it is possible to pass in an already + * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note + * that when this object is provided, any settings in $transportConfig, and any + * $apiEndpoint setting, will be ignored. + * @type array $transportConfig + * Configuration options that will be used to construct the transport. Options for + * each supported transport type should be passed in a key for that transport. For + * example: + * $transportConfig = [ + * 'grpc' => [...], + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and + * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the + * supported options. + * @type callable $clientCertSource + * A callable which returns the client cert as a string. This can be used to + * provide a certificate and private key to the transport layer for mTLS. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array|ClientOptions $options = []) + { + $clientOptions = $this->buildClientOptions($options); + $this->setClientOptions($clientOptions); + $this->operationsClient = $this->createOperationsClient($clientOptions); + } + + /** Handles execution of the async variants for each documented method. */ + public function __call($method, $args) + { + if (substr($method, -5) !== 'Async') { + trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); + } + + array_unshift($args, substr($method, 0, -5)); + return call_user_func_array([$this, 'startAsyncCall'], $args); + } + + /** + * Creates a new report. + * + * This initiates a long-running operation that, upon completion, results + * in a report resource. Once the report is created, its results can be read + * via `ReadReport`. + * + * The async variant is {@see AppOptimizeClient::createReportAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/create_report.php + * + * @param CreateReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return OperationResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createReport(CreateReportRequest $request, array $callOptions = []): OperationResponse + { + return $this->startApiCall('CreateReport', $request, $callOptions)->wait(); + } + + /** + * Deletes the specified report. + * + * The async variant is {@see AppOptimizeClient::deleteReportAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/delete_report.php + * + * @param DeleteReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function deleteReport(DeleteReportRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteReport', $request, $callOptions)->wait(); + } + + /** + * Retrieves the details of a report configuration. + * + * The async variant is {@see AppOptimizeClient::getReportAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/get_report.php + * + * @param GetReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return Report + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getReport(GetReportRequest $request, array $callOptions = []): Report + { + return $this->startApiCall('GetReport', $request, $callOptions)->wait(); + } + + /** + * Lists reports within a given project. + * + * The async variant is {@see AppOptimizeClient::listReportsAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/list_reports.php + * + * @param ListReportsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listReports(ListReportsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListReports', $request, $callOptions); + } + + /** + * Reads data within a specified report. + * + * The async variant is {@see AppOptimizeClient::readReportAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/read_report.php + * + * @param ReadReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function readReport(ReadReportRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ReadReport', $request, $callOptions); + } + + /** + * Gets information about a location. + * + * The async variant is {@see AppOptimizeClient::getLocationAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/get_location.php + * + * @param GetLocationRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return Location + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getLocation(GetLocationRequest $request, array $callOptions = []): Location + { + return $this->startApiCall('GetLocation', $request, $callOptions)->wait(); + } + + /** + * 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. + * + * The async variant is {@see AppOptimizeClient::listLocationsAsync()} . + * + * @example samples/V1beta/AppOptimizeClient/list_locations.php + * + * @param ListLocationsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listLocations(ListLocationsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListLocations', $request, $callOptions); + } +} diff --git a/Appoptimize/src/V1beta/Column.php b/Appoptimize/src/V1beta/Column.php new file mode 100644 index 000000000000..3e13aaf715f9 --- /dev/null +++ b/Appoptimize/src/V1beta/Column.php @@ -0,0 +1,245 @@ +google.cloud.appoptimize.v1beta.Column + */ +class Column extends \Google\Protobuf\Internal\Message +{ + /** + * The name of the column. + * This field: + * * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); + * * Start with a letter or underscore; and + * * Has a maximum length is 128 characters. + * + * Generated from protobuf field string name = 1; + */ + protected $name = ''; + /** + * The data type of the column. + * Supported values include: + * * `STRING` + * * `INT64` + * * `FLOAT64` + * * `BOOLEAN` + * * `TIMESTAMP` + * * `RECORD` + * `RECORD` indicates that the field contains a nested schema, described in + * the `columns` property of this `Column`. + * + * Generated from protobuf field string type = 2; + */ + protected $type = ''; + /** + * The mode of the column, indicating if it is nullable, required, or + * repeated. + * Possible values: + * * `NULLABLE`: The column allows NULL values. + * * `REQUIRED`: The column does not allow NULL values. + * * `REPEATED`: The column contains an array of values. + * + * Generated from protobuf field string mode = 3; + */ + protected $mode = ''; + /** + * If the `type` of this column is `RECORD`, this sub-field describes the + * nested structure. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Column columns = 4; + */ + private $columns; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * The name of the column. + * This field: + * * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); + * * Start with a letter or underscore; and + * * Has a maximum length is 128 characters. + * @type string $type + * The data type of the column. + * Supported values include: + * * `STRING` + * * `INT64` + * * `FLOAT64` + * * `BOOLEAN` + * * `TIMESTAMP` + * * `RECORD` + * `RECORD` indicates that the field contains a nested schema, described in + * the `columns` property of this `Column`. + * @type string $mode + * The mode of the column, indicating if it is nullable, required, or + * repeated. + * Possible values: + * * `NULLABLE`: The column allows NULL values. + * * `REQUIRED`: The column does not allow NULL values. + * * `REPEATED`: The column contains an array of values. + * @type \Google\Cloud\AppOptimize\V1beta\Column[] $columns + * If the `type` of this column is `RECORD`, this sub-field describes the + * nested structure. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * The name of the column. + * This field: + * * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); + * * Start with a letter or underscore; and + * * Has a maximum length is 128 characters. + * + * Generated from protobuf field string name = 1; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name of the column. + * This field: + * * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); + * * Start with a letter or underscore; and + * * Has a maximum length is 128 characters. + * + * Generated from protobuf field string name = 1; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * The data type of the column. + * Supported values include: + * * `STRING` + * * `INT64` + * * `FLOAT64` + * * `BOOLEAN` + * * `TIMESTAMP` + * * `RECORD` + * `RECORD` indicates that the field contains a nested schema, described in + * the `columns` property of this `Column`. + * + * Generated from protobuf field string type = 2; + * @return string + */ + public function getType() + { + return $this->type; + } + + /** + * The data type of the column. + * Supported values include: + * * `STRING` + * * `INT64` + * * `FLOAT64` + * * `BOOLEAN` + * * `TIMESTAMP` + * * `RECORD` + * `RECORD` indicates that the field contains a nested schema, described in + * the `columns` property of this `Column`. + * + * Generated from protobuf field string type = 2; + * @param string $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkString($var, True); + $this->type = $var; + + return $this; + } + + /** + * The mode of the column, indicating if it is nullable, required, or + * repeated. + * Possible values: + * * `NULLABLE`: The column allows NULL values. + * * `REQUIRED`: The column does not allow NULL values. + * * `REPEATED`: The column contains an array of values. + * + * Generated from protobuf field string mode = 3; + * @return string + */ + public function getMode() + { + return $this->mode; + } + + /** + * The mode of the column, indicating if it is nullable, required, or + * repeated. + * Possible values: + * * `NULLABLE`: The column allows NULL values. + * * `REQUIRED`: The column does not allow NULL values. + * * `REPEATED`: The column contains an array of values. + * + * Generated from protobuf field string mode = 3; + * @param string $var + * @return $this + */ + public function setMode($var) + { + GPBUtil::checkString($var, True); + $this->mode = $var; + + return $this; + } + + /** + * If the `type` of this column is `RECORD`, this sub-field describes the + * nested structure. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Column columns = 4; + * @return RepeatedField<\Google\Cloud\AppOptimize\V1beta\Column> + */ + public function getColumns() + { + return $this->columns; + } + + /** + * If the `type` of this column is `RECORD`, this sub-field describes the + * nested structure. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Column columns = 4; + * @param \Google\Cloud\AppOptimize\V1beta\Column[] $var + * @return $this + */ + public function setColumns($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AppOptimize\V1beta\Column::class); + $this->columns = $arr; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/CreateReportRequest.php b/Appoptimize/src/V1beta/CreateReportRequest.php new file mode 100644 index 000000000000..1443def42ee8 --- /dev/null +++ b/Appoptimize/src/V1beta/CreateReportRequest.php @@ -0,0 +1,195 @@ +google.cloud.appoptimize.v1beta.CreateReportRequest + */ +class CreateReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent Google Cloud project that will own the report. + * This value does not define the scope of the report data. See `Report.scope` + * for setting the data scope. + * Format: `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The ID to use for this report. This ID must be unique within + * the parent project and should comply with RFC 1034 restrictions (letters, + * numbers, and hyphen, with the first character a letter, the last a letter + * or a number, and a 63 character maximum). + * + * Generated from protobuf field string report_id = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $report_id = ''; + /** + * Required. The report resource to create. + * + * Generated from protobuf field .google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $report = null; + + /** + * @param string $parent Required. The parent Google Cloud project that will own the report. + * + * This value does not define the scope of the report data. See `Report.scope` + * for setting the data scope. + * + * Format: `projects/{project}/locations/{location}`. Please see + * {@see AppOptimizeClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AppOptimize\V1beta\Report $report Required. The report resource to create. + * @param string $reportId Required. The ID to use for this report. This ID must be unique within + * the parent project and should comply with RFC 1034 restrictions (letters, + * numbers, and hyphen, with the first character a letter, the last a letter + * or a number, and a 63 character maximum). + * + * @return \Google\Cloud\AppOptimize\V1beta\CreateReportRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AppOptimize\V1beta\Report $report, string $reportId): self + { + return (new self()) + ->setParent($parent) + ->setReport($report) + ->setReportId($reportId); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent Google Cloud project that will own the report. + * This value does not define the scope of the report data. See `Report.scope` + * for setting the data scope. + * Format: `projects/{project}/locations/{location}`. + * @type string $report_id + * Required. The ID to use for this report. This ID must be unique within + * the parent project and should comply with RFC 1034 restrictions (letters, + * numbers, and hyphen, with the first character a letter, the last a letter + * or a number, and a 63 character maximum). + * @type \Google\Cloud\AppOptimize\V1beta\Report $report + * Required. The report resource to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent Google Cloud project that will own the report. + * This value does not define the scope of the report data. See `Report.scope` + * for setting the data scope. + * Format: `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent Google Cloud project that will own the report. + * This value does not define the scope of the report data. See `Report.scope` + * for setting the data scope. + * Format: `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The ID to use for this report. This ID must be unique within + * the parent project and should comply with RFC 1034 restrictions (letters, + * numbers, and hyphen, with the first character a letter, the last a letter + * or a number, and a 63 character maximum). + * + * Generated from protobuf field string report_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getReportId() + { + return $this->report_id; + } + + /** + * Required. The ID to use for this report. This ID must be unique within + * the parent project and should comply with RFC 1034 restrictions (letters, + * numbers, and hyphen, with the first character a letter, the last a letter + * or a number, and a 63 character maximum). + * + * Generated from protobuf field string report_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setReportId($var) + { + GPBUtil::checkString($var, True); + $this->report_id = $var; + + return $this; + } + + /** + * Required. The report resource to create. + * + * Generated from protobuf field .google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AppOptimize\V1beta\Report|null + */ + public function getReport() + { + return $this->report; + } + + public function hasReport() + { + return isset($this->report); + } + + public function clearReport() + { + unset($this->report); + } + + /** + * Required. The report resource to create. + * + * Generated from protobuf field .google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AppOptimize\V1beta\Report $var + * @return $this + */ + public function setReport($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AppOptimize\V1beta\Report::class); + $this->report = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/DeleteReportRequest.php b/Appoptimize/src/V1beta/DeleteReportRequest.php new file mode 100644 index 000000000000..cf223f6e476d --- /dev/null +++ b/Appoptimize/src/V1beta/DeleteReportRequest.php @@ -0,0 +1,125 @@ +google.cloud.appoptimize.v1beta.DeleteReportRequest + */ +class DeleteReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the report to delete. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Optional. If set to true, and the report is not found, the request will + * succeed but no action will be taken on the server. + * + * Generated from protobuf field bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $allow_missing = false; + + /** + * @param string $name Required. The name of the report to delete. + * + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. Please see + * {@see AppOptimizeClient::reportName()} for help formatting this field. + * + * @return \Google\Cloud\AppOptimize\V1beta\DeleteReportRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the report to delete. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * @type bool $allow_missing + * Optional. If set to true, and the report is not found, the request will + * succeed but no action will be taken on the server. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the report to delete. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The name of the report to delete. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. If set to true, and the report is not found, the request will + * succeed but no action will be taken on the server. + * + * Generated from protobuf field bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAllowMissing() + { + return $this->allow_missing; + } + + /** + * Optional. If set to true, and the report is not found, the request will + * succeed but no action will be taken on the server. + * + * Generated from protobuf field bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAllowMissing($var) + { + GPBUtil::checkBool($var); + $this->allow_missing = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/GetReportRequest.php b/Appoptimize/src/V1beta/GetReportRequest.php new file mode 100644 index 000000000000..8222ec7699ff --- /dev/null +++ b/Appoptimize/src/V1beta/GetReportRequest.php @@ -0,0 +1,87 @@ +google.cloud.appoptimize.v1beta.GetReportRequest + */ +class GetReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the report to retrieve. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the report to retrieve. + * + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. Please see + * {@see AppOptimizeClient::reportName()} for help formatting this field. + * + * @return \Google\Cloud\AppOptimize\V1beta\GetReportRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the report to retrieve. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the report to retrieve. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The name of the report to retrieve. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/ListReportsRequest.php b/Appoptimize/src/V1beta/ListReportsRequest.php new file mode 100644 index 000000000000..782773b0cbf3 --- /dev/null +++ b/Appoptimize/src/V1beta/ListReportsRequest.php @@ -0,0 +1,175 @@ +google.cloud.appoptimize.v1beta.ListReportsRequest + */ +class ListReportsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent project whose reports are to be listed. + * Format: `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of reports to return. The service may return + * fewer than this value. If unspecified, the server will determine the number + * of results to return. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The parent project whose reports are to be listed. + * + * Format: `projects/{project}/locations/{location}`. Please see + * {@see AppOptimizeClient::locationName()} for help formatting this field. + * + * @return \Google\Cloud\AppOptimize\V1beta\ListReportsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent project whose reports are to be listed. + * Format: `projects/{project}/locations/{location}`. + * @type int $page_size + * Optional. The maximum number of reports to return. The service may return + * fewer than this value. If unspecified, the server will determine the number + * of results to return. + * @type string $page_token + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must match + * the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent project whose reports are to be listed. + * Format: `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent project whose reports are to be listed. + * Format: `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of reports to return. The service may return + * fewer than this value. If unspecified, the server will determine the number + * of results to return. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of reports to return. The service may return + * fewer than this value. If unspecified, the server will determine the number + * of results to return. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/ListReportsResponse.php b/Appoptimize/src/V1beta/ListReportsResponse.php new file mode 100644 index 000000000000..34011db40961 --- /dev/null +++ b/Appoptimize/src/V1beta/ListReportsResponse.php @@ -0,0 +1,105 @@ +google.cloud.appoptimize.v1beta.ListReportsResponse + */ +class ListReportsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The list of reports. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Report reports = 1; + */ + private $reports; + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is empty, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AppOptimize\V1beta\Report[] $reports + * The list of reports. + * @type string $next_page_token + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is empty, there are no subsequent pages. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * The list of reports. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Report reports = 1; + * @return RepeatedField<\Google\Cloud\AppOptimize\V1beta\Report> + */ + public function getReports() + { + return $this->reports; + } + + /** + * The list of reports. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Report reports = 1; + * @param \Google\Cloud\AppOptimize\V1beta\Report[] $var + * @return $this + */ + public function setReports($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AppOptimize\V1beta\Report::class); + $this->reports = $arr; + + return $this; + } + + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is empty, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is empty, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @param string $var + * @return $this + */ + public function setNextPageToken($var) + { + GPBUtil::checkString($var, True); + $this->next_page_token = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/OperationMetadata.php b/Appoptimize/src/V1beta/OperationMetadata.php new file mode 100644 index 000000000000..28e2f0e77e7f --- /dev/null +++ b/Appoptimize/src/V1beta/OperationMetadata.php @@ -0,0 +1,34 @@ +google.cloud.appoptimize.v1beta.OperationMetadata + */ +class OperationMetadata extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + +} + diff --git a/Appoptimize/src/V1beta/ReadReportRequest.php b/Appoptimize/src/V1beta/ReadReportRequest.php new file mode 100644 index 000000000000..72b42fb91579 --- /dev/null +++ b/Appoptimize/src/V1beta/ReadReportRequest.php @@ -0,0 +1,179 @@ +google.cloud.appoptimize.v1beta.ReadReportRequest + */ +class ReadReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the report to query. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 10,000 rows will be returned + * per page. The maximum allowed value is 25,000; values above 25,000 are + * coerced to 25,000. + * + * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ReadReport` call, to + * retrieve the subsequent page of results. When `page_token` is specified, + * `job_reference` must also be provided from the previous response, and the + * `statement` field must not be set. + * + * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $name Required. The resource name of the report to query. + * + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. Please see + * {@see AppOptimizeClient::reportName()} for help formatting this field. + * + * @return \Google\Cloud\AppOptimize\V1beta\ReadReportRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the report to query. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * @type int $page_size + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 10,000 rows will be returned + * per page. The maximum allowed value is 25,000; values above 25,000 are + * coerced to 25,000. + * @type string $page_token + * Optional. A page token, received from a previous `ReadReport` call, to + * retrieve the subsequent page of results. When `page_token` is specified, + * `job_reference` must also be provided from the previous response, and the + * `statement` field must not be set. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the report to query. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the report to query. + * Format: `projects/{project}/locations/{location}/reports/{report_id}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 10,000 rows will be returned + * per page. The maximum allowed value is 25,000; values above 25,000 are + * coerced to 25,000. + * + * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 10,000 rows will be returned + * per page. The maximum allowed value is 25,000; values above 25,000 are + * coerced to 25,000. + * + * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ReadReport` call, to + * retrieve the subsequent page of results. When `page_token` is specified, + * `job_reference` must also be provided from the previous response, and the + * `statement` field must not be set. + * + * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ReadReport` call, to + * retrieve the subsequent page of results. When `page_token` is specified, + * `job_reference` must also be provided from the previous response, and the + * `statement` field must not be set. + * + * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/ReadReportResponse.php b/Appoptimize/src/V1beta/ReadReportResponse.php new file mode 100644 index 000000000000..23629003275c --- /dev/null +++ b/Appoptimize/src/V1beta/ReadReportResponse.php @@ -0,0 +1,143 @@ +google.cloud.appoptimize.v1beta.ReadReportResponse + */ +class ReadReportResponse extends \Google\Protobuf\Internal\Message +{ + /** + * A list of rows, where each row represents a record from the report. + * + * Generated from protobuf field repeated .google.protobuf.ListValue rows = 1; + */ + private $rows; + /** + * The columns describing the structure of the data in the `rows` field. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Column columns = 5; + */ + private $columns; + /** + * A token that can be sent as `page_token` in a subsequent `ReadReport` + * request to retrieve the next page of results. If this field is empty, + * there are no further pages. + * + * Generated from protobuf field string next_page_token = 3; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\ListValue[] $rows + * A list of rows, where each row represents a record from the report. + * @type \Google\Cloud\AppOptimize\V1beta\Column[] $columns + * The columns describing the structure of the data in the `rows` field. + * @type string $next_page_token + * A token that can be sent as `page_token` in a subsequent `ReadReport` + * request to retrieve the next page of results. If this field is empty, + * there are no further pages. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * A list of rows, where each row represents a record from the report. + * + * Generated from protobuf field repeated .google.protobuf.ListValue rows = 1; + * @return RepeatedField<\Google\Protobuf\ListValue> + */ + public function getRows() + { + return $this->rows; + } + + /** + * A list of rows, where each row represents a record from the report. + * + * Generated from protobuf field repeated .google.protobuf.ListValue rows = 1; + * @param \Google\Protobuf\ListValue[] $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\ListValue::class); + $this->rows = $arr; + + return $this; + } + + /** + * The columns describing the structure of the data in the `rows` field. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Column columns = 5; + * @return RepeatedField<\Google\Cloud\AppOptimize\V1beta\Column> + */ + public function getColumns() + { + return $this->columns; + } + + /** + * The columns describing the structure of the data in the `rows` field. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Column columns = 5; + * @param \Google\Cloud\AppOptimize\V1beta\Column[] $var + * @return $this + */ + public function setColumns($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AppOptimize\V1beta\Column::class); + $this->columns = $arr; + + return $this; + } + + /** + * A token that can be sent as `page_token` in a subsequent `ReadReport` + * request to retrieve the next page of results. If this field is empty, + * there are no further pages. + * + * Generated from protobuf field string next_page_token = 3; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token that can be sent as `page_token` in a subsequent `ReadReport` + * request to retrieve the next page of results. If this field is empty, + * there are no further pages. + * + * Generated from protobuf field string next_page_token = 3; + * @param string $var + * @return $this + */ + public function setNextPageToken($var) + { + GPBUtil::checkString($var, True); + $this->next_page_token = $var; + + return $this; + } + +} + diff --git a/Appoptimize/src/V1beta/Report.php b/Appoptimize/src/V1beta/Report.php new file mode 100644 index 000000000000..ae490c884413 --- /dev/null +++ b/Appoptimize/src/V1beta/Report.php @@ -0,0 +1,504 @@ +google.cloud.appoptimize.v1beta.Report + */ +class Report extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The name of this report. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. A list of dimensions to include in the report. Supported values: + * * `project` + * * `application` + * * `service_or_workload` + * * `resource` + * * `resource_type` + * * `location` + * * `product_display_name` + * * `sku` + * * `month` + * * `day` + * * `hour` + * To aggregate results by time, specify at least one time dimension + * (`month`, `day`, or `hour`). All time dimensions use Pacific Time, + * respect Daylight Saving Time (DST), and follow these ISO 8601 formats: + * * `month`: `YYYY-MM` (e.g., `2024-01`) + * * `day`: `YYYY-MM-DD` (e.g., `2024-01-10`) + * * `hour`: `YYYY-MM-DDTHH` (e.g., `2024-01-10T00`) + * If the time range filter does not align with the selected time dimension, + * the range is expanded to encompass the full period of the finest-grained + * time dimension. + * For example, if the filter is `2026-01-10` through `2026-01-12` and the + * `month` dimension is selected, the effective time range expands to include + * all of January (`2026-01-01` to `2026-02-01`). + * + * Generated from protobuf field repeated string dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $dimensions; + /** + * Required. A list of metrics to include in the report. Supported values: + * * `cost` + * * `cpu_mean_utilization` + * * `cpu_usage_core_seconds` + * * `cpu_allocation_core_seconds` + * * `cpu_p95_utilization` + * * `memory_mean_utilization` + * * `memory_usage_byte_seconds` + * * `memory_allocation_byte_seconds` + * * `memory_p95_utilization` + * + * Generated from protobuf field repeated string metrics = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + private $metrics; + /** + * Optional. The resource containers for which to fetch data. Default is the + * project specified in the report's parent. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Scope scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $scopes; + /** + * Optional. A Common Expression Language (CEL) expression used to filter the + * data for the report. + * Predicates may refer to any dimension. Filtering must conform to these + * constraints: + * * All string field predicates must use exact string matches. + * * Multiple predicates referring to the same string field must be joined + * using the logical OR operator ('||'). + * * All other predicates must be joined using the logical AND operator + * (`&&`). + * * A predicate on a time dimension (e.g., `day`) specifying the start time + * must use a greater-than-or-equal-to comparison (`>=`). + * * A predicate on a time dimension specifying the end time must use a + * less-than comparison (`<`). + * Examples: + * 1. Filter by a specific resource type: + * `"resource_type == 'compute.googleapis.com/Instance'"` + * 2. Filter data points that fall within a specific absolute time interval: + * `"hour >= timestamp('2024-01-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * 3. Filter data points that fall within the past 72 hours: + * `"hour >= now - duration('72h')"` + * 4. Combine string predicate with time interval predicate: + * `"(location == 'us-east1' || location == 'us-west1') && + * hour >= timestamp('2023-12-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * If the filter omits time dimensions (`month`, `day`, `hour`), the report + * defaults to a 7-day range ending at the previous Pacific Time midnight, + * with Daylight Saving Time (DST) applied. + * For example, if the current Pacific Time is `2026-01-05T12:00:00`, + * the default range is `2025-12-29T00:00:00` to `2026-01-05T00:00:00` Pacific + * time. + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + protected $expiration; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Timestamp $expire_time + * Output only. Timestamp in UTC of when this report expires. Once the + * report expires, it will no longer be accessible and the report's + * underlying data will be deleted. + * @type string $name + * Identifier. The name of this report. + * @type string[] $dimensions + * Required. A list of dimensions to include in the report. Supported values: + * * `project` + * * `application` + * * `service_or_workload` + * * `resource` + * * `resource_type` + * * `location` + * * `product_display_name` + * * `sku` + * * `month` + * * `day` + * * `hour` + * To aggregate results by time, specify at least one time dimension + * (`month`, `day`, or `hour`). All time dimensions use Pacific Time, + * respect Daylight Saving Time (DST), and follow these ISO 8601 formats: + * * `month`: `YYYY-MM` (e.g., `2024-01`) + * * `day`: `YYYY-MM-DD` (e.g., `2024-01-10`) + * * `hour`: `YYYY-MM-DDTHH` (e.g., `2024-01-10T00`) + * If the time range filter does not align with the selected time dimension, + * the range is expanded to encompass the full period of the finest-grained + * time dimension. + * For example, if the filter is `2026-01-10` through `2026-01-12` and the + * `month` dimension is selected, the effective time range expands to include + * all of January (`2026-01-01` to `2026-02-01`). + * @type string[] $metrics + * Required. A list of metrics to include in the report. Supported values: + * * `cost` + * * `cpu_mean_utilization` + * * `cpu_usage_core_seconds` + * * `cpu_allocation_core_seconds` + * * `cpu_p95_utilization` + * * `memory_mean_utilization` + * * `memory_usage_byte_seconds` + * * `memory_allocation_byte_seconds` + * * `memory_p95_utilization` + * @type \Google\Cloud\AppOptimize\V1beta\Scope[] $scopes + * Optional. The resource containers for which to fetch data. Default is the + * project specified in the report's parent. + * @type string $filter + * Optional. A Common Expression Language (CEL) expression used to filter the + * data for the report. + * Predicates may refer to any dimension. Filtering must conform to these + * constraints: + * * All string field predicates must use exact string matches. + * * Multiple predicates referring to the same string field must be joined + * using the logical OR operator ('||'). + * * All other predicates must be joined using the logical AND operator + * (`&&`). + * * A predicate on a time dimension (e.g., `day`) specifying the start time + * must use a greater-than-or-equal-to comparison (`>=`). + * * A predicate on a time dimension specifying the end time must use a + * less-than comparison (`<`). + * Examples: + * 1. Filter by a specific resource type: + * `"resource_type == 'compute.googleapis.com/Instance'"` + * 2. Filter data points that fall within a specific absolute time interval: + * `"hour >= timestamp('2024-01-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * 3. Filter data points that fall within the past 72 hours: + * `"hour >= now - duration('72h')"` + * 4. Combine string predicate with time interval predicate: + * `"(location == 'us-east1' || location == 'us-west1') && + * hour >= timestamp('2023-12-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * If the filter omits time dimensions (`month`, `day`, `hour`), the report + * defaults to a 7-day range ending at the previous Pacific Time midnight, + * with Daylight Saving Time (DST) applied. + * For example, if the current Pacific Time is `2026-01-05T12:00:00`, + * the default range is `2025-12-29T00:00:00` to `2026-01-05T00:00:00` Pacific + * time. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Timestamp in UTC of when this report expires. Once the + * report expires, it will no longer be accessible and the report's + * underlying data will be deleted. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getExpireTime() + { + return $this->readOneof(6); + } + + public function hasExpireTime() + { + return $this->hasOneof(6); + } + + /** + * Output only. Timestamp in UTC of when this report expires. Once the + * report expires, it will no longer be accessible and the report's + * underlying data will be deleted. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setExpireTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Identifier. The name of this report. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The name of this report. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. A list of dimensions to include in the report. Supported values: + * * `project` + * * `application` + * * `service_or_workload` + * * `resource` + * * `resource_type` + * * `location` + * * `product_display_name` + * * `sku` + * * `month` + * * `day` + * * `hour` + * To aggregate results by time, specify at least one time dimension + * (`month`, `day`, or `hour`). All time dimensions use Pacific Time, + * respect Daylight Saving Time (DST), and follow these ISO 8601 formats: + * * `month`: `YYYY-MM` (e.g., `2024-01`) + * * `day`: `YYYY-MM-DD` (e.g., `2024-01-10`) + * * `hour`: `YYYY-MM-DDTHH` (e.g., `2024-01-10T00`) + * If the time range filter does not align with the selected time dimension, + * the range is expanded to encompass the full period of the finest-grained + * time dimension. + * For example, if the filter is `2026-01-10` through `2026-01-12` and the + * `month` dimension is selected, the effective time range expands to include + * all of January (`2026-01-01` to `2026-02-01`). + * + * Generated from protobuf field repeated string dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + + /** + * Required. A list of dimensions to include in the report. Supported values: + * * `project` + * * `application` + * * `service_or_workload` + * * `resource` + * * `resource_type` + * * `location` + * * `product_display_name` + * * `sku` + * * `month` + * * `day` + * * `hour` + * To aggregate results by time, specify at least one time dimension + * (`month`, `day`, or `hour`). All time dimensions use Pacific Time, + * respect Daylight Saving Time (DST), and follow these ISO 8601 formats: + * * `month`: `YYYY-MM` (e.g., `2024-01`) + * * `day`: `YYYY-MM-DD` (e.g., `2024-01-10`) + * * `hour`: `YYYY-MM-DDTHH` (e.g., `2024-01-10T00`) + * If the time range filter does not align with the selected time dimension, + * the range is expanded to encompass the full period of the finest-grained + * time dimension. + * For example, if the filter is `2026-01-10` through `2026-01-12` and the + * `month` dimension is selected, the effective time range expands to include + * all of January (`2026-01-01` to `2026-02-01`). + * + * Generated from protobuf field repeated string dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->dimensions = $arr; + + return $this; + } + + /** + * Required. A list of metrics to include in the report. Supported values: + * * `cost` + * * `cpu_mean_utilization` + * * `cpu_usage_core_seconds` + * * `cpu_allocation_core_seconds` + * * `cpu_p95_utilization` + * * `memory_mean_utilization` + * * `memory_usage_byte_seconds` + * * `memory_allocation_byte_seconds` + * * `memory_p95_utilization` + * + * Generated from protobuf field repeated string metrics = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getMetrics() + { + return $this->metrics; + } + + /** + * Required. A list of metrics to include in the report. Supported values: + * * `cost` + * * `cpu_mean_utilization` + * * `cpu_usage_core_seconds` + * * `cpu_allocation_core_seconds` + * * `cpu_p95_utilization` + * * `memory_mean_utilization` + * * `memory_usage_byte_seconds` + * * `memory_allocation_byte_seconds` + * * `memory_p95_utilization` + * + * Generated from protobuf field repeated string metrics = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->metrics = $arr; + + return $this; + } + + /** + * Optional. The resource containers for which to fetch data. Default is the + * project specified in the report's parent. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Scope scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AppOptimize\V1beta\Scope> + */ + public function getScopes() + { + return $this->scopes; + } + + /** + * Optional. The resource containers for which to fetch data. Default is the + * project specified in the report's parent. + * + * Generated from protobuf field repeated .google.cloud.appoptimize.v1beta.Scope scopes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AppOptimize\V1beta\Scope[] $var + * @return $this + */ + public function setScopes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AppOptimize\V1beta\Scope::class); + $this->scopes = $arr; + + return $this; + } + + /** + * Optional. A Common Expression Language (CEL) expression used to filter the + * data for the report. + * Predicates may refer to any dimension. Filtering must conform to these + * constraints: + * * All string field predicates must use exact string matches. + * * Multiple predicates referring to the same string field must be joined + * using the logical OR operator ('||'). + * * All other predicates must be joined using the logical AND operator + * (`&&`). + * * A predicate on a time dimension (e.g., `day`) specifying the start time + * must use a greater-than-or-equal-to comparison (`>=`). + * * A predicate on a time dimension specifying the end time must use a + * less-than comparison (`<`). + * Examples: + * 1. Filter by a specific resource type: + * `"resource_type == 'compute.googleapis.com/Instance'"` + * 2. Filter data points that fall within a specific absolute time interval: + * `"hour >= timestamp('2024-01-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * 3. Filter data points that fall within the past 72 hours: + * `"hour >= now - duration('72h')"` + * 4. Combine string predicate with time interval predicate: + * `"(location == 'us-east1' || location == 'us-west1') && + * hour >= timestamp('2023-12-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * If the filter omits time dimensions (`month`, `day`, `hour`), the report + * defaults to a 7-day range ending at the previous Pacific Time midnight, + * with Daylight Saving Time (DST) applied. + * For example, if the current Pacific Time is `2026-01-05T12:00:00`, + * the default range is `2025-12-29T00:00:00` to `2026-01-05T00:00:00` Pacific + * time. + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. A Common Expression Language (CEL) expression used to filter the + * data for the report. + * Predicates may refer to any dimension. Filtering must conform to these + * constraints: + * * All string field predicates must use exact string matches. + * * Multiple predicates referring to the same string field must be joined + * using the logical OR operator ('||'). + * * All other predicates must be joined using the logical AND operator + * (`&&`). + * * A predicate on a time dimension (e.g., `day`) specifying the start time + * must use a greater-than-or-equal-to comparison (`>=`). + * * A predicate on a time dimension specifying the end time must use a + * less-than comparison (`<`). + * Examples: + * 1. Filter by a specific resource type: + * `"resource_type == 'compute.googleapis.com/Instance'"` + * 2. Filter data points that fall within a specific absolute time interval: + * `"hour >= timestamp('2024-01-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * 3. Filter data points that fall within the past 72 hours: + * `"hour >= now - duration('72h')"` + * 4. Combine string predicate with time interval predicate: + * `"(location == 'us-east1' || location == 'us-west1') && + * hour >= timestamp('2023-12-01T00:00:00Z') && + * hour < timestamp('2024-02-01T00:00:00Z')"` + * If the filter omits time dimensions (`month`, `day`, `hour`), the report + * defaults to a 7-day range ending at the previous Pacific Time midnight, + * with Daylight Saving Time (DST) applied. + * For example, if the current Pacific Time is `2026-01-05T12:00:00`, + * the default range is `2025-12-29T00:00:00` to `2026-01-05T00:00:00` Pacific + * time. + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * @return string + */ + public function getExpiration() + { + return $this->whichOneof("expiration"); + } + +} + diff --git a/Appoptimize/src/V1beta/Scope.php b/Appoptimize/src/V1beta/Scope.php new file mode 100644 index 000000000000..9f40d400e217 --- /dev/null +++ b/Appoptimize/src/V1beta/Scope.php @@ -0,0 +1,117 @@ +google.cloud.appoptimize.v1beta.Scope + */ +class Scope extends \Google\Protobuf\Internal\Message +{ + protected $scope; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $project + * Required. A Google Cloud Platform project to fetch data from. + * Format: `"projects/{project}"`. + * @type string $application + * Required. An App Hub Application to fetch data from. + * Format: + * `"projects/{project}/locations/{location}/applications/{application}"`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Appoptimize\V1Beta\AppOptimize::initOnce(); + parent::__construct($data); + } + + /** + * Required. A Google Cloud Platform project to fetch data from. + * Format: `"projects/{project}"`. + * + * Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getProject() + { + return $this->readOneof(1); + } + + public function hasProject() + { + return $this->hasOneof(1); + } + + /** + * Required. A Google Cloud Platform project to fetch data from. + * Format: `"projects/{project}"`. + * + * Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProject($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Required. An App Hub Application to fetch data from. + * Format: + * `"projects/{project}/locations/{location}/applications/{application}"`. + * + * Generated from protobuf field string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getApplication() + { + return $this->readOneof(2); + } + + public function hasApplication() + { + return $this->hasOneof(2); + } + + /** + * Required. An App Hub Application to fetch data from. + * Format: + * `"projects/{project}/locations/{location}/applications/{application}"`. + * + * Generated from protobuf field string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setApplication($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getScope() + { + return $this->whichOneof("scope"); + } + +} + diff --git a/Appoptimize/src/V1beta/gapic_metadata.json b/Appoptimize/src/V1beta/gapic_metadata.json new file mode 100644 index 000000000000..d80fe3170fd4 --- /dev/null +++ b/Appoptimize/src/V1beta/gapic_metadata.json @@ -0,0 +1,53 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", + "language": "php", + "protoPackage": "google.cloud.appoptimize.v1beta", + "libraryPackage": "Google\\Cloud\\AppOptimize\\V1beta", + "services": { + "AppOptimize": { + "clients": { + "grpc": { + "libraryClient": "AppOptimizeGapicClient", + "rpcs": { + "CreateReport": { + "methods": [ + "createReport" + ] + }, + "DeleteReport": { + "methods": [ + "deleteReport" + ] + }, + "GetReport": { + "methods": [ + "getReport" + ] + }, + "ListReports": { + "methods": [ + "listReports" + ] + }, + "ReadReport": { + "methods": [ + "readReport" + ] + }, + "GetLocation": { + "methods": [ + "getLocation" + ] + }, + "ListLocations": { + "methods": [ + "listLocations" + ] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/Appoptimize/src/V1beta/resources/app_optimize_client_config.json b/Appoptimize/src/V1beta/resources/app_optimize_client_config.json new file mode 100644 index 000000000000..164ecba4bc4a --- /dev/null +++ b/Appoptimize/src/V1beta/resources/app_optimize_client_config.json @@ -0,0 +1,79 @@ +{ + "interfaces": { + "google.cloud.appoptimize.v1beta.AppOptimize": { + "retry_codes": { + "no_retry_codes": [], + "retry_policy_1_codes": [ + "UNAVAILABLE" + ], + "no_retry_1_codes": [] + }, + "retry_params": { + "no_retry_params": { + "initial_retry_delay_millis": 0, + "retry_delay_multiplier": 0.0, + "max_retry_delay_millis": 0, + "initial_rpc_timeout_millis": 0, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 0, + "total_timeout_millis": 0 + }, + "retry_policy_1_params": { + "initial_retry_delay_millis": 1000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 10000, + "initial_rpc_timeout_millis": 60000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 60000, + "total_timeout_millis": 60000 + }, + "no_retry_1_params": { + "initial_retry_delay_millis": 0, + "retry_delay_multiplier": 0.0, + "max_retry_delay_millis": 0, + "initial_rpc_timeout_millis": 60000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 60000, + "total_timeout_millis": 60000 + } + }, + "methods": { + "CreateReport": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "DeleteReport": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "GetReport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListReports": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ReadReport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetLocation": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, + "ListLocations": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + } + } + } + } +} diff --git a/Appoptimize/src/V1beta/resources/app_optimize_descriptor_config.php b/Appoptimize/src/V1beta/resources/app_optimize_descriptor_config.php new file mode 100644 index 000000000000..e59579180cc2 --- /dev/null +++ b/Appoptimize/src/V1beta/resources/app_optimize_descriptor_config.php @@ -0,0 +1,151 @@ + [ + 'google.cloud.appoptimize.v1beta.AppOptimize' => [ + 'CreateReport' => [ + 'longRunning' => [ + 'operationReturnType' => '\Google\Cloud\AppOptimize\V1beta\Report', + 'metadataReturnType' => '\Google\Cloud\AppOptimize\V1beta\OperationMetadata', + 'initialPollDelayMillis' => '500', + 'pollDelayMultiplier' => '1.5', + 'maxPollDelayMillis' => '5000', + 'totalPollTimeoutMillis' => '300000', + ], + 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL, + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'DeleteReport' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetReport' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Cloud\AppOptimize\V1beta\Report', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ListReports' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getReports', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Cloud\AppOptimize\V1beta\ListReportsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ReadReport' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getRows', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Cloud\AppOptimize\V1beta\ReadReportResponse', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetLocation' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Cloud\Location\Location', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + 'interfaceOverride' => 'google.cloud.location.Locations', + ], + 'ListLocations' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getLocations', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Cloud\Location\ListLocationsResponse', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + 'interfaceOverride' => 'google.cloud.location.Locations', + ], + 'templateMap' => [ + 'application' => 'projects/{project}/locations/{location}/applications/{application}', + 'location' => 'projects/{project}/locations/{location}', + 'project' => 'projects/{project}', + 'report' => 'projects/{project}/locations/{location}/reports/{report}', + ], + ], + ], +]; diff --git a/Appoptimize/src/V1beta/resources/app_optimize_rest_client_config.php b/Appoptimize/src/V1beta/resources/app_optimize_rest_client_config.php new file mode 100644 index 000000000000..b9cef7d7c43a --- /dev/null +++ b/Appoptimize/src/V1beta/resources/app_optimize_rest_client_config.php @@ -0,0 +1,160 @@ + [ + 'google.cloud.appoptimize.v1beta.AppOptimize' => [ + 'CreateReport' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=projects/*/locations/*}/reports', + 'body' => 'report', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + 'queryParams' => [ + 'report_id', + ], + ], + 'DeleteReport' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*/reports/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetReport' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*/reports/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ListReports' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=projects/*/locations/*}/reports', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ReadReport' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*/reports/*}:read', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + ], + 'google.cloud.location.Locations' => [ + 'GetLocation' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ListLocations' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=projects/*}/locations', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + ], + 'google.longrunning.Operations' => [ + 'CancelOperation' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*/operations/*}:cancel', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteOperation' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*/operations/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetOperation' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*/operations/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ListOperations' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=projects/*/locations/*}/operations', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + ], + ], + 'numericEnums' => true, +]; diff --git a/Appoptimize/tests/Unit/V1beta/Client/AppOptimizeClientTest.php b/Appoptimize/tests/Unit/V1beta/Client/AppOptimizeClientTest.php new file mode 100644 index 000000000000..ac2a506b50a3 --- /dev/null +++ b/Appoptimize/tests/Unit/V1beta/Client/AppOptimizeClientTest.php @@ -0,0 +1,698 @@ +getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); + } + + /** @return AppOptimizeClient */ + private function createClient(array $options = []) + { + $options += [ + 'credentials' => $this->createCredentials(), + ]; + return new AppOptimizeClient($options); + } + + /** @test */ + public function createReportTest() + { + $operationsTransport = $this->createTransport(); + $operationsClient = new OperationsClient([ + 'apiEndpoint' => '', + 'transport' => $operationsTransport, + 'credentials' => $this->createCredentials(), + ]); + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + 'operationsClient' => $operationsClient, + ]); + $this->assertTrue($transport->isExhausted()); + $this->assertTrue($operationsTransport->isExhausted()); + // Mock response + $incompleteOperation = new Operation(); + $incompleteOperation->setName('operations/createReportTest'); + $incompleteOperation->setDone(false); + $transport->addResponse($incompleteOperation); + $name = 'name3373707'; + $filter = 'filter-1274492040'; + $expectedResponse = new Report(); + $expectedResponse->setName($name); + $expectedResponse->setFilter($filter); + $anyResponse = new Any(); + $anyResponse->setValue($expectedResponse->serializeToString()); + $completeOperation = new Operation(); + $completeOperation->setName('operations/createReportTest'); + $completeOperation->setDone(true); + $completeOperation->setResponse($anyResponse); + $operationsTransport->addResponse($completeOperation); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $reportId = 'reportId-353329146'; + $report = new Report(); + $reportDimensions = []; + $report->setDimensions($reportDimensions); + $reportMetrics = []; + $report->setMetrics($reportMetrics); + $request = (new CreateReportRequest()) + ->setParent($formattedParent) + ->setReportId($reportId) + ->setReport($report); + $response = $gapicClient->createReport($request); + $this->assertFalse($response->isDone()); + $this->assertNull($response->getResult()); + $apiRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($apiRequests)); + $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); + $this->assertSame(0, count($operationsRequestsEmpty)); + $actualApiFuncCall = $apiRequests[0]->getFuncCall(); + $actualApiRequestObject = $apiRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.appoptimize.v1beta.AppOptimize/CreateReport', $actualApiFuncCall); + $actualValue = $actualApiRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualApiRequestObject->getReportId(); + $this->assertProtobufEquals($reportId, $actualValue); + $actualValue = $actualApiRequestObject->getReport(); + $this->assertProtobufEquals($report, $actualValue); + $expectedOperationsRequestObject = new GetOperationRequest(); + $expectedOperationsRequestObject->setName('operations/createReportTest'); + $response->pollUntilComplete([ + 'initialPollDelayMillis' => 1, + ]); + $this->assertTrue($response->isDone()); + $this->assertEquals($expectedResponse, $response->getResult()); + $apiRequestsEmpty = $transport->popReceivedCalls(); + $this->assertSame(0, count($apiRequestsEmpty)); + $operationsRequests = $operationsTransport->popReceivedCalls(); + $this->assertSame(1, count($operationsRequests)); + $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); + $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); + $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); + $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); + $this->assertTrue($transport->isExhausted()); + $this->assertTrue($operationsTransport->isExhausted()); + } + + /** @test */ + public function createReportExceptionTest() + { + $operationsTransport = $this->createTransport(); + $operationsClient = new OperationsClient([ + 'apiEndpoint' => '', + 'transport' => $operationsTransport, + 'credentials' => $this->createCredentials(), + ]); + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + 'operationsClient' => $operationsClient, + ]); + $this->assertTrue($transport->isExhausted()); + $this->assertTrue($operationsTransport->isExhausted()); + // Mock response + $incompleteOperation = new Operation(); + $incompleteOperation->setName('operations/createReportTest'); + $incompleteOperation->setDone(false); + $transport->addResponse($incompleteOperation); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $operationsTransport->addResponse(null, $status); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $reportId = 'reportId-353329146'; + $report = new Report(); + $reportDimensions = []; + $report->setDimensions($reportDimensions); + $reportMetrics = []; + $report->setMetrics($reportMetrics); + $request = (new CreateReportRequest()) + ->setParent($formattedParent) + ->setReportId($reportId) + ->setReport($report); + $response = $gapicClient->createReport($request); + $this->assertFalse($response->isDone()); + $this->assertNull($response->getResult()); + $expectedOperationsRequestObject = new GetOperationRequest(); + $expectedOperationsRequestObject->setName('operations/createReportTest'); + try { + $response->pollUntilComplete([ + 'initialPollDelayMillis' => 1, + ]); + // If the pollUntilComplete() method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stubs are exhausted + $transport->popReceivedCalls(); + $operationsTransport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + $this->assertTrue($operationsTransport->isExhausted()); + } + + /** @test */ + public function deleteReportTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + $request = (new DeleteReportRequest()) + ->setName($formattedName); + $gapicClient->deleteReport($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.appoptimize.v1beta.AppOptimize/DeleteReport', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteReportExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + // Mock request + $formattedName = $gapicClient->reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + $request = (new DeleteReportRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteReport($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getReportTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $filter = 'filter-1274492040'; + $expectedResponse = new Report(); + $expectedResponse->setName($name2); + $expectedResponse->setFilter($filter); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + $request = (new GetReportRequest()) + ->setName($formattedName); + $response = $gapicClient->getReport($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.appoptimize.v1beta.AppOptimize/GetReport', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getReportExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + // Mock request + $formattedName = $gapicClient->reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + $request = (new GetReportRequest()) + ->setName($formattedName); + try { + $gapicClient->getReport($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listReportsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $reportsElement = new Report(); + $reports = [ + $reportsElement, + ]; + $expectedResponse = new ListReportsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setReports($reports); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $request = (new ListReportsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listReports($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getReports()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.appoptimize.v1beta.AppOptimize/ListReports', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listReportsExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $request = (new ListReportsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listReports($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function readReportTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $rowsElement = new ListValue(); + $rows = [ + $rowsElement, + ]; + $expectedResponse = new ReadReportResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setRows($rows); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + $request = (new ReadReportRequest()) + ->setName($formattedName); + $response = $gapicClient->readReport($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getRows()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.appoptimize.v1beta.AppOptimize/ReadReport', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function readReportExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + // Mock request + $formattedName = $gapicClient->reportName('[PROJECT]', '[LOCATION]', '[REPORT]'); + $request = (new ReadReportRequest()) + ->setName($formattedName); + try { + $gapicClient->readReport($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getLocationTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $locationId = 'locationId552319461'; + $displayName = 'displayName1615086568'; + $expectedResponse = new Location(); + $expectedResponse->setName($name2); + $expectedResponse->setLocationId($locationId); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + $request = new GetLocationRequest(); + $response = $gapicClient->getLocation($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.location.Locations/GetLocation', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getLocationExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + $request = new GetLocationRequest(); + try { + $gapicClient->getLocation($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listLocationsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $locationsElement = new Location(); + $locations = [ + $locationsElement, + ]; + $expectedResponse = new ListLocationsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setLocations($locations); + $transport->addResponse($expectedResponse); + $request = new ListLocationsRequest(); + $response = $gapicClient->listLocations($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getLocations()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.location.Locations/ListLocations', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listLocationsExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + $request = new ListLocationsRequest(); + try { + $gapicClient->listLocations($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createReportAsyncTest() + { + $operationsTransport = $this->createTransport(); + $operationsClient = new OperationsClient([ + 'apiEndpoint' => '', + 'transport' => $operationsTransport, + 'credentials' => $this->createCredentials(), + ]); + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + 'operationsClient' => $operationsClient, + ]); + $this->assertTrue($transport->isExhausted()); + $this->assertTrue($operationsTransport->isExhausted()); + // Mock response + $incompleteOperation = new Operation(); + $incompleteOperation->setName('operations/createReportTest'); + $incompleteOperation->setDone(false); + $transport->addResponse($incompleteOperation); + $name = 'name3373707'; + $filter = 'filter-1274492040'; + $expectedResponse = new Report(); + $expectedResponse->setName($name); + $expectedResponse->setFilter($filter); + $anyResponse = new Any(); + $anyResponse->setValue($expectedResponse->serializeToString()); + $completeOperation = new Operation(); + $completeOperation->setName('operations/createReportTest'); + $completeOperation->setDone(true); + $completeOperation->setResponse($anyResponse); + $operationsTransport->addResponse($completeOperation); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $reportId = 'reportId-353329146'; + $report = new Report(); + $reportDimensions = []; + $report->setDimensions($reportDimensions); + $reportMetrics = []; + $report->setMetrics($reportMetrics); + $request = (new CreateReportRequest()) + ->setParent($formattedParent) + ->setReportId($reportId) + ->setReport($report); + $response = $gapicClient->createReportAsync($request)->wait(); + $this->assertFalse($response->isDone()); + $this->assertNull($response->getResult()); + $apiRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($apiRequests)); + $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); + $this->assertSame(0, count($operationsRequestsEmpty)); + $actualApiFuncCall = $apiRequests[0]->getFuncCall(); + $actualApiRequestObject = $apiRequests[0]->getRequestObject(); + $this->assertSame('/google.cloud.appoptimize.v1beta.AppOptimize/CreateReport', $actualApiFuncCall); + $actualValue = $actualApiRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualApiRequestObject->getReportId(); + $this->assertProtobufEquals($reportId, $actualValue); + $actualValue = $actualApiRequestObject->getReport(); + $this->assertProtobufEquals($report, $actualValue); + $expectedOperationsRequestObject = new GetOperationRequest(); + $expectedOperationsRequestObject->setName('operations/createReportTest'); + $response->pollUntilComplete([ + 'initialPollDelayMillis' => 1, + ]); + $this->assertTrue($response->isDone()); + $this->assertEquals($expectedResponse, $response->getResult()); + $apiRequestsEmpty = $transport->popReceivedCalls(); + $this->assertSame(0, count($apiRequestsEmpty)); + $operationsRequests = $operationsTransport->popReceivedCalls(); + $this->assertSame(1, count($operationsRequests)); + $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); + $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); + $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); + $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); + $this->assertTrue($transport->isExhausted()); + $this->assertTrue($operationsTransport->isExhausted()); + } +} diff --git a/ArtifactRegistry/samples/V1/ArtifactRegistryClient/list_locations.php b/ArtifactRegistry/samples/V1/ArtifactRegistryClient/list_locations.php index b71c383cb1f9..ef9c0935db87 100644 --- a/ArtifactRegistry/samples/V1/ArtifactRegistryClient/list_locations.php +++ b/ArtifactRegistry/samples/V1/ArtifactRegistryClient/list_locations.php @@ -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: diff --git a/ArtifactRegistry/src/V1/Client/ArtifactRegistryClient.php b/ArtifactRegistry/src/V1/Client/ArtifactRegistryClient.php index 225d531b4b5e..1fc9a041c50a 100644 --- a/ArtifactRegistry/src/V1/Client/ArtifactRegistryClient.php +++ b/ArtifactRegistry/src/V1/Client/ArtifactRegistryClient.php @@ -2087,13 +2087,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 ArtifactRegistryClient::listLocationsAsync()} . * diff --git a/AuditManager/samples/V1/AuditManagerClient/list_locations.php b/AuditManager/samples/V1/AuditManagerClient/list_locations.php index ccceb62bf8af..87fb2dc7e1fd 100644 --- a/AuditManager/samples/V1/AuditManagerClient/list_locations.php +++ b/AuditManager/samples/V1/AuditManagerClient/list_locations.php @@ -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: diff --git a/AuditManager/src/V1/Client/AuditManagerClient.php b/AuditManager/src/V1/Client/AuditManagerClient.php index a58180e86911..04d468a6cba6 100644 --- a/AuditManager/src/V1/Client/AuditManagerClient.php +++ b/AuditManager/src/V1/Client/AuditManagerClient.php @@ -844,13 +844,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 AuditManagerClient::listLocationsAsync()} . * diff --git a/BackupDr/samples/V1/BackupDRClient/get_iam_policy.php b/BackupDr/samples/V1/BackupDRClient/get_iam_policy.php index 051e2e471612..b2fa1ac08fab 100644 --- a/BackupDr/samples/V1/BackupDRClient/get_iam_policy.php +++ b/BackupDr/samples/V1/BackupDRClient/get_iam_policy.php @@ -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. diff --git a/BackupDr/samples/V1/BackupDRClient/set_iam_policy.php b/BackupDr/samples/V1/BackupDRClient/set_iam_policy.php index 5de0fc44b7fb..f81a40eb5c43 100644 --- a/BackupDr/samples/V1/BackupDRClient/set_iam_policy.php +++ b/BackupDr/samples/V1/BackupDRClient/set_iam_policy.php @@ -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. diff --git a/BackupDr/samples/V1/BackupDRClient/test_iam_permissions.php b/BackupDr/samples/V1/BackupDRClient/test_iam_permissions.php index e9e41bb418a7..b3e9c6c1834e 100644 --- a/BackupDr/samples/V1/BackupDRClient/test_iam_permissions.php +++ b/BackupDr/samples/V1/BackupDRClient/test_iam_permissions.php @@ -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. diff --git a/BackupDr/samples/V1/BackupDrProtectionSummaryClient/get_iam_policy.php b/BackupDr/samples/V1/BackupDrProtectionSummaryClient/get_iam_policy.php index aff12bbc65b2..6ca5e7264787 100644 --- a/BackupDr/samples/V1/BackupDrProtectionSummaryClient/get_iam_policy.php +++ b/BackupDr/samples/V1/BackupDrProtectionSummaryClient/get_iam_policy.php @@ -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. diff --git a/BackupDr/samples/V1/BackupDrProtectionSummaryClient/set_iam_policy.php b/BackupDr/samples/V1/BackupDrProtectionSummaryClient/set_iam_policy.php index f3fdeb70501e..fcc79b318df4 100644 --- a/BackupDr/samples/V1/BackupDrProtectionSummaryClient/set_iam_policy.php +++ b/BackupDr/samples/V1/BackupDrProtectionSummaryClient/set_iam_policy.php @@ -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. diff --git a/BackupDr/samples/V1/BackupDrProtectionSummaryClient/test_iam_permissions.php b/BackupDr/samples/V1/BackupDrProtectionSummaryClient/test_iam_permissions.php index 201f08fb5d4d..763640cd38d2 100644 --- a/BackupDr/samples/V1/BackupDrProtectionSummaryClient/test_iam_permissions.php +++ b/BackupDr/samples/V1/BackupDrProtectionSummaryClient/test_iam_permissions.php @@ -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. diff --git a/BackupDr/src/V1/Client/BackupDRClient.php b/BackupDr/src/V1/Client/BackupDRClient.php index 89f4918b241b..507965e10754 100644 --- a/BackupDr/src/V1/Client/BackupDRClient.php +++ b/BackupDr/src/V1/Client/BackupDRClient.php @@ -1720,7 +1720,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 BackupDRClient::getIamPolicyAsync()} . * @@ -1747,10 +1747,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 BackupDRClient::setIamPolicyAsync()} . * @@ -1777,12 +1777,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 BackupDRClient::testIamPermissionsAsync()} . * diff --git a/BackupDr/src/V1/Client/BackupDrProtectionSummaryClient.php b/BackupDr/src/V1/Client/BackupDrProtectionSummaryClient.php index 5cfd3674df2a..c6a7be5c4919 100644 --- a/BackupDr/src/V1/Client/BackupDrProtectionSummaryClient.php +++ b/BackupDr/src/V1/Client/BackupDrProtectionSummaryClient.php @@ -322,7 +322,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 BackupDrProtectionSummaryClient::getIamPolicyAsync()} * . @@ -350,10 +350,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 BackupDrProtectionSummaryClient::setIamPolicyAsync()} * . @@ -381,12 +381,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 BackupDrProtectionSummaryClient::testIamPermissionsAsync()} . diff --git a/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/get_iam_policy.php b/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/get_iam_policy.php index 4e638a5cd999..63cea116ed2c 100644 --- a/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/get_iam_policy.php +++ b/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/get_iam_policy.php @@ -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. diff --git a/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/set_iam_policy.php b/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/set_iam_policy.php index c7939e0824b2..3ea18d1e2ad5 100644 --- a/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/set_iam_policy.php +++ b/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/set_iam_policy.php @@ -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. diff --git a/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/test_iam_permissions.php b/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/test_iam_permissions.php index a700f9fe57fd..b5f465b3a4c0 100644 --- a/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/test_iam_permissions.php +++ b/BeyondCorpAppConnections/samples/V1/AppConnectionsServiceClient/test_iam_permissions.php @@ -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. diff --git a/BeyondCorpAppConnections/src/V1/Client/AppConnectionsServiceClient.php b/BeyondCorpAppConnections/src/V1/Client/AppConnectionsServiceClient.php index eec275776dde..8522da82b084 100644 --- a/BeyondCorpAppConnections/src/V1/Client/AppConnectionsServiceClient.php +++ b/BeyondCorpAppConnections/src/V1/Client/AppConnectionsServiceClient.php @@ -594,7 +594,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 AppConnectionsServiceClient::getIamPolicyAsync()} . * @@ -621,10 +621,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 AppConnectionsServiceClient::setIamPolicyAsync()} . * @@ -651,12 +651,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 AppConnectionsServiceClient::testIamPermissionsAsync()} . diff --git a/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/get_iam_policy.php b/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/get_iam_policy.php index 1097dcd81a59..009a60d623ce 100644 --- a/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/get_iam_policy.php +++ b/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/get_iam_policy.php @@ -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. diff --git a/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/set_iam_policy.php b/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/set_iam_policy.php index 780821be06c8..a5c3cae36050 100644 --- a/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/set_iam_policy.php +++ b/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/set_iam_policy.php @@ -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. diff --git a/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/test_iam_permissions.php b/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/test_iam_permissions.php index 78f96c10fe71..cfe66446c816 100644 --- a/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/test_iam_permissions.php +++ b/BeyondCorpAppConnectors/samples/V1/AppConnectorsServiceClient/test_iam_permissions.php @@ -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. diff --git a/BeyondCorpAppConnectors/src/V1/Client/AppConnectorsServiceClient.php b/BeyondCorpAppConnectors/src/V1/Client/AppConnectorsServiceClient.php index d5a107fd8abb..d8cf312267fb 100644 --- a/BeyondCorpAppConnectors/src/V1/Client/AppConnectorsServiceClient.php +++ b/BeyondCorpAppConnectors/src/V1/Client/AppConnectorsServiceClient.php @@ -548,7 +548,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 AppConnectorsServiceClient::getIamPolicyAsync()} . * @@ -575,10 +575,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 AppConnectorsServiceClient::setIamPolicyAsync()} . * @@ -605,12 +605,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 AppConnectorsServiceClient::testIamPermissionsAsync()} . diff --git a/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/get_iam_policy.php b/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/get_iam_policy.php index e4182baf1496..524958b3eda8 100644 --- a/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/get_iam_policy.php +++ b/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/get_iam_policy.php @@ -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. diff --git a/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/set_iam_policy.php b/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/set_iam_policy.php index 064ad3404c36..eab4cf3de684 100644 --- a/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/set_iam_policy.php +++ b/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/set_iam_policy.php @@ -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. diff --git a/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/test_iam_permissions.php b/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/test_iam_permissions.php index 579149af0387..0255a7bdbce0 100644 --- a/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/test_iam_permissions.php +++ b/BeyondCorpAppGateways/samples/V1/AppGatewaysServiceClient/test_iam_permissions.php @@ -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. diff --git a/BeyondCorpAppGateways/src/V1/Client/AppGatewaysServiceClient.php b/BeyondCorpAppGateways/src/V1/Client/AppGatewaysServiceClient.php index d4ef40ecb2ff..5a983899fa4e 100644 --- a/BeyondCorpAppGateways/src/V1/Client/AppGatewaysServiceClient.php +++ b/BeyondCorpAppGateways/src/V1/Client/AppGatewaysServiceClient.php @@ -488,7 +488,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 AppGatewaysServiceClient::getIamPolicyAsync()} . * @@ -515,10 +515,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 AppGatewaysServiceClient::setIamPolicyAsync()} . * @@ -545,12 +545,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 AppGatewaysServiceClient::testIamPermissionsAsync()} * . diff --git a/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/get_iam_policy.php b/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/get_iam_policy.php index 488644ac6b2e..e24c458373e7 100644 --- a/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/get_iam_policy.php +++ b/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/get_iam_policy.php @@ -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. diff --git a/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/set_iam_policy.php b/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/set_iam_policy.php index 559ce0e96c8f..2904cc5e18fa 100644 --- a/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/set_iam_policy.php +++ b/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/set_iam_policy.php @@ -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. diff --git a/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/test_iam_permissions.php b/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/test_iam_permissions.php index c0f8e80df712..4f6b0e02f3c4 100644 --- a/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/test_iam_permissions.php +++ b/BeyondCorpClientConnectorServices/samples/V1/ClientConnectorServicesServiceClient/test_iam_permissions.php @@ -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. diff --git a/BeyondCorpClientConnectorServices/src/V1/Client/ClientConnectorServicesServiceClient.php b/BeyondCorpClientConnectorServices/src/V1/Client/ClientConnectorServicesServiceClient.php index 5367576c1990..8e983889c984 100644 --- a/BeyondCorpClientConnectorServices/src/V1/Client/ClientConnectorServicesServiceClient.php +++ b/BeyondCorpClientConnectorServices/src/V1/Client/ClientConnectorServicesServiceClient.php @@ -540,7 +540,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 ClientConnectorServicesServiceClient::getIamPolicyAsync()} . @@ -568,10 +568,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 ClientConnectorServicesServiceClient::setIamPolicyAsync()} . @@ -599,12 +599,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 ClientConnectorServicesServiceClient::testIamPermissionsAsync()} . diff --git a/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/get_iam_policy.php b/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/get_iam_policy.php index 0626d899b1cf..920291c8941a 100644 --- a/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/get_iam_policy.php +++ b/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/get_iam_policy.php @@ -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. diff --git a/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/set_iam_policy.php b/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/set_iam_policy.php index 70d3d84322a8..59b30f76ecc3 100644 --- a/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/set_iam_policy.php +++ b/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/set_iam_policy.php @@ -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. diff --git a/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/test_iam_permissions.php b/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/test_iam_permissions.php index a05775eebcb8..99cece7d81c6 100644 --- a/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/test_iam_permissions.php +++ b/BeyondCorpClientGateways/samples/V1/ClientGatewaysServiceClient/test_iam_permissions.php @@ -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. diff --git a/BeyondCorpClientGateways/src/V1/Client/ClientGatewaysServiceClient.php b/BeyondCorpClientGateways/src/V1/Client/ClientGatewaysServiceClient.php index 63adf3ce9fa1..2c3c080451e4 100644 --- a/BeyondCorpClientGateways/src/V1/Client/ClientGatewaysServiceClient.php +++ b/BeyondCorpClientGateways/src/V1/Client/ClientGatewaysServiceClient.php @@ -489,7 +489,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 ClientGatewaysServiceClient::getIamPolicyAsync()} . * @@ -516,10 +516,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 ClientGatewaysServiceClient::setIamPolicyAsync()} . * @@ -546,12 +546,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 ClientGatewaysServiceClient::testIamPermissionsAsync()} . diff --git a/Build/samples/V2/RepositoryManagerClient/get_iam_policy.php b/Build/samples/V2/RepositoryManagerClient/get_iam_policy.php index a9fbed2d0ef2..366b5f6d79f4 100644 --- a/Build/samples/V2/RepositoryManagerClient/get_iam_policy.php +++ b/Build/samples/V2/RepositoryManagerClient/get_iam_policy.php @@ -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. diff --git a/Build/samples/V2/RepositoryManagerClient/set_iam_policy.php b/Build/samples/V2/RepositoryManagerClient/set_iam_policy.php index 2937d2590e92..444e2913d229 100644 --- a/Build/samples/V2/RepositoryManagerClient/set_iam_policy.php +++ b/Build/samples/V2/RepositoryManagerClient/set_iam_policy.php @@ -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. diff --git a/Build/samples/V2/RepositoryManagerClient/test_iam_permissions.php b/Build/samples/V2/RepositoryManagerClient/test_iam_permissions.php index cbad5cee2ce3..5c492db50424 100644 --- a/Build/samples/V2/RepositoryManagerClient/test_iam_permissions.php +++ b/Build/samples/V2/RepositoryManagerClient/test_iam_permissions.php @@ -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. diff --git a/Build/src/V2/Client/RepositoryManagerClient.php b/Build/src/V2/Client/RepositoryManagerClient.php index cf30fabe3db8..215c73389c58 100644 --- a/Build/src/V2/Client/RepositoryManagerClient.php +++ b/Build/src/V2/Client/RepositoryManagerClient.php @@ -781,7 +781,7 @@ public function updateConnection(UpdateConnectionRequest $request, array $callOp /** * 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 RepositoryManagerClient::getIamPolicyAsync()} . * @@ -808,10 +808,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 RepositoryManagerClient::setIamPolicyAsync()} . * @@ -838,12 +838,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 RepositoryManagerClient::testIamPermissionsAsync()} . * diff --git a/Ces/samples/V1/AgentServiceClient/list_locations.php b/Ces/samples/V1/AgentServiceClient/list_locations.php index 2182da78cf9e..d6a5f4d12738 100644 --- a/Ces/samples/V1/AgentServiceClient/list_locations.php +++ b/Ces/samples/V1/AgentServiceClient/list_locations.php @@ -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: diff --git a/Ces/samples/V1/SessionServiceClient/list_locations.php b/Ces/samples/V1/SessionServiceClient/list_locations.php index 5fdfd96bdf22..79949e534faf 100644 --- a/Ces/samples/V1/SessionServiceClient/list_locations.php +++ b/Ces/samples/V1/SessionServiceClient/list_locations.php @@ -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: diff --git a/Ces/samples/V1/ToolServiceClient/list_locations.php b/Ces/samples/V1/ToolServiceClient/list_locations.php index db346e791b22..f523b180fc30 100644 --- a/Ces/samples/V1/ToolServiceClient/list_locations.php +++ b/Ces/samples/V1/ToolServiceClient/list_locations.php @@ -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: diff --git a/Ces/samples/V1/WidgetServiceClient/list_locations.php b/Ces/samples/V1/WidgetServiceClient/list_locations.php index 3eb3a6f3dbf7..914ac0918959 100644 --- a/Ces/samples/V1/WidgetServiceClient/list_locations.php +++ b/Ces/samples/V1/WidgetServiceClient/list_locations.php @@ -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: diff --git a/Ces/src/V1/Client/AgentServiceClient.php b/Ces/src/V1/Client/AgentServiceClient.php index 138a89c555e6..31d09eae2fc1 100644 --- a/Ces/src/V1/Client/AgentServiceClient.php +++ b/Ces/src/V1/Client/AgentServiceClient.php @@ -2100,22 +2100,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * 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. * * The async variant is {@see AgentServiceClient::listLocationsAsync()} . * diff --git a/Ces/src/V1/Client/SessionServiceClient.php b/Ces/src/V1/Client/SessionServiceClient.php index f12dc18b316b..ee83a86bffd0 100644 --- a/Ces/src/V1/Client/SessionServiceClient.php +++ b/Ces/src/V1/Client/SessionServiceClient.php @@ -473,22 +473,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * 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. * * The async variant is {@see SessionServiceClient::listLocationsAsync()} . * diff --git a/Ces/src/V1/Client/ToolServiceClient.php b/Ces/src/V1/Client/ToolServiceClient.php index 282eb66205f1..ef606a149935 100644 --- a/Ces/src/V1/Client/ToolServiceClient.php +++ b/Ces/src/V1/Client/ToolServiceClient.php @@ -393,22 +393,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * 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. * * The async variant is {@see ToolServiceClient::listLocationsAsync()} . * diff --git a/Ces/src/V1/Client/WidgetServiceClient.php b/Ces/src/V1/Client/WidgetServiceClient.php index a63b9a21025c..717f849a6d2e 100644 --- a/Ces/src/V1/Client/WidgetServiceClient.php +++ b/Ces/src/V1/Client/WidgetServiceClient.php @@ -315,22 +315,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * 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. * * The async variant is {@see WidgetServiceClient::listLocationsAsync()} . * diff --git a/Config/samples/V1/ConfigClient/get_iam_policy.php b/Config/samples/V1/ConfigClient/get_iam_policy.php index 616951dd6ccd..bbb4ea79854b 100644 --- a/Config/samples/V1/ConfigClient/get_iam_policy.php +++ b/Config/samples/V1/ConfigClient/get_iam_policy.php @@ -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. diff --git a/Config/samples/V1/ConfigClient/list_locations.php b/Config/samples/V1/ConfigClient/list_locations.php index 4df1fb18cf15..c20b1eec5b11 100644 --- a/Config/samples/V1/ConfigClient/list_locations.php +++ b/Config/samples/V1/ConfigClient/list_locations.php @@ -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: diff --git a/Config/samples/V1/ConfigClient/set_iam_policy.php b/Config/samples/V1/ConfigClient/set_iam_policy.php index c1a3eda50139..f08d3f022189 100644 --- a/Config/samples/V1/ConfigClient/set_iam_policy.php +++ b/Config/samples/V1/ConfigClient/set_iam_policy.php @@ -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. diff --git a/Config/samples/V1/ConfigClient/test_iam_permissions.php b/Config/samples/V1/ConfigClient/test_iam_permissions.php index db886ef6993a..9a7e13d5d9ce 100644 --- a/Config/samples/V1/ConfigClient/test_iam_permissions.php +++ b/Config/samples/V1/ConfigClient/test_iam_permissions.php @@ -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. diff --git a/Config/src/V1/Client/ConfigClient.php b/Config/src/V1/Client/ConfigClient.php index 7ab4c14e1818..216a29bb069a 100644 --- a/Config/src/V1/Client/ConfigClient.php +++ b/Config/src/V1/Client/ConfigClient.php @@ -1712,22 +1712,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * 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. * * The async variant is {@see ConfigClient::listLocationsAsync()} . * @@ -1754,7 +1754,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 ConfigClient::getIamPolicyAsync()} . * @@ -1781,10 +1781,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 ConfigClient::setIamPolicyAsync()} . * @@ -1811,12 +1811,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 ConfigClient::testIamPermissionsAsync()} . * diff --git a/Dataform/samples/V1/DataformClient/list_locations.php b/Dataform/samples/V1/DataformClient/list_locations.php index 60c4ddb8b9b7..c4faa0b35ec9 100644 --- a/Dataform/samples/V1/DataformClient/list_locations.php +++ b/Dataform/samples/V1/DataformClient/list_locations.php @@ -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: diff --git a/Dataform/samples/V1beta1/DataformClient/list_locations.php b/Dataform/samples/V1beta1/DataformClient/list_locations.php index ae68fc79ee84..2b21c659262c 100644 --- a/Dataform/samples/V1beta1/DataformClient/list_locations.php +++ b/Dataform/samples/V1beta1/DataformClient/list_locations.php @@ -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: diff --git a/Dataform/src/V1/Client/DataformClient.php b/Dataform/src/V1/Client/DataformClient.php index 2d9922ffb8a4..acd668e088e8 100644 --- a/Dataform/src/V1/Client/DataformClient.php +++ b/Dataform/src/V1/Client/DataformClient.php @@ -2897,22 +2897,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * 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. * * The async variant is {@see DataformClient::listLocationsAsync()} . * diff --git a/Dataform/src/V1beta1/Client/DataformClient.php b/Dataform/src/V1beta1/Client/DataformClient.php index 5ce115df35be..794ff840cb6f 100644 --- a/Dataform/src/V1beta1/Client/DataformClient.php +++ b/Dataform/src/V1beta1/Client/DataformClient.php @@ -3029,13 +3029,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 DataformClient::listLocationsAsync()} . * diff --git a/Dataplex/samples/V1/BusinessGlossaryServiceClient/get_iam_policy.php b/Dataplex/samples/V1/BusinessGlossaryServiceClient/get_iam_policy.php index dfcadfc52e37..7dc7f6593e90 100644 --- a/Dataplex/samples/V1/BusinessGlossaryServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/BusinessGlossaryServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/BusinessGlossaryServiceClient/list_locations.php b/Dataplex/samples/V1/BusinessGlossaryServiceClient/list_locations.php index a5b8b3cea994..e3f921922300 100644 --- a/Dataplex/samples/V1/BusinessGlossaryServiceClient/list_locations.php +++ b/Dataplex/samples/V1/BusinessGlossaryServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/BusinessGlossaryServiceClient/set_iam_policy.php b/Dataplex/samples/V1/BusinessGlossaryServiceClient/set_iam_policy.php index 2dba634b670c..e6139bac44ed 100644 --- a/Dataplex/samples/V1/BusinessGlossaryServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/BusinessGlossaryServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/BusinessGlossaryServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/BusinessGlossaryServiceClient/test_iam_permissions.php index 62da65a1de06..f93e0655b3cc 100644 --- a/Dataplex/samples/V1/BusinessGlossaryServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/BusinessGlossaryServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/CatalogServiceClient/get_iam_policy.php b/Dataplex/samples/V1/CatalogServiceClient/get_iam_policy.php index 8872ad64d3d2..f7261455049d 100644 --- a/Dataplex/samples/V1/CatalogServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/CatalogServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/CatalogServiceClient/list_locations.php b/Dataplex/samples/V1/CatalogServiceClient/list_locations.php index 0f6af50de22d..593da153330d 100644 --- a/Dataplex/samples/V1/CatalogServiceClient/list_locations.php +++ b/Dataplex/samples/V1/CatalogServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/CatalogServiceClient/set_iam_policy.php b/Dataplex/samples/V1/CatalogServiceClient/set_iam_policy.php index 8c7941b98509..c3d75f2375ce 100644 --- a/Dataplex/samples/V1/CatalogServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/CatalogServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/CatalogServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/CatalogServiceClient/test_iam_permissions.php index a7f20583aa32..229bae9c1708 100644 --- a/Dataplex/samples/V1/CatalogServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/CatalogServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/CmekServiceClient/get_iam_policy.php b/Dataplex/samples/V1/CmekServiceClient/get_iam_policy.php index 4cdbc9f23fc5..5c60ff4a3886 100644 --- a/Dataplex/samples/V1/CmekServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/CmekServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/CmekServiceClient/list_locations.php b/Dataplex/samples/V1/CmekServiceClient/list_locations.php index 5af662a81fe6..6af580492be4 100644 --- a/Dataplex/samples/V1/CmekServiceClient/list_locations.php +++ b/Dataplex/samples/V1/CmekServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/CmekServiceClient/set_iam_policy.php b/Dataplex/samples/V1/CmekServiceClient/set_iam_policy.php index 74ca50626aca..a2b31713f777 100644 --- a/Dataplex/samples/V1/CmekServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/CmekServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/CmekServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/CmekServiceClient/test_iam_permissions.php index f349632b93f0..fd4e666e3613 100644 --- a/Dataplex/samples/V1/CmekServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/CmekServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/ContentServiceClient/get_iam_policy.php b/Dataplex/samples/V1/ContentServiceClient/get_iam_policy.php index e559a82496ef..99d4eed3b7d6 100644 --- a/Dataplex/samples/V1/ContentServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/ContentServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/ContentServiceClient/list_locations.php b/Dataplex/samples/V1/ContentServiceClient/list_locations.php index 0375a96ead7c..aac5cf15fe05 100644 --- a/Dataplex/samples/V1/ContentServiceClient/list_locations.php +++ b/Dataplex/samples/V1/ContentServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/ContentServiceClient/set_iam_policy.php b/Dataplex/samples/V1/ContentServiceClient/set_iam_policy.php index 00486cc74d34..b0812150242e 100644 --- a/Dataplex/samples/V1/ContentServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/ContentServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/ContentServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/ContentServiceClient/test_iam_permissions.php index 714c7f0dd123..a5c71016ac65 100644 --- a/Dataplex/samples/V1/ContentServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/ContentServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/DataProductServiceClient/get_iam_policy.php b/Dataplex/samples/V1/DataProductServiceClient/get_iam_policy.php index db0ae1426ff9..e04c72deb5ab 100644 --- a/Dataplex/samples/V1/DataProductServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/DataProductServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataProductServiceClient/list_locations.php b/Dataplex/samples/V1/DataProductServiceClient/list_locations.php index 7791ca9b6cda..e9c1ada67aa0 100644 --- a/Dataplex/samples/V1/DataProductServiceClient/list_locations.php +++ b/Dataplex/samples/V1/DataProductServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/DataProductServiceClient/set_iam_policy.php b/Dataplex/samples/V1/DataProductServiceClient/set_iam_policy.php index c1beb9d359f1..224e8c7ef2e4 100644 --- a/Dataplex/samples/V1/DataProductServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/DataProductServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataProductServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/DataProductServiceClient/test_iam_permissions.php index 2d6686ec0d76..d3fc861ce94a 100644 --- a/Dataplex/samples/V1/DataProductServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/DataProductServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/DataScanServiceClient/get_iam_policy.php b/Dataplex/samples/V1/DataScanServiceClient/get_iam_policy.php index 67c273525e43..f3170575b2cf 100644 --- a/Dataplex/samples/V1/DataScanServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/DataScanServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataScanServiceClient/list_locations.php b/Dataplex/samples/V1/DataScanServiceClient/list_locations.php index 7acdf0679b88..b7c6b75fb1d6 100644 --- a/Dataplex/samples/V1/DataScanServiceClient/list_locations.php +++ b/Dataplex/samples/V1/DataScanServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/DataScanServiceClient/set_iam_policy.php b/Dataplex/samples/V1/DataScanServiceClient/set_iam_policy.php index a752d484a9d6..70b74fc8d2cb 100644 --- a/Dataplex/samples/V1/DataScanServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/DataScanServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataScanServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/DataScanServiceClient/test_iam_permissions.php index ad4780152b86..02a1faf8ca92 100644 --- a/Dataplex/samples/V1/DataScanServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/DataScanServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/DataTaxonomyServiceClient/get_iam_policy.php b/Dataplex/samples/V1/DataTaxonomyServiceClient/get_iam_policy.php index cdfe6b3c224d..817f2dc4b599 100644 --- a/Dataplex/samples/V1/DataTaxonomyServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/DataTaxonomyServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataTaxonomyServiceClient/list_locations.php b/Dataplex/samples/V1/DataTaxonomyServiceClient/list_locations.php index 185519289ccc..d2ee3e2b14e4 100644 --- a/Dataplex/samples/V1/DataTaxonomyServiceClient/list_locations.php +++ b/Dataplex/samples/V1/DataTaxonomyServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/DataTaxonomyServiceClient/set_iam_policy.php b/Dataplex/samples/V1/DataTaxonomyServiceClient/set_iam_policy.php index 824260ddc1a9..339e07e014bd 100644 --- a/Dataplex/samples/V1/DataTaxonomyServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/DataTaxonomyServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataTaxonomyServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/DataTaxonomyServiceClient/test_iam_permissions.php index c0e4ecf04483..3763ba9d6684 100644 --- a/Dataplex/samples/V1/DataTaxonomyServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/DataTaxonomyServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/DataplexServiceClient/get_iam_policy.php b/Dataplex/samples/V1/DataplexServiceClient/get_iam_policy.php index 6ed65d4d0d07..fdced96e341f 100644 --- a/Dataplex/samples/V1/DataplexServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/DataplexServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataplexServiceClient/list_locations.php b/Dataplex/samples/V1/DataplexServiceClient/list_locations.php index aadfc0a7a0bc..896b01114472 100644 --- a/Dataplex/samples/V1/DataplexServiceClient/list_locations.php +++ b/Dataplex/samples/V1/DataplexServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/DataplexServiceClient/set_iam_policy.php b/Dataplex/samples/V1/DataplexServiceClient/set_iam_policy.php index 3852e994b7d4..f9b6912c3e07 100644 --- a/Dataplex/samples/V1/DataplexServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/DataplexServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/DataplexServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/DataplexServiceClient/test_iam_permissions.php index 6ac9d3cdc1c8..e35f39f594d5 100644 --- a/Dataplex/samples/V1/DataplexServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/DataplexServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/samples/V1/MetadataServiceClient/get_iam_policy.php b/Dataplex/samples/V1/MetadataServiceClient/get_iam_policy.php index de8f0aad2c13..69fd9769ea5f 100644 --- a/Dataplex/samples/V1/MetadataServiceClient/get_iam_policy.php +++ b/Dataplex/samples/V1/MetadataServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/MetadataServiceClient/list_locations.php b/Dataplex/samples/V1/MetadataServiceClient/list_locations.php index a4ed47206cd0..8d814215d199 100644 --- a/Dataplex/samples/V1/MetadataServiceClient/list_locations.php +++ b/Dataplex/samples/V1/MetadataServiceClient/list_locations.php @@ -31,21 +31,21 @@ /** * Lists information about the supported locations for this service. - -This method lists locations based on the resource scope provided in -the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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: diff --git a/Dataplex/samples/V1/MetadataServiceClient/set_iam_policy.php b/Dataplex/samples/V1/MetadataServiceClient/set_iam_policy.php index 2fa845c517c0..206605ad3fd7 100644 --- a/Dataplex/samples/V1/MetadataServiceClient/set_iam_policy.php +++ b/Dataplex/samples/V1/MetadataServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataplex/samples/V1/MetadataServiceClient/test_iam_permissions.php b/Dataplex/samples/V1/MetadataServiceClient/test_iam_permissions.php index 8d3236a0ea3a..294651d022f2 100644 --- a/Dataplex/samples/V1/MetadataServiceClient/test_iam_permissions.php +++ b/Dataplex/samples/V1/MetadataServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataplex/src/V1/Client/BusinessGlossaryServiceClient.php b/Dataplex/src/V1/Client/BusinessGlossaryServiceClient.php index 8bdead403adb..726b9446ad35 100644 --- a/Dataplex/src/V1/Client/BusinessGlossaryServiceClient.php +++ b/Dataplex/src/V1/Client/BusinessGlossaryServiceClient.php @@ -841,21 +841,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see BusinessGlossaryServiceClient::listLocationsAsync()} * . @@ -883,7 +883,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 BusinessGlossaryServiceClient::getIamPolicyAsync()} . * @@ -910,10 +910,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 BusinessGlossaryServiceClient::setIamPolicyAsync()} . * @@ -940,12 +940,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 BusinessGlossaryServiceClient::testIamPermissionsAsync()} . diff --git a/Dataplex/src/V1/Client/CatalogServiceClient.php b/Dataplex/src/V1/Client/CatalogServiceClient.php index 6748751e64e6..cda567758889 100644 --- a/Dataplex/src/V1/Client/CatalogServiceClient.php +++ b/Dataplex/src/V1/Client/CatalogServiceClient.php @@ -1585,21 +1585,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see CatalogServiceClient::listLocationsAsync()} . * @@ -1626,7 +1626,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 CatalogServiceClient::getIamPolicyAsync()} . * @@ -1653,10 +1653,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 CatalogServiceClient::setIamPolicyAsync()} . * @@ -1683,12 +1683,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 CatalogServiceClient::testIamPermissionsAsync()} . * diff --git a/Dataplex/src/V1/Client/CmekServiceClient.php b/Dataplex/src/V1/Client/CmekServiceClient.php index 7f17a0ed06b8..f58a88d10d69 100644 --- a/Dataplex/src/V1/Client/CmekServiceClient.php +++ b/Dataplex/src/V1/Client/CmekServiceClient.php @@ -491,21 +491,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see CmekServiceClient::listLocationsAsync()} . * @@ -532,7 +532,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 CmekServiceClient::getIamPolicyAsync()} . * @@ -559,10 +559,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 CmekServiceClient::setIamPolicyAsync()} . * @@ -589,12 +589,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 CmekServiceClient::testIamPermissionsAsync()} . * diff --git a/Dataplex/src/V1/Client/ContentServiceClient.php b/Dataplex/src/V1/Client/ContentServiceClient.php index daae83240214..41c601f12d61 100644 --- a/Dataplex/src/V1/Client/ContentServiceClient.php +++ b/Dataplex/src/V1/Client/ContentServiceClient.php @@ -197,21 +197,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see ContentServiceClient::listLocationsAsync()} . * @@ -238,7 +238,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 ContentServiceClient::getIamPolicyAsync()} . * @@ -265,10 +265,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 ContentServiceClient::setIamPolicyAsync()} . * @@ -295,12 +295,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 ContentServiceClient::testIamPermissionsAsync()} . * diff --git a/Dataplex/src/V1/Client/DataProductServiceClient.php b/Dataplex/src/V1/Client/DataProductServiceClient.php index 27a61e333615..7965054b22dc 100644 --- a/Dataplex/src/V1/Client/DataProductServiceClient.php +++ b/Dataplex/src/V1/Client/DataProductServiceClient.php @@ -845,21 +845,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see DataProductServiceClient::listLocationsAsync()} . * @@ -886,7 +886,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 DataProductServiceClient::getIamPolicyAsync()} . * @@ -913,10 +913,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 DataProductServiceClient::setIamPolicyAsync()} . * @@ -943,12 +943,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 DataProductServiceClient::testIamPermissionsAsync()} * . diff --git a/Dataplex/src/V1/Client/DataScanServiceClient.php b/Dataplex/src/V1/Client/DataScanServiceClient.php index d43e706d2220..5454c3ec3be2 100644 --- a/Dataplex/src/V1/Client/DataScanServiceClient.php +++ b/Dataplex/src/V1/Client/DataScanServiceClient.php @@ -763,21 +763,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see DataScanServiceClient::listLocationsAsync()} . * @@ -804,7 +804,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 DataScanServiceClient::getIamPolicyAsync()} . * @@ -831,10 +831,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 DataScanServiceClient::setIamPolicyAsync()} . * @@ -861,12 +861,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 DataScanServiceClient::testIamPermissionsAsync()} . * diff --git a/Dataplex/src/V1/Client/DataTaxonomyServiceClient.php b/Dataplex/src/V1/Client/DataTaxonomyServiceClient.php index d28d632ffc09..d72701bb4053 100644 --- a/Dataplex/src/V1/Client/DataTaxonomyServiceClient.php +++ b/Dataplex/src/V1/Client/DataTaxonomyServiceClient.php @@ -870,21 +870,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see DataTaxonomyServiceClient::listLocationsAsync()} . * @@ -911,7 +911,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 DataTaxonomyServiceClient::getIamPolicyAsync()} . * @@ -938,10 +938,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 DataTaxonomyServiceClient::setIamPolicyAsync()} . * @@ -968,12 +968,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 DataTaxonomyServiceClient::testIamPermissionsAsync()} * . diff --git a/Dataplex/src/V1/Client/DataplexServiceClient.php b/Dataplex/src/V1/Client/DataplexServiceClient.php index cee279b6b0cc..792e88dbfb7d 100644 --- a/Dataplex/src/V1/Client/DataplexServiceClient.php +++ b/Dataplex/src/V1/Client/DataplexServiceClient.php @@ -1205,21 +1205,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see DataplexServiceClient::listLocationsAsync()} . * @@ -1246,7 +1246,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 DataplexServiceClient::getIamPolicyAsync()} . * @@ -1273,10 +1273,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 DataplexServiceClient::setIamPolicyAsync()} . * @@ -1303,12 +1303,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 DataplexServiceClient::testIamPermissionsAsync()} . * diff --git a/Dataplex/src/V1/Client/MetadataServiceClient.php b/Dataplex/src/V1/Client/MetadataServiceClient.php index f9e675833e16..951e6be53f50 100644 --- a/Dataplex/src/V1/Client/MetadataServiceClient.php +++ b/Dataplex/src/V1/Client/MetadataServiceClient.php @@ -581,21 +581,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. - - This method lists locations based on the resource scope provided in - the [ListLocationsRequest.name][google.cloud.location.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][google.cloud.location.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. * * The async variant is {@see MetadataServiceClient::listLocationsAsync()} . * @@ -622,7 +622,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 MetadataServiceClient::getIamPolicyAsync()} . * @@ -649,10 +649,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 MetadataServiceClient::setIamPolicyAsync()} . * @@ -679,12 +679,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 MetadataServiceClient::testIamPermissionsAsync()} . * diff --git a/Dataproc/samples/V1/AutoscalingPolicyServiceClient/get_iam_policy.php b/Dataproc/samples/V1/AutoscalingPolicyServiceClient/get_iam_policy.php index c4e88f17c665..9f6b94850f9c 100644 --- a/Dataproc/samples/V1/AutoscalingPolicyServiceClient/get_iam_policy.php +++ b/Dataproc/samples/V1/AutoscalingPolicyServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/AutoscalingPolicyServiceClient/set_iam_policy.php b/Dataproc/samples/V1/AutoscalingPolicyServiceClient/set_iam_policy.php index 33313bac05f8..a0abf902d608 100644 --- a/Dataproc/samples/V1/AutoscalingPolicyServiceClient/set_iam_policy.php +++ b/Dataproc/samples/V1/AutoscalingPolicyServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/AutoscalingPolicyServiceClient/test_iam_permissions.php b/Dataproc/samples/V1/AutoscalingPolicyServiceClient/test_iam_permissions.php index 97bdc2f00c01..ef6e79ca09d4 100644 --- a/Dataproc/samples/V1/AutoscalingPolicyServiceClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/AutoscalingPolicyServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/BatchControllerClient/get_iam_policy.php b/Dataproc/samples/V1/BatchControllerClient/get_iam_policy.php index 2193377afb8c..2dfadb2c4c69 100644 --- a/Dataproc/samples/V1/BatchControllerClient/get_iam_policy.php +++ b/Dataproc/samples/V1/BatchControllerClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/BatchControllerClient/set_iam_policy.php b/Dataproc/samples/V1/BatchControllerClient/set_iam_policy.php index 4a95730f2719..fe180d4a9b6c 100644 --- a/Dataproc/samples/V1/BatchControllerClient/set_iam_policy.php +++ b/Dataproc/samples/V1/BatchControllerClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/BatchControllerClient/test_iam_permissions.php b/Dataproc/samples/V1/BatchControllerClient/test_iam_permissions.php index 7bdc6cce7211..d098dc61f625 100644 --- a/Dataproc/samples/V1/BatchControllerClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/BatchControllerClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/ClusterControllerClient/get_iam_policy.php b/Dataproc/samples/V1/ClusterControllerClient/get_iam_policy.php index 3102988ed43c..d4000bddb6c9 100644 --- a/Dataproc/samples/V1/ClusterControllerClient/get_iam_policy.php +++ b/Dataproc/samples/V1/ClusterControllerClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/ClusterControllerClient/set_iam_policy.php b/Dataproc/samples/V1/ClusterControllerClient/set_iam_policy.php index 2db190402bbe..e9738a0cda4d 100644 --- a/Dataproc/samples/V1/ClusterControllerClient/set_iam_policy.php +++ b/Dataproc/samples/V1/ClusterControllerClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/ClusterControllerClient/test_iam_permissions.php b/Dataproc/samples/V1/ClusterControllerClient/test_iam_permissions.php index 6d006c62cdf8..23facadbc5d4 100644 --- a/Dataproc/samples/V1/ClusterControllerClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/ClusterControllerClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/JobControllerClient/get_iam_policy.php b/Dataproc/samples/V1/JobControllerClient/get_iam_policy.php index 2bb7cbc87b89..032b8870d3b6 100644 --- a/Dataproc/samples/V1/JobControllerClient/get_iam_policy.php +++ b/Dataproc/samples/V1/JobControllerClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/JobControllerClient/set_iam_policy.php b/Dataproc/samples/V1/JobControllerClient/set_iam_policy.php index 352e62503e1d..bdf824292f13 100644 --- a/Dataproc/samples/V1/JobControllerClient/set_iam_policy.php +++ b/Dataproc/samples/V1/JobControllerClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/JobControllerClient/test_iam_permissions.php b/Dataproc/samples/V1/JobControllerClient/test_iam_permissions.php index 6e211bf5bc2d..e28c5344b34f 100644 --- a/Dataproc/samples/V1/JobControllerClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/JobControllerClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/NodeGroupControllerClient/get_iam_policy.php b/Dataproc/samples/V1/NodeGroupControllerClient/get_iam_policy.php index 2f997a61edf2..cb5b1a2bc6c1 100644 --- a/Dataproc/samples/V1/NodeGroupControllerClient/get_iam_policy.php +++ b/Dataproc/samples/V1/NodeGroupControllerClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/NodeGroupControllerClient/set_iam_policy.php b/Dataproc/samples/V1/NodeGroupControllerClient/set_iam_policy.php index af1b96ec139a..ac4501c576c7 100644 --- a/Dataproc/samples/V1/NodeGroupControllerClient/set_iam_policy.php +++ b/Dataproc/samples/V1/NodeGroupControllerClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/NodeGroupControllerClient/test_iam_permissions.php b/Dataproc/samples/V1/NodeGroupControllerClient/test_iam_permissions.php index e7b5e4052a74..7e910654ae22 100644 --- a/Dataproc/samples/V1/NodeGroupControllerClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/NodeGroupControllerClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/SessionControllerClient/get_iam_policy.php b/Dataproc/samples/V1/SessionControllerClient/get_iam_policy.php index a32c7b3f01be..e1253fcdad8b 100644 --- a/Dataproc/samples/V1/SessionControllerClient/get_iam_policy.php +++ b/Dataproc/samples/V1/SessionControllerClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/SessionControllerClient/set_iam_policy.php b/Dataproc/samples/V1/SessionControllerClient/set_iam_policy.php index b8723828af92..def88e340d3b 100644 --- a/Dataproc/samples/V1/SessionControllerClient/set_iam_policy.php +++ b/Dataproc/samples/V1/SessionControllerClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/SessionControllerClient/test_iam_permissions.php b/Dataproc/samples/V1/SessionControllerClient/test_iam_permissions.php index 9dbcd2ea1584..83c4102ad10e 100644 --- a/Dataproc/samples/V1/SessionControllerClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/SessionControllerClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/SessionTemplateControllerClient/get_iam_policy.php b/Dataproc/samples/V1/SessionTemplateControllerClient/get_iam_policy.php index e1fcd0f42f68..43c081f7b46a 100644 --- a/Dataproc/samples/V1/SessionTemplateControllerClient/get_iam_policy.php +++ b/Dataproc/samples/V1/SessionTemplateControllerClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/SessionTemplateControllerClient/set_iam_policy.php b/Dataproc/samples/V1/SessionTemplateControllerClient/set_iam_policy.php index c4f9b4a6820f..7fe7dc2f9b8a 100644 --- a/Dataproc/samples/V1/SessionTemplateControllerClient/set_iam_policy.php +++ b/Dataproc/samples/V1/SessionTemplateControllerClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/SessionTemplateControllerClient/test_iam_permissions.php b/Dataproc/samples/V1/SessionTemplateControllerClient/test_iam_permissions.php index 8820d402c367..f3cb0a98da7a 100644 --- a/Dataproc/samples/V1/SessionTemplateControllerClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/SessionTemplateControllerClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/samples/V1/WorkflowTemplateServiceClient/get_iam_policy.php b/Dataproc/samples/V1/WorkflowTemplateServiceClient/get_iam_policy.php index f08b31309b89..64ff2500c536 100644 --- a/Dataproc/samples/V1/WorkflowTemplateServiceClient/get_iam_policy.php +++ b/Dataproc/samples/V1/WorkflowTemplateServiceClient/get_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/WorkflowTemplateServiceClient/set_iam_policy.php b/Dataproc/samples/V1/WorkflowTemplateServiceClient/set_iam_policy.php index 94f36c172177..859e3133a59a 100644 --- a/Dataproc/samples/V1/WorkflowTemplateServiceClient/set_iam_policy.php +++ b/Dataproc/samples/V1/WorkflowTemplateServiceClient/set_iam_policy.php @@ -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. diff --git a/Dataproc/samples/V1/WorkflowTemplateServiceClient/test_iam_permissions.php b/Dataproc/samples/V1/WorkflowTemplateServiceClient/test_iam_permissions.php index aa397f4d3202..adcf31b68995 100644 --- a/Dataproc/samples/V1/WorkflowTemplateServiceClient/test_iam_permissions.php +++ b/Dataproc/samples/V1/WorkflowTemplateServiceClient/test_iam_permissions.php @@ -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. diff --git a/Dataproc/src/V1/Client/AutoscalingPolicyServiceClient.php b/Dataproc/src/V1/Client/AutoscalingPolicyServiceClient.php index 6f78009d381c..21ff388b360c 100644 --- a/Dataproc/src/V1/Client/AutoscalingPolicyServiceClient.php +++ b/Dataproc/src/V1/Client/AutoscalingPolicyServiceClient.php @@ -473,7 +473,7 @@ public function updateAutoscalingPolicy( /** * 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 AutoscalingPolicyServiceClient::getIamPolicyAsync()} * . @@ -501,10 +501,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 AutoscalingPolicyServiceClient::setIamPolicyAsync()} * . @@ -532,12 +532,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 AutoscalingPolicyServiceClient::testIamPermissionsAsync()} . diff --git a/Dataproc/src/V1/Client/BatchControllerClient.php b/Dataproc/src/V1/Client/BatchControllerClient.php index 4951a626c34f..f0ff481a20b4 100644 --- a/Dataproc/src/V1/Client/BatchControllerClient.php +++ b/Dataproc/src/V1/Client/BatchControllerClient.php @@ -465,7 +465,7 @@ public function listBatches(ListBatchesRequest $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 BatchControllerClient::getIamPolicyAsync()} . * @@ -492,10 +492,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 BatchControllerClient::setIamPolicyAsync()} . * @@ -522,12 +522,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 BatchControllerClient::testIamPermissionsAsync()} . * diff --git a/Dataproc/src/V1/Client/ClusterControllerClient.php b/Dataproc/src/V1/Client/ClusterControllerClient.php index 1f20627bc376..067a8fbba2e0 100644 --- a/Dataproc/src/V1/Client/ClusterControllerClient.php +++ b/Dataproc/src/V1/Client/ClusterControllerClient.php @@ -614,7 +614,7 @@ public function updateCluster(UpdateClusterRequest $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 ClusterControllerClient::getIamPolicyAsync()} . * @@ -641,10 +641,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 ClusterControllerClient::setIamPolicyAsync()} . * @@ -671,12 +671,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 ClusterControllerClient::testIamPermissionsAsync()} . * diff --git a/Dataproc/src/V1/Client/JobControllerClient.php b/Dataproc/src/V1/Client/JobControllerClient.php index 16c1eb1dd0ed..c6342bff27c5 100644 --- a/Dataproc/src/V1/Client/JobControllerClient.php +++ b/Dataproc/src/V1/Client/JobControllerClient.php @@ -436,7 +436,7 @@ public function updateJob(UpdateJobRequest $request, array $callOptions = []): J /** * 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 JobControllerClient::getIamPolicyAsync()} . * @@ -463,10 +463,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 JobControllerClient::setIamPolicyAsync()} . * @@ -493,12 +493,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 JobControllerClient::testIamPermissionsAsync()} . * diff --git a/Dataproc/src/V1/Client/NodeGroupControllerClient.php b/Dataproc/src/V1/Client/NodeGroupControllerClient.php index e2f4a15c71f0..64514fcb6a9d 100644 --- a/Dataproc/src/V1/Client/NodeGroupControllerClient.php +++ b/Dataproc/src/V1/Client/NodeGroupControllerClient.php @@ -400,7 +400,7 @@ public function resizeNodeGroup(ResizeNodeGroupRequest $request, array $callOpti /** * 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 NodeGroupControllerClient::getIamPolicyAsync()} . * @@ -427,10 +427,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 NodeGroupControllerClient::setIamPolicyAsync()} . * @@ -457,12 +457,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 NodeGroupControllerClient::testIamPermissionsAsync()} * . diff --git a/Dataproc/src/V1/Client/SessionControllerClient.php b/Dataproc/src/V1/Client/SessionControllerClient.php index 6227e5ed0628..0c5613e57e88 100644 --- a/Dataproc/src/V1/Client/SessionControllerClient.php +++ b/Dataproc/src/V1/Client/SessionControllerClient.php @@ -513,7 +513,7 @@ public function terminateSession(TerminateSessionRequest $request, array $callOp /** * 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 SessionControllerClient::getIamPolicyAsync()} . * @@ -540,10 +540,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 SessionControllerClient::setIamPolicyAsync()} . * @@ -570,12 +570,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 SessionControllerClient::testIamPermissionsAsync()} . * diff --git a/Dataproc/src/V1/Client/SessionTemplateControllerClient.php b/Dataproc/src/V1/Client/SessionTemplateControllerClient.php index f3a1e6ceac78..894edde7a74d 100644 --- a/Dataproc/src/V1/Client/SessionTemplateControllerClient.php +++ b/Dataproc/src/V1/Client/SessionTemplateControllerClient.php @@ -448,7 +448,7 @@ public function updateSessionTemplate( /** * 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 SessionTemplateControllerClient::getIamPolicyAsync()} * . @@ -476,10 +476,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 SessionTemplateControllerClient::setIamPolicyAsync()} * . @@ -507,12 +507,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 SessionTemplateControllerClient::testIamPermissionsAsync()} . diff --git a/Dataproc/src/V1/Client/WorkflowTemplateServiceClient.php b/Dataproc/src/V1/Client/WorkflowTemplateServiceClient.php index 46aaf31aad42..9635f9a65827 100644 --- a/Dataproc/src/V1/Client/WorkflowTemplateServiceClient.php +++ b/Dataproc/src/V1/Client/WorkflowTemplateServiceClient.php @@ -715,7 +715,7 @@ public function updateWorkflowTemplate( /** * 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 WorkflowTemplateServiceClient::getIamPolicyAsync()} . * @@ -742,10 +742,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 WorkflowTemplateServiceClient::setIamPolicyAsync()} . * @@ -772,12 +772,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 WorkflowTemplateServiceClient::testIamPermissionsAsync()} . diff --git a/DataprocMetastore/samples/V1/DataprocMetastoreClient/get_iam_policy.php b/DataprocMetastore/samples/V1/DataprocMetastoreClient/get_iam_policy.php index ff2b200937bd..05e7072a7cf0 100644 --- a/DataprocMetastore/samples/V1/DataprocMetastoreClient/get_iam_policy.php +++ b/DataprocMetastore/samples/V1/DataprocMetastoreClient/get_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1/DataprocMetastoreClient/set_iam_policy.php b/DataprocMetastore/samples/V1/DataprocMetastoreClient/set_iam_policy.php index 121d4cbe31c0..06360957e2c3 100644 --- a/DataprocMetastore/samples/V1/DataprocMetastoreClient/set_iam_policy.php +++ b/DataprocMetastore/samples/V1/DataprocMetastoreClient/set_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1/DataprocMetastoreClient/test_iam_permissions.php b/DataprocMetastore/samples/V1/DataprocMetastoreClient/test_iam_permissions.php index 0de4b26974e3..bb3f5893bba6 100644 --- a/DataprocMetastore/samples/V1/DataprocMetastoreClient/test_iam_permissions.php +++ b/DataprocMetastore/samples/V1/DataprocMetastoreClient/test_iam_permissions.php @@ -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. diff --git a/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/get_iam_policy.php b/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/get_iam_policy.php index f0d1d9f042cf..ccde978847eb 100644 --- a/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/get_iam_policy.php +++ b/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/get_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/set_iam_policy.php b/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/set_iam_policy.php index 3704dbdc607b..952fb56c2eda 100644 --- a/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/set_iam_policy.php +++ b/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/set_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/test_iam_permissions.php b/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/test_iam_permissions.php index 4e202f857ca6..d12e400d7fbe 100644 --- a/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/test_iam_permissions.php +++ b/DataprocMetastore/samples/V1/DataprocMetastoreFederationClient/test_iam_permissions.php @@ -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. diff --git a/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/get_iam_policy.php b/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/get_iam_policy.php index 57eed45689d9..451696ef7b14 100644 --- a/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/get_iam_policy.php +++ b/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/get_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/set_iam_policy.php b/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/set_iam_policy.php index b87be9b2978e..64d713f5c4c6 100644 --- a/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/set_iam_policy.php +++ b/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/set_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/test_iam_permissions.php b/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/test_iam_permissions.php index 103f76177bdc..6338419101a7 100644 --- a/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/test_iam_permissions.php +++ b/DataprocMetastore/samples/V1alpha/DataprocMetastoreClient/test_iam_permissions.php @@ -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. diff --git a/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/get_iam_policy.php b/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/get_iam_policy.php index 8e5144d7bea4..6efdadab620f 100644 --- a/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/get_iam_policy.php +++ b/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/get_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/set_iam_policy.php b/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/set_iam_policy.php index 4a32e73a803a..e2ab8562b825 100644 --- a/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/set_iam_policy.php +++ b/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/set_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/test_iam_permissions.php b/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/test_iam_permissions.php index 038b9555252c..1b8d00e0594f 100644 --- a/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/test_iam_permissions.php +++ b/DataprocMetastore/samples/V1alpha/DataprocMetastoreFederationClient/test_iam_permissions.php @@ -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. diff --git a/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/get_iam_policy.php b/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/get_iam_policy.php index 0e85ac0caa02..97174a5222c9 100644 --- a/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/get_iam_policy.php +++ b/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/get_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/set_iam_policy.php b/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/set_iam_policy.php index dcc0bbb19c15..acbc05040973 100644 --- a/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/set_iam_policy.php +++ b/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/set_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/test_iam_permissions.php b/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/test_iam_permissions.php index cbc43d4c17b8..f4e27324f6ac 100644 --- a/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/test_iam_permissions.php +++ b/DataprocMetastore/samples/V1beta/DataprocMetastoreClient/test_iam_permissions.php @@ -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. diff --git a/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/get_iam_policy.php b/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/get_iam_policy.php index ad8334373021..c1b37390e42c 100644 --- a/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/get_iam_policy.php +++ b/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/get_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/set_iam_policy.php b/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/set_iam_policy.php index 1ed734d48b6e..00706f0b25fe 100644 --- a/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/set_iam_policy.php +++ b/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/set_iam_policy.php @@ -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. diff --git a/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/test_iam_permissions.php b/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/test_iam_permissions.php index 716e2a0ce795..a0d03febbc12 100644 --- a/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/test_iam_permissions.php +++ b/DataprocMetastore/samples/V1beta/DataprocMetastoreFederationClient/test_iam_permissions.php @@ -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. diff --git a/DataprocMetastore/src/V1/Client/DataprocMetastoreClient.php b/DataprocMetastore/src/V1/Client/DataprocMetastoreClient.php index 4c594d0ab193..a0bc9728822d 100644 --- a/DataprocMetastore/src/V1/Client/DataprocMetastoreClient.php +++ b/DataprocMetastore/src/V1/Client/DataprocMetastoreClient.php @@ -991,7 +991,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 DataprocMetastoreClient::getIamPolicyAsync()} . * @@ -1018,10 +1018,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 DataprocMetastoreClient::setIamPolicyAsync()} . * @@ -1048,12 +1048,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 DataprocMetastoreClient::testIamPermissionsAsync()} . * diff --git a/DataprocMetastore/src/V1/Client/DataprocMetastoreFederationClient.php b/DataprocMetastore/src/V1/Client/DataprocMetastoreFederationClient.php index 6cf66aec6cf9..7c853ca7ef0e 100644 --- a/DataprocMetastore/src/V1/Client/DataprocMetastoreFederationClient.php +++ b/DataprocMetastore/src/V1/Client/DataprocMetastoreFederationClient.php @@ -523,7 +523,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 DataprocMetastoreFederationClient::getIamPolicyAsync()} . @@ -551,10 +551,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 DataprocMetastoreFederationClient::setIamPolicyAsync()} . @@ -582,12 +582,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 DataprocMetastoreFederationClient::testIamPermissionsAsync()} . diff --git a/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreClient.php b/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreClient.php index fc4c8639cc78..b71f898fb8da 100644 --- a/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreClient.php +++ b/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreClient.php @@ -1108,7 +1108,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 DataprocMetastoreClient::getIamPolicyAsync()} . * @@ -1137,10 +1137,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 DataprocMetastoreClient::setIamPolicyAsync()} . * @@ -1169,12 +1169,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 DataprocMetastoreClient::testIamPermissionsAsync()} . * diff --git a/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreFederationClient.php b/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreFederationClient.php index 92ba9cd73211..f2bf15a0e7c4 100644 --- a/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreFederationClient.php +++ b/DataprocMetastore/src/V1alpha/Client/DataprocMetastoreFederationClient.php @@ -553,7 +553,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 DataprocMetastoreFederationClient::getIamPolicyAsync()} . @@ -583,10 +583,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 DataprocMetastoreFederationClient::setIamPolicyAsync()} . @@ -616,12 +616,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 DataprocMetastoreFederationClient::testIamPermissionsAsync()} . diff --git a/DataprocMetastore/src/V1beta/Client/DataprocMetastoreClient.php b/DataprocMetastore/src/V1beta/Client/DataprocMetastoreClient.php index 0693b493f407..d1f127f96458 100644 --- a/DataprocMetastore/src/V1beta/Client/DataprocMetastoreClient.php +++ b/DataprocMetastore/src/V1beta/Client/DataprocMetastoreClient.php @@ -1108,7 +1108,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 DataprocMetastoreClient::getIamPolicyAsync()} . * @@ -1137,10 +1137,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 DataprocMetastoreClient::setIamPolicyAsync()} . * @@ -1169,12 +1169,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 DataprocMetastoreClient::testIamPermissionsAsync()} . * diff --git a/DataprocMetastore/src/V1beta/Client/DataprocMetastoreFederationClient.php b/DataprocMetastore/src/V1beta/Client/DataprocMetastoreFederationClient.php index 41da4395cb2e..b1e0ed516e6e 100644 --- a/DataprocMetastore/src/V1beta/Client/DataprocMetastoreFederationClient.php +++ b/DataprocMetastore/src/V1beta/Client/DataprocMetastoreFederationClient.php @@ -553,7 +553,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 DataprocMetastoreFederationClient::getIamPolicyAsync()} . @@ -583,10 +583,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 DataprocMetastoreFederationClient::setIamPolicyAsync()} . @@ -616,12 +616,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 DataprocMetastoreFederationClient::testIamPermissionsAsync()} .