Skip to content

Commit 967b6c4

Browse files
Google APIscopybara-github
authored andcommitted
chore: removing parameter before client library generation
PiperOrigin-RevId: 831886190
1 parent 66ed09c commit 967b6c4

File tree

3 files changed

+6
-115
lines changed

3 files changed

+6
-115
lines changed

google/shopping/merchant/products/v1/productinputs.proto

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ service ProductInputsService {
3939
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/content";
4040

4141
// [Uploads a product input to your Merchant Center
42-
// account](/merchant/api/guides/products/add-manage#add_a_product). You
42+
// account](/merchant/api/guides/products/overview#upload-product-input). You
4343
// must have a products [data
44-
// source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)
45-
// to be able to insert a product. The unique identifier of the data source is
46-
// passed as a query parameter in the request URL.
44+
// source](/merchant/api/guides/data-sources/overview) to be able to insert a
45+
// product. The unique identifier of the data source is passed as a query
46+
// parameter in the request URL.
4747
//
4848
// If a product input with the same contentLanguage, offerId, and dataSource
4949
// already exists, then the product input inserted by this method replaces
@@ -227,8 +227,8 @@ message InsertProductInputRequest {
227227
// Required. The primary or supplemental product data source name. If the
228228
// product already exists and data source provided is different, then the
229229
// product will be moved to a new data source. For more information, see
230-
// [Create a primary data
231-
// source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source).
230+
// [Overview of Data sources
231+
// sub-API](/merchant/api/guides/data-sources/overview).
232232
//
233233
// Only API data sources are supported.
234234
//
@@ -272,20 +272,6 @@ message UpdateProductInputRequest {
272272
// Format: `accounts/{account}/dataSources/{datasource}`. For example,
273273
// `accounts/123456/dataSources/104628`.
274274
string data_source = 3 [(google.api.field_behavior) = REQUIRED];
275-
276-
// Optional. If true, the `{productInput}` in the `name` field of the request
277-
// will be interpreted as unpadded base64url-encoded and decoded during
278-
// request processing to match the decoded value. Default value is `false`.
279-
// Use this if your `{productInput}` contains special characters, such as
280-
// forward slash
281-
// `/` or other characters that are unpadded base64url-encoded (as per RFC
282-
// 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2).
283-
//
284-
// Note that future versions of the API will only accept unpadded
285-
// base64url-encoded product ids, so we strongly recommend proactively setting
286-
// this to `true` and encoding the product ids.
287-
bool product_id_base64_url_encoded = 4
288-
[(google.api.field_behavior) = OPTIONAL];
289275
}
290276

291277
// Request message for the DeleteProductInput method.
@@ -308,18 +294,4 @@ message DeleteProductInputRequest {
308294
// `accounts/{account}/dataSources/{datasource}`. For example,
309295
// `accounts/123456/dataSources/104628`.
310296
string data_source = 2 [(google.api.field_behavior) = REQUIRED];
311-
312-
// Optional. If true, the `{productInput}` in the `name` field of the request
313-
// will be interpreted as unpadded base64url-encoded and decoded during
314-
// request processing to match the decoded value. Default value is `false`.
315-
// Use this if your `{productInput}` contains special characters, such as
316-
// forward slash
317-
// `/` or other characters that are unpadded base64url-encoded (as per RFC
318-
// 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2).
319-
//
320-
// Note that future versions of the API will only accept unpadded
321-
// base64url-encoded product ids, so we strongly recommend proactively setting
322-
// this to `true` and encoding the product ids.
323-
bool product_id_base64_url_encoded = 3
324-
[(google.api.field_behavior) = OPTIONAL];
325297
}

google/shopping/merchant/products/v1/products.proto

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -180,19 +180,6 @@ message GetProductRequest {
180180
type: "merchantapi.googleapis.com/Product"
181181
}
182182
];
183-
184-
// Optional. If true, the `{product}` in the `name` field of the request will
185-
// be interpreted as unpadded base64url-encoded and decoded during request
186-
// processing to match the decoded value. Default value is `false`. Use this
187-
// if your `{product}` contains special characters, such as forward slash `/`
188-
// or other characters that are unpadded base64url-encoded (as per RFC 7515:
189-
// https://datatracker.ietf.org/doc/html/rfc7515#section-2).
190-
//
191-
// Note that future versions of the API will only accept unpadded
192-
// base64url-encoded product ids, so we strongly recommend proactively setting
193-
// this to `true` and encoding the product ids.
194-
bool product_id_base64_url_encoded = 2
195-
[(google.api.field_behavior) = OPTIONAL];
196183
}
197184

