diff --git a/analyticshub/v1/analyticshub-api.json b/analyticshub/v1/analyticshub-api.json index a6d121ed2b1..88fd7abd191 100644 --- a/analyticshub/v1/analyticshub-api.json +++ b/analyticshub/v1/analyticshub-api.json @@ -1022,7 +1022,7 @@ } } }, - "revision": "20240715", + "revision": "20240826", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AnalyticsHubSubscriptionInfo": { @@ -2146,7 +2146,7 @@ "type": "object" }, "RevokeSubscriptionResponse": { - "description": "Message for response when you revoke a subscription.", + "description": "Message for response when you revoke a subscription. Empty for now.", "id": "RevokeSubscriptionResponse", "properties": {}, "type": "object" diff --git a/analyticshub/v1/analyticshub-gen.go b/analyticshub/v1/analyticshub-gen.go index 65a69c62956..0daaa62c278 100644 --- a/analyticshub/v1/analyticshub-gen.go +++ b/analyticshub/v1/analyticshub-gen.go @@ -1967,7 +1967,7 @@ type RevokeSubscriptionRequest struct { } // RevokeSubscriptionResponse: Message for response when you revoke a -// subscription. +// subscription. Empty for now. type RevokeSubscriptionResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` diff --git a/artifactregistry/v1beta1/artifactregistry-api.json b/artifactregistry/v1beta1/artifactregistry-api.json index 40a97ff4078..b776a16ec03 100644 --- a/artifactregistry/v1beta1/artifactregistry-api.json +++ b/artifactregistry/v1beta1/artifactregistry-api.json @@ -556,6 +556,11 @@ "parent" ], "parameters": { + "orderBy": { + "description": "Optional. The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of repositories to return. Maximum page size is 1,000.", "format": "int32", @@ -811,6 +816,11 @@ "parent" ], "parameters": { + "orderBy": { + "description": "Optional. The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of packages to return. Maximum page size is 1,000.", "format": "int32", @@ -1146,7 +1156,7 @@ } } }, - "revision": "20240809", + "revision": "20240826", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index b9bc37d1242..f80c39f06c3 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -1935,6 +1935,13 @@ func (r *ProjectsLocationsRepositoriesService) List(parent string) *ProjectsLoca return c } +// OrderBy sets the optional parameter "orderBy": The field to order the +// results by. +func (c *ProjectsLocationsRepositoriesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number of // repositories to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesListCall { @@ -2889,6 +2896,13 @@ func (r *ProjectsLocationsRepositoriesPackagesService) List(parent string) *Proj return c } +// OrderBy sets the optional parameter "orderBy": The field to order the +// results by. +func (c *ProjectsLocationsRepositoriesPackagesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesPackagesListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number of // packages to return. Maximum page size is 1,000. func (c *ProjectsLocationsRepositoriesPackagesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesPackagesListCall { diff --git a/bigtableadmin/v2/bigtableadmin-api.json b/bigtableadmin/v2/bigtableadmin-api.json index 2b0bed11f4a..e417ffd1821 100644 --- a/bigtableadmin/v2/bigtableadmin-api.json +++ b/bigtableadmin/v2/bigtableadmin-api.json @@ -2194,7 +2194,7 @@ } } }, - "revision": "20240806", + "revision": "20240824", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2375,20 +2375,6 @@ "description": "A backup of a Cloud Bigtable table.", "id": "Backup", "properties": { - "backupType": { - "description": "Indicates the backup type of the backup.", - "enum": [ - "BACKUP_TYPE_UNSPECIFIED", - "STANDARD", - "HOT" - ], - "enumDescriptions": [ - "Not specified.", - "The default type for Cloud Bigtable managed backups. Supported for backups created in both HDD and SSD instances. Requires optimization when restored to a table in an SSD instance.", - "A backup type with faster restore to SSD performance. Only supported for backups created in SSD instances. A new SSD table restored from a hot backup reaches production performance more quickly than a standard backup." - ], - "type": "string" - }, "encryptionInfo": { "$ref": "EncryptionInfo", "description": "Output only. The encryption information for the backup.", @@ -2405,11 +2391,6 @@ "format": "google-datetime", "type": "string" }, - "hotToStandardTime": { - "description": "The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.", - "format": "google-datetime", - "type": "string" - }, "name": { "description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", "type": "string" diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index b38db5571cd..8904b414bb4 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -591,18 +591,6 @@ func (s AutoscalingTargets) MarshalJSON() ([]byte, error) { // Backup: A backup of a Cloud Bigtable table. type Backup struct { - // BackupType: Indicates the backup type of the backup. - // - // Possible values: - // "BACKUP_TYPE_UNSPECIFIED" - Not specified. - // "STANDARD" - The default type for Cloud Bigtable managed backups. - // Supported for backups created in both HDD and SSD instances. Requires - // optimization when restored to a table in an SSD instance. - // "HOT" - A backup type with faster restore to SSD performance. Only - // supported for backups created in SSD instances. A new SSD table restored - // from a hot backup reaches production performance more quickly than a - // standard backup. - BackupType string `json:"backupType,omitempty"` // EncryptionInfo: Output only. The encryption information for the backup. EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // EndTime: Output only. `end_time` is the time that the backup was finished. @@ -613,13 +601,6 @@ type Backup struct { // backup creation time by: - At least 6 hours - At most 90 days Once the // `expire_time` has passed, Cloud Bigtable will delete the backup. ExpireTime string `json:"expireTime,omitempty"` - // HotToStandardTime: The time at which the hot backup will be converted to a - // standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable - // will convert the hot backup to a standard backup. This value must be greater - // than the backup creation time by: - At least 24 hours This field only - // applies for hot backups. When creating or updating a standard backup, - // attempting to set this field will fail the request. - HotToStandardTime string `json:"hotToStandardTime,omitempty"` // Name: A globally unique identifier for the backup which cannot be changed. // Values are of the form // `projects/{project}/instances/{instance}/clusters/{cluster}/ @@ -653,15 +634,15 @@ type Backup struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BackupType") to + // ForceSendFields is a list of field names (e.g. "EncryptionInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BackupType") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See + // NullFields is a list of field names (e.g. "EncryptionInfo") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index c1bf373c59e..9bfc6265828 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -436,7 +436,7 @@ ], "parameters": { "name": { - "description": "Resource name of the space. Format: `spaces/{space}`", + "description": "Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", "location": "path", "pattern": "^spaces/[^/]+$", "required": true, @@ -743,7 +743,7 @@ "messages": { "methods": { "create": { - "description": "Creates a message in a Google Chat space. The maximum message size, including text and cards, is 32,000 bytes. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)", + "description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either user or app authentication. Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes.", "flatPath": "v1/spaces/{spacesId}/messages", "httpMethod": "POST", "id": "chat.spaces.messages.create", @@ -1324,7 +1324,7 @@ } } }, - "revision": "20240818", + "revision": "20240825", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -2196,7 +2196,7 @@ }, "strokeColor": { "$ref": "Color", - "description": "The colors to use when the type is `BORDER_TYPE_STROKE`." + "description": "The colors to use when the type is `BORDER_TYPE_STROKE`. To set the stroke color, specify a value for the `red`, `green`, and `blue` fields. The value must be a float number between 0 and 1 based on the RGB color value, where `0` (0/255) represents the absence of color and `1` (255/255) represents the maximum intensity of the color. For example, the following sets the color to red at its maximum intensity: ``` \"color\": { \"red\": 1, \"green\": 0, \"blue\": 0, } ``` The `alpha` field is unavailable for stroke color. If specified, this field is ignored." }, "type": { "description": "The border type.", @@ -2225,7 +2225,7 @@ }, "color": { "$ref": "Color", - "description": "If set, the button is filled with a solid background color and the font color changes to maintain contrast with the background color. For example, setting a blue background likely results in white text. If unset, the image background is white and the font color is blue. For red, green, and blue, the value of each field is a `float` number that you can express in either of two ways: as a number between 0 and 255 divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents the absence of a color and 1 or 255/255 represent the full presence of that color on the RGB scale. Optionally set `alpha`, which sets a level of transparency using this equation: ``` pixel color = alpha * (this color) + (1.0 - alpha) * (background color) ``` For `alpha`, a value of `1` corresponds with a solid color, and a value of `0` corresponds with a completely transparent color. For example, the following color represents a half transparent red: ``` \"color\": { \"red\": 1, \"green\": 0, \"blue\": 0, \"alpha\": 0.5 } ```" + "description": "Optional. The color of the button. If set, the button `type` is set to `FILLED` and the color of `text` and `icon` fields are set to a contrasting color for readability. For example, if the button color is set to blue, any text or icons in the button are set to white. To set the button color, specify a value for the `red`, `green`, and `blue` fields. The value must be a float number between 0 and 1 based on the RGB color value, where `0` (0/255) represents the absence of color and `1` (255/255) represents the maximum intensity of the color. For example, the following sets the color to red at its maximum intensity: ``` \"color\": { \"red\": 1, \"green\": 0, \"blue\": 0, } ``` The `alpha` field is unavailable for button color. If specified, this field is ignored." }, "disabled": { "description": "If `true`, the button is displayed in an inactive state and doesn't respond to user actions.", @@ -2233,7 +2233,7 @@ }, "icon": { "$ref": "GoogleAppsCardV1Icon", - "description": "The icon image. If both `icon` and `text` are set, then the icon appears before the text." + "description": "An icon displayed inside the button. If both `icon` and `text` are set, then the icon appears before the text." }, "onClick": { "$ref": "GoogleAppsCardV1OnClick", @@ -3088,7 +3088,7 @@ "properties": { "buttonList": { "$ref": "GoogleAppsCardV1ButtonList", - "description": "A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ { \"text\": \"Edit\", \"color\": { \"red\": 0, \"green\": 0, \"blue\": 1, \"alpha\": 1 }, \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" + "description": "A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ { \"text\": \"Edit\", \"color\": { \"red\": 0, \"green\": 0, \"blue\": 1, }, \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" }, "columns": { "$ref": "GoogleAppsCardV1Columns", @@ -3756,7 +3756,7 @@ "type": "array" }, "cardsV2": { - "description": "An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't contain cards. To learn about cards and how to create them, see [Send card messages](https://developers.google.com/workspace/chat/create-messages#create). [Card builder](https://addons.gsuite.google.com/uikit/builder)", + "description": "An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't contain cards. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder)", "items": { "$ref": "CardWithId" }, @@ -3816,7 +3816,7 @@ }, "privateMessageViewer": { "$ref": "User", - "description": "Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. Link previews and attachments aren't supported for private messages. Only Chat apps can send private messages. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) to send a message, the message can't be private and must omit this field. For details, see [Send private messages to Google Chat users](https://developers.google.com/workspace/chat/private-messages)." + "description": "Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. Link previews and attachments aren't supported for private messages. Only Chat apps can send private messages. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) to send a message, the message can't be private and must omit this field. For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private)." }, "quotedMessageMetadata": { "$ref": "QuotedMessageMetadata", @@ -3838,7 +3838,7 @@ "description": "If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`." }, "text": { - "description": "Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a text message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).", + "description": "Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a message](https://developers.google.com/workspace/chat/create-messages).", "type": "string" }, "thread": { @@ -4238,7 +4238,7 @@ "readOnly": true }, "name": { - "description": "Resource name of the space. Format: `spaces/{space}`", + "description": "Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", "type": "string" }, "singleUserBotDm": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 3ce0d33696f..13017515f4c 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -1703,7 +1703,14 @@ func (s GoogleAppsCardV1ActionParameter) MarshalJSON() ([]byte, error) { type GoogleAppsCardV1BorderStyle struct { // CornerRadius: The corner radius for the border. CornerRadius int64 `json:"cornerRadius,omitempty"` - // StrokeColor: The colors to use when the type is `BORDER_TYPE_STROKE`. + // StrokeColor: The colors to use when the type is `BORDER_TYPE_STROKE`. To set + // the stroke color, specify a value for the `red`, `green`, and `blue` fields. + // The value must be a float number between 0 and 1 based on the RGB color + // value, where `0` (0/255) represents the absence of color and `1` (255/255) + // represents the maximum intensity of the color. For example, the following + // sets the color to red at its maximum intensity: ``` "color": { "red": 1, + // "green": 0, "blue": 0, } ``` The `alpha` field is unavailable for stroke + // color. If specified, this field is ignored. StrokeColor *Color `json:"strokeColor,omitempty"` // Type: The border type. // @@ -1743,26 +1750,23 @@ type GoogleAppsCardV1Button struct { // to the Google Chat developer documentation at // https://developers.google.com/workspace/chat". AltText string `json:"altText,omitempty"` - // Color: If set, the button is filled with a solid background color and the - // font color changes to maintain contrast with the background color. For - // example, setting a blue background likely results in white text. If unset, - // the image background is white and the font color is blue. For red, green, - // and blue, the value of each field is a `float` number that you can express - // in either of two ways: as a number between 0 and 255 divided by 255 - // (153/255), or as a value between 0 and 1 (0.6). 0 represents the absence of - // a color and 1 or 255/255 represent the full presence of that color on the - // RGB scale. Optionally set `alpha`, which sets a level of transparency using - // this equation: ``` pixel color = alpha * (this color) + (1.0 - alpha) * - // (background color) ``` For `alpha`, a value of `1` corresponds with a solid - // color, and a value of `0` corresponds with a completely transparent color. - // For example, the following color represents a half transparent red: ``` - // "color": { "red": 1, "green": 0, "blue": 0, "alpha": 0.5 } ``` + // Color: Optional. The color of the button. If set, the button `type` is set + // to `FILLED` and the color of `text` and `icon` fields are set to a + // contrasting color for readability. For example, if the button color is set + // to blue, any text or icons in the button are set to white. To set the button + // color, specify a value for the `red`, `green`, and `blue` fields. The value + // must be a float number between 0 and 1 based on the RGB color value, where + // `0` (0/255) represents the absence of color and `1` (255/255) represents the + // maximum intensity of the color. For example, the following sets the color to + // red at its maximum intensity: ``` "color": { "red": 1, "green": 0, "blue": + // 0, } ``` The `alpha` field is unavailable for button color. If specified, + // this field is ignored. Color *Color `json:"color,omitempty"` // Disabled: If `true`, the button is displayed in an inactive state and // doesn't respond to user actions. Disabled bool `json:"disabled,omitempty"` - // Icon: The icon image. If both `icon` and `text` are set, then the icon - // appears before the text. + // Icon: An icon displayed inside the button. If both `icon` and `text` are + // set, then the icon appears before the text. Icon *GoogleAppsCardV1Icon `json:"icon,omitempty"` // OnClick: Required. The action to perform when a user clicks the button, such // as opening a hyperlink or running a custom function. @@ -3079,10 +3083,9 @@ type GoogleAppsCardV1Widget struct { // ButtonList: A list of buttons. For example, the following JSON creates two // buttons. The first is a blue text button and the second is an image button // that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", - // "color": { "red": 0, "green": 0, "blue": 1, "alpha": 1 }, "disabled": true, - // }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, - // "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } - // ``` + // "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { + // "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { + // "openLink": { "url": "https://example.com/calendar" } } } ] } ``` ButtonList *GoogleAppsCardV1ButtonList `json:"buttonList,omitempty"` // Columns: Displays up to 2 columns. To include more than 2 columns, or to use // rows, use the `Grid` widget. For example, the following JSON creates 2 @@ -3969,10 +3972,10 @@ type Message struct { // (https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). // Only Chat apps can create cards. If your Chat app authenticates as a user // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), - // the messages can't contain cards. To learn about cards and how to create - // them, see Send card messages - // (https://developers.google.com/workspace/chat/create-messages#create). Card - // builder (https://addons.gsuite.google.com/uikit/builder) + // the messages can't contain cards. To learn how to create a message that + // contains cards, see Send a message + // (https://developers.google.com/workspace/chat/create-messages). Card builder + // (https://addons.gsuite.google.com/uikit/builder) CardsV2 []*CardWithId `json:"cardsV2,omitempty"` // ClientAssignedMessageId: Optional. A custom ID for the message. You can use // field to identify a message, or to get, delete, or update a message. To set @@ -4039,8 +4042,8 @@ type Message struct { // apps can send private messages. If your Chat app authenticates as a user // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) // to send a message, the message can't be private and must omit this field. - // For details, see Send private messages to Google Chat users - // (https://developers.google.com/workspace/chat/private-messages). + // For details, see Send a message privately + // (https://developers.google.com/workspace/chat/create-messages#private). PrivateMessageViewer *User `json:"privateMessageViewer,omitempty"` // QuotedMessageMetadata: Output only. Information about a message that's // quoted by a Google Chat user in a space. Google Chat users can quote a @@ -4067,8 +4070,7 @@ type Message struct { // @mention a Google Chat user // (https://developers.google.com/workspace/chat/format-messages#messages-@mention), // or everyone in the space. To learn about creating text messages, see Send a - // text message - // (https://developers.google.com/workspace/chat/create-messages#create-text-messages). + // message (https://developers.google.com/workspace/chat/create-messages). Text string `json:"text,omitempty"` // Thread: The thread the message belongs to. For example usage, see Start or // reply to a message thread @@ -4716,7 +4718,13 @@ type Space struct { // `GROUP_CHAT`. Developer Preview // (https://developers.google.com/workspace/preview). MembershipCount *MembershipCount `json:"membershipCount,omitempty"` - // Name: Resource name of the space. Format: `spaces/{space}` + // Name: Resource name of the space. Format: `spaces/{space}` Where `{space}` + // represents the system-assigned ID for the space. You can obtain the space ID + // by calling the `spaces.list()` + // (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) + // method or from the space URL. For example, if the space URL is + // `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is + // `AAAAAAAAA`. Name string `json:"name,omitempty"` // SingleUserBotDm: Optional. Whether the space is a DM between a Chat app and // a single human. @@ -6530,7 +6538,13 @@ type SpacesPatchCall struct { // Requires user authentication // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). // -// - name: Resource name of the space. Format: `spaces/{space}`. +// - name: Resource name of the space. Format: `spaces/{space}` Where `{space}` +// represents the system-assigned ID for the space. You can obtain the space +// ID by calling the `spaces.list()` +// (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) +// method or from the space URL. For example, if the space URL is +// `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is +// `AAAAAAAAA`. func (r *SpacesService) Patch(name string, space *Space) *SpacesPatchCall { c := &SpacesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -7780,15 +7794,22 @@ type SpacesMessagesCreateCall struct { header_ http.Header } -// Create: Creates a message in a Google Chat space. The maximum message size, -// including text and cards, is 32,000 bytes. For an example, see Send a -// message (https://developers.google.com/workspace/chat/create-messages). -// Calling this method requires authentication -// (https://developers.google.com/workspace/chat/authenticate-authorize) and -// supports the following authentication types: - For text messages, user -// authentication or app authentication are supported. - For card messages, -// only app authentication is supported. (Only Chat apps can create card -// messages.) +// Create: Creates a message in a Google Chat space. For an example, see Send a +// message (https://developers.google.com/workspace/chat/create-messages). The +// `create()` method requires either user or app authentication. Chat +// attributes the message sender differently depending on the type of +// authentication that you use in your request. The following image shows how +// Chat attributes a message when you use app authentication. Chat displays the +// Chat app as the message sender. The content of the message can contain text +// (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). +// !Message sent with app authentication +// (https://developers.google.com/workspace/chat/images/message-app-auth.svg) +// The following image shows how Chat attributes a message when you use user +// authentication. Chat displays the user as the message sender and attributes +// the Chat app to the message by displaying its name. The content of message +// can only contain text (`text`). !Message sent with user authentication +// (https://developers.google.com/workspace/chat/images/message-user-auth.svg) +// The maximum message size, including the message contents, is 32,000 bytes. // // - parent: The resource name of the space in which to create a message. // Format: `spaces/{space}`. diff --git a/dataform/v1beta1/dataform-api.json b/dataform/v1beta1/dataform-api.json index 6b7546b7024..2907ae28d5c 100644 --- a/dataform/v1beta1/dataform-api.json +++ b/dataform/v1beta1/dataform-api.json @@ -133,6 +133,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getConfig": { + "description": "Get default config for a given project and location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/config", + "httpMethod": "GET", + "id": "dataform.projects.locations.getConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The config name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/config$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Config" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v1beta1/projects/{projectsId}/locations", @@ -173,6 +198,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "updateConfig": { + "description": "Update default config for a given project and location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/config", + "httpMethod": "PATCH", + "id": "dataform.projects.locations.updateConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The config name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/config$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Specifies the fields to be updated in the config.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "Config" + }, + "response": { + "$ref": "Config" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -2236,7 +2295,7 @@ } } }, - "revision": "20240629", + "revision": "20240824", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "Assertion": { @@ -2596,6 +2655,10 @@ "$ref": "Target", "description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result." }, + "dataPreparation": { + "$ref": "DataPreparation", + "description": "The data preparation executed by this action." + }, "declaration": { "$ref": "Declaration", "description": "The declaration declared by this action." @@ -2646,6 +2709,21 @@ }, "type": "object" }, + "Config": { + "description": "Config for all repositories in a given project and location.", + "id": "Config", + "properties": { + "defaultKmsKeyName": { + "description": "Optional. The default KMS key that is used if no encryption key is provided when a repository is created.", + "type": "string" + }, + "name": { + "description": "Identifier. The config name.", + "type": "string" + } + }, + "type": "object" + }, "DataEncryptionState": { "description": "Describes encryption state of a resource.", "id": "DataEncryptionState", @@ -2657,6 +2735,36 @@ }, "type": "object" }, + "DataPreparation": { + "description": "Defines a compiled Data Preparation entity", + "id": "DataPreparation", + "properties": { + "contents": { + "description": "The data preparation definition, stored as a binary encoded proto.", + "format": "byte", + "type": "string" + }, + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Declaration": { "description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.", "id": "Declaration", diff --git a/dataform/v1beta1/dataform-gen.go b/dataform/v1beta1/dataform-gen.go index 2e324036351..607db32ffe3 100644 --- a/dataform/v1beta1/dataform-gen.go +++ b/dataform/v1beta1/dataform-gen.go @@ -772,6 +772,8 @@ type CompilationResultAction struct { // CanonicalTarget: The action's identifier if the project had been compiled // without any overrides configured. Unique within the compilation result. CanonicalTarget *Target `json:"canonicalTarget,omitempty"` + // DataPreparation: The data preparation executed by this action. + DataPreparation *DataPreparation `json:"dataPreparation,omitempty"` // Declaration: The declaration declared by this action. Declaration *Declaration `json:"declaration,omitempty"` // FilePath: The full path including filename in which this action is located, @@ -838,6 +840,34 @@ func (s ComputeRepositoryAccessTokenStatusResponse) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// Config: Config for all repositories in a given project and location. +type Config struct { + // DefaultKmsKeyName: Optional. The default KMS key that is used if no + // encryption key is provided when a repository is created. + DefaultKmsKeyName string `json:"defaultKmsKeyName,omitempty"` + // Name: Identifier. The config name. + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "DefaultKmsKeyName") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DefaultKmsKeyName") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s Config) MarshalJSON() ([]byte, error) { + type NoMethod Config + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // DataEncryptionState: Describes encryption state of a resource. type DataEncryptionState struct { // KmsKeyVersionName: The KMS key version name with which data of a resource is @@ -861,6 +891,34 @@ func (s DataEncryptionState) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// DataPreparation: Defines a compiled Data Preparation entity +type DataPreparation struct { + // Contents: The data preparation definition, stored as a binary encoded proto. + Contents string `json:"contents,omitempty"` + // DependencyTargets: A list of actions that this action depends on. + DependencyTargets []*Target `json:"dependencyTargets,omitempty"` + // Disabled: Whether this action is disabled (i.e. should not be run). + Disabled bool `json:"disabled,omitempty"` + // Tags: Arbitrary, user-defined tags on this action. + Tags []string `json:"tags,omitempty"` + // ForceSendFields is a list of field names (e.g. "Contents") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Contents") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s DataPreparation) MarshalJSON() ([]byte, error) { + type NoMethod DataPreparation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Declaration: Represents a relation which is not managed by Dataform but // which may be referenced by Dataform actions. type Declaration struct { @@ -3111,6 +3169,113 @@ func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, return ret, nil } +type ProjectsLocationsGetConfigCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetConfig: Get default config for a given project and location. +// +// - name: The config name. +func (r *ProjectsLocationsService) GetConfig(name string) *ProjectsLocationsGetConfigCall { + c := &ProjectsLocationsGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsGetConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetConfigCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGetConfigCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetConfigCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsGetConfigCall) Context(ctx context.Context) *ProjectsLocationsGetConfigCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsGetConfigCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGetConfigCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dataform.projects.locations.getConfig" call. +// Any non-2xx status code is an error. Response headers are in either +// *Config.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGetConfigCall) Do(opts ...googleapi.CallOption) (*Config, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Config{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type ProjectsLocationsListCall struct { s *Service name string @@ -3264,6 +3429,114 @@ func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocat } } +type ProjectsLocationsUpdateConfigCall struct { + s *Service + name string + config *Config + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// UpdateConfig: Update default config for a given project and location. +// +// - name: Identifier. The config name. +func (r *ProjectsLocationsService) UpdateConfig(name string, config *Config) *ProjectsLocationsUpdateConfigCall { + c := &ProjectsLocationsUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.config = config + return c +} + +// UpdateMask sets the optional parameter "updateMask": Specifies the fields to +// be updated in the config. +func (c *ProjectsLocationsUpdateConfigCall) UpdateMask(updateMask string) *ProjectsLocationsUpdateConfigCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsUpdateConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsUpdateConfigCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsUpdateConfigCall) Context(ctx context.Context) *ProjectsLocationsUpdateConfigCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsUpdateConfigCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsUpdateConfigCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.config) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dataform.projects.locations.updateConfig" call. +// Any non-2xx status code is an error. Response headers are in either +// *Config.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsUpdateConfigCall) Do(opts ...googleapi.CallOption) (*Config, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Config{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type ProjectsLocationsCollectionsGetIamPolicyCall struct { s *Service resource string diff --git a/datamigration/v1/datamigration-api.json b/datamigration/v1/datamigration-api.json index 017c9097240..877f5878162 100644 --- a/datamigration/v1/datamigration-api.json +++ b/datamigration/v1/datamigration-api.json @@ -2218,7 +2218,7 @@ } } }, - "revision": "20240812", + "revision": "20240826", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -2912,7 +2912,7 @@ "ALLOYDB" ], "enumDescriptions": [ - "Use this value for on-premise source database instances.", + "Use this value for on-premise source database instances and ORACLE.", "Cloud SQL is the source instance provider.", "Amazon RDS is the source instance provider.", "Amazon Aurora is the source instance provider.", @@ -3340,7 +3340,7 @@ "ALLOYDB" ], "enumDescriptions": [ - "Use this value for on-premise source database instances.", + "Use this value for on-premise source database instances and ORACLE.", "Cloud SQL is the source instance provider.", "Amazon RDS is the source instance provider.", "Amazon Aurora is the source instance provider.", diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index 4e711297e3d..f6c43a8f31e 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -1021,7 +1021,7 @@ type ConnectionProfile struct { // // Possible values: // "DATABASE_PROVIDER_UNSPECIFIED" - Use this value for on-premise source - // database instances. + // database instances and ORACLE. // "CLOUDSQL" - Cloud SQL is the source instance provider. // "RDS" - Amazon RDS is the source instance provider. // "AURORA" - Amazon Aurora is the source instance provider. @@ -1456,7 +1456,7 @@ type DatabaseType struct { // // Possible values: // "DATABASE_PROVIDER_UNSPECIFIED" - Use this value for on-premise source - // database instances. + // database instances and ORACLE. // "CLOUDSQL" - Cloud SQL is the source instance provider. // "RDS" - Amazon RDS is the source instance provider. // "AURORA" - Amazon Aurora is the source instance provider. diff --git a/firestore/v1/firestore-api.json b/firestore/v1/firestore-api.json index 9f28c8ccc0e..eef0cdae420 100644 --- a/firestore/v1/firestore-api.json +++ b/firestore/v1/firestore-api.json @@ -151,7 +151,7 @@ ], "parameters": { "databaseId": { - "description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database id is also valid.", + "description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database ID is also valid.", "location": "query", "type": "string" }, @@ -1706,7 +1706,7 @@ } } }, - "revision": "20240804", + "revision": "20240822", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2407,6 +2407,15 @@ ], "type": "string" }, + "distanceResultField": { + "description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations.", + "type": "string" + }, + "distanceThreshold": { + "description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. For EUCLIDEAN, COSINE: WHERE distance \u003c= distance_threshold For DOT_PRODUCT: WHERE distance \u003e= distance_threshold", + "format": "double", + "type": "number" + }, "limit": { "description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.", "format": "int32", @@ -2521,7 +2530,7 @@ "id": "GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata", "properties": { "collectionIds": { - "description": "The ids of the collection groups that are being deleted.", + "description": "The IDs of the collection groups that are being deleted.", "items": { "type": "string" }, @@ -2533,7 +2542,7 @@ "type": "string" }, "namespaceIds": { - "description": "Which namespace ids are being deleted.", + "description": "Which namespace IDs are being deleted.", "items": { "type": "string" }, @@ -2722,7 +2731,7 @@ "type": "string" }, "keyPrefix": { - "description": "Output only. The key_prefix for this database. This key_prefix is used, in combination with the project id (\"~\") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).", + "description": "Output only. The key_prefix for this database. This key_prefix is used, in combination with the project ID (\"~\") to construct the application ID that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).", "readOnly": true, "type": "string" }, @@ -2794,7 +2803,7 @@ "type": "object" }, "GoogleFirestoreAdminV1EncryptionConfig": { - "description": "Encryption configuration for a new database being created from another source. The source could be a Backup or a DatabaseSnapshot.", + "description": "Encryption configuration for a new database being created from another source. The source could be a Backup .", "id": "GoogleFirestoreAdminV1EncryptionConfig", "properties": { "customerManagedEncryption": { @@ -2817,7 +2826,7 @@ "id": "GoogleFirestoreAdminV1ExportDocumentsMetadata", "properties": { "collectionIds": { - "description": "Which collection ids are being exported.", + "description": "Which collection IDs are being exported.", "items": { "type": "string" }, @@ -2829,7 +2838,7 @@ "type": "string" }, "namespaceIds": { - "description": "Which namespace ids are being exported.", + "description": "Which namespace IDs are being exported.", "items": { "type": "string" }, @@ -2889,7 +2898,7 @@ "id": "GoogleFirestoreAdminV1ExportDocumentsRequest", "properties": { "collectionIds": { - "description": "Which collection ids to export. Unspecified means all collections. Each collection id in this list must be unique.", + "description": "Which collection IDs to export. Unspecified means all collections. Each collection ID in this list must be unique.", "items": { "type": "string" }, @@ -2926,7 +2935,7 @@ "type": "object" }, "GoogleFirestoreAdminV1Field": { - "description": "Represents a single field in the database. Fields are grouped by their \"Collection Group\", which represent all collections in the database with the same id.", + "description": "Represents a single field in the database. Fields are grouped by their \"Collection Group\", which represent all collections in the database with the same ID.", "id": "GoogleFirestoreAdminV1Field", "properties": { "indexConfig": { @@ -3025,7 +3034,7 @@ "id": "GoogleFirestoreAdminV1ImportDocumentsMetadata", "properties": { "collectionIds": { - "description": "Which collection ids are being imported.", + "description": "Which collection IDs are being imported.", "items": { "type": "string" }, @@ -3041,7 +3050,7 @@ "type": "string" }, "namespaceIds": { - "description": "Which namespace ids are being imported.", + "description": "Which namespace IDs are being imported.", "items": { "type": "string" }, @@ -3092,7 +3101,7 @@ "id": "GoogleFirestoreAdminV1ImportDocumentsRequest", "properties": { "collectionIds": { - "description": "Which collection ids to import. Unspecified means all collections included in the import. Each collection id in this list must be unique.", + "description": "Which collection IDs to import. Unspecified means all collections included in the import. Each collection ID in this list must be unique.", "items": { "type": "string" }, @@ -3140,7 +3149,7 @@ "type": "string" }, "queryScope": { - "description": "Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection id. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection id as this index.", + "description": "Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection ID. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection ID as this index.", "enum": [ "QUERY_SCOPE_UNSPECIFIED", "COLLECTION", @@ -3149,8 +3158,8 @@ ], "enumDescriptions": [ "The query scope is unspecified. Not a valid option.", - "Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection id specified by the index.", - "Indexes with a collection group query scope specified allow queries against all collections that has the collection id specified by the index.", + "Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection ID specified by the index.", + "Indexes with a collection group query scope specified allow queries against all collections that has the collection ID specified by the index.", "Include all the collections's ancestor in the index. Only available for Datastore Mode databases." ], "type": "string" @@ -3492,11 +3501,11 @@ "id": "GoogleFirestoreAdminV1RestoreDatabaseRequest", "properties": { "backup": { - "description": "Backup to restore from. Must be from the same project as the parent. The restored database will be created in the same location as the source backup. Format is: `projects/{project_id}/locations/{location}/backups/{backup}`", + "description": "Required. Backup to restore from. Must be from the same project as the parent. The restored database will be created in the same location as the source backup. Format is: `projects/{project_id}/locations/{location}/backups/{backup}`", "type": "string" }, "databaseId": { - "description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This database id must not be associated with an existing database. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database id is also valid.", + "description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This database ID must not be associated with an existing database. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database ID is also valid.", "type": "string" }, "encryptionConfig": { diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index cdef34964ea..7cad03b2e73 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -1375,6 +1375,17 @@ type FindNearest struct { // learn more. The resulting distance increases the more similar two vectors // are. DistanceMeasure string `json:"distanceMeasure,omitempty"` + // DistanceResultField: Optional. Optional name of the field to output the + // result of the vector distance calculation. Must conform to document field + // name limitations. + DistanceResultField string `json:"distanceResultField,omitempty"` + // DistanceThreshold: Optional. Option to specify a threshold for which no less + // similar documents will be returned. The behavior of the specified + // `distance_measure` will affect the meaning of the distance threshold. Since + // DOT_PRODUCT distances increase when the vectors are more similar, the + // comparison is inverted. For EUCLIDEAN, COSINE: WHERE distance <= + // distance_threshold For DOT_PRODUCT: WHERE distance >= distance_threshold + DistanceThreshold float64 `json:"distanceThreshold,omitempty"` // Limit: Required. The number of nearest neighbors to return. Must be a // positive integer of no more than 1000. Limit int64 `json:"limit,omitempty"` @@ -1403,6 +1414,20 @@ func (s FindNearest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +func (s *FindNearest) UnmarshalJSON(data []byte) error { + type NoMethod FindNearest + var s1 struct { + DistanceThreshold gensupport.JSONFloat64 `json:"distanceThreshold"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.DistanceThreshold = float64(s1.DistanceThreshold) + return nil +} + // GoogleFirestoreAdminV1Backup: A Backup of a Cloud Firestore Database. The // backup contains all documents and index configurations for the given // database at a specific point in time. @@ -1505,12 +1530,12 @@ func (s GoogleFirestoreAdminV1BackupSchedule) MarshalJSON() ([]byte, error) { // google.longrunning.Operation results from // FirestoreAdmin.BulkDeleteDocuments. type GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata struct { - // CollectionIds: The ids of the collection groups that are being deleted. + // CollectionIds: The IDs of the collection groups that are being deleted. CollectionIds []string `json:"collectionIds,omitempty"` // EndTime: The time this operation completed. Will be unset if operation still // in progress. EndTime string `json:"endTime,omitempty"` - // NamespaceIds: Which namespace ids are being deleted. + // NamespaceIds: Which namespace IDs are being deleted. NamespaceIds []string `json:"namespaceIds,omitempty"` // OperationState: The state of the operation. // @@ -1725,8 +1750,8 @@ type GoogleFirestoreAdminV1Database struct { // has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` // KeyPrefix: Output only. The key_prefix for this database. This key_prefix is - // used, in combination with the project id ("~") to construct the application - // id that is returned from the Cloud Datastore APIs in Google App Engine first + // used, in combination with the project ID ("~") to construct the application + // ID that is returned from the Cloud Datastore APIs in Google App Engine first // generation runtimes. This value may be empty in which case the appid to use // for URL-encoded keys is the project_id (eg: foo instead of v~foo). KeyPrefix string `json:"keyPrefix,omitempty"` @@ -1800,8 +1825,7 @@ type GoogleFirestoreAdminV1DeleteDatabaseMetadata struct { } // GoogleFirestoreAdminV1EncryptionConfig: Encryption configuration for a new -// database being created from another source. The source could be a Backup or -// a DatabaseSnapshot. +// database being created from another source. The source could be a Backup . type GoogleFirestoreAdminV1EncryptionConfig struct { // CustomerManagedEncryption: Use Customer Managed Encryption Keys (CMEK) for // encryption. @@ -1832,12 +1856,12 @@ func (s GoogleFirestoreAdminV1EncryptionConfig) MarshalJSON() ([]byte, error) { // GoogleFirestoreAdminV1ExportDocumentsMetadata: Metadata for // google.longrunning.Operation results from FirestoreAdmin.ExportDocuments. type GoogleFirestoreAdminV1ExportDocumentsMetadata struct { - // CollectionIds: Which collection ids are being exported. + // CollectionIds: Which collection IDs are being exported. CollectionIds []string `json:"collectionIds,omitempty"` // EndTime: The time this operation completed. Will be unset if operation still // in progress. EndTime string `json:"endTime,omitempty"` - // NamespaceIds: Which namespace ids are being exported. + // NamespaceIds: Which namespace IDs are being exported. NamespaceIds []string `json:"namespaceIds,omitempty"` // OperationState: The state of the export operation. // @@ -1887,8 +1911,8 @@ func (s GoogleFirestoreAdminV1ExportDocumentsMetadata) MarshalJSON() ([]byte, er // GoogleFirestoreAdminV1ExportDocumentsRequest: The request for // FirestoreAdmin.ExportDocuments. type GoogleFirestoreAdminV1ExportDocumentsRequest struct { - // CollectionIds: Which collection ids to export. Unspecified means all - // collections. Each collection id in this list must be unique. + // CollectionIds: Which collection IDs to export. Unspecified means all + // collections. Each collection ID in this list must be unique. CollectionIds []string `json:"collectionIds,omitempty"` // NamespaceIds: An empty list represents all namespaces. This is the preferred // usage for databases that don't use namespaces. An empty string element @@ -1957,7 +1981,7 @@ func (s GoogleFirestoreAdminV1ExportDocumentsResponse) MarshalJSON() ([]byte, er // GoogleFirestoreAdminV1Field: Represents a single field in the database. // Fields are grouped by their "Collection Group", which represent all -// collections in the database with the same id. +// collections in the database with the same ID. type GoogleFirestoreAdminV1Field struct { // IndexConfig: The index configuration for this field. If unset, field // indexing will revert to the configuration defined by the `ancestor_field`. @@ -2073,14 +2097,14 @@ type GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions struct { // GoogleFirestoreAdminV1ImportDocumentsMetadata: Metadata for // google.longrunning.Operation results from FirestoreAdmin.ImportDocuments. type GoogleFirestoreAdminV1ImportDocumentsMetadata struct { - // CollectionIds: Which collection ids are being imported. + // CollectionIds: Which collection IDs are being imported. CollectionIds []string `json:"collectionIds,omitempty"` // EndTime: The time this operation completed. Will be unset if operation still // in progress. EndTime string `json:"endTime,omitempty"` // InputUriPrefix: The location of the documents being imported. InputUriPrefix string `json:"inputUriPrefix,omitempty"` - // NamespaceIds: Which namespace ids are being imported. + // NamespaceIds: Which namespace IDs are being imported. NamespaceIds []string `json:"namespaceIds,omitempty"` // OperationState: The state of the import operation. // @@ -2124,8 +2148,8 @@ func (s GoogleFirestoreAdminV1ImportDocumentsMetadata) MarshalJSON() ([]byte, er // GoogleFirestoreAdminV1ImportDocumentsRequest: The request for // FirestoreAdmin.ImportDocuments. type GoogleFirestoreAdminV1ImportDocumentsRequest struct { - // CollectionIds: Which collection ids to import. Unspecified means all - // collections included in the import. Each collection id in this list must be + // CollectionIds: Which collection IDs to import. Unspecified means all + // collections included in the import. Each collection ID in this list must be // unique. CollectionIds []string `json:"collectionIds,omitempty"` // InputUriPrefix: Location of the exported files. This must match the @@ -2186,20 +2210,20 @@ type GoogleFirestoreAdminV1Index struct { Name string `json:"name,omitempty"` // QueryScope: Indexes with a collection query scope specified allow queries // against a collection that is the child of a specific document, specified at - // query time, and that has the same collection id. Indexes with a collection + // query time, and that has the same collection ID. Indexes with a collection // group query scope specified allow queries against all collections descended // from a specific document, specified at query time, and that have the same - // collection id as this index. + // collection ID as this index. // // Possible values: // "QUERY_SCOPE_UNSPECIFIED" - The query scope is unspecified. Not a valid // option. // "COLLECTION" - Indexes with a collection query scope specified allow // queries against a collection that is the child of a specific document, - // specified at query time, and that has the collection id specified by the + // specified at query time, and that has the collection ID specified by the // index. // "COLLECTION_GROUP" - Indexes with a collection group query scope specified - // allow queries against all collections that has the collection id specified + // allow queries against all collections that has the collection ID specified // by the index. // "COLLECTION_RECURSIVE" - Include all the collections's ancestor in the // index. Only available for Datastore Mode databases. @@ -2635,17 +2659,17 @@ func (s GoogleFirestoreAdminV1RestoreDatabaseMetadata) MarshalJSON() ([]byte, er // GoogleFirestoreAdminV1RestoreDatabaseRequest: The request message for // FirestoreAdmin.RestoreDatabase. type GoogleFirestoreAdminV1RestoreDatabaseRequest struct { - // Backup: Backup to restore from. Must be from the same project as the parent. - // The restored database will be created in the same location as the source - // backup. Format is: + // Backup: Required. Backup to restore from. Must be from the same project as + // the parent. The restored database will be created in the same location as + // the source backup. Format is: // `projects/{project_id}/locations/{location}/backups/{backup}` Backup string `json:"backup,omitempty"` // DatabaseId: Required. The ID to use for the database, which will become the - // final component of the database's resource name. This database id must not + // final component of the database's resource name. This database ID must not // be associated with an existing database. This value should be 4-63 // characters. Valid characters are /a-z-/ with first character a letter and // the last a letter or a number. Must not be UUID-like - // /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also + // /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database ID is also // valid. DatabaseId string `json:"databaseId,omitempty"` // EncryptionConfig: Optional. Encryption configuration for the restored @@ -4341,7 +4365,7 @@ func (r *ProjectsDatabasesService) Create(parent string, googlefirestoreadminv1d // resource name. This value should be 4-63 characters. Valid characters are // /a-z-/ with first character a letter and the last a letter or a number. Must // not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" -// database id is also valid. +// database ID is also valid. func (c *ProjectsDatabasesCreateCall) DatabaseId(databaseId string) *ProjectsDatabasesCreateCall { c.urlParams_.Set("databaseId", databaseId) return c diff --git a/firestore/v1beta1/firestore-api.json b/firestore/v1beta1/firestore-api.json index b4ad892f04c..ba5f876cbe2 100644 --- a/firestore/v1beta1/firestore-api.json +++ b/firestore/v1beta1/firestore-api.json @@ -950,7 +950,7 @@ } } }, - "revision": "20240804", + "revision": "20240822", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -1651,6 +1651,15 @@ ], "type": "string" }, + "distanceResultField": { + "description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations.", + "type": "string" + }, + "distanceThreshold": { + "description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. For EUCLIDEAN, COSINE: WHERE distance \u003c= distance_threshold For DOT_PRODUCT: WHERE distance \u003e= distance_threshold", + "format": "double", + "type": "number" + }, "limit": { "description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.", "format": "int32", @@ -1672,7 +1681,7 @@ "id": "GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata", "properties": { "collectionIds": { - "description": "The ids of the collection groups that are being deleted.", + "description": "The IDs of the collection groups that are being deleted.", "items": { "type": "string" }, @@ -1684,7 +1693,7 @@ "type": "string" }, "namespaceIds": { - "description": "Which namespace ids are being deleted.", + "description": "Which namespace IDs are being deleted.", "items": { "type": "string" }, diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go index afd992166bf..9302eeab73e 100644 --- a/firestore/v1beta1/firestore-gen.go +++ b/firestore/v1beta1/firestore-gen.go @@ -1303,6 +1303,17 @@ type FindNearest struct { // learn more. The resulting distance increases the more similar two vectors // are. DistanceMeasure string `json:"distanceMeasure,omitempty"` + // DistanceResultField: Optional. Optional name of the field to output the + // result of the vector distance calculation. Must conform to document field + // name limitations. + DistanceResultField string `json:"distanceResultField,omitempty"` + // DistanceThreshold: Optional. Option to specify a threshold for which no less + // similar documents will be returned. The behavior of the specified + // `distance_measure` will affect the meaning of the distance threshold. Since + // DOT_PRODUCT distances increase when the vectors are more similar, the + // comparison is inverted. For EUCLIDEAN, COSINE: WHERE distance <= + // distance_threshold For DOT_PRODUCT: WHERE distance >= distance_threshold + DistanceThreshold float64 `json:"distanceThreshold,omitempty"` // Limit: Required. The number of nearest neighbors to return. Must be a // positive integer of no more than 1000. Limit int64 `json:"limit,omitempty"` @@ -1331,16 +1342,30 @@ func (s FindNearest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +func (s *FindNearest) UnmarshalJSON(data []byte) error { + type NoMethod FindNearest + var s1 struct { + DistanceThreshold gensupport.JSONFloat64 `json:"distanceThreshold"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.DistanceThreshold = float64(s1.DistanceThreshold) + return nil +} + // GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata: Metadata for // google.longrunning.Operation results from // FirestoreAdmin.BulkDeleteDocuments. type GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata struct { - // CollectionIds: The ids of the collection groups that are being deleted. + // CollectionIds: The IDs of the collection groups that are being deleted. CollectionIds []string `json:"collectionIds,omitempty"` // EndTime: The time this operation completed. Will be unset if operation still // in progress. EndTime string `json:"endTime,omitempty"` - // NamespaceIds: Which namespace ids are being deleted. + // NamespaceIds: Which namespace IDs are being deleted. NamespaceIds []string `json:"namespaceIds,omitempty"` // OperationState: The state of the operation. // diff --git a/firestore/v1beta2/firestore-api.json b/firestore/v1beta2/firestore-api.json index b92a5b3e9ae..6419041ce94 100644 --- a/firestore/v1beta2/firestore-api.json +++ b/firestore/v1beta2/firestore-api.json @@ -415,7 +415,7 @@ } } }, - "revision": "20240617", + "revision": "20240822", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Empty": { @@ -429,7 +429,7 @@ "id": "GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata", "properties": { "collectionIds": { - "description": "The ids of the collection groups that are being deleted.", + "description": "The IDs of the collection groups that are being deleted.", "items": { "type": "string" }, @@ -441,7 +441,7 @@ "type": "string" }, "namespaceIds": { - "description": "Which namespace ids are being deleted.", + "description": "Which namespace IDs are being deleted.", "items": { "type": "string" }, diff --git a/firestore/v1beta2/firestore-gen.go b/firestore/v1beta2/firestore-gen.go index 78ae69ef8b7..ee916106fcc 100644 --- a/firestore/v1beta2/firestore-gen.go +++ b/firestore/v1beta2/firestore-gen.go @@ -235,12 +235,12 @@ type Empty struct { // google.longrunning.Operation results from // FirestoreAdmin.BulkDeleteDocuments. type GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata struct { - // CollectionIds: The ids of the collection groups that are being deleted. + // CollectionIds: The IDs of the collection groups that are being deleted. CollectionIds []string `json:"collectionIds,omitempty"` // EndTime: The time this operation completed. Will be unset if operation still // in progress. EndTime string `json:"endTime,omitempty"` - // NamespaceIds: Which namespace ids are being deleted. + // NamespaceIds: Which namespace IDs are being deleted. NamespaceIds []string `json:"namespaceIds,omitempty"` // OperationState: The state of the operation. // diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index e19ed30457e..27a32c45a25 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20240815", + "revision": "20240825", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -5875,11 +5875,13 @@ "id": "ResourceManifest", "properties": { "clusterScoped": { - "description": "Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", + "description": "Output only. Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", + "readOnly": true, "type": "boolean" }, "manifest": { - "description": "YAML manifest of the resource.", + "description": "Output only. YAML manifest of the resource.", + "readOnly": true, "type": "string" } }, diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index 3ac963f76b0..08ddf3cbfae 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -5083,11 +5083,11 @@ func (s RBACRoleBindingLifecycleState) MarshalJSON() ([]byte, error) { // ResourceManifest: ResourceManifest represents a single Kubernetes resource // to be applied to the cluster. type ResourceManifest struct { - // ClusterScoped: Whether the resource provided in the manifest is + // ClusterScoped: Output only. Whether the resource provided in the manifest is // `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. // This field is used for REST mapping when applying the resource in a cluster. ClusterScoped bool `json:"clusterScoped,omitempty"` - // Manifest: YAML manifest of the resource. + // Manifest: Output only. YAML manifest of the resource. Manifest string `json:"manifest,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterScoped") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/accounts_v1beta/merchantapi-api.json b/merchantapi/accounts_v1beta/merchantapi-api.json index 60dc2a467b5..c0e0d718c78 100644 --- a/merchantapi/accounts_v1beta/merchantapi-api.json +++ b/merchantapi/accounts_v1beta/merchantapi-api.json @@ -1354,7 +1354,7 @@ } } }, - "revision": "20240821", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AcceptTermsOfService": { @@ -2080,7 +2080,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -2097,6 +2099,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2114,7 +2118,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } @@ -2600,7 +2606,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -2617,6 +2625,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2634,7 +2644,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/accounts_v1beta/merchantapi-gen.go b/merchantapi/accounts_v1beta/merchantapi-gen.go index fbd3124aeb9..fa02fe4cdea 100644 --- a/merchantapi/accounts_v1beta/merchantapi-gen.go +++ b/merchantapi/accounts_v1beta/merchantapi-gen.go @@ -1233,6 +1233,10 @@ type ImpactedDestination struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "Impacts") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -1979,6 +1983,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/conversions_v1beta/merchantapi-api.json b/merchantapi/conversions_v1beta/merchantapi-api.json index 9829deae998..53f48dbf79e 100644 --- a/merchantapi/conversions_v1beta/merchantapi-api.json +++ b/merchantapi/conversions_v1beta/merchantapi-api.json @@ -295,7 +295,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AttributionSettings": { @@ -519,7 +519,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -536,6 +538,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -553,7 +557,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/conversions_v1beta/merchantapi-gen.go b/merchantapi/conversions_v1beta/merchantapi-gen.go index 41472789cae..f3e548ec97d 100644 --- a/merchantapi/conversions_v1beta/merchantapi-gen.go +++ b/merchantapi/conversions_v1beta/merchantapi-gen.go @@ -443,6 +443,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/datasources_v1beta/merchantapi-api.json b/merchantapi/datasources_v1beta/merchantapi-api.json index ce6398bcfaa..a7b93cc1c36 100644 --- a/merchantapi/datasources_v1beta/merchantapi-api.json +++ b/merchantapi/datasources_v1beta/merchantapi-api.json @@ -290,7 +290,7 @@ } } }, - "revision": "20240719", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "DataSource": { @@ -581,7 +581,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -598,6 +600,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -615,7 +619,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/datasources_v1beta/merchantapi-gen.go b/merchantapi/datasources_v1beta/merchantapi-gen.go index 6d51a26ecff..f8af0a5fd58 100644 --- a/merchantapi/datasources_v1beta/merchantapi-gen.go +++ b/merchantapi/datasources_v1beta/merchantapi-gen.go @@ -510,6 +510,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/inventories_v1beta/merchantapi-api.json b/merchantapi/inventories_v1beta/merchantapi-api.json index 7b425607238..b39b3a56fab 100644 --- a/merchantapi/inventories_v1beta/merchantapi-api.json +++ b/merchantapi/inventories_v1beta/merchantapi-api.json @@ -300,7 +300,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "CustomAttribute": { @@ -495,7 +495,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -512,6 +514,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -529,7 +533,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/inventories_v1beta/merchantapi-gen.go b/merchantapi/inventories_v1beta/merchantapi-gen.go index 9ddda91b012..7f23e6f6a34 100644 --- a/merchantapi/inventories_v1beta/merchantapi-gen.go +++ b/merchantapi/inventories_v1beta/merchantapi-gen.go @@ -465,6 +465,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/lfp_v1beta/merchantapi-api.json b/merchantapi/lfp_v1beta/merchantapi-api.json index 26ba153491e..9e01ac8337b 100644 --- a/merchantapi/lfp_v1beta/merchantapi-api.json +++ b/merchantapi/lfp_v1beta/merchantapi-api.json @@ -298,7 +298,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { @@ -569,7 +569,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -586,6 +588,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -603,7 +607,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/lfp_v1beta/merchantapi-gen.go b/merchantapi/lfp_v1beta/merchantapi-gen.go index 9dfae023241..43eae972589 100644 --- a/merchantapi/lfp_v1beta/merchantapi-gen.go +++ b/merchantapi/lfp_v1beta/merchantapi-gen.go @@ -514,6 +514,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/notifications_v1beta/merchantapi-api.json b/merchantapi/notifications_v1beta/merchantapi-api.json index df687ac723a..88587706ead 100644 --- a/merchantapi/notifications_v1beta/merchantapi-api.json +++ b/merchantapi/notifications_v1beta/merchantapi-api.json @@ -262,7 +262,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { @@ -358,7 +358,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -375,6 +377,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -392,7 +396,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/notifications_v1beta/merchantapi-gen.go b/merchantapi/notifications_v1beta/merchantapi-gen.go index 5077fa5f673..57a60240890 100644 --- a/merchantapi/notifications_v1beta/merchantapi-gen.go +++ b/merchantapi/notifications_v1beta/merchantapi-gen.go @@ -301,6 +301,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/products_v1beta/merchantapi-api.json b/merchantapi/products_v1beta/merchantapi-api.json index 31b3603c8f0..5a68f170bcc 100644 --- a/merchantapi/products_v1beta/merchantapi-api.json +++ b/merchantapi/products_v1beta/merchantapi-api.json @@ -242,7 +242,7 @@ } } }, - "revision": "20240719", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -821,7 +821,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -838,6 +840,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -855,7 +859,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } @@ -972,7 +978,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -989,6 +997,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -1006,7 +1016,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" }, @@ -1223,7 +1235,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -1240,6 +1254,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -1257,7 +1273,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/products_v1beta/merchantapi-gen.go b/merchantapi/products_v1beta/merchantapi-gen.go index a8ca1de8f44..854e2ccc58c 100644 --- a/merchantapi/products_v1beta/merchantapi-gen.go +++ b/merchantapi/products_v1beta/merchantapi-gen.go @@ -660,6 +660,10 @@ type DestinationStatus struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "ApprovedCountries") to // unconditionally include in API requests. By default, fields with empty or @@ -824,6 +828,10 @@ type ItemLevelIssue struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // Resolution: Whether the issue can be resolved by the merchant. Resolution string `json:"resolution,omitempty"` @@ -1113,6 +1121,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/promotions_v1beta/merchantapi-api.json b/merchantapi/promotions_v1beta/merchantapi-api.json index 90dcb933c20..18a0a24beb9 100644 --- a/merchantapi/promotions_v1beta/merchantapi-api.json +++ b/merchantapi/promotions_v1beta/merchantapi-api.json @@ -203,7 +203,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -491,7 +491,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -508,6 +510,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -525,7 +529,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "readOnly": true, "type": "string" @@ -642,7 +648,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -659,6 +667,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -676,7 +686,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "readOnly": true, "type": "string" @@ -773,7 +785,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -790,6 +804,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -807,7 +823,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/promotions_v1beta/merchantapi-gen.go b/merchantapi/promotions_v1beta/merchantapi-gen.go index bd4ff07431f..d15023e82ec 100644 --- a/merchantapi/promotions_v1beta/merchantapi-gen.go +++ b/merchantapi/promotions_v1beta/merchantapi-gen.go @@ -479,6 +479,10 @@ type DestinationStatus struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // Status: Output only. The status for the specified destination. // @@ -616,6 +620,10 @@ type ItemLevelIssue struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // Resolution: Output only. Whether the issue can be resolved by the merchant. Resolution string `json:"resolution,omitempty"` @@ -743,6 +751,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/quota_v1beta/merchantapi-api.json b/merchantapi/quota_v1beta/merchantapi-api.json index 184a2e7d814..d83545854dc 100644 --- a/merchantapi/quota_v1beta/merchantapi-api.json +++ b/merchantapi/quota_v1beta/merchantapi-api.json @@ -150,7 +150,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "ListQuotaGroupsResponse": { @@ -231,7 +231,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -248,6 +250,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -265,7 +269,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/quota_v1beta/merchantapi-gen.go b/merchantapi/quota_v1beta/merchantapi-gen.go index 928940da2ec..bc70e16beca 100644 --- a/merchantapi/quota_v1beta/merchantapi-gen.go +++ b/merchantapi/quota_v1beta/merchantapi-gen.go @@ -274,6 +274,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/merchantapi/reports_v1beta/merchantapi-api.json b/merchantapi/reports_v1beta/merchantapi-api.json index 43ed5ffeb21..72081e70c44 100644 --- a/merchantapi/reports_v1beta/merchantapi-api.json +++ b/merchantapi/reports_v1beta/merchantapi-api.json @@ -142,7 +142,7 @@ } } }, - "revision": "20240613", + "revision": "20240827", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { @@ -652,7 +652,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -669,6 +671,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -686,7 +690,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } @@ -1023,7 +1029,9 @@ "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_SHOPPING", "CLOUD_RETAIL", - "LOCAL_CLOUD_RETAIL" + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS" ], "enumDeprecated": [ false, @@ -1040,6 +1048,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -1057,7 +1067,9 @@ "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", "[Cloud retail](https://cloud.google.com/solutions/retail).", - "[Local cloud retail](https://cloud.google.com/solutions/retail)." + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds)." ], "type": "string" } diff --git a/merchantapi/reports_v1beta/merchantapi-gen.go b/merchantapi/reports_v1beta/merchantapi-gen.go index 7aac242e754..c6694e90e73 100644 --- a/merchantapi/reports_v1beta/merchantapi-gen.go +++ b/merchantapi/reports_v1beta/merchantapi-gen.go @@ -771,6 +771,10 @@ type IssueSeverityPerReportingContext struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "DemotedCountries") to // unconditionally include in API requests. By default, fields with empty or @@ -1184,6 +1188,10 @@ type ProductChange struct { // retail](https://cloud.google.com/solutions/retail). // "LOCAL_CLOUD_RETAIL" - [Local cloud // retail](https://cloud.google.com/solutions/retail). + // "PRODUCT_REVIEWS" - [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + // "MERCHANT_REVIEWS" - [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). ReportingContext string `json:"reportingContext,omitempty"` // ForceSendFields is a list of field names (e.g. "NewValue") to // unconditionally include in API requests. By default, fields with empty or diff --git a/migrationcenter/v1/migrationcenter-api.json b/migrationcenter/v1/migrationcenter-api.json index 96531cad6de..6212c8652b4 100644 --- a/migrationcenter/v1/migrationcenter-api.json +++ b/migrationcenter/v1/migrationcenter-api.json @@ -2309,7 +2309,7 @@ } } }, - "revision": "20240620", + "revision": "20240822", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -3918,6 +3918,10 @@ "description": "A resource that reports the import job errors at row level.", "id": "ImportRowError", "properties": { + "csvError": { + "$ref": "ImportRowErrorCsvErrorDetails", + "description": "Error details for a CSV file." + }, "errors": { "description": "The list of errors detected in the row.", "items": { @@ -3938,6 +3942,38 @@ "vmUuid": { "description": "The VM UUID.", "type": "string" + }, + "xlsxError": { + "$ref": "ImportRowErrorXlsxErrorDetails", + "description": "Error details for an XLSX file." + } + }, + "type": "object" + }, + "ImportRowErrorCsvErrorDetails": { + "description": "Error details for a CSV file.", + "id": "ImportRowErrorCsvErrorDetails", + "properties": { + "rowNumber": { + "description": "The row number where the error was detected.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ImportRowErrorXlsxErrorDetails": { + "description": "Error details for an XLSX file.", + "id": "ImportRowErrorXlsxErrorDetails", + "properties": { + "rowNumber": { + "description": "The row number where the error was detected.", + "format": "int32", + "type": "integer" + }, + "sheet": { + "description": "The name of the sheet where the error was detected.", + "type": "string" } }, "type": "object" diff --git a/migrationcenter/v1/migrationcenter-gen.go b/migrationcenter/v1/migrationcenter-gen.go index 329cff58550..09778762cc1 100644 --- a/migrationcenter/v1/migrationcenter-gen.go +++ b/migrationcenter/v1/migrationcenter-gen.go @@ -2255,6 +2255,8 @@ func (s ImportJob) MarshalJSON() ([]byte, error) { // ImportRowError: A resource that reports the import job errors at row level. type ImportRowError struct { + // CsvError: Error details for a CSV file. + CsvError *ImportRowErrorCsvErrorDetails `json:"csvError,omitempty"` // Errors: The list of errors detected in the row. Errors []*ImportError `json:"errors,omitempty"` // RowNumber: The row number where the error was detected. @@ -2263,13 +2265,15 @@ type ImportRowError struct { VmName string `json:"vmName,omitempty"` // VmUuid: The VM UUID. VmUuid string `json:"vmUuid,omitempty"` - // ForceSendFields is a list of field names (e.g. "Errors") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // XlsxError: Error details for an XLSX file. + XlsxError *ImportRowErrorXlsxErrorDetails `json:"xlsxError,omitempty"` + // ForceSendFields is a list of field names (e.g. "CsvError") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Errors") to include in API + // NullFields is a list of field names (e.g. "CsvError") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. @@ -2281,6 +2285,52 @@ func (s ImportRowError) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ImportRowErrorCsvErrorDetails: Error details for a CSV file. +type ImportRowErrorCsvErrorDetails struct { + // RowNumber: The row number where the error was detected. + RowNumber int64 `json:"rowNumber,omitempty"` + // ForceSendFields is a list of field names (e.g. "RowNumber") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "RowNumber") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ImportRowErrorCsvErrorDetails) MarshalJSON() ([]byte, error) { + type NoMethod ImportRowErrorCsvErrorDetails + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// ImportRowErrorXlsxErrorDetails: Error details for an XLSX file. +type ImportRowErrorXlsxErrorDetails struct { + // RowNumber: The row number where the error was detected. + RowNumber int64 `json:"rowNumber,omitempty"` + // Sheet: The name of the sheet where the error was detected. + Sheet string `json:"sheet,omitempty"` + // ForceSendFields is a list of field names (e.g. "RowNumber") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "RowNumber") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ImportRowErrorXlsxErrorDetails) MarshalJSON() ([]byte, error) { + type NoMethod ImportRowErrorXlsxErrorDetails + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Insight: An insight about an asset. type Insight struct { // GenericInsight: Output only. A generic insight about an asset diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index 0c9a235dc6c..f6a22da0660 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -758,7 +758,7 @@ } } }, - "revision": "20240812", + "revision": "20240821", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1277,6 +1277,7 @@ "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", + "REDIS_INSTANCE_NOT_RUNNING", "TRAFFIC_TYPE_BLOCKED", "GKE_MASTER_UNAUTHORIZED_ACCESS", "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", @@ -1347,6 +1348,7 @@ "Packet is sent from or to a Compute Engine instance that is not in a running state.", "Packet sent from or to a GKE cluster that is not in running state.", "Packet sent from or to a Cloud SQL instance that is not in running state.", + "Packet sent from or to a Redis Instance that is not in running state.", "The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.", "Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.", "Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.", @@ -2588,6 +2590,37 @@ }, "type": "object" }, + "RedisInstanceInfo": { + "description": "For display only. Metadata associated with a Cloud Redis Instance.", + "id": "RedisInstanceInfo", + "properties": { + "displayName": { + "description": "Name of a Cloud Redis Instance.", + "type": "string" + }, + "networkUri": { + "description": "URI of a Cloud Redis Instance network.", + "type": "string" + }, + "primaryEndpointIp": { + "description": "Primary endpoint IP address of a Cloud Redis Instance.", + "type": "string" + }, + "readEndpointIp": { + "description": "Read endpoint IP address of a Cloud Redis Instance (if applicable).", + "type": "string" + }, + "region": { + "description": "Region in which the Cloud Redis Instance is defined.", + "type": "string" + }, + "uri": { + "description": "URI of a Cloud Redis Instance.", + "type": "string" + } + }, + "type": "object" + }, "RerunConnectivityTestRequest": { "description": "Request for the `RerunConnectivityTest` method.", "id": "RerunConnectivityTestRequest", @@ -2885,6 +2918,10 @@ "$ref": "ProxyConnectionInfo", "description": "Display information of a ProxyConnection." }, + "redisInstance": { + "$ref": "RedisInstanceInfo", + "description": "Display information of a Redis Instance." + }, "route": { "$ref": "RouteInfo", "description": "Display information of a Compute Engine route." @@ -2903,6 +2940,7 @@ "START_FROM_PRIVATE_NETWORK", "START_FROM_GKE_MASTER", "START_FROM_CLOUD_SQL_INSTANCE", + "START_FROM_REDIS_INSTANCE", "START_FROM_CLOUD_FUNCTION", "START_FROM_APP_ENGINE_VERSION", "START_FROM_CLOUD_RUN_REVISION", @@ -2950,6 +2988,7 @@ false, false, false, + false, true, true, false, @@ -2971,6 +3010,7 @@ "Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.", "Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.", "Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.", + "Initial state: packet originating from a Redis instance. A RedisInstanceInfo is populated with starting instance information.", "Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.", "Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.", "Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.", diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index 2964a499faa..834512ee9e3 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -920,6 +920,8 @@ type DropInfo struct { // not in running state. // "CLOUD_SQL_INSTANCE_NOT_RUNNING" - Packet sent from or to a Cloud SQL // instance that is not in running state. + // "REDIS_INSTANCE_NOT_RUNNING" - Packet sent from or to a Redis Instance + // that is not in running state. // "TRAFFIC_TYPE_BLOCKED" - The type of traffic is blocked and the user // cannot configure a firewall rule to enable it. See [Always blocked // traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for @@ -2360,6 +2362,40 @@ func (s ReachabilityDetails) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// RedisInstanceInfo: For display only. Metadata associated with a Cloud Redis +// Instance. +type RedisInstanceInfo struct { + // DisplayName: Name of a Cloud Redis Instance. + DisplayName string `json:"displayName,omitempty"` + // NetworkUri: URI of a Cloud Redis Instance network. + NetworkUri string `json:"networkUri,omitempty"` + // PrimaryEndpointIp: Primary endpoint IP address of a Cloud Redis Instance. + PrimaryEndpointIp string `json:"primaryEndpointIp,omitempty"` + // ReadEndpointIp: Read endpoint IP address of a Cloud Redis Instance (if + // applicable). + ReadEndpointIp string `json:"readEndpointIp,omitempty"` + // Region: Region in which the Cloud Redis Instance is defined. + Region string `json:"region,omitempty"` + // Uri: URI of a Cloud Redis Instance. + Uri string `json:"uri,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DisplayName") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s RedisInstanceInfo) MarshalJSON() ([]byte, error) { + type NoMethod RedisInstanceInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RerunConnectivityTestRequest: Request for the `RerunConnectivityTest` // method. type RerunConnectivityTestRequest struct { @@ -2600,6 +2636,8 @@ type Step struct { ProjectId string `json:"projectId,omitempty"` // ProxyConnection: Display information of a ProxyConnection. ProxyConnection *ProxyConnectionInfo `json:"proxyConnection,omitempty"` + // RedisInstance: Display information of a Redis Instance. + RedisInstance *RedisInstanceInfo `json:"redisInstance,omitempty"` // Route: Display information of a Compute Engine route. Route *RouteInfo `json:"route,omitempty"` // ServerlessNeg: Display information of a Serverless network endpoint group @@ -2626,6 +2664,9 @@ type Step struct { // "START_FROM_CLOUD_SQL_INSTANCE" - Initial state: packet originating from a // Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting // instance information. + // "START_FROM_REDIS_INSTANCE" - Initial state: packet originating from a + // Redis instance. A RedisInstanceInfo is populated with starting instance + // information. // "START_FROM_CLOUD_FUNCTION" - Initial state: packet originating from a // Cloud Function. A CloudFunctionInfo is populated with starting function // information.