From 85b541b06ec3bdccce01215d9f0760c0b02b664a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 27 Nov 2024 01:08:24 -0800 Subject: [PATCH] feat: Generate Google.Apis.Merchant.accounts_v1beta version 1.68.0.3615 --- .../merchantapi.accounts_v1beta.json | 8 ++++---- .../Google.Apis.Merchant.accounts_v1beta.cs | 19 ++++++++++--------- ...oogle.Apis.Merchant.accounts_v1beta.csproj | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/DiscoveryJson/merchantapi.accounts_v1beta.json b/DiscoveryJson/merchantapi.accounts_v1beta.json index 651acb9403b..aa9706d69a3 100644 --- a/DiscoveryJson/merchantapi.accounts_v1beta.json +++ b/DiscoveryJson/merchantapi.accounts_v1beta.json @@ -233,7 +233,7 @@ "type": "string" }, "provider": { - "description": "Required. The parent account. Format: `accounts/{account}`", + "description": "Required. The aggregation service provider. Format: `providers/{providerId}`", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, @@ -1417,7 +1417,7 @@ } } }, - "revision": "20241120", + "revision": "20241124", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Accepted": { @@ -2418,7 +2418,7 @@ "type": "boolean" }, "countries": { - "description": "Required. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO 3166 code.", + "description": "Required. Immutable. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO 3166 code.", "items": { "type": "string" }, @@ -2442,7 +2442,7 @@ "type": "array" }, "label": { - "description": "Required. This field represents the unique user-defined label of the return policy. It is important to note that the same label cannot be used in different return policies for the same country. Unless a product specifies a specific label attribute, policies will be automatically labeled as 'default'. To assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.", + "description": "Required. Immutable. This field represents the unique user-defined label of the return policy. It is important to note that the same label cannot be used in different return policies for the same country. Unless a product specifies a specific label attribute, policies will be automatically labeled as 'default'. To assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.", "type": "string" }, "name": { diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs index ae5c3fcb11e..74f6cf73140 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs @@ -2914,7 +2914,7 @@ protected override void InitParameters() /// `ListAccounts` method. This method will produce the same results as calling `ListsAccounts` with the /// following filter: `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))` /// - /// Required. The parent account. Format: `accounts/{account}` + /// Required. The aggregation service provider. Format: `providers/{providerId}` public virtual ListSubaccountsRequest ListSubaccounts(string provider) { return new ListSubaccountsRequest(this.service, provider); @@ -2934,7 +2934,7 @@ public ListSubaccountsRequest(Google.Apis.Services.IClientService service, strin InitParameters(); } - /// Required. The parent account. Format: `accounts/{account}` + /// Required. The aggregation service provider. Format: `providers/{providerId}` [Google.Apis.Util.RequestParameterAttribute("provider", Google.Apis.Util.RequestParameterType.Path)] public virtual string Provider { get; private set; } @@ -4308,8 +4308,8 @@ public class OnlineReturnPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable AcceptExchange { get; set; } /// - /// Required. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO - /// 3166 code. + /// Required. Immutable. The countries of sale where the return policy applies. The values must be a valid 2 + /// letter ISO 3166 code. /// [Newtonsoft.Json.JsonPropertyAttribute("countries")] public virtual System.Collections.Generic.IList Countries { get; set; } @@ -4321,11 +4321,12 @@ public class OnlineReturnPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Collections.Generic.IList ItemConditions { get; set; } /// - /// Required. This field represents the unique user-defined label of the return policy. It is important to note - /// that the same label cannot be used in different return policies for the same country. Unless a product - /// specifies a specific label attribute, policies will be automatically labeled as 'default'. To assign a - /// custom return policy to certain product groups, follow the instructions provided in the [Return policy - /// label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters. + /// Required. Immutable. This field represents the unique user-defined label of the return policy. It is + /// important to note that the same label cannot be used in different return policies for the same country. + /// Unless a product specifies a specific label attribute, policies will be automatically labeled as 'default'. + /// To assign a custom return policy to certain product groups, follow the instructions provided in the [Return + /// policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 + /// characters. /// [Newtonsoft.Json.JsonPropertyAttribute("label")] public virtual string Label { get; set; } diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj index 5ee57d68263..9d6cb20359e 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.accounts_v1beta Client Library - 1.68.0.3611 + 1.68.0.3615 Google LLC Copyright 2024 Google LLC Google