From c824ae8b616473c059139400d8464f5239b8d5f3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 28 Jul 2022 07:55:39 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1634) --- adsense/v2/adsense-api.json | 29 ++- adsense/v2/adsense-gen.go | 19 +- .../v1alpha/analyticsadmin-api.json | 4 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 1 + blogger/v2/blogger-api.json | 10 +- blogger/v2/blogger-gen.go | 6 + blogger/v3/blogger-api.json | 10 +- blogger/v3/blogger-gen.go | 6 + calendar/v3/calendar-api.json | 10 +- calendar/v3/calendar-gen.go | 27 ++- cloudsupport/v2beta/cloudsupport-api.json | 6 +- cloudsupport/v2beta/cloudsupport-gen.go | 3 - firebase/v1beta1/firebase-api.json | 18 +- firebase/v1beta1/firebase-gen.go | 34 +-- .../v1/mybusinessaccountmanagement-api.json | 6 +- .../v1/mybusinessaccountmanagement-gen.go | 14 +- .../v1alpha1/playdeveloperreporting-api.json | 22 +- .../v1alpha1/playdeveloperreporting-gen.go | 212 ++++++++++++++++-- .../v1beta1/playdeveloperreporting-api.json | 18 +- .../v1beta1/playdeveloperreporting-gen.go | 174 ++++++++++++-- pubsub/v1/pubsub-api.json | 4 +- pubsub/v1/pubsub-gen.go | 6 +- retail/v2/retail-api.json | 98 +++++++- retail/v2/retail-gen.go | 174 ++++++++++++++ retail/v2alpha/retail-api.json | 98 +++++++- retail/v2alpha/retail-gen.go | 174 ++++++++++++++ retail/v2beta/retail-api.json | 98 +++++++- retail/v2beta/retail-gen.go | 174 ++++++++++++++ spanner/v1/spanner-api.json | 72 +++++- spanner/v1/spanner-gen.go | 96 +++++++- 30 files changed, 1474 insertions(+), 149 deletions(-) diff --git a/adsense/v2/adsense-api.json b/adsense/v2/adsense-api.json index 0c6a82bf29c..524a1920bb7 100644 --- a/adsense/v2/adsense-api.json +++ b/adsense/v2/adsense-api.json @@ -1645,7 +1645,7 @@ } } }, - "revision": "20220503", + "revision": "20220727", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { @@ -1664,7 +1664,8 @@ "type": "string" }, "name": { - "description": "Resource name of the account. Format: accounts/pub-[0-9]+", + "description": "Output only. Resource name of the account. Format: accounts/pub-[0-9]+", + "readOnly": true, "type": "string" }, "pendingTasks": { @@ -1709,7 +1710,8 @@ "id": "AdClient", "properties": { "name": { - "description": "Resource name of the ad client. Format: accounts/{account}/adclients/{adclient}", + "description": "Output only. Resource name of the ad client. Format: accounts/{account}/adclients/{adclient}", + "readOnly": true, "type": "string" }, "productCode": { @@ -1777,7 +1779,8 @@ "type": "string" }, "name": { - "description": "Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", + "description": "Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", + "readOnly": true, "type": "string" }, "reportingDimensionId": { @@ -1824,7 +1827,8 @@ "type": "string" }, "name": { - "description": "Resource name of the alert. Format: accounts/{account}/alerts/{alert}", + "description": "Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert}", + "readOnly": true, "type": "string" }, "severity": { @@ -1903,7 +1907,8 @@ "type": "string" }, "name": { - "description": "Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", + "description": "Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", + "readOnly": true, "type": "string" }, "reportingDimensionId": { @@ -2223,7 +2228,8 @@ "readOnly": true }, "name": { - "description": "Resource name of the payment. Format: - accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. - accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube earnings. ", + "description": "Output only. Resource name of the payment. Format: - accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. - accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube earnings.", + "readOnly": true, "type": "string" } }, @@ -2297,7 +2303,8 @@ "id": "SavedReport", "properties": { "name": { - "description": "Resource name of the report. Format: accounts/{account}/reports/{report}", + "description": "Output only. Resource name of the report. Format: accounts/{account}/reports/{report}", + "readOnly": true, "type": "string" }, "title": { @@ -2320,7 +2327,8 @@ "type": "string" }, "name": { - "description": "Resource name of a site. Format: accounts/{account}/sites/{site}", + "description": "Output only. Resource name of a site. Format: accounts/{account}/sites/{site}", + "readOnly": true, "type": "string" }, "reportingDimensionId": { @@ -2370,7 +2378,8 @@ "id": "UrlChannel", "properties": { "name": { - "description": "Resource name of the URL channel. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}", + "description": "Output only. Resource name of the URL channel. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}", + "readOnly": true, "type": "string" }, "reportingDimensionId": { diff --git a/adsense/v2/adsense-gen.go b/adsense/v2/adsense-gen.go index 8994327b346..1000b833621 100644 --- a/adsense/v2/adsense-gen.go +++ b/adsense/v2/adsense-gen.go @@ -269,7 +269,8 @@ type Account struct { // DisplayName: Output only. Display name of this account. DisplayName string `json:"displayName,omitempty"` - // Name: Resource name of the account. Format: accounts/pub-[0-9]+ + // Name: Output only. Resource name of the account. Format: + // accounts/pub-[0-9]+ Name string `json:"name,omitempty"` // PendingTasks: Output only. Outstanding tasks that need to be @@ -325,7 +326,7 @@ func (s *Account) MarshalJSON() ([]byte, error) { // AdClient: Representation of an ad client. An ad client represents a // user's subscription with a specific AdSense product. type AdClient struct { - // Name: Resource name of the ad client. Format: + // Name: Output only. Resource name of the ad client. Format: // accounts/{account}/adclients/{adclient} Name string `json:"name,omitempty"` @@ -432,7 +433,7 @@ type AdUnit struct { // the ad unit was created. DisplayName string `json:"displayName,omitempty"` - // Name: Resource name of the ad unit. Format: + // Name: Output only. Resource name of the ad unit. Format: // accounts/{account}/adclients/{adclient}/adunits/{adunit} Name string `json:"name,omitempty"` @@ -517,7 +518,7 @@ type Alert struct { // HTML markup, such as phrase elements or links. Message string `json:"message,omitempty"` - // Name: Resource name of the alert. Format: + // Name: Output only. Resource name of the alert. Format: // accounts/{account}/alerts/{alert} Name string `json:"name,omitempty"` @@ -633,7 +634,7 @@ type CustomChannel struct { // DisplayName: Required. Display name of the custom channel. DisplayName string `json:"displayName,omitempty"` - // Name: Resource name of the custom channel. Format: + // Name: Output only. Resource name of the custom channel. Format: // accounts/{account}/adclients/{adclient}/customchannels/{customchannel} Name string `json:"name,omitempty"` @@ -1278,7 +1279,7 @@ type Payment struct { // always returned in the billing timezone (America/Los_Angeles). Date *Date `json:"date,omitempty"` - // Name: Resource name of the payment. Format: - + // Name: Output only. Resource name of the payment. Format: - // accounts/{account}/payments/unpaid for unpaid (current) AdSense // earnings. - accounts/{account}/payments/youtube-unpaid for unpaid // (current) YouTube earnings. - accounts/{account}/payments/yyyy-MM-dd @@ -1402,7 +1403,7 @@ func (s *Row) MarshalJSON() ([]byte, error) { // SavedReport: Representation of a saved report. type SavedReport struct { - // Name: Resource name of the report. Format: + // Name: Output only. Resource name of the report. Format: // accounts/{account}/reports/{report} Name string `json:"name,omitempty"` @@ -1446,7 +1447,7 @@ type Site struct { // reporting dimension. Domain string `json:"domain,omitempty"` - // Name: Resource name of a site. Format: + // Name: Output only. Resource name of a site. Format: // accounts/{account}/sites/{site} Name string `json:"name,omitempty"` @@ -1532,7 +1533,7 @@ func (s *TimeZone) MarshalJSON() ([]byte, error) { // channels (https://support.google.com/adsense/answer/2923836) for more // information. type UrlChannel struct { - // Name: Resource name of the URL channel. Format: + // Name: Output only. Resource name of the URL channel. Format: // accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel} Name string `json:"name,omitempty"` diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index 4dce6049742..bc5a09c5196 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -2773,7 +2773,7 @@ } } }, - "revision": "20220725", + "revision": "20220727", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccount": { @@ -4839,6 +4839,7 @@ "DATA_RETENTION_SETTINGS", "DISPLAY_VIDEO_360_ADVERTISER_LINK", "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL", + "SEARCH_ADS_360_LINK", "DATA_STREAM", "ATTRIBUTION_SETTINGS" ], @@ -4856,6 +4857,7 @@ "DataRetentionSettings resource", "DisplayVideo360AdvertiserLink resource", "DisplayVideo360AdvertiserLinkProposal resource", + "SearchAds360Link resource", "DataStream resource", "AttributionSettings resource" ], diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 942a00f9bc2..dd61d5a8101 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -3740,6 +3740,7 @@ type GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest struct { // resource // "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL" - // DisplayVideo360AdvertiserLinkProposal resource + // "SEARCH_ADS_360_LINK" - SearchAds360Link resource // "DATA_STREAM" - DataStream resource // "ATTRIBUTION_SETTINGS" - AttributionSettings resource ResourceType []string `json:"resourceType,omitempty"` diff --git a/blogger/v2/blogger-api.json b/blogger/v2/blogger-api.json index d5a4bd9d42e..c8075a62d4e 100644 --- a/blogger/v2/blogger-api.json +++ b/blogger/v2/blogger-api.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220625", + "revision": "20220727", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": { @@ -813,6 +813,10 @@ "description": "The title of this entity. This is the name displayed in the Admin user interface.", "type": "string" }, + "trashed": { + "description": "RFC 3339 date-time when this Page was trashed.", + "type": "string" + }, "updated": { "description": "RFC 3339 date-time when this Page was last updated.", "type": "string" @@ -1021,6 +1025,10 @@ "description": "The title link URL, similar to atom's related link.", "type": "string" }, + "trashed": { + "description": "RFC 3339 date-time when this Post was last trashed.", + "type": "string" + }, "updated": { "description": "RFC 3339 date-time when this Post was last updated.", "type": "string" diff --git a/blogger/v2/blogger-gen.go b/blogger/v2/blogger-gen.go index fdbbe368f60..d31f403a46c 100644 --- a/blogger/v2/blogger-gen.go +++ b/blogger/v2/blogger-gen.go @@ -785,6 +785,9 @@ type Page struct { // Admin user interface. Title string `json:"title,omitempty"` + // Trashed: RFC 3339 date-time when this Page was trashed. + Trashed string `json:"trashed,omitempty"` + // Updated: RFC 3339 date-time when this Page was last updated. Updated string `json:"updated,omitempty"` @@ -1016,6 +1019,9 @@ type Post struct { // TitleLink: The title link URL, similar to atom's related link. TitleLink string `json:"titleLink,omitempty"` + // Trashed: RFC 3339 date-time when this Post was last trashed. + Trashed string `json:"trashed,omitempty"` + // Updated: RFC 3339 date-time when this Post was last updated. Updated string `json:"updated,omitempty"` diff --git a/blogger/v3/blogger-api.json b/blogger/v3/blogger-api.json index 6e4cc81c421..b0ec5282236 100644 --- a/blogger/v3/blogger-api.json +++ b/blogger/v3/blogger-api.json @@ -1684,7 +1684,7 @@ } } }, - "revision": "20220625", + "revision": "20220727", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": { @@ -2096,6 +2096,10 @@ "description": "The title of this entity. This is the name displayed in the Admin user interface.", "type": "string" }, + "trashed": { + "description": "RFC 3339 date-time when this Page was trashed.", + "type": "string" + }, "updated": { "description": "RFC 3339 date-time when this Page was last updated.", "type": "string" @@ -2346,6 +2350,10 @@ "description": "The title link URL, similar to atom's related link.", "type": "string" }, + "trashed": { + "description": "RFC 3339 date-time when this Post was last trashed.", + "type": "string" + }, "updated": { "description": "RFC 3339 date-time when this Post was last updated.", "type": "string" diff --git a/blogger/v3/blogger-gen.go b/blogger/v3/blogger-gen.go index b2bdfb316e4..ed0bdd287e8 100644 --- a/blogger/v3/blogger-gen.go +++ b/blogger/v3/blogger-gen.go @@ -833,6 +833,9 @@ type Page struct { // Admin user interface. Title string `json:"title,omitempty"` + // Trashed: RFC 3339 date-time when this Page was trashed. + Trashed string `json:"trashed,omitempty"` + // Updated: RFC 3339 date-time when this Page was last updated. Updated string `json:"updated,omitempty"` @@ -1136,6 +1139,9 @@ type Post struct { // TitleLink: The title link URL, similar to atom's related link. TitleLink string `json:"titleLink,omitempty"` + // Trashed: RFC 3339 date-time when this Post was last trashed. + Trashed string `json:"trashed,omitempty"` + // Updated: RFC 3339 date-time when this Post was last updated. Updated string `json:"updated,omitempty"` diff --git a/calendar/v3/calendar-api.json b/calendar/v3/calendar-api.json index b4d8e318f4e..dec8b09531e 100644 --- a/calendar/v3/calendar-api.json +++ b/calendar/v3/calendar-api.json @@ -827,7 +827,7 @@ ] }, "get": { - "description": "Returns an event.", + "description": "Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter.", "httpMethod": "GET", "id": "calendar.events.get", "parameterOrder": [ @@ -1088,7 +1088,7 @@ "type": "string" }, "iCalUID": { - "description": "Specifies event ID in the iCalendar format to be included in the response. Optional.", + "description": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.", "location": "query", "type": "string" }, @@ -1485,7 +1485,7 @@ "type": "string" }, "iCalUID": { - "description": "Specifies event ID in the iCalendar format to be included in the response. Optional.", + "description": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.", "location": "query", "type": "string" }, @@ -1723,7 +1723,7 @@ } } }, - "revision": "20220520", + "revision": "20220722", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2478,7 +2478,7 @@ "calendar.events.import" ] }, - "description": "Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.\nNote that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.", + "description": "Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.\nNote that the iCalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same iCalUIDs. To retrieve an event using its iCalUID, call the events.list method using the iCalUID parameter. To retrieve an event using its id, call the events.get method.", "type": "string" }, "id": { diff --git a/calendar/v3/calendar-gen.go b/calendar/v3/calendar-gen.go index 8d1cfeaddef..818815ba448 100644 --- a/calendar/v3/calendar-gen.go +++ b/calendar/v3/calendar-gen.go @@ -1397,10 +1397,13 @@ type Event struct { // ICalUID: Event unique identifier as defined in RFC5545. It is used to // uniquely identify events accross calendaring systems and must be // supplied when importing events via the import method. - // Note that the icalUID and the id are not identical and only one of + // Note that the iCalUID and the id are not identical and only one of // them should be supplied at event creation time. One difference in // their semantics is that in recurring events, all occurrences of one - // event have different ids while they all share the same icalUIDs. + // event have different ids while they all share the same iCalUIDs. To + // retrieve an event using its iCalUID, call the events.list method + // using the iCalUID parameter. To retrieve an event using its id, call + // the events.get method. ICalUID string `json:"iCalUID,omitempty"` // Id: Opaque identifier of the event. When creating new single or @@ -5976,7 +5979,9 @@ type EventsGetCall struct { header_ http.Header } -// Get: Returns an event. +// Get: Returns an event based on its Google Calendar ID. To retrieve an +// event using its iCalendar ID, call the events.list method using the +// iCalUID parameter. // // - calendarId: Calendar identifier. To retrieve calendar IDs call the // calendarList.list method. If you want to access the primary @@ -6116,7 +6121,7 @@ func (c *EventsGetCall) Do(opts ...googleapi.CallOption) (*Event, error) { } return ret, nil // { - // "description": "Returns an event.", + // "description": "Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter.", // "httpMethod": "GET", // "id": "calendar.events.get", // "parameterOrder": [ @@ -6930,8 +6935,9 @@ func (c *EventsListCall) AlwaysIncludeEmail(alwaysIncludeEmail bool) *EventsList return c } -// ICalUID sets the optional parameter "iCalUID": Specifies event ID in -// the iCalendar format to be included in the response. +// ICalUID sets the optional parameter "iCalUID": Specifies an event ID +// in the iCalendar format to be provided in the response. Use this if +// you want to search for an event by its iCalendar ID. func (c *EventsListCall) ICalUID(iCalUID string) *EventsListCall { c.urlParams_.Set("iCalUID", iCalUID) return c @@ -7220,7 +7226,7 @@ func (c *EventsListCall) Do(opts ...googleapi.CallOption) (*Events, error) { // "type": "string" // }, // "iCalUID": { - // "description": "Specifies event ID in the iCalendar format to be included in the response. Optional.", + // "description": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.", // "location": "query", // "type": "string" // }, @@ -8306,8 +8312,9 @@ func (c *EventsWatchCall) AlwaysIncludeEmail(alwaysIncludeEmail bool) *EventsWat return c } -// ICalUID sets the optional parameter "iCalUID": Specifies event ID in -// the iCalendar format to be included in the response. +// ICalUID sets the optional parameter "iCalUID": Specifies an event ID +// in the iCalendar format to be provided in the response. Use this if +// you want to search for an event by its iCalendar ID. func (c *EventsWatchCall) ICalUID(iCalUID string) *EventsWatchCall { c.urlParams_.Set("iCalUID", iCalUID) return c @@ -8588,7 +8595,7 @@ func (c *EventsWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) { // "type": "string" // }, // "iCalUID": { - // "description": "Specifies event ID in the iCalendar format to be included in the response. Optional.", + // "description": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.", // "location": "query", // "type": "string" // }, diff --git a/cloudsupport/v2beta/cloudsupport-api.json b/cloudsupport/v2beta/cloudsupport-api.json index a3a9c000de1..2afe82a79a5 100644 --- a/cloudsupport/v2beta/cloudsupport-api.json +++ b/cloudsupport/v2beta/cloudsupport-api.json @@ -575,7 +575,7 @@ } } }, - "revision": "20220703", + "revision": "20220726", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -720,10 +720,6 @@ ], "type": "string" }, - "projectId": { - "description": "The ID of the project associated with the case.", - "type": "string" - }, "severity": { "description": "The severity of this case. Deprecated. Use priority instead.", "enum": [ diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index af01ff29d5c..1b5dc4a81ad 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -387,9 +387,6 @@ type Case struct { // fully available. Priority string `json:"priority,omitempty"` - // ProjectId: The ID of the project associated with the case. - ProjectId string `json:"projectId,omitempty"` - // Severity: The severity of this case. Deprecated. Use priority // instead. // diff --git a/firebase/v1beta1/firebase-api.json b/firebase/v1beta1/firebase-api.json index cae4d912601..bab143d5d80 100644 --- a/firebase/v1beta1/firebase-api.json +++ b/firebase/v1beta1/firebase-api.json @@ -428,7 +428,7 @@ ], "parameters": { "filter": { - "description": "A query string compatible with Google's [AIP-160](https://google.aip.dev/160) standard. Use any of the following fields in a query: * [`app_id`](../projects.apps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects.apps#FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects.apps#FirebaseAppInfo.FIELDS.platform) We also support the following \"virtual\" fields (fields which are not actually part of the returned resource object, but can be queried as if they are pre-populated with specific values): * `sha1_hash`: This field is considered to be a repeated `string` field, populated with the list of all SHA-1 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `sha256_hash`: This field is considered to be a repeated `string` field, populated with the list of all SHA-256 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `app_store_id`: This field is considered to be a singular `string` field, populated with the Apple App Store ID registered with the app. This field is empty if the app is not an iOS app. * `team_id`: This field is considered to be a singular `string` field, populated with the Apple team ID registered with the app. This field is empty if the app is not an iOS app.", + "description": "A query string compatible with Google's [AIP-160](https://google.aip.dev/160) standard. Use any of the following fields in a query: * [`app_id`](../projects.apps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects.apps#FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects.apps#FirebaseAppInfo.FIELDS.platform) We also support the following \"virtual\" fields (fields which are not actually part of the returned resource object, but can be queried as if they are pre-populated with specific values): * `sha1_hash` or `sha1_hashes`: This field is considered to be a repeated `string` field, populated with the list of all SHA-1 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `sha256_hash` or `sha256_hashes`: This field is considered to be a repeated `string` field, populated with the list of all SHA-256 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `app_store_id`: This field is considered to be a singular `string` field, populated with the Apple App Store ID registered with the app. This field is empty if the app is not an iOS app. * `team_id`: This field is considered to be a singular `string` field, populated with the Apple team ID registered with the app. This field is empty if the app is not an iOS app.", "location": "query", "type": "string" }, @@ -1225,7 +1225,7 @@ } } }, - "revision": "20220721", + "revision": "20220725", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1342,6 +1342,20 @@ "readOnly": true, "type": "string" }, + "sha1Hashes": { + "description": "The SHA1 certificate hashes for the AndroidApp.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sha256Hashes": { + "description": "The SHA256 certificate hashes for the AndroidApp.", + "items": { + "type": "string" + }, + "type": "array" + }, "state": { "description": "Output only. The lifecycle state of the App.", "enum": [ diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index dfd81353661..71efc693c61 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -504,6 +504,12 @@ type AndroidApp struct { // of the parent FirebaseProject for the `AndroidApp`. ProjectId string `json:"projectId,omitempty"` + // Sha1Hashes: The SHA1 certificate hashes for the AndroidApp. + Sha1Hashes []string `json:"sha1Hashes,omitempty"` + + // Sha256Hashes: The SHA256 certificate hashes for the AndroidApp. + Sha256Hashes []string `json:"sha256Hashes,omitempty"` + // State: Output only. The lifecycle state of the App. // // Possible values: @@ -3665,19 +3671,19 @@ func (r *ProjectsService) SearchApps(parent string) *ProjectsSearchAppsCall { // (../projects.apps#FirebaseAppInfo.FIELDS.platform) We also support // the following "virtual" fields (fields which are not actually part of // the returned resource object, but can be queried as if they are -// pre-populated with specific values): * `sha1_hash`: This field is -// considered to be a repeated `string` field, populated with the list -// of all SHA-1 certificate fingerprints registered with the app. This -// list is empty if the app is not an Android app. * `sha256_hash`: This -// field is considered to be a repeated `string` field, populated with -// the list of all SHA-256 certificate fingerprints registered with the -// app. This list is empty if the app is not an Android app. * -// `app_store_id`: This field is considered to be a singular `string` -// field, populated with the Apple App Store ID registered with the app. -// This field is empty if the app is not an iOS app. * `team_id`: This -// field is considered to be a singular `string` field, populated with -// the Apple team ID registered with the app. This field is empty if the -// app is not an iOS app. +// pre-populated with specific values): * `sha1_hash` or `sha1_hashes`: +// This field is considered to be a repeated `string` field, populated +// with the list of all SHA-1 certificate fingerprints registered with +// the app. This list is empty if the app is not an Android app. * +// `sha256_hash` or `sha256_hashes`: This field is considered to be a +// repeated `string` field, populated with the list of all SHA-256 +// certificate fingerprints registered with the app. This list is empty +// if the app is not an Android app. * `app_store_id`: This field is +// considered to be a singular `string` field, populated with the Apple +// App Store ID registered with the app. This field is empty if the app +// is not an iOS app. * `team_id`: This field is considered to be a +// singular `string` field, populated with the Apple team ID registered +// with the app. This field is empty if the app is not an iOS app. func (c *ProjectsSearchAppsCall) Filter(filter string) *ProjectsSearchAppsCall { c.urlParams_.Set("filter", filter) return c @@ -3817,7 +3823,7 @@ func (c *ProjectsSearchAppsCall) Do(opts ...googleapi.CallOption) (*SearchFireba // ], // "parameters": { // "filter": { - // "description": "A query string compatible with Google's [AIP-160](https://google.aip.dev/160) standard. Use any of the following fields in a query: * [`app_id`](../projects.apps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects.apps#FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects.apps#FirebaseAppInfo.FIELDS.platform) We also support the following \"virtual\" fields (fields which are not actually part of the returned resource object, but can be queried as if they are pre-populated with specific values): * `sha1_hash`: This field is considered to be a repeated `string` field, populated with the list of all SHA-1 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `sha256_hash`: This field is considered to be a repeated `string` field, populated with the list of all SHA-256 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `app_store_id`: This field is considered to be a singular `string` field, populated with the Apple App Store ID registered with the app. This field is empty if the app is not an iOS app. * `team_id`: This field is considered to be a singular `string` field, populated with the Apple team ID registered with the app. This field is empty if the app is not an iOS app.", + // "description": "A query string compatible with Google's [AIP-160](https://google.aip.dev/160) standard. Use any of the following fields in a query: * [`app_id`](../projects.apps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects.apps#FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects.apps#FirebaseAppInfo.FIELDS.platform) We also support the following \"virtual\" fields (fields which are not actually part of the returned resource object, but can be queried as if they are pre-populated with specific values): * `sha1_hash` or `sha1_hashes`: This field is considered to be a repeated `string` field, populated with the list of all SHA-1 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `sha256_hash` or `sha256_hashes`: This field is considered to be a repeated `string` field, populated with the list of all SHA-256 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `app_store_id`: This field is considered to be a singular `string` field, populated with the Apple App Store ID registered with the app. This field is empty if the app is not an iOS app. * `team_id`: This field is considered to be a singular `string` field, populated with the Apple team ID registered with the app. This field is empty if the app is not an iOS app.", // "location": "query", // "type": "string" // }, diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json index f454f531e3c..4e9e5513636 100644 --- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json +++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json @@ -148,7 +148,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. How many accounts to fetch per page. The minimum supported page_size is 2. The default and maximum is 20.", + "description": "Optional. How many accounts to fetch per page. The default and maximum is 20.", "format": "int32", "location": "query", "type": "integer" @@ -530,7 +530,7 @@ } } }, - "revision": "20220712", + "revision": "20220727", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { @@ -659,7 +659,7 @@ "id": "Admin", "properties": { "account": { - "description": "Immutable. The name of the Account resource that this Admin refers to. Used when calling CreateAccountAdmin or CreateLocationAdmin to invite UserGroups or LocationGroups as admins, respectively. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.", + "description": "Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.", "type": "string" }, "admin": { diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go index 6714cbd97f4..5154a3c0f72 100644 --- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go +++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go @@ -307,11 +307,10 @@ func (s *Account) MarshalJSON() ([]byte, error) { // Admin: An administrator of an Account or a location. type Admin struct { // Account: Immutable. The name of the Account resource that this Admin - // refers to. Used when calling CreateAccountAdmin or - // CreateLocationAdmin to invite UserGroups or LocationGroups as admins, - // respectively. If both this field and `admin` are set on `CREATE` - // requests, this field takes precedence and the email address in - // `admin` will be ignored. Format: `accounts/{account}`. + // refers to. Used when calling locations.admins.create to invite a + // LocationGroup as an admin. If both this field and `admin` are set on + // `CREATE` requests, this field takes precedence and the email address + // in `admin` will be ignored. Format: `accounts/{account}`. Account string `json:"account,omitempty"` // Admin: Optional. The name of the admin. When making the initial @@ -1109,8 +1108,7 @@ func (c *AccountsListCall) Filter(filter string) *AccountsListCall { } // PageSize sets the optional parameter "pageSize": How many accounts to -// fetch per page. The minimum supported page_size is 2. The default and -// maximum is 20. +// fetch per page. The default and maximum is 20. func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -1243,7 +1241,7 @@ func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*ListAccountsRespon // "type": "string" // }, // "pageSize": { - // "description": "Optional. How many accounts to fetch per page. The minimum supported page_size is 2. The default and maximum is 20.", + // "description": "Optional. How many accounts to fetch per page. The default and maximum is 20.", // "format": "int32", // "location": "query", // "type": "integer" diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json b/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json index 95eb43fef25..13ec31ef379 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json @@ -718,7 +718,7 @@ } } }, - "revision": "20220720", + "revision": "20220726", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1alpha1Anomaly": { @@ -752,7 +752,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet": { - "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", + "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", "id": "GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet", "properties": { "freshnessInfo": { @@ -767,7 +767,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet": { - "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet", "properties": { "freshnessInfo": { @@ -806,7 +806,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet": { - "description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet", "properties": { "freshnessInfo": { @@ -887,7 +887,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet": { - "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet", "properties": { "freshnessInfo": { @@ -1017,7 +1017,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1073,7 +1073,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1129,7 +1129,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1185,7 +1185,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1241,7 +1241,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1329,7 +1329,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet": { - "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. If your app exhibits a stuck background wakelocks rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. If your app exhibits a stuck background wakelocks rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet", "properties": { "freshnessInfo": { diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go index bcff68d0018..f147c3de599 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go @@ -327,11 +327,28 @@ func (s *GooglePlayDeveloperReportingV1alpha1Anomaly) MarshalJSON() ([]byte, err // form factor) of the user's device. * `countryCode` (string): the // country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. **Related metric sets:** * vitals.errors contains -// unnormalized version (absolute counts) of crashes. * vitals.errors -// contains normalized metrics about crashes, another stability metric. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. **Related +// metric sets:** * vitals.errors contains unnormalized version +// (absolute counts) of crashes. * vitals.errors contains normalized +// metrics about crashes, another stability metric. type GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` @@ -396,11 +413,28 @@ func (s *GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet) MarshalJSON() ([] // known as form factor) of the user's device. * `countryCode` (string): // the country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. **Related metric sets:** * vitals.errors contains -// unnormalized version (absolute counts) of crashes. * vitals.errors -// contains normalized metrics about ANRs, another stability metric. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. **Related +// metric sets:** * vitals.errors contains unnormalized version +// (absolute counts) of crashes. * vitals.errors contains normalized +// metrics about ANRs, another stability metric. type GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` @@ -499,7 +533,24 @@ func (s *GooglePlayDeveloperReportingV1alpha1DimensionValue) MarshalJSON() ([]by // identifier of the user's device model. * `deviceType` (string): // identifier of the device's form factor, e.g., PHONE. * `issueId` // (string): the id an error was assigned to. The value should -// correspond to the `{issue}` component of the issue name. **Required +// correspond to the `{issue}` component of the issue name. * +// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, +// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary +// system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required // permissions**: to access this resource, the calling user needs the // _View app information (read-only)_ permission for the app. **Related // metric sets:** * vitals.errors.counts contains normalized metrics @@ -698,9 +749,25 @@ func (s *GooglePlayDeveloperReportingV1alpha1ErrorReport) MarshalJSON() ([]byte, // form factor) of the user's device. * `countryCode` (string): the // country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. type GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` @@ -939,7 +1006,24 @@ type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest struct { // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1053,7 +1137,24 @@ type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest struct { // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1168,7 +1269,24 @@ type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest struct // PHONE. * `reportType` (string): the type of error. The value should // correspond to one of the possible values in ErrorType. * `issueId` // (string): the id an error was assigned to. The value should - // correspond to the `{issue}` component of the issue name. + // correspond to the `{issue}` component of the issue name. * + // `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, + // 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1272,7 +1390,24 @@ type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetReques // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1389,7 +1524,24 @@ type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricS // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1603,9 +1755,25 @@ func (s *GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse) Marshal // form factor) of the user's device. * `countryCode` (string): the // country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. type GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json b/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json index 01db687d6c7..39c157fdb23 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json @@ -347,7 +347,7 @@ } } }, - "revision": "20220720", + "revision": "20220726", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1beta1Anomaly": { @@ -381,7 +381,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1AnrRateMetricSet": { - "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", + "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", "id": "GooglePlayDeveloperReportingV1beta1AnrRateMetricSet", "properties": { "freshnessInfo": { @@ -396,7 +396,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1CrashRateMetricSet": { - "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1beta1CrashRateMetricSet", "properties": { "freshnessInfo": { @@ -435,7 +435,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet": { - "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet", "properties": { "freshnessInfo": { @@ -565,7 +565,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -621,7 +621,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -677,7 +677,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -733,7 +733,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -785,7 +785,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet": { - "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. If your app exhibits a stuck background wakelocks rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. If your app exhibits a stuck background wakelocks rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet", "properties": { "freshnessInfo": { diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go index 787a192e404..8405690c0fb 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go @@ -279,11 +279,28 @@ func (s *GooglePlayDeveloperReportingV1beta1Anomaly) MarshalJSON() ([]byte, erro // form factor) of the user's device. * `countryCode` (string): the // country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. **Related metric sets:** * vitals.errors contains -// unnormalized version (absolute counts) of crashes. * vitals.errors -// contains normalized metrics about crashes, another stability metric. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. **Related +// metric sets:** * vitals.errors contains unnormalized version +// (absolute counts) of crashes. * vitals.errors contains normalized +// metrics about crashes, another stability metric. type GooglePlayDeveloperReportingV1beta1AnrRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1beta1FreshnessInfo `json:"freshnessInfo,omitempty"` @@ -348,11 +365,28 @@ func (s *GooglePlayDeveloperReportingV1beta1AnrRateMetricSet) MarshalJSON() ([]b // known as form factor) of the user's device. * `countryCode` (string): // the country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. **Related metric sets:** * vitals.errors contains -// unnormalized version (absolute counts) of crashes. * vitals.errors -// contains normalized metrics about ANRs, another stability metric. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. **Related +// metric sets:** * vitals.errors contains unnormalized version +// (absolute counts) of crashes. * vitals.errors contains normalized +// metrics about ANRs, another stability metric. type GooglePlayDeveloperReportingV1beta1CrashRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1beta1FreshnessInfo `json:"freshnessInfo,omitempty"` @@ -463,9 +497,25 @@ func (s *GooglePlayDeveloperReportingV1beta1DimensionValue) MarshalJSON() ([]byt // form factor) of the user's device. * `countryCode` (string): the // country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. type GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1beta1FreshnessInfo `json:"freshnessInfo,omitempty"` @@ -704,7 +754,24 @@ type GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest struct { // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -818,7 +885,24 @@ type GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest struct { // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -932,7 +1016,24 @@ type GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1049,7 +1150,24 @@ type GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSe // `deviceType` (string): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). + // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` + // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * + // `deviceSocMake` (string): Make of the device's primary + // system-on-chip, e.g., Samsung. Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) + // * `deviceSocModel` (string): Model of the device's primary + // system-on-chip, e.g., "Exynos 2100". Reference + // (https://developer.android.com/reference/android/os/Build#SOC_MODEL) + // * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. + // * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo + // 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., + // ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., + // Mali. * `deviceGpuVersion` (string): Version of the device's GPU, + // e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the + // device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES + // version of the device, e.g., "196610". * `deviceScreenSize` (string): + // Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` + // (string): Screen density of the device, e.g., mdpi, hdpi. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows @@ -1190,9 +1308,25 @@ func (s *GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetr // form factor) of the user's device. * `countryCode` (string): the // country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United -// States). **Required permissions**: to access this resource, the -// calling user needs the _View app information (read-only)_ permission -// for the app. +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) +// * `deviceSocModel` (string): Model of the device's primary +// system-on-chip, e.g., "Exynos 2100". Reference +// (https://developer.android.com/reference/android/os/Build#SOC_MODEL) +// * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. +// * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo +// 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., +// ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., +// Mali. * `deviceGpuVersion` (string): Version of the device's GPU, +// e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the +// device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES +// version of the device, e.g., "196610". * `deviceScreenSize` (string): +// Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` +// (string): Screen density of the device, e.g., mdpi, hdpi. **Required +// permissions**: to access this resource, the calling user needs the +// _View app information (read-only)_ permission for the app. type GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1beta1FreshnessInfo `json:"freshnessInfo,omitempty"` diff --git a/pubsub/v1/pubsub-api.json b/pubsub/v1/pubsub-api.json index d64ffbb36fc..d4e010f2613 100644 --- a/pubsub/v1/pubsub-api.json +++ b/pubsub/v1/pubsub-api.json @@ -950,7 +950,7 @@ ] }, "pull": { - "description": "Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.", + "description": "Pulls messages from the server.", "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", "httpMethod": "POST", "id": "pubsub.projects.subscriptions.pull", @@ -1424,7 +1424,7 @@ } } }, - "revision": "20220524", + "revision": "20220718", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index 056a425ef0f..a6f88e1b5d7 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -6465,9 +6465,7 @@ type ProjectsSubscriptionsPullCall struct { header_ http.Header } -// Pull: Pulls messages from the server. The server may return -// `UNAVAILABLE` if there are too many concurrent pull requests pending -// for the given subscription. +// Pull: Pulls messages from the server. // // - subscription: The subscription from which messages should be // pulled. Format is `projects/{project}/subscriptions/{sub}`. @@ -6569,7 +6567,7 @@ func (c *ProjectsSubscriptionsPullCall) Do(opts ...googleapi.CallOption) (*PullR } return ret, nil // { - // "description": "Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.", + // "description": "Pulls messages from the server.", // "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", // "httpMethod": "POST", // "id": "pubsub.projects.subscriptions.pull", diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 50c68ec94a4..2dbb3c9b0af 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -1193,7 +1193,7 @@ } } }, - "revision": "20220716", + "revision": "20220722", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3323,6 +3323,21 @@ "properties": {}, "type": "object" }, + "GoogleCloudRetailV2alphaBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudRetailV2alphaBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaCreateModelMetadata": { "description": "Metadata associated with a create operation.", "id": "GoogleCloudRetailV2alphaCreateModelMetadata", @@ -3376,6 +3391,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2alphaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3394,6 +3413,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2alphaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3575,6 +3598,14 @@ ], "type": "string" }, + "servingConfigLists": { + "description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", + "items": { + "$ref": "GoogleCloudRetailV2alphaModelServingConfigList" + }, + "readOnly": true, + "type": "array" + }, "servingState": { "description": "Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.", "enum": [ @@ -3693,6 +3724,34 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaModelServingConfigList": { + "description": "Represents an ordered combination of valid serving configs, which / may be used for PAGE_OPTIMIZATION recommendations.", + "id": "GoogleCloudRetailV2alphaModelServingConfigList", + "properties": { + "servingConfigIds": { + "description": "Optional. A set of valid serving configs that may be used for PAGE_OPTIMIZATION.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2alphaOutputResult": { + "description": "Output result.", + "id": "GoogleCloudRetailV2alphaOutputResult", + "properties": { + "bigqueryResult": { + "description": "Export result in BigQuery.", + "items": { + "$ref": "GoogleCloudRetailV2alphaBigQueryOutputResult" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaPurgeMetadata": { "description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudRetailV2alphaPurgeMetadata", @@ -3869,6 +3928,21 @@ "properties": {}, "type": "object" }, + "GoogleCloudRetailV2betaBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudRetailV2betaBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaExportErrorsConfig": { "description": "Configuration of destination for Export related errors.", "id": "GoogleCloudRetailV2betaExportErrorsConfig", @@ -3911,6 +3985,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2betaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2betaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3929,6 +4007,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2betaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2betaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -4033,6 +4115,20 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaOutputResult": { + "description": "Output result.", + "id": "GoogleCloudRetailV2betaOutputResult", + "properties": { + "bigqueryResult": { + "description": "Export result in BigQuery.", + "items": { + "$ref": "GoogleCloudRetailV2betaBigQueryOutputResult" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaPurgeMetadata": { "description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudRetailV2betaPurgeMetadata", diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index bead4628696..e755f5b6aa9 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -4599,6 +4599,38 @@ type GoogleCloudRetailV2alphaAddLocalInventoriesMetadata struct { type GoogleCloudRetailV2alphaAddLocalInventoriesResponse struct { } +// GoogleCloudRetailV2alphaBigQueryOutputResult: A BigQuery output +// result. +type GoogleCloudRetailV2alphaBigQueryOutputResult struct { + // DatasetId: The ID of a BigQuery Dataset. + DatasetId string `json:"datasetId,omitempty"` + + // TableId: The ID of a BigQuery Table. + TableId string `json:"tableId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DatasetId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaBigQueryOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaBigQueryOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2alphaCreateModelMetadata: Metadata associated with // a create operation. type GoogleCloudRetailV2alphaCreateModelMetadata struct { @@ -4710,6 +4742,10 @@ type GoogleCloudRetailV2alphaExportProductsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2alphaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2alphaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4746,6 +4782,10 @@ type GoogleCloudRetailV2alphaExportUserEventsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2alphaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2alphaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -5043,6 +5083,10 @@ type GoogleCloudRetailV2alphaModel struct { // method. PeriodicTuningState string `json:"periodicTuningState,omitempty"` + // ServingConfigLists: Output only. The list of valid serving configs + // associated with the PageOptimizationConfig. + ServingConfigLists []*GoogleCloudRetailV2alphaModelServingConfigList `json:"servingConfigLists,omitempty"` + // ServingState: Output only. The serving state of the model: ACTIVE, // NOT_ACTIVE. // @@ -5286,6 +5330,67 @@ func (s *GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2alphaModelServingConfigList: Represents an ordered +// combination of valid serving configs, which / may be used for +// PAGE_OPTIMIZATION recommendations. +type GoogleCloudRetailV2alphaModelServingConfigList struct { + // ServingConfigIds: Optional. A set of valid serving configs that may + // be used for PAGE_OPTIMIZATION. + ServingConfigIds []string `json:"servingConfigIds,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ServingConfigIds") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ServingConfigIds") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaModelServingConfigList) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaModelServingConfigList + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudRetailV2alphaOutputResult: Output result. +type GoogleCloudRetailV2alphaOutputResult struct { + // BigqueryResult: Export result in BigQuery. + BigqueryResult []*GoogleCloudRetailV2alphaBigQueryOutputResult `json:"bigqueryResult,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BigqueryResult") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BigqueryResult") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2alphaPurgeMetadata: Metadata related to the // progress of the Purge operation. This will be returned by the // google.longrunning.Operation.metadata field. @@ -5582,6 +5687,38 @@ type GoogleCloudRetailV2betaAddLocalInventoriesMetadata struct { type GoogleCloudRetailV2betaAddLocalInventoriesResponse struct { } +// GoogleCloudRetailV2betaBigQueryOutputResult: A BigQuery output +// result. +type GoogleCloudRetailV2betaBigQueryOutputResult struct { + // DatasetId: The ID of a BigQuery Dataset. + DatasetId string `json:"datasetId,omitempty"` + + // TableId: The ID of a BigQuery Table. + TableId string `json:"tableId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DatasetId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2betaBigQueryOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2betaBigQueryOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2betaExportErrorsConfig: Configuration of // destination for Export related errors. type GoogleCloudRetailV2betaExportErrorsConfig struct { @@ -5661,6 +5798,10 @@ type GoogleCloudRetailV2betaExportProductsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2betaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2betaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -5697,6 +5838,10 @@ type GoogleCloudRetailV2betaExportUserEventsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2betaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2betaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -5913,6 +6058,35 @@ func (s *GoogleCloudRetailV2betaImportUserEventsResponse) MarshalJSON() ([]byte, return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2betaOutputResult: Output result. +type GoogleCloudRetailV2betaOutputResult struct { + // BigqueryResult: Export result in BigQuery. + BigqueryResult []*GoogleCloudRetailV2betaBigQueryOutputResult `json:"bigqueryResult,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BigqueryResult") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BigqueryResult") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2betaOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2betaOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2betaPurgeMetadata: Metadata related to the // progress of the Purge operation. This will be returned by the // google.longrunning.Operation.metadata field. diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 8fc946d881a..122610e1d39 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -2019,7 +2019,7 @@ } } }, - "revision": "20220716", + "revision": "20220722", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2540,6 +2540,21 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudRetailV2alphaBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaBigQuerySource": { "description": "BigQuery source import data from.", "id": "GoogleCloudRetailV2alphaBigQuerySource", @@ -3030,6 +3045,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2alphaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3048,6 +3067,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2alphaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3578,6 +3601,14 @@ ], "type": "string" }, + "servingConfigLists": { + "description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", + "items": { + "$ref": "GoogleCloudRetailV2alphaModelServingConfigList" + }, + "readOnly": true, + "type": "array" + }, "servingState": { "description": "Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.", "enum": [ @@ -3696,6 +3727,34 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaModelServingConfigList": { + "description": "Represents an ordered combination of valid serving configs, which / may be used for PAGE_OPTIMIZATION recommendations.", + "id": "GoogleCloudRetailV2alphaModelServingConfigList", + "properties": { + "servingConfigIds": { + "description": "Optional. A set of valid serving configs that may be used for PAGE_OPTIMIZATION.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2alphaOutputResult": { + "description": "Output result.", + "id": "GoogleCloudRetailV2alphaOutputResult", + "properties": { + "bigqueryResult": { + "description": "Export result in BigQuery.", + "items": { + "$ref": "GoogleCloudRetailV2alphaBigQueryOutputResult" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaPauseModelRequest": { "description": "Request for pausing training of a model.", "id": "GoogleCloudRetailV2alphaPauseModelRequest", @@ -5500,6 +5559,21 @@ "properties": {}, "type": "object" }, + "GoogleCloudRetailV2betaBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudRetailV2betaBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaExportErrorsConfig": { "description": "Configuration of destination for Export related errors.", "id": "GoogleCloudRetailV2betaExportErrorsConfig", @@ -5542,6 +5616,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2betaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2betaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -5560,6 +5638,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2betaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2betaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -5664,6 +5746,20 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaOutputResult": { + "description": "Output result.", + "id": "GoogleCloudRetailV2betaOutputResult", + "properties": { + "bigqueryResult": { + "description": "Export result in BigQuery.", + "items": { + "$ref": "GoogleCloudRetailV2betaBigQueryOutputResult" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaPurgeMetadata": { "description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudRetailV2betaPurgeMetadata", diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index b1340db3f91..7453c74a2c4 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -1299,6 +1299,38 @@ func (s *GoogleCloudRetailV2alphaAudience) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2alphaBigQueryOutputResult: A BigQuery output +// result. +type GoogleCloudRetailV2alphaBigQueryOutputResult struct { + // DatasetId: The ID of a BigQuery Dataset. + DatasetId string `json:"datasetId,omitempty"` + + // TableId: The ID of a BigQuery Table. + TableId string `json:"tableId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DatasetId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaBigQueryOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaBigQueryOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2alphaBigQuerySource: BigQuery source import data // from. type GoogleCloudRetailV2alphaBigQuerySource struct { @@ -2218,6 +2250,10 @@ type GoogleCloudRetailV2alphaExportProductsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2alphaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2alphaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -2254,6 +2290,10 @@ type GoogleCloudRetailV2alphaExportUserEventsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2alphaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2alphaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3281,6 +3321,10 @@ type GoogleCloudRetailV2alphaModel struct { // method. PeriodicTuningState string `json:"periodicTuningState,omitempty"` + // ServingConfigLists: Output only. The list of valid serving configs + // associated with the PageOptimizationConfig. + ServingConfigLists []*GoogleCloudRetailV2alphaModelServingConfigList `json:"servingConfigLists,omitempty"` + // ServingState: Output only. The serving state of the model: ACTIVE, // NOT_ACTIVE. // @@ -3528,6 +3572,67 @@ func (s *GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2alphaModelServingConfigList: Represents an ordered +// combination of valid serving configs, which / may be used for +// PAGE_OPTIMIZATION recommendations. +type GoogleCloudRetailV2alphaModelServingConfigList struct { + // ServingConfigIds: Optional. A set of valid serving configs that may + // be used for PAGE_OPTIMIZATION. + ServingConfigIds []string `json:"servingConfigIds,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ServingConfigIds") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ServingConfigIds") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaModelServingConfigList) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaModelServingConfigList + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudRetailV2alphaOutputResult: Output result. +type GoogleCloudRetailV2alphaOutputResult struct { + // BigqueryResult: Export result in BigQuery. + BigqueryResult []*GoogleCloudRetailV2alphaBigQueryOutputResult `json:"bigqueryResult,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BigqueryResult") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BigqueryResult") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2alphaPauseModelRequest: Request for pausing // training of a model. type GoogleCloudRetailV2alphaPauseModelRequest struct { @@ -7077,6 +7182,38 @@ type GoogleCloudRetailV2betaAddLocalInventoriesMetadata struct { type GoogleCloudRetailV2betaAddLocalInventoriesResponse struct { } +// GoogleCloudRetailV2betaBigQueryOutputResult: A BigQuery output +// result. +type GoogleCloudRetailV2betaBigQueryOutputResult struct { + // DatasetId: The ID of a BigQuery Dataset. + DatasetId string `json:"datasetId,omitempty"` + + // TableId: The ID of a BigQuery Table. + TableId string `json:"tableId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DatasetId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2betaBigQueryOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2betaBigQueryOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2betaExportErrorsConfig: Configuration of // destination for Export related errors. type GoogleCloudRetailV2betaExportErrorsConfig struct { @@ -7156,6 +7293,10 @@ type GoogleCloudRetailV2betaExportProductsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2betaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2betaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -7192,6 +7333,10 @@ type GoogleCloudRetailV2betaExportUserEventsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2betaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2betaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -7408,6 +7553,35 @@ func (s *GoogleCloudRetailV2betaImportUserEventsResponse) MarshalJSON() ([]byte, return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2betaOutputResult: Output result. +type GoogleCloudRetailV2betaOutputResult struct { + // BigqueryResult: Export result in BigQuery. + BigqueryResult []*GoogleCloudRetailV2betaBigQueryOutputResult `json:"bigqueryResult,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BigqueryResult") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BigqueryResult") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2betaOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2betaOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2betaPurgeMetadata: Metadata related to the // progress of the Purge operation. This will be returned by the // google.longrunning.Operation.metadata field. diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index e3d4581a280..b7b6aa45b8f 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -1770,7 +1770,7 @@ } } }, - "revision": "20220716", + "revision": "20220722", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2160,6 +2160,21 @@ "properties": {}, "type": "object" }, + "GoogleCloudRetailV2alphaBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudRetailV2alphaBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaCreateModelMetadata": { "description": "Metadata associated with a create operation.", "id": "GoogleCloudRetailV2alphaCreateModelMetadata", @@ -2213,6 +2228,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2alphaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -2231,6 +2250,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2alphaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -2412,6 +2435,14 @@ ], "type": "string" }, + "servingConfigLists": { + "description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", + "items": { + "$ref": "GoogleCloudRetailV2alphaModelServingConfigList" + }, + "readOnly": true, + "type": "array" + }, "servingState": { "description": "Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.", "enum": [ @@ -2530,6 +2561,34 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaModelServingConfigList": { + "description": "Represents an ordered combination of valid serving configs, which / may be used for PAGE_OPTIMIZATION recommendations.", + "id": "GoogleCloudRetailV2alphaModelServingConfigList", + "properties": { + "servingConfigIds": { + "description": "Optional. A set of valid serving configs that may be used for PAGE_OPTIMIZATION.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2alphaOutputResult": { + "description": "Output result.", + "id": "GoogleCloudRetailV2alphaOutputResult", + "properties": { + "bigqueryResult": { + "description": "Export result in BigQuery.", + "items": { + "$ref": "GoogleCloudRetailV2alphaBigQueryOutputResult" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaPurgeMetadata": { "description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudRetailV2alphaPurgeMetadata", @@ -2837,6 +2896,21 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudRetailV2betaBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaBigQuerySource": { "description": "BigQuery source import data from.", "id": "GoogleCloudRetailV2betaBigQuerySource", @@ -3316,6 +3390,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2betaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2betaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3334,6 +3412,10 @@ "errorsConfig": { "$ref": "GoogleCloudRetailV2betaExportErrorsConfig", "description": "This field is never set." + }, + "outputResult": { + "$ref": "GoogleCloudRetailV2betaOutputResult", + "description": "Output result indicating where the data were exported to." } }, "type": "object" @@ -3760,6 +3842,20 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaOutputResult": { + "description": "Output result.", + "id": "GoogleCloudRetailV2betaOutputResult", + "properties": { + "bigqueryResult": { + "description": "Export result in BigQuery.", + "items": { + "$ref": "GoogleCloudRetailV2betaBigQueryOutputResult" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaPredictRequest": { "description": "Request message for Predict method.", "id": "GoogleCloudRetailV2betaPredictRequest", diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index e11ba13bd07..fa685ba0b64 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -1008,6 +1008,38 @@ type GoogleCloudRetailV2alphaAddLocalInventoriesMetadata struct { type GoogleCloudRetailV2alphaAddLocalInventoriesResponse struct { } +// GoogleCloudRetailV2alphaBigQueryOutputResult: A BigQuery output +// result. +type GoogleCloudRetailV2alphaBigQueryOutputResult struct { + // DatasetId: The ID of a BigQuery Dataset. + DatasetId string `json:"datasetId,omitempty"` + + // TableId: The ID of a BigQuery Table. + TableId string `json:"tableId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DatasetId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaBigQueryOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaBigQueryOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2alphaCreateModelMetadata: Metadata associated with // a create operation. type GoogleCloudRetailV2alphaCreateModelMetadata struct { @@ -1119,6 +1151,10 @@ type GoogleCloudRetailV2alphaExportProductsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2alphaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2alphaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -1155,6 +1191,10 @@ type GoogleCloudRetailV2alphaExportUserEventsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2alphaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2alphaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -1452,6 +1492,10 @@ type GoogleCloudRetailV2alphaModel struct { // method. PeriodicTuningState string `json:"periodicTuningState,omitempty"` + // ServingConfigLists: Output only. The list of valid serving configs + // associated with the PageOptimizationConfig. + ServingConfigLists []*GoogleCloudRetailV2alphaModelServingConfigList `json:"servingConfigLists,omitempty"` + // ServingState: Output only. The serving state of the model: ACTIVE, // NOT_ACTIVE. // @@ -1695,6 +1739,67 @@ func (s *GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2alphaModelServingConfigList: Represents an ordered +// combination of valid serving configs, which / may be used for +// PAGE_OPTIMIZATION recommendations. +type GoogleCloudRetailV2alphaModelServingConfigList struct { + // ServingConfigIds: Optional. A set of valid serving configs that may + // be used for PAGE_OPTIMIZATION. + ServingConfigIds []string `json:"servingConfigIds,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ServingConfigIds") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ServingConfigIds") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaModelServingConfigList) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaModelServingConfigList + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudRetailV2alphaOutputResult: Output result. +type GoogleCloudRetailV2alphaOutputResult struct { + // BigqueryResult: Export result in BigQuery. + BigqueryResult []*GoogleCloudRetailV2alphaBigQueryOutputResult `json:"bigqueryResult,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BigqueryResult") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BigqueryResult") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2alphaOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2alphaOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2alphaPurgeMetadata: Metadata related to the // progress of the Purge operation. This will be returned by the // google.longrunning.Operation.metadata field. @@ -2270,6 +2375,38 @@ func (s *GoogleCloudRetailV2betaAudience) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2betaBigQueryOutputResult: A BigQuery output +// result. +type GoogleCloudRetailV2betaBigQueryOutputResult struct { + // DatasetId: The ID of a BigQuery Dataset. + DatasetId string `json:"datasetId,omitempty"` + + // TableId: The ID of a BigQuery Table. + TableId string `json:"tableId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DatasetId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2betaBigQueryOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2betaBigQueryOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2betaBigQuerySource: BigQuery source import data // from. type GoogleCloudRetailV2betaBigQuerySource struct { @@ -3156,6 +3293,10 @@ type GoogleCloudRetailV2betaExportProductsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2betaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2betaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3192,6 +3333,10 @@ type GoogleCloudRetailV2betaExportUserEventsResponse struct { // ErrorsConfig: This field is never set. ErrorsConfig *GoogleCloudRetailV2betaExportErrorsConfig `json:"errorsConfig,omitempty"` + // OutputResult: Output result indicating where the data were exported + // to. + OutputResult *GoogleCloudRetailV2betaOutputResult `json:"outputResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4087,6 +4232,35 @@ func (s *GoogleCloudRetailV2betaMerchantCenterLinkingConfig) MarshalJSON() ([]by return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRetailV2betaOutputResult: Output result. +type GoogleCloudRetailV2betaOutputResult struct { + // BigqueryResult: Export result in BigQuery. + BigqueryResult []*GoogleCloudRetailV2betaBigQueryOutputResult `json:"bigqueryResult,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BigqueryResult") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BigqueryResult") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudRetailV2betaOutputResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRetailV2betaOutputResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRetailV2betaPredictRequest: Request message for Predict // method. type GoogleCloudRetailV2betaPredictRequest struct { diff --git a/spanner/v1/spanner-api.json b/spanner/v1/spanner-api.json index a16ad77385e..2e0f9d9c19b 100644 --- a/spanner/v1/spanner-api.json +++ b/spanner/v1/spanner-api.json @@ -3130,6 +3130,39 @@ }, "type": "object" }, + "FreeInstanceMetadata": { + "description": "Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.", + "id": "FreeInstanceMetadata", + "properties": { + "expireBehavior": { + "description": "Specifies the expiration behavior of a free instance. The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or after creation, and before expiration.", + "enum": [ + "EXPIRE_BEHAVIOR_UNSPECIFIED", + "FREE_TO_PROVISIONED", + "REMOVE_AFTER_GRACE_PERIOD" + ], + "enumDescriptions": [ + "Not specified.", + "When the free instance expires, upgrade the instance to a provisioned instance.", + "When the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded." + ], + "type": "string" + }, + "expireTime": { + "description": "Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "upgradeTime": { + "description": "Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GetDatabaseDdlResponse": { "description": "The response for GetDatabaseDdl.", "id": "GetDatabaseDdlResponse", @@ -3221,6 +3254,24 @@ }, "type": "array" }, + "freeInstanceMetadata": { + "$ref": "FreeInstanceMetadata", + "description": "Free instance metadata. Only populated for free instances." + }, + "instanceType": { + "description": "The `InstanceType` of the current instance.", + "enum": [ + "INSTANCE_TYPE_UNSPECIFIED", + "PROVISIONED", + "FREE_INSTANCE" + ], + "enumDescriptions": [ + "Not specified.", + "Provisioned instances have dedicated resources, standard usage limits and support.", + "Free instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support." + ], + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" @@ -3274,6 +3325,25 @@ "description": "The name of this instance configuration as it appears in UIs.", "type": "string" }, + "freeInstanceAvailability": { + "description": "Output only. Describes whether free instances are available to be created in this instance config.", + "enum": [ + "FREE_INSTANCE_AVAILABILITY_UNSPECIFIED", + "AVAILABLE", + "UNSUPPORTED", + "DISABLED", + "QUOTA_EXCEEDED" + ], + "enumDescriptions": [ + "Not specified.", + "Indicates that free instances are available to be created in this instance config.", + "Indicates that free instances are not supported in this instance config.", + "Indicates that free instances are currently not available to be created in this instance config.", + "Indicates that additional free instances cannot be created in this instance config because the project has reached its limit of free instances." + ], + "readOnly": true, + "type": "string" + }, "leaderOptions": { "description": "Allowed values of the \"default_leader\" schema option for databases in instances that use this instance configuration.", "items": { @@ -3859,7 +3929,7 @@ "description": "Query plan and execution statistics for the statement that produced this streaming result set. These can be requested by setting ExecuteSqlRequest.query_mode and are sent only once with the last response in the stream. This field will also be present in the last response for DML statements." }, "values": { - "description": "A streamed result set consists of a stream of values, which might be split into many `PartialResultSet` messages to accommodate large rows and/or large values. Every N complete values defines a row, where N is equal to the number of entries in metadata.row_type.fields. Most values are encoded based on type as described here. It is possible that the last value in values is \"chunked\", meaning that the rest of the value is sent in subsequent `PartialResultSet`(s). This is denoted by the chunked_value field. Two or more chunked values can be merged to form a complete value as follows: * `bool/number/null`: cannot be chunked * `string`: concatenate the strings * `list`: concatenate the lists. If the last element in a list is a `string`, `list`, or `object`, merge it with the first element in the next list by applying these rules recursively. * `object`: concatenate the (field name, field value) pairs. If a field name is duplicated, then apply these rules recursively to merge the field values. Some examples of merging: # Strings are concatenated. \"foo\", \"bar\" =\u003e \"foobar\" # Lists of non-strings are concatenated. [2, 3], [4] =\u003e [2, 3, 4] # Lists are concatenated, but the last and first elements are merged # because they are strings. [\"a\", \"b\"], [\"c\", \"d\"] =\u003e [\"a\", \"bc\", \"d\"] # Lists are concatenated, but the last and first elements are merged # because they are lists. Recursively, the last and first elements # of the inner lists are merged because they are strings. [\"a\", [\"b\", \"c\"]], [[\"d\"], \"e\"] =\u003e [\"a\", [\"b\", \"cd\"], \"e\"] # Non-overlapping object fields are combined. {\"a\": \"1\"}, {\"b\": \"2\"} =\u003e {\"a\": \"1\", \"b\": 2\"} # Overlapping object fields are merged. {\"a\": \"1\"}, {\"a\": \"2\"} =\u003e {\"a\": \"12\"} # Examples of merging objects containing lists of strings. {\"a\": [\"1\"]}, {\"a\": [\"2\"]} =\u003e {\"a\": [\"12\"]} For a more complete example, suppose a streaming SQL query is yielding a result set whose rows contain a single string field. The following `PartialResultSet`s might be yielded: { \"metadata\": { ... } \"values\": [\"Hello\", \"W\"] \"chunked_value\": true \"resume_token\": \"Af65...\" } { \"values\": [\"orl\"] \"chunked_value\": true \"resume_token\": \"Bqp2...\" } { \"values\": [\"d\"] \"resume_token\": \"Zx1B...\" } This sequence of `PartialResultSet`s encodes two rows, one containing the field value `\"Hello\"`, and a second containing the field value `\"World\" = \"W\" + \"orl\" + \"d\"`.", + "description": "A streamed result set consists of a stream of values, which might be split into many `PartialResultSet` messages to accommodate large rows and/or large values. Every N complete values defines a row, where N is equal to the number of entries in metadata.row_type.fields. Most values are encoded based on type as described here. It is possible that the last value in values is \"chunked\", meaning that the rest of the value is sent in subsequent `PartialResultSet`(s). This is denoted by the chunked_value field. Two or more chunked values can be merged to form a complete value as follows: * `bool/number/null`: cannot be chunked * `string`: concatenate the strings * `list`: concatenate the lists. If the last element in a list is a `string`, `list`, or `object`, merge it with the first element in the next list by applying these rules recursively. * `object`: concatenate the (field name, field value) pairs. If a field name is duplicated, then apply these rules recursively to merge the field values. Some examples of merging: # Strings are concatenated. \"foo\", \"bar\" =\u003e \"foobar\" # Lists of non-strings are concatenated. [2, 3], [4] =\u003e [2, 3, 4] # Lists are concatenated, but the last and first elements are merged # because they are strings. [\"a\", \"b\"], [\"c\", \"d\"] =\u003e [\"a\", \"bc\", \"d\"] # Lists are concatenated, but the last and first elements are merged # because they are lists. Recursively, the last and first elements # of the inner lists are merged because they are strings. [\"a\", [\"b\", \"c\"]], [[\"d\"], \"e\"] =\u003e [\"a\", [\"b\", \"cd\"], \"e\"] # Non-overlapping object fields are combined. {\"a\": \"1\"}, {\"b\": \"2\"} =\u003e {\"a\": \"1\", \"b\": 2\"} # Overlapping object fields are merged. {\"a\": \"1\"}, {\"a\": \"2\"} =\u003e {\"a\": \"12\"} # Examples of merging objects containing lists of strings. {\"a\": [\"1\"]}, {\"a\": [\"2\"]} =\u003e {\"a\": [\"12\"]} For a more complete example, suppose a streaming SQL query is yielding a result set whose rows contain a single string field. The following `PartialResultSet`s might be yielded: { \"metadata\": { ... } \"values\": [\"Hello\", \"W\"] \"chunked_value\": true \"resume_token\": \"Af65...\" } { \"values\": [\"orl\"] \"chunked_value\": true } { \"values\": [\"d\"] \"resume_token\": \"Zx1B...\" } This sequence of `PartialResultSet`s encodes two rows, one containing the field value `\"Hello\"`, and a second containing the field value `\"World\" = \"W\" + \"orl\" + \"d\"`. Not all `PartialResultSet`s contain a `resume_token`. Execution can only be resumed from a previously yielded `resume_token`. For the above sequence of `PartialResultSet`s, resuming the query with `\"resume_token\": \"Af65...\"` will yield results from the `PartialResultSet` with value `[\"orl\"]`.", "items": { "type": "any" }, diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index 266cf71ae7b..f0055570131 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -1909,6 +1909,57 @@ func (s *Field) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// FreeInstanceMetadata: Free instance specific metadata that is kept +// even after an instance has been upgraded for tracking purposes. +type FreeInstanceMetadata struct { + // ExpireBehavior: Specifies the expiration behavior of a free instance. + // The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This + // can be modified during or after creation, and before expiration. + // + // Possible values: + // "EXPIRE_BEHAVIOR_UNSPECIFIED" - Not specified. + // "FREE_TO_PROVISIONED" - When the free instance expires, upgrade the + // instance to a provisioned instance. + // "REMOVE_AFTER_GRACE_PERIOD" - When the free instance expires, + // disable the instance, and delete it after the grace period passes if + // it has not been upgraded. + ExpireBehavior string `json:"expireBehavior,omitempty"` + + // ExpireTime: Output only. Timestamp after which the instance will + // either be upgraded or scheduled for deletion after a grace period. + // ExpireBehavior is used to choose between upgrading or scheduling the + // free instance for deletion. This timestamp is set during the creation + // of a free instance. + ExpireTime string `json:"expireTime,omitempty"` + + // UpgradeTime: Output only. If present, the timestamp at which the free + // instance was upgraded to a provisioned instance. + UpgradeTime string `json:"upgradeTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ExpireBehavior") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ExpireBehavior") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *FreeInstanceMetadata) MarshalJSON() ([]byte, error) { + type NoMethod FreeInstanceMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GetDatabaseDdlResponse: The response for GetDatabaseDdl. type GetDatabaseDdlResponse struct { // Statements: A list of formatted DDL statements defining the schema of @@ -2093,6 +2144,21 @@ type Instance struct { // EndpointUris: Deprecated. This field is not populated. EndpointUris []string `json:"endpointUris,omitempty"` + // FreeInstanceMetadata: Free instance metadata. Only populated for free + // instances. + FreeInstanceMetadata *FreeInstanceMetadata `json:"freeInstanceMetadata,omitempty"` + + // InstanceType: The `InstanceType` of the current instance. + // + // Possible values: + // "INSTANCE_TYPE_UNSPECIFIED" - Not specified. + // "PROVISIONED" - Provisioned instances have dedicated resources, + // standard usage limits and support. + // "FREE_INSTANCE" - Free instances provide no guarantee for dedicated + // resources, [node_count, processing_units] should be 0. They come with + // stricter usage limits and limited support. + InstanceType string `json:"instanceType,omitempty"` + // Labels: Cloud Labels are a flexible and lightweight mechanism for // organizing cloud resources into groups that reflect a customer's // organizational needs and deployment strategies. Cloud Labels can be @@ -2187,6 +2253,22 @@ type InstanceConfig struct { // UIs. DisplayName string `json:"displayName,omitempty"` + // FreeInstanceAvailability: Output only. Describes whether free + // instances are available to be created in this instance config. + // + // Possible values: + // "FREE_INSTANCE_AVAILABILITY_UNSPECIFIED" - Not specified. + // "AVAILABLE" - Indicates that free instances are available to be + // created in this instance config. + // "UNSUPPORTED" - Indicates that free instances are not supported in + // this instance config. + // "DISABLED" - Indicates that free instances are currently not + // available to be created in this instance config. + // "QUOTA_EXCEEDED" - Indicates that additional free instances cannot + // be created in this instance config because the project has reached + // its limit of free instances. + FreeInstanceAvailability string `json:"freeInstanceAvailability,omitempty"` + // LeaderOptions: Allowed values of the "default_leader" schema option // for databases in instances that use this instance configuration. LeaderOptions []string `json:"leaderOptions,omitempty"` @@ -3271,11 +3353,15 @@ type PartialResultSet struct { // set whose rows contain a single string field. The following // `PartialResultSet`s might be yielded: { "metadata": { ... } "values": // ["Hello", "W"] "chunked_value": true "resume_token": "Af65..." } { - // "values": ["orl"] "chunked_value": true "resume_token": "Bqp2..." } { - // "values": ["d"] "resume_token": "Zx1B..." } This sequence of - // `PartialResultSet`s encodes two rows, one containing the field value - // "Hello", and a second containing the field value "World" = "W" + - // "orl" + "d". + // "values": ["orl"] "chunked_value": true } { "values": ["d"] + // "resume_token": "Zx1B..." } This sequence of `PartialResultSet`s + // encodes two rows, one containing the field value "Hello", and a + // second containing the field value "World" = "W" + "orl" + "d". Not + // all `PartialResultSet`s contain a `resume_token`. Execution can only + // be resumed from a previously yielded `resume_token`. For the above + // sequence of `PartialResultSet`s, resuming the query with + // "resume_token": "Af65..." will yield results from the + // `PartialResultSet` with value `["orl"]`. Values []interface{} `json:"values,omitempty"` // ServerResponse contains the HTTP response code and headers from the