198185
// Request message for the ListProducts method.

google/shopping/merchant/products/v1/products_common.proto

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -493,23 +493,6 @@ enum CarrierTransitTimeOption {
493493

494494
// Product attributes.
495495
message ProductAttributes {
496-
// The business days during which orders are on their path to fulfillment.
497-
// If not provided, Monday to Friday business days will be assumed.
498-
message ShippingBusinessDaysConfig {
499-
// The [CLDR territory
500-
// code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
501-
// of the country to which an item will ship.
502-
optional string country = 1;
503-
504-
// Effective days of the week considered for the delivery time calculation.
505-
// May not be empty. The more business days included the faster the
506-
// delivery. Can be set through individual days (e.g. `MTWRF`), or day
507-
// ranges (e.g. `Mon-Fri`). For more information about accepted formats,
508-
// see [Shipping handling business
509-
// days](https://support.google.com/merchants/answer/16072859).
510-
optional string business_days = 2;
511-
}
512-
513496
// Carrier-based shipping configuration. Allows for setting shipping speed or
514497
// shipping cost based on a carrier's provided info.
515498
message CarrierShipping {
@@ -1000,17 +983,6 @@ message ProductAttributes {
1000983
// Minimal product handling time (in business days).
1001984
optional int64 min_handling_time = 45;
1002985

1003-
// The business days during which orders can be handled. If not provided,
1004-
// Monday to Friday business days will be assumed.
1005-
repeated ShippingBusinessDaysConfig shipping_handling_business_days = 143;
1006-
1007-
// The business days during which orders are in transit.
1008-
// If not provided, Monday to Friday business days will be assumed.
1009-
repeated ShippingBusinessDaysConfig shipping_transit_business_days = 144;
1010-
1011-
// The handling cutoff times for shipping.
1012-
repeated HandlingCutoffTime handling_cutoff_times = 141;
1013-
1014986
// The shipping label of the product, used to group product in account-level
1015987
// shipping rules.
1016988
optional string shipping_label = 46;
@@ -1419,20 +1391,6 @@ message Shipping {
14191391
// [maxTransitTime][google.shopping.merchant.products.v1.Shipping.max_transit_time]
14201392
// is present.
14211393
optional int64 max_transit_time = 11;
1422-
1423-
// The handling cutoff time until which an order has to be placed to be
1424-
// processed in the same day. This is a string in format of HHMM (e.g.
1425-
// `1530`) for 3:30 PM. If not configured, the cutoff time will be defaulted
1426-
// to 8AM PST and `handling_cutoff_timezone` will be ignored.
1427-
optional string handling_cutoff_time = 12;
1428-
1429-
// [Timezone
1430-
// identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids)
1431-
// For example `Europe/Zurich`. This field only applies if
1432-
// `handling_cutoff_time` is set. If `handling_cutoff_time` is set but this
1433-
// field is not set, the shipping destination timezone will be used. If both
1434-
// fields are not set, the handling cutoff time will default to 8AM PST.
1435-
optional string handling_cutoff_timezone = 13;
14361394
}
14371395

14381396
// Conditions to be met for a product to have free shipping.
@@ -1710,29 +1668,3 @@ message AutomatedDiscounts {
17101668
// the product is not available.
17111669
google.shopping.type.Price gad_price = 3;
17121670
}
1713-
1714-
// Configuration for offer or offer-country level shipping handling cutoff time.
1715-
message HandlingCutoffTime {
1716-
// The [CLDR territory
1717-
// code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
1718-
// of the country to which the handling cutoff time applies.
1719-
optional string country = 1;
1720-
1721-
// The handling cutoff time until which an order has to be placed to be
1722-
// processed in the same day. This is a string in format of HHMM (e.g. `1530`)
1723-
// for 3:30 PM.
1724-
// If not configured, the cutoff time will be defaulted to 8AM PST.
1725-
optional string cutoff_time = 2;
1726-
1727-
// [Timezone
1728-
// identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids)
1729-
// For example 'Europe/Zurich'. If not set, the shipping destination
1730-
// timezone will be used.
1731-
optional string cutoff_timezone = 3;
1732-
1733-
// This field only applies to same-day delivery. If true, prevents next-day
1734-
// delivery from being shown for this offer after the cutoff time. This field
1735-
// only applies to same-day delivery offers, for merchants who want to
1736-
// explicitly disable it.
1737-
optional bool disable_delivery_after_cutoff = 4;
1738-
}

0 commit comments

Comments
 (0)