Skip to content

Commit b6b426a

Browse files
feat: [ShoppingMerchantIssueResolution] Added the product_id_base64_url_encoded field to RenderProductIssuesRequest. This allows for product IDs containing special characters to be correctly handled when unpadded base64url-encoded (#8727)
* feat: Added the `product_id_base64_url_encoded` field to `RenderProductIssuesRequest`. This allows for product IDs containing special characters to be correctly handled when unpadded base64url-encoded feat: Added `VERIFY_BUSINESS_VIDEO_IN_MERCHANT_CENTER` as a new enum value to `ExternalAction.Type`. This supports redirecting to Merchant Center for business video verification PiperOrigin-RevId: 830781240 Source-Link: googleapis/googleapis@18bb600 Source-Link: googleapis/googleapis-gen@f28a7bf Copy-Tag: eyJwIjoiU2hvcHBpbmdNZXJjaGFudElzc3VlUmVzb2x1dGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiZjI4YTdiZmQ3NDk0NjFhYzU0OTVlNWM4OTY0Yzg0Y2QyOTA5NmMwMiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent f0ac4e4 commit b6b426a

5 files changed

Lines changed: 92 additions & 14 deletions

File tree

90 Bytes
Binary file not shown.

ShoppingMerchantIssueResolution/src/V1/Client/AggregateProductStatusesServiceClient.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,24 @@ final class AggregateProductStatusesServiceClient
7676
private const CODEGEN_NAME = 'gapic';
7777

7878
/** The default scopes required by the service. */
79-
public static $serviceScopes = [
80-
'https://www.googleapis.com/auth/content',
81-
];
79+
public static $serviceScopes = ['https://www.googleapis.com/auth/content'];
8280

8381
private static function getClientDefaults()
8482
{
8583
return [
8684
'serviceName' => self::SERVICE_NAME,
8785
'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
8886
'clientConfig' => __DIR__ . '/../resources/aggregate_product_statuses_service_client_config.json',
89-
'descriptorsConfigPath' => __DIR__ . '/../resources/aggregate_product_statuses_service_descriptor_config.php',
87+
'descriptorsConfigPath' =>
88+
__DIR__ . '/../resources/aggregate_product_statuses_service_descriptor_config.php',
9089
'gcpApiConfigPath' => __DIR__ . '/../resources/aggregate_product_statuses_service_grpc_config.json',
9190
'credentialsConfig' => [
9291
'defaultScopes' => self::$serviceScopes,
9392
],
9493
'transportConfig' => [
9594
'rest' => [
96-
'restClientConfigPath' => __DIR__ . '/../resources/aggregate_product_statuses_service_rest_client_config.php',
95+
'restClientConfigPath' =>
96+
__DIR__ . '/../resources/aggregate_product_statuses_service_rest_client_config.php',
9797
],
9898
],
9999
];
@@ -250,8 +250,10 @@ public function __call($method, $args)
250250
*
251251
* @throws ApiException Thrown if the API call fails.
252252
*/
253-
public function listAggregateProductStatuses(ListAggregateProductStatusesRequest $request, array $callOptions = []): PagedListResponse
254-
{
253+
public function listAggregateProductStatuses(
254+
ListAggregateProductStatusesRequest $request,
255+
array $callOptions = []
256+
): PagedListResponse {
255257
return $this->startApiCall('ListAggregateProductStatuses', $request, $callOptions);
256258
}
257259
}

ShoppingMerchantIssueResolution/src/V1/Client/IssueResolutionServiceClient.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ final class IssueResolutionServiceClient
8383
private const CODEGEN_NAME = 'gapic';
8484

8585
/** The default scopes required by the service. */
86-
public static $serviceScopes = [
87-
'https://www.googleapis.com/auth/content',
88-
];
86+
public static $serviceScopes = ['https://www.googleapis.com/auth/content'];
8987

9088
private static function getClientDefaults()
9189
{
@@ -272,8 +270,10 @@ public function __call($method, $args)
272270
*
273271
* @throws ApiException Thrown if the API call fails.
274272
*/
275-
public function renderAccountIssues(RenderAccountIssuesRequest $request, array $callOptions = []): RenderAccountIssuesResponse
276-
{
273+
public function renderAccountIssues(
274+
RenderAccountIssuesRequest $request,
275+
array $callOptions = []
276+
): RenderAccountIssuesResponse {
277277
return $this->startApiCall('RenderAccountIssues', $request, $callOptions)->wait();
278278
}
279279

@@ -301,8 +301,10 @@ public function renderAccountIssues(RenderAccountIssuesRequest $request, array $
301301
*
302302
* @throws ApiException Thrown if the API call fails.
303303
*/
304-
public function renderProductIssues(RenderProductIssuesRequest $request, array $callOptions = []): RenderProductIssuesResponse
305-
{
304+
public function renderProductIssues(
305+
RenderProductIssuesRequest $request,
306+
array $callOptions = []
307+
): RenderProductIssuesResponse {
306308
return $this->startApiCall('RenderProductIssues', $request, $callOptions)->wait();
307309
}
308310

ShoppingMerchantIssueResolution/src/V1/ExternalAction/ExternalActionType.php

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ShoppingMerchantIssueResolution/src/V1/RenderProductIssuesRequest.php

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)