Skip to content

Commit 14667eb

Browse files
chore: regenerate from OpenAPI spec
- Auto-generated SDK updates - Version: v0.0.357
1 parent f3dca65 commit 14667eb

1,243 files changed

Lines changed: 3119 additions & 1231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.openapi-generator/FILES‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ docs/GetFollowerStats200Response.md
368368
docs/GetFollowerStats200ResponseDateRange.md
369369
docs/GetFollowerStats200ResponseStatsValueInner.md
370370
docs/GetFollowerStats403Response.md
371+
docs/GetGmbAttributeMetadata200Response.md
372+
docs/GetGmbAttributeMetadata200ResponseAttributeMetadataInner.md
373+
docs/GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner.md
371374
docs/GetGmbLocations200Response.md
372375
docs/GetGmbLocations200ResponseLocationsInner.md
373376
docs/GetGoogleBusinessAttributes200Response.md
@@ -1641,6 +1644,9 @@ src/main/java/dev/zernio/model/GetFollowerStats200Response.java
16411644
src/main/java/dev/zernio/model/GetFollowerStats200ResponseDateRange.java
16421645
src/main/java/dev/zernio/model/GetFollowerStats200ResponseStatsValueInner.java
16431646
src/main/java/dev/zernio/model/GetFollowerStats403Response.java
1647+
src/main/java/dev/zernio/model/GetGmbAttributeMetadata200Response.java
1648+
src/main/java/dev/zernio/model/GetGmbAttributeMetadata200ResponseAttributeMetadataInner.java
1649+
src/main/java/dev/zernio/model/GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner.java
16441650
src/main/java/dev/zernio/model/GetGmbLocations200Response.java
16451651
src/main/java/dev/zernio/model/GetGmbLocations200ResponseLocationsInner.java
16461652
src/main/java/dev/zernio/model/GetGoogleBusinessAttributes200Response.java
@@ -2461,3 +2467,6 @@ src/main/java/dev/zernio/model/YouTubeDemographicsResponseDemographicsValueInner
24612467
src/main/java/dev/zernio/model/YouTubePlatformData.java
24622468
src/main/java/dev/zernio/model/YouTubeScopeMissingResponse.java
24632469
src/main/java/dev/zernio/model/YouTubeScopeMissingResponseScopeStatus.java
2470+
src/test/java/dev/zernio/model/GetGmbAttributeMetadata200ResponseAttributeMetadataInnerTest.java
2471+
src/test/java/dev/zernio/model/GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInnerTest.java
2472+
src/test/java/dev/zernio/model/GetGmbAttributeMetadata200ResponseTest.java

‎README.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Zernio API
44

55
- API version: 1.0.4
66

7-
- Build date: 2026-06-10T14:10:21.552796462Z[Etc/UTC]
7+
- Build date: 2026-06-10T15:30:05.324884686Z[Etc/UTC]
88

99
- Generator version: 7.19.0
1010

