Skip to content

Commit

Permalink
feat: Generate Google.Apis.Merchant.accounts_v1beta version 1.68.0.3564
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa authored and jskeet committed Oct 9, 2024
1 parent 61955c1 commit a598168
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 48 deletions.
21 changes: 1 addition & 20 deletions DiscoveryJson/merchantapi.accounts_v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -1417,24 +1417,9 @@
}
}
},
"revision": "20240930",
"revision": "20241004",
"rootUrl": "https://merchantapi.googleapis.com/",
"schemas": {
"AcceptTermsOfService": {
"description": "Reference to a Terms of Service resource.",
"id": "AcceptTermsOfService",
"properties": {
"name": {
"description": "Required. The resource name of the terms of service version in the format `termsOfService/{version}`. To retrieve the latest version, use the [termsOfService.retrieveLatest](/merchant/api/reference/rest/accounts_v1beta/termsOfService/retrieveLatest) method.",
"type": "string"
},
"regionCode": {
"description": "Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or `001` when it applies globally.",
"type": "string"
}
},
"type": "object"
},
"Accepted": {
"description": "Describes the accepted terms of service.",
"id": "Accepted",
Expand Down Expand Up @@ -1769,10 +1754,6 @@
"description": "Request message for the `CreateAndConfigureAccount` method.",
"id": "CreateAndConfigureAccountRequest",
"properties": {
"acceptTermsOfService": {
"$ref": "AcceptTermsOfService",
"description": "Optional. The Terms of Service (ToS) to be accepted immediately upon account creation."
},
"account": {
"$ref": "Account",
"description": "Required. The account to be created."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3256,29 +3256,6 @@ protected override void InitParameters()
}
namespace Google.Apis.Merchant.accounts_v1beta.Data
{
/// <summary>Reference to a Terms of Service resource.</summary>
public class AcceptTermsOfService : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>
/// Required. The resource name of the terms of service version in the format `termsOfService/{version}`. To
/// retrieve the latest version, use the
/// [termsOfService.retrieveLatest](/merchant/api/reference/rest/accounts_v1beta/termsOfService/retrieveLatest)
/// method.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("name")]
public virtual string Name { get; set; }

/// <summary>
/// Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS
/// applies specifically to that country or `001` when it applies globally.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("regionCode")]
public virtual string RegionCode { get; set; }

/// <summary>The ETag of the item.</summary>
public virtual string ETag { get; set; }
}

/// <summary>Describes the accepted terms of service.</summary>
public class Accepted : Google.Apis.Requests.IDirectResponseSchema
{
Expand Down Expand Up @@ -3638,10 +3615,6 @@ public class ClaimHomepageRequest : Google.Apis.Requests.IDirectResponseSchema
/// <summary>Request message for the `CreateAndConfigureAccount` method.</summary>
public class CreateAndConfigureAccountRequest : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>Optional. The Terms of Service (ToS) to be accepted immediately upon account creation.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("acceptTermsOfService")]
public virtual AcceptTermsOfService AcceptTermsOfService { get; set; }

/// <summary>Required. The account to be created.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("account")]
public virtual Account Account { 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.3560</Version>
<Version>1.68.0.3564</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2024 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit a598168

Please sign in to comment.