@@ -24,13 +24,10 @@ import "google/protobuf/empty.proto";
2424import "google/shopping/type/types.proto" ;
2525import "google/type/interval.proto" ;
2626
27- option csharp_namespace = "Google.Shopping.Merchant.Inventories.V1Beta" ;
2827option go_package = "cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb;inventoriespb" ;
2928option java_multiple_files = true ;
3029option java_outer_classname = "RegionalInventoryProto" ;
3130option java_package = "com.google.shopping.merchant.inventories.v1beta" ;
32- option php_namespace = "Google\\Shopping\\Merchant\\Inventories\\V1beta" ;
33- option ruby_package = "Google::Shopping::Merchant::Inventories::V1beta" ;
3431
3532// Service to manage regional inventory for products. There is also separate
3633// `regions` resource and API to manage regions definitions.
@@ -113,30 +110,27 @@ message RegionalInventory {
113110 (google.api.field_behavior ) = IMMUTABLE
114111 ];
115112
116- // Optional. Price of the product in this region.
117- google.shopping.type.Price price = 4 [ (google.api .field_behavior ) = OPTIONAL ] ;
113+ // Price of the product in this region.
114+ google.shopping.type.Price price = 4 ;
118115
119- // Optional. Sale price of the product in this region. Mandatory if
116+ // Sale price of the product in this region. Mandatory if
120117 // [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
121118 // is defined.
122- google.shopping.type.Price sale_price = 5
123- [(google.api.field_behavior ) = OPTIONAL ];
119+ google.shopping.type.Price sale_price = 5 ;
124120
125- // Optional. The `TimePeriod` of the
121+ // The `TimePeriod` of the
126122 // sale price in this region.
127- google.type.Interval sale_price_effective_date = 6
128- [(google.api.field_behavior ) = OPTIONAL ];
123+ google.type.Interval sale_price_effective_date = 6 ;
129124
130125 // Availability of the product in this region.
131126 // For accepted attribute values, see the [regional product inventory data
132- // specification](https://support.google.com/merchants/answer/14644124).
127+ // specification](https://support.google.com/merchants/answer/3061342)
133128 optional string availability = 7 ;
134129
135130 // A list of custom (merchant-provided) attributes. You can also use
136131 // `CustomAttribute` to submit any attribute of the data specification in its
137132 // generic form.
138- repeated google.shopping.type.CustomAttribute custom_attributes = 8
139- [deprecated = true ];
133+ repeated google.shopping.type.CustomAttribute custom_attributes = 8 ;
140134}
141135
142136// Request message for the `ListRegionalInventories` method.
@@ -165,19 +159,6 @@ message ListRegionalInventoriesRequest {
165159 // [nextPageToken][google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.next_page_token]
166160 // in the response to the previous request.
167161 string page_token = 3 ;
168-
169- // Optional. If true, the `{product}` in the `parent` field of the request
170- // will be interpreted as unpadded base64url-encoded and decoded during
171- // request processing to match the decoded value. Default value is `false`.
172- // Use this if your `{product}` contains special characters, such as forward
173- // slash `/` or other characters that are unpadded base64url-encoded (as per
174- // RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2).
175- //
176- // Note that future versions of the API will only accept unpadded
177- // base64url-encoded product ids, so we strongly recommend proactively setting
178- // this to `true` and encoding the product ids.
179- bool product_id_base64_url_encoded = 4
180- [(google.api.field_behavior ) = OPTIONAL ];
181162}
182163
183164// Response message for the `ListRegionalInventories` method.
@@ -207,19 +188,6 @@ message InsertRegionalInventoryRequest {
207188 // full replacement of the `RegionalInventory` resource is performed.
208189 RegionalInventory regional_inventory = 2
209190 [(google.api.field_behavior ) = REQUIRED ];
210-
211- // Optional. If true, the `{product}` in the `parent` field of the request
212- // will be interpreted as unpadded base64url-encoded and decoded during
213- // request processing to match the decoded value. Default value is `false`.
214- // Use this if your `{product}` contains special characters, such as forward
215- // slash `/` or other characters that are unpadded base64url-encoded (as per
216- // RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2).
217- //
218- // Note that future versions of the API will only accept unpadded
219- // base64url-encoded product ids, so we strongly recommend proactively setting
220- // this to `true` and encoding the product ids.
221- bool product_id_base64_url_encoded = 3
222- [(google.api.field_behavior ) = OPTIONAL ];
223191}
224192
225193// Request message for the `DeleteRegionalInventory` method.
@@ -233,17 +201,4 @@ message DeleteRegionalInventoryRequest {
233201 type : "merchantapi.googleapis.com/RegionalInventory"
234202 }
235203 ];
236-
237- // Optional. If true, the `{product}` in the `name` field of the request will
238- // be interpreted as unpadded base64url-encoded and decoded during request
239- // processing to match the decoded value. Default value is `false`. Use this
240- // if your `{product}` contains special characters, such as forward slash `/`
241- // or other characters that are unpadded base64url-encoded (as per RFC 7515:
242- // https://datatracker.ietf.org/doc/html/rfc7515#section-2).
243- //
244- // Note that future versions of the API will only accept unpadded
245- // base64url-encoded product ids, so we strongly recommend proactively setting
246- // this to `true` and encoding the product ids.
247- bool product_id_base64_url_encoded = 2
248- [(google.api.field_behavior ) = OPTIONAL ];
249204}
0 commit comments