@@ -484,6 +484,8 @@ Class | Method | HTTP request | Description
484484
*DiscordApi* | [**updateDiscordScheduledEventWithHttpInfo**](docs/DiscordApi.md#updateDiscordScheduledEventWithHttpInfo) | **PATCH** /v1/discord/guilds/{guildId}/events/{eventId} | Update a Discord scheduled event
485485
*DiscordApi* | [**updateDiscordSettings**](docs/DiscordApi.md#updateDiscordSettings) | **PATCH** /v1/accounts/{accountId}/discord-settings | Update Discord settings
486486
*DiscordApi* | [**updateDiscordSettingsWithHttpInfo**](docs/DiscordApi.md#updateDiscordSettingsWithHttpInfo) | **PATCH** /v1/accounts/{accountId}/discord-settings | Update Discord settings
487+
*GmbAttributesApi* | [**getGmbAttributeMetadata**](docs/GmbAttributesApi.md#getGmbAttributeMetadata) | **GET** /v1/accounts/{accountId}/gmb-attribute-metadata | Get attribute metadata
488+
*GmbAttributesApi* | [**getGmbAttributeMetadataWithHttpInfo**](docs/GmbAttributesApi.md#getGmbAttributeMetadataWithHttpInfo) | **GET** /v1/accounts/{accountId}/gmb-attribute-metadata | Get attribute metadata
487489
*GmbAttributesApi* | [**getGoogleBusinessAttributes**](docs/GmbAttributesApi.md#getGoogleBusinessAttributes) | **GET** /v1/accounts/{accountId}/gmb-attributes | Get attributes
488490
*GmbAttributesApi* | [**getGoogleBusinessAttributesWithHttpInfo**](docs/GmbAttributesApi.md#getGoogleBusinessAttributesWithHttpInfo) | **GET** /v1/accounts/{accountId}/gmb-attributes | Get attributes
489491
*GmbAttributesApi* | [**updateGoogleBusinessAttributes**](docs/GmbAttributesApi.md#updateGoogleBusinessAttributes) | **PUT** /v1/accounts/{accountId}/gmb-attributes | Update attributes
@@ -1220,6 +1222,9 @@ Class | Method | HTTP request | Description
12201222
- [GetFollowerStats200ResponseDateRange](docs/GetFollowerStats200ResponseDateRange.md)
12211223
- [GetFollowerStats200ResponseStatsValueInner](docs/GetFollowerStats200ResponseStatsValueInner.md)
12221224
- [GetFollowerStats403Response](docs/GetFollowerStats403Response.md)
1225+
- [GetGmbAttributeMetadata200Response](docs/GetGmbAttributeMetadata200Response.md)
1226+
- [GetGmbAttributeMetadata200ResponseAttributeMetadataInner](docs/GetGmbAttributeMetadata200ResponseAttributeMetadataInner.md)
1227+
- [GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner](docs/GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner.md)
12231228
- [GetGmbLocations200Response](docs/GetGmbLocations200Response.md)
12241229
- [GetGmbLocations200ResponseLocationsInner](docs/GetGmbLocations200ResponseLocationsInner.md)
12251230
- [GetGoogleBusinessAttributes200Response](docs/GetGoogleBusinessAttributes200Response.md)

‎api/openapi.yaml‎

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7374,6 +7374,138 @@ paths:
73747374
x-content-type: application/json
73757375
x-accepts:
73767376
- application/json
7377+
/v1/accounts/{accountId}/gmb-attribute-metadata:
7378+
get:
7379+
description: |
7380+
Returns metadata about which Google Business Profile attributes are available for
7381+
a location or business category. Use this endpoint to discover valid attribute names,
7382+
value types, and allowed enum values before reading or writing via gmb-attributes.
7383+
7384+
Two mutually exclusive query modes:
7385+
7386+
**Location mode**: pass `locationId` (or rely on the account's stored `selectedLocationId`).
7387+
Google returns attributes valid for that specific location.
7388+
7389+
**Category mode**: pass `categoryName` (must start with `categories/`) and `regionCode`.
7390+
Google returns attributes valid for that category across the given region.
7391+
`languageCode` is optional in category mode.
7392+
7393+
Both modes support `pageSize` and `pageToken` for pagination.
7394+
operationId: getGmbAttributeMetadata
7395+
parameters:
7396+
- explode: false
7397+
in: path
7398+
name: accountId
7399+
required: true
7400+
schema:
7401+
type: string
7402+
style: simple
7403+
- description: |
7404+
GBP location ID (e.g. "6257659026299438786"). If omitted, uses the account's stored selectedLocationId. Mutually exclusive with categoryName.
7405+
explode: true
7406+
in: query
7407+
name: locationId
7408+
required: false
7409+
schema:
7410+
type: string
7411+
style: form
7412+
- description: |
7413+
Category resource name, must start with "categories/" (e.g. "categories/gcid:plumber"). Required together with regionCode. Mutually exclusive with locationId.
7414+
explode: true
7415+
in: query
7416+
name: categoryName
7417+
required: false
7418+
schema:
7419+
type: string
7420+
style: form
7421+
- description: |
7422+
BCP-47 region code (e.g. "US", "ES"). Required when categoryName is provided.
7423+
explode: true
7424+
in: query
7425+
name: regionCode
7426+
required: false
7427+
schema:
7428+
type: string
7429+
style: form
7430+
- description: |
7431+
BCP-47 language code for display names (e.g. "en", "es"). Optional when categoryName is provided. Omitted from the Google call when not supplied.
7432+
explode: true
7433+
in: query
7434+
name: languageCode
7435+
required: false
7436+
schema:
7437+
type: string
7438+
style: form
7439+
- description: Maximum number of attribute metadata items to return. Google
7440+
defaults to 200.
7441+
explode: true
7442+
in: query
7443+
name: pageSize
7444+
required: false
7445+
schema:
7446+
maximum: 200
7447+
minimum: 1
7448+
type: integer
7449+
style: form
7450+
- description: Pagination token from a previous response's nextPageToken field.
7451+
explode: true
7452+
in: query
7453+
name: pageToken
7454+
required: false
7455+
schema:
7456+
type: string
7457+
style: form
7458+
responses:
7459+
"200":
7460+
content:
7461+
application/json:
7462+
example:
7463+
success: true
7464+
accountId: 64f1a2b3c4d5e6f7a8b9c0d1
7465+
locationId: "6257659026299438786"
7466+
attributeMetadata:
7467+
- parent: attributes/has_delivery
7468+
valueType: BOOL
7469+
displayName: Delivery
7470+
groupDisplayName: Service options
7471+
- parent: attributes/pay_credit_card_types_accepted
7472+
valueType: REPEATED_ENUM
7473+
displayName: Credit cards accepted
7474+
valueMetadata:
7475+
- value: visa
7476+
displayName: Visa
7477+
- value: mastercard
7478+
displayName: Mastercard
7479+
schema:
7480+
$ref: "#/components/schemas/getGmbAttributeMetadata_200_response"
7481+
description: Attribute metadata fetched successfully
7482+
"400":
7483+
content:
7484+
application/json:
7485+
schema:
7486+
$ref: "#/components/schemas/ErrorResponse"
7487+
description: "Invalid request (mixed modes, missing required params, wrong\
7488+
\ platform, or Google returned 4xx)"
7489+
"401":
7490+
content:
7491+
application/json:
7492+
schema:
7493+
$ref: "#/components/schemas/ErrorResponse"
7494+
description: Access token is invalid or revoked. Reconnect the Google Business
7495+
Profile account.
7496+
"404":
7497+
content:
7498+
application/json:
7499+
schema:
7500+
$ref: "#/components/schemas/ErrorResponse"
7501+
description: Account not found
7502+
security:
7503+
- bearerAuth: []
7504+
summary: Get attribute metadata
7505+
tags:
7506+
- GMB Attributes
7507+
x-accepts:
7508+
- application/json
73777509
/v1/accounts/{accountId}/gmb-attributes:
73787510
get:
73797511
description: "Returns GBP location attributes (amenities, services, accessibility,\
@@ -37156,6 +37288,96 @@ components:
3715637288
type: boolean
3715737289
mediaId:
3715837290
type: string
37291+
getGmbAttributeMetadata_200_response_attributeMetadata_inner_valueMetadata_inner:
37292+
example:
37293+
displayName: displayName
37294+
value: value
37295+
properties:
37296+
value:
37297+
type: string
37298+
displayName:
37299+
type: string
37300+
getGmbAttributeMetadata_200_response_attributeMetadata_inner:
37301+
example:
37302+
parent: parent
37303+
groupDisplayName: groupDisplayName
37304+
displayName: displayName
37305+
repeatable: true
37306+
valueType: valueType
37307+
deprecated: true
37308+
valueMetadata:
37309+
- displayName: displayName
37310+
value: value
37311+
- displayName: displayName
37312+
value: value
37313+
properties:
37314+
parent:
37315+
description: Resource name of the attribute (e.g. "attributes/has_delivery").
37316+
type: string
37317+
valueType:
37318+
description: "Value type (e.g. BOOL, ENUM, URL, REPEATED_ENUM)."
37319+
type: string
37320+
displayName:
37321+
description: Localized human-readable attribute name.
37322+
type: string
37323+
groupDisplayName:
37324+
description: Display name of the attribute group.
37325+
type: string
37326+
repeatable:
37327+
description: True if multiple values can be set simultaneously.
37328+
type: boolean
37329+
deprecated:
37330+
description: True if this attribute should no longer be used.
37331+
type: boolean
37332+
valueMetadata:
37333+
description: Possible enum values (for ENUM / REPEATED_ENUM types).
37334+
items:
37335+
$ref: "#/components/schemas/getGmbAttributeMetadata_200_response_attributeMetadata_inner_valueMetadata_inner"
37336+
type: array
37337+
getGmbAttributeMetadata_200_response:
37338+
example:
37339+
accountId: accountId
37340+
attributeMetadata:
37341+
- parent: parent
37342+
groupDisplayName: groupDisplayName
37343+
displayName: displayName
37344+
repeatable: true
37345+
valueType: valueType
37346+
deprecated: true
37347+
valueMetadata:
37348+
- displayName: displayName
37349+
value: value
37350+
- displayName: displayName
37351+
value: value
37352+
- parent: parent
37353+
groupDisplayName: groupDisplayName
37354+
displayName: displayName
37355+
repeatable: true
37356+
valueType: valueType
37357+
deprecated: true
37358+
valueMetadata:
37359+
- displayName: displayName
37360+
value: value
37361+
- displayName: displayName
37362+
value: value
37363+
success: true
37364+
locationId: locationId
37365+
nextPageToken: nextPageToken
37366+
properties:
37367+
success:
37368+
type: boolean
37369+
accountId:
37370+
type: string
37371+
locationId:
37372+
description: Only present in location mode.
37373+
type: string
37374+
attributeMetadata:
37375+
items:
37376+
$ref: "#/components/schemas/getGmbAttributeMetadata_200_response_attributeMetadata_inner"
37377+
type: array
37378+
nextPageToken:
37379+
description: Present when additional pages of results are available.
37380+
type: string
3715937381
getGoogleBusinessAttributes_200_response_attributes_inner_repeatedEnumValue:
3716037382
example:
3716137383
setValues:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# GetGmbAttributeMetadata200Response
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**success** | **Boolean** | | [optional] |
11+
|**accountId** | **String** | | [optional] |
12+
|**locationId** | **String** | Only present in location mode. | [optional] |
13+
|**attributeMetadata** | [**List<GetGmbAttributeMetadata200ResponseAttributeMetadataInner>**](GetGmbAttributeMetadata200ResponseAttributeMetadataInner.md) | | [optional] |
14+
|**nextPageToken** | **String** | Present when additional pages of results are available. | [optional] |
15+
16+
17+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
3+
# GetGmbAttributeMetadata200ResponseAttributeMetadataInner
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**parent** | **String** | Resource name of the attribute (e.g. \"attributes/has_delivery\"). | [optional] |
11+
|**valueType** | **String** | Value type (e.g. BOOL, ENUM, URL, REPEATED_ENUM). | [optional] |
12+
|**displayName** | **String** | Localized human-readable attribute name. | [optional] |
13+
|**groupDisplayName** | **String** | Display name of the attribute group. | [optional] |
14+
|**repeatable** | **Boolean** | True if multiple values can be set simultaneously. | [optional] |
15+
|**deprecated** | **Boolean** | True if this attribute should no longer be used. | [optional] |
16+
|**valueMetadata** | [**List<GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner>**](GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner.md) | Possible enum values (for ENUM / REPEATED_ENUM types). | [optional] |
17+
18+
19+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# GetGmbAttributeMetadata200ResponseAttributeMetadataInnerValueMetadataInner
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**value** | **String** | | [optional] |
11+
|**displayName** | **String** | | [optional] |
12+
13+
14+

0 commit comments

Comments
 (0)