Skip to content

Commit b98f8c9

Browse files
Google APIscopybara-github
authored andcommitted
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: 830781161
1 parent ba80e9b commit b98f8c9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

google/shopping/merchant/issueresolution/v1beta/issueresolution.proto

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,19 @@ message RenderProductIssuesRequest {
232232
// Optional. The payload for configuring how the content should be rendered.
233233
RenderIssuesRequestPayload payload = 4
234234
[(google.api.field_behavior) = OPTIONAL];
235+
236+
// Optional. If true, the `{product}` in the `name` field of the request will
237+
// be interpreted as unpadded base64url-encoded and decoded during request
238+
// processing to match the decoded value. Default value is `false`. Use this
239+
// if your `{product}` contains special characters, such as forward slash `/`
240+
// or other characters that are unpadded base64url-encoded (as per RFC 7515:
241+
// https://datatracker.ietf.org/doc/html/rfc7515#section-2).
242+
//
243+
// Note that future versions of the API will only accept unpadded
244+
// base64url-encoded product ids, so we strongly recommend proactively setting
245+
// this to `true` and encoding the product ids.
246+
bool product_id_base64_url_encoded = 5
247+
[(google.api.field_behavior) = OPTIONAL];
235248
}
236249

237250
// An issue affecting specific business or their product.
@@ -856,6 +869,10 @@ message ExternalAction {
856869
// Redirect to Merchant Center where the business can perform identity
857870
// verification.
858871
VERIFY_IDENTITY_IN_MERCHANT_CENTER = 4;
872+
873+
// Redirect to Merchant Center where the business can perform business
874+
// video verification.
875+
VERIFY_BUSINESS_VIDEO_IN_MERCHANT_CENTER = 5;
859876
}
860877

861878
// The type of external action.

0 commit comments

Comments
 (0)