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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ final class MerchantReviewsServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/content',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/content'];

private static function getClientDefaults()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ final class ProductReviewsServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/content',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/content'];

private static function getClientDefaults()
{
Expand Down
42 changes: 28 additions & 14 deletions StorageControl/src/V2/Client/StorageControlClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,10 @@ public function getFolder(GetFolderRequest $request, array $callOptions = []): F
*
* @throws ApiException Thrown if the API call fails.
*/
public function getFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest $request, array $callOptions = []): IntelligenceConfig
{
public function getFolderIntelligenceConfig(
GetFolderIntelligenceConfigRequest $request,
array $callOptions = []
): IntelligenceConfig {
return $this->startApiCall('GetFolderIntelligenceConfig', $request, $callOptions)->wait();
}

Expand Down Expand Up @@ -805,8 +807,10 @@ public function getManagedFolder(GetManagedFolderRequest $request, array $callOp
*
* @throws ApiException Thrown if the API call fails.
*/
public function getOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest $request, array $callOptions = []): IntelligenceConfig
{
public function getOrganizationIntelligenceConfig(
GetOrganizationIntelligenceConfigRequest $request,
array $callOptions = []
): IntelligenceConfig {
return $this->startApiCall('GetOrganizationIntelligenceConfig', $request, $callOptions)->wait();
}

Expand All @@ -832,8 +836,10 @@ public function getOrganizationIntelligenceConfig(GetOrganizationIntelligenceCon
*
* @throws ApiException Thrown if the API call fails.
*/
public function getProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest $request, array $callOptions = []): IntelligenceConfig
{
public function getProjectIntelligenceConfig(
GetProjectIntelligenceConfigRequest $request,
array $callOptions = []
): IntelligenceConfig {
return $this->startApiCall('GetProjectIntelligenceConfig', $request, $callOptions)->wait();
}

Expand Down Expand Up @@ -1080,8 +1086,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
*
* @throws ApiException Thrown if the API call fails.
*/
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
{
public function testIamPermissions(
TestIamPermissionsRequest $request,
array $callOptions = []
): TestIamPermissionsResponse {
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
}

Expand Down Expand Up @@ -1134,8 +1142,10 @@ public function updateAnywhereCache(UpdateAnywhereCacheRequest $request, array $
*
* @throws ApiException Thrown if the API call fails.
*/
public function updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest $request, array $callOptions = []): IntelligenceConfig
{
public function updateFolderIntelligenceConfig(
UpdateFolderIntelligenceConfigRequest $request,
array $callOptions = []
): IntelligenceConfig {
return $this->startApiCall('UpdateFolderIntelligenceConfig', $request, $callOptions)->wait();
}

Expand All @@ -1161,8 +1171,10 @@ public function updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigReq
*
* @throws ApiException Thrown if the API call fails.
*/
public function updateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest $request, array $callOptions = []): IntelligenceConfig
{
public function updateOrganizationIntelligenceConfig(
UpdateOrganizationIntelligenceConfigRequest $request,
array $callOptions = []
): IntelligenceConfig {
return $this->startApiCall('UpdateOrganizationIntelligenceConfig', $request, $callOptions)->wait();
}

Expand All @@ -1188,8 +1200,10 @@ public function updateOrganizationIntelligenceConfig(UpdateOrganizationIntellige
*
* @throws ApiException Thrown if the API call fails.
*/
public function updateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest $request, array $callOptions = []): IntelligenceConfig
{
public function updateProjectIntelligenceConfig(
UpdateProjectIntelligenceConfigRequest $request,
array $callOptions = []
): IntelligenceConfig {
return $this->startApiCall('UpdateProjectIntelligenceConfig', $request, $callOptions)->wait();
}
}
12 changes: 7 additions & 5 deletions StorageInsights/src/V1/Client/StorageInsightsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ final class StorageInsightsClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private $operationsClient;

Expand Down Expand Up @@ -253,8 +251,12 @@ public static function reportConfigName(string $project, string $location, strin
*
* @return string The formatted report_detail resource.
*/
public static function reportDetailName(string $project, string $location, string $reportConfig, string $reportDetail): string
{
public static function reportDetailName(
string $project,
string $location,
string $reportConfig,
string $reportDetail
): string {
return self::getPathTemplate('reportDetail')->render([
'project' => $project,
'location' => $location,
Expand Down
10 changes: 5 additions & 5 deletions StorageTransfer/src/V1/Client/StorageTransferServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ final class StorageTransferServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private $operationsClient;

Expand Down Expand Up @@ -471,8 +469,10 @@ public function getAgentPool(GetAgentPoolRequest $request, array $callOptions =
*
* @throws ApiException Thrown if the API call fails.
*/
public function getGoogleServiceAccount(GetGoogleServiceAccountRequest $request, array $callOptions = []): GoogleServiceAccount
{
public function getGoogleServiceAccount(
GetGoogleServiceAccountRequest $request,
array $callOptions = []
): GoogleServiceAccount {
return $this->startApiCall('GetGoogleServiceAccount', $request, $callOptions)->wait();
}

Expand Down
4 changes: 1 addition & 3 deletions Support/src/V2/Client/CaseAttachmentServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ final class CaseAttachmentServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down
10 changes: 5 additions & 5 deletions Support/src/V2/Client/CaseServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ final class CaseServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down Expand Up @@ -483,8 +481,10 @@ public function listCases(ListCasesRequest $request, array $callOptions = []): P
*
* @throws ApiException Thrown if the API call fails.
*/
public function searchCaseClassifications(SearchCaseClassificationsRequest $request, array $callOptions = []): PagedListResponse
{
public function searchCaseClassifications(
SearchCaseClassificationsRequest $request,
array $callOptions = []
): PagedListResponse {
return $this->startApiCall('SearchCaseClassifications', $request, $callOptions);
}

Expand Down
4 changes: 1 addition & 3 deletions Support/src/V2/Client/CommentServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ final class CommentServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down
11 changes: 6 additions & 5 deletions Support/src/V2beta/Client/CaseAttachmentServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ final class CaseAttachmentServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down Expand Up @@ -177,8 +175,11 @@ public static function organizationCaseName(string $organization, string $case):
*
* @experimental
*/
public static function organizationCaseAttachmentIdName(string $organization, string $case, string $attachmentId): string
{
public static function organizationCaseAttachmentIdName(
string $organization,
string $case,
string $attachmentId
): string {
return self::getPathTemplate('organizationCaseAttachmentId')->render([
'organization' => $organization,
'case' => $case,
Expand Down
10 changes: 5 additions & 5 deletions Support/src/V2beta/Client/CaseServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ final class CaseServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down Expand Up @@ -513,8 +511,10 @@ public function listCases(ListCasesRequest $request, array $callOptions = []): P
*
* @experimental
*/
public function searchCaseClassifications(SearchCaseClassificationsRequest $request, array $callOptions = []): PagedListResponse
{
public function searchCaseClassifications(
SearchCaseClassificationsRequest $request,
array $callOptions = []
): PagedListResponse {
return $this->startApiCall('SearchCaseClassifications', $request, $callOptions);
}

Expand Down
4 changes: 1 addition & 3 deletions Support/src/V2beta/Client/CommentServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ final class CommentServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down
4 changes: 1 addition & 3 deletions Support/src/V2beta/Client/FeedServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ final class FeedServiceClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down
10 changes: 5 additions & 5 deletions Tasks/src/V2/Client/CloudTasksClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ final class CloudTasksClient
private const CODEGEN_NAME = 'gapic';

/** The default scopes required by the service. */
public static $serviceScopes = [
'https://www.googleapis.com/auth/cloud-platform',
];
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];

private static function getClientDefaults()
{
Expand Down Expand Up @@ -804,8 +802,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
*
* @throws ApiException Thrown if the API call fails.
*/
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
{
public function testIamPermissions(
TestIamPermissionsRequest $request,
array $callOptions = []
): TestIamPermissionsResponse {
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
}

Expand Down
Loading
Loading