Skip to content

Commit

Permalink
feat: Generate Google.Apis.Merchant.accounts_v1beta version 1.68.0.3615
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa committed Nov 27, 2024
1 parent d9747cb commit 85b541b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions DiscoveryJson/merchantapi.accounts_v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -1417,7 +1417,7 @@
}
}
},
"revision": "20241120",
"revision": "20241124",
"rootUrl": "https://merchantapi.googleapis.com/",
"schemas": {
"Accepted": {
Expand Down Expand Up @@ -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"
},
Expand All @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"))`
/// </summary>
/// <param name="provider">Required. The parent account. Format: `accounts/{account}`</param>
/// <param name="provider">Required. The aggregation service provider. Format: `providers/{providerId}`</param>
public virtual ListSubaccountsRequest ListSubaccounts(string provider)
{
return new ListSubaccountsRequest(this.service, provider);
Expand All @@ -2934,7 +2934,7 @@ public ListSubaccountsRequest(Google.Apis.Services.IClientService service, strin
InitParameters();
}

/// <summary>Required. The parent account. Format: `accounts/{account}`</summary>
/// <summary>Required. The aggregation service provider. Format: `providers/{providerId}`</summary>
[Google.Apis.Util.RequestParameterAttribute("provider", Google.Apis.Util.RequestParameterType.Path)]
public virtual string Provider { get; private set; }

Expand Down Expand Up @@ -4308,8 +4308,8 @@ public class OnlineReturnPolicy : Google.Apis.Requests.IDirectResponseSchema
public virtual System.Nullable<bool> AcceptExchange { get; set; }

/// <summary>
/// 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.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("countries")]
public virtual System.Collections.Generic.IList<string> Countries { get; set; }
Expand All @@ -4321,11 +4321,12 @@ public class OnlineReturnPolicy : Google.Apis.Requests.IDirectResponseSchema
public virtual System.Collections.Generic.IList<string> ItemConditions { get; set; }

/// <summary>
/// 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.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("label")]
public virtual string Label { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- nupkg information -->
<PropertyGroup>
<Title>Google.Apis.Merchant.accounts_v1beta Client Library</Title>
<Version>1.68.0.3611</Version>
<Version>1.68.0.3615</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2024 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit 85b541b

Please sign in to comment.