From e95bd57350fd494a12fe94b167ab27365ef81593 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 17 May 2024 00:22:17 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2590) --- androidpublisher/v3/androidpublisher-api.json | 8 +- androidpublisher/v3/androidpublisher-gen.go | 4 + api-list.json | 2 +- chat/v1/chat-api.json | 8 +- chat/v1/chat-gen.go | 71 +++++------ cloudbuild/v1/cloudbuild-api.json | 58 ++++++--- cloudbuild/v1/cloudbuild-gen.go | 102 ++++++++++------ content/v2.1/content-api.json | 6 +- content/v2.1/content-gen.go | 3 + dlp/v2/dlp-api.json | 77 +++++++++--- dlp/v2/dlp-gen.go | 115 +++++++++++++----- firebaseml/v2beta/firebaseml-api.json | 18 +-- firebaseml/v2beta/firebaseml-gen.go | 9 -- firestore/v1/firestore-api.json | 45 ++++++- firestore/v1/firestore-gen.go | 59 +++++++++ orgpolicy/v2/orgpolicy-api.json | 57 +-------- orgpolicy/v2/orgpolicy-gen.go | 50 -------- run/v1/run-api.json | 26 +++- run/v1/run-gen.go | 33 +++++ sqladmin/v1/sqladmin-api.json | 33 ++++- sqladmin/v1/sqladmin-gen.go | 31 ++++- sqladmin/v1beta4/sqladmin-api.json | 33 ++++- sqladmin/v1beta4/sqladmin-gen.go | 31 ++++- walletobjects/v1/walletobjects-api.json | 31 ++--- walletobjects/v1/walletobjects-gen.go | 48 +++++--- 25 files changed, 626 insertions(+), 332 deletions(-) diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index c918e3e3934..a8b99fc57ca 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4731,7 +4731,7 @@ } } }, - "revision": "20240515", + "revision": "20240516", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -8976,7 +8976,8 @@ "SUBSCRIPTION_STATE_IN_GRACE_PERIOD", "SUBSCRIPTION_STATE_ON_HOLD", "SUBSCRIPTION_STATE_CANCELED", - "SUBSCRIPTION_STATE_EXPIRED" + "SUBSCRIPTION_STATE_EXPIRED", + "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED" ], "enumDescriptions": [ "Unspecified subscription state.", @@ -8986,7 +8987,8 @@ "Subscription is in grace period. The state is only available when the subscription is an auto renewing plan. In this state, all items are in grace period.", "Subscription is on hold (suspended). The state is only available when the subscription is an auto renewing plan. In this state, all items are on hold.", "Subscription is canceled but not expired yet. The state is only available when the subscription is an auto renewing plan. All items have auto_renew_enabled set to false.", - "Subscription is expired. All items have expiry_time in the past." + "Subscription is expired. All items have expiry_time in the past.", + "Pending transaction for subscription is canceled. If this pending purchase was for an existing subscription, use linked_purchase_token to get the current state of that subscription." ], "type": "string" }, diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index ca5a40f3f77..51231389100 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -6247,6 +6247,10 @@ type SubscriptionPurchaseV2 struct { // plan. All items have auto_renew_enabled set to false. // "SUBSCRIPTION_STATE_EXPIRED" - Subscription is expired. All items have // expiry_time in the past. + // "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED" - Pending transaction for + // subscription is canceled. If this pending purchase was for an existing + // subscription, use linked_purchase_token to get the current state of that + // subscription. SubscriptionState string `json:"subscriptionState,omitempty"` // TestPurchase: Only present if this subscription purchase is a test purchase. TestPurchase *TestPurchase `json:"testPurchase,omitempty"` diff --git a/api-list.json b/api-list.json index 642fb119488..dfdfe4c65ac 100644 --- a/api-list.json +++ b/api-list.json @@ -5698,7 +5698,7 @@ "name": "sourcerepo", "version": "v1", "title": "Cloud Source Repositories API", - "description": "Accesses source code repositories hosted by Google.", + "description": "Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end-of-sale starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info.", "discoveryRestUrl": "https://sourcerepo.googleapis.com/$discovery/rest?version=v1", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 6711111c86f..a6aa79fb62c 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -434,7 +434,7 @@ ] }, "setup": { - "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. For a space or group chat, if the caller blocks or is blocked by some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", "flatPath": "v1/spaces:setup", "httpMethod": "POST", "id": "chat.spaces.setup", @@ -457,7 +457,7 @@ "members": { "methods": { "create": { - "description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` in the `CreateMembershipRequest`: - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`.", + "description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` for the human or app member. - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`.", "flatPath": "v1/spaces/{spacesId}/members", "httpMethod": "POST", "id": "chat.spaces.members.create", @@ -1215,7 +1215,7 @@ } } }, - "revision": "20240507", + "revision": "20240509", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessoryWidget": { @@ -3954,7 +3954,7 @@ "id": "SetUpSpaceRequest", "properties": { "memberships": { - "description": "Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 20 memberships (in addition to the caller). The `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/example@gmail.com`.\" To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).", + "description": "Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 20 memberships (in addition to the caller). For human membership, the `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/example@gmail.com`. To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).", "items": { "$ref": "Membership" }, diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index f36b2ab4615..a4a474e7839 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -4405,20 +4405,20 @@ func (s *SelectionItems) MarshalJSON() ([]byte, error) { type SetUpSpaceRequest struct { // Memberships: Optional. The Google Chat users to invite to join the space. // Omit the calling user, as they are added automatically. The set currently - // allows up to 20 memberships (in addition to the caller). The - // `Membership.member` field must contain a `user` with `name` populated - // (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only - // add human users when setting up a space (adding Chat apps is only supported - // for direct message setup with the calling app). You can also add members - // using the user's email as an alias for {user}. For example, the `user.name` - // can be `users/example@gmail.com`." To invite Gmail users or users from - // external Google Workspace domains, user's email must be used for `{user}`. - // Optional when setting `Space.spaceType` to `SPACE`. Required when setting - // `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. - // Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human - // user, along with exactly one membership. Must be empty when creating a 1:1 - // conversation between a human and the calling Chat app (when setting - // `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to + // allows up to 20 memberships (in addition to the caller). For human + // membership, the `Membership.member` field must contain a `user` with `name` + // populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You + // can only add human users when setting up a space (adding Chat apps is only + // supported for direct message setup with the calling app). You can also add + // members using the user's email as an alias for {user}. For example, the + // `user.name` can be `users/example@gmail.com`. To invite Gmail users or users + // from external Google Workspace domains, user's email must be used for + // `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when + // setting `Space.spaceType` to `GROUP_CHAT`, along with at least two + // memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` + // with a human user, along with exactly one membership. Must be empty when + // creating a 1:1 conversation between a human and the calling Chat app (when + // setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to // `true`). Memberships []*Membership `json:"memberships,omitempty"` // RequestId: Optional. A unique identifier for this request. A random UUID is @@ -6474,23 +6474,24 @@ type SpacesSetupCall struct { // automatically added to the space, and shouldn't be specified as a membership // in the request. For an example, see Set up a space with initial members // (https://developers.google.com/workspace/chat/set-up-spaces). To specify the -// human members to add, add memberships with the appropriate `member.name` in -// the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where +// human members to add, add memberships with the appropriate +// `membership.member.name`. To add a human user, use `users/{user}`, where // `{user}` can be the email address for the user. For users in the same // Workspace organization `{user}` can also be the `id` for the person from the // People API, or the `id` for the user in the Directory API. For example, if // the People API Person profile ID for `user@example.com` is `123456789`, you // can add the user to the space by setting the `membership.member.name` to -// `users/user@example.com` or `users/123456789`. For a space or group chat, if -// the caller blocks or is blocked by some members, then those members aren't -// added to the created space. To create a direct message (DM) between the -// calling user and another human user, specify exactly one membership to -// represent the human user. If one user blocks the other, the request fails -// and the DM isn't created. To create a DM between the calling user and the -// calling app, set `Space.singleUserBotDm` to `true` and don't specify any -// memberships. You can only use this method to set up a DM with the calling -// app. To add the calling app as a member of a space or an existing DM between -// two human users, see Invite or add a user or app to a space +// `users/user@example.com` or `users/123456789`. For a named space or group +// chat, if the caller blocks, or is blocked by some members, or doesn't have +// permission to add some members, then those members aren't added to the +// created space. To create a direct message (DM) between the calling user and +// another human user, specify exactly one membership to represent the human +// user. If one user blocks the other, the request fails and the DM isn't +// created. To create a DM between the calling user and the calling app, set +// `Space.singleUserBotDm` to `true` and don't specify any memberships. You can +// only use this method to set up a DM with the calling app. To add the calling +// app as a member of a space or an existing DM between two human users, see +// Invite or add a user or app to a space // (https://developers.google.com/workspace/chat/create-members). If a DM // already exists between two users, even when one user blocks the other at the // time a request is made, then the existing DM is returned. Spaces with @@ -6602,15 +6603,15 @@ type SpacesMembersCreateCall struct { // joining. Otherwise, creating a membership adds the member directly to the // specified space. Requires user authentication // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). -// To specify the member to add, set the `membership.member.name` in the -// `CreateMembershipRequest`: - To add the calling app to a space or a direct -// message between two human users, use `users/app`. Unable to add other apps -// to the space. - To add a human user, use `users/{user}`, where `{user}` can -// be the email address for the user. For users in the same Workspace -// organization `{user}` can also be the `id` for the person from the People -// API, or the `id` for the user in the Directory API. For example, if the -// People API Person profile ID for `user@example.com` is `123456789`, you can -// add the user to the space by setting the `membership.member.name` to +// To specify the member to add, set the `membership.member.name` for the human +// or app member. - To add the calling app to a space or a direct message +// between two human users, use `users/app`. Unable to add other apps to the +// space. - To add a human user, use `users/{user}`, where `{user}` can be the +// email address for the user. For users in the same Workspace organization +// `{user}` can also be the `id` for the person from the People API, or the +// `id` for the user in the Directory API. For example, if the People API +// Person profile ID for `user@example.com` is `123456789`, you can add the +// user to the space by setting the `membership.member.name` to // `users/user@example.com` or `users/123456789`. // // - parent: The resource name of the space for which to create the membership. diff --git a/cloudbuild/v1/cloudbuild-api.json b/cloudbuild/v1/cloudbuild-api.json index 56eae306239..a5b8f302d23 100644 --- a/cloudbuild/v1/cloudbuild-api.json +++ b/cloudbuild/v1/cloudbuild-api.json @@ -2346,7 +2346,7 @@ } } }, - "revision": "20240427", + "revision": "20240512", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -2866,7 +2866,7 @@ }, "source": { "$ref": "Source", - "description": "The location of the source files to build." + "description": "Optional. The location of the source files to build." }, "sourceProvenance": { "$ref": "SourceProvenance", @@ -3510,7 +3510,7 @@ "id": "ConnectedRepository", "properties": { "dir": { - "description": "Directory, relative to the source root, in which to run the build.", + "description": "Optional. Directory, relative to the source root, in which to run the build.", "type": "string" }, "repository": { @@ -3518,7 +3518,7 @@ "type": "string" }, "revision": { - "description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", + "description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", "type": "string" } }, @@ -3810,6 +3810,26 @@ }, "type": "object" }, + "GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GitConfig", @@ -4221,15 +4241,15 @@ "id": "GitSource", "properties": { "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", "type": "string" }, "revision": { - "description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", + "description": "Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", "type": "string" }, "url": { - "description": "Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", + "description": "Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", "type": "string" } }, @@ -4297,6 +4317,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" @@ -4802,26 +4826,26 @@ "type": "string" }, "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", "type": "string" }, "invertRegex": { - "description": "Only trigger a build if the revision regex does NOT match the revision regex.", + "description": "Optional. Only trigger a build if the revision regex does NOT match the revision regex.", "type": "boolean" }, "projectId": { - "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", + "description": "Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", "type": "string" }, "repoName": { - "description": "Name of the Cloud Source Repository.", + "description": "Required. Name of the Cloud Source Repository.", "type": "string" }, "substitutions": { "additionalProperties": { "type": "string" }, - "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", + "description": "Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", "type": "object" }, "tagName": { @@ -4891,7 +4915,7 @@ "type": "array" }, "buildStepOutputs": { - "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.", + "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.", "items": { "format": "byte", "type": "string" @@ -5142,12 +5166,12 @@ "type": "string" }, "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "description": "Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", "format": "int64", "type": "string" }, "object": { - "description": "Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", + "description": "Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", "type": "string" }, "sourceFetcher": { @@ -5172,7 +5196,7 @@ "id": "StorageSourceManifest", "properties": { "bucket": { - "description": "Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "description": "Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", "type": "string" }, "generation": { @@ -5181,7 +5205,7 @@ "type": "string" }, "object": { - "description": "Cloud Storage object containing the source manifest. This object must be a JSON file.", + "description": "Required. Cloud Storage object containing the source manifest. This object must be a JSON file.", "type": "string" } }, diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index 11a3875834e..dfd6c11dd3b 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -1050,7 +1050,7 @@ type Build struct { // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email // address or uniqueId of the service account. ServiceAccount string `json:"serviceAccount,omitempty"` - // Source: The location of the source files to build. + // Source: Optional. The location of the source files to build. Source *Source `json:"source,omitempty"` // SourceProvenance: Output only. A permanent fixed identifier for source. SourceProvenance *SourceProvenance `json:"sourceProvenance,omitempty"` @@ -1616,13 +1616,14 @@ type CancelOperationRequest struct { // ConnectedRepository: Location of the source in a 2nd-gen Google Cloud Build // repository resource. type ConnectedRepository struct { - // Dir: Directory, relative to the source root, in which to run the build. + // Dir: Optional. Directory, relative to the source root, in which to run the + // build. Dir string `json:"dir,omitempty"` // Repository: Required. Name of the Google Cloud Build repository, formatted // as `projects/*/locations/*/connections/*/repositories/*`. Repository string `json:"repository,omitempty"` - // Revision: The revision to fetch from the Git repository such as a branch, a - // tag, a commit SHA, or any Git ref. + // Revision: Required. The revision to fetch from the Git repository such as a + // branch, a tag, a commit SHA, or any Git ref. Revision string `json:"revision,omitempty"` // ForceSendFields is a list of field names (e.g. "Dir") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -2056,6 +2057,35 @@ func (s *FileHashes) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// GCSLocation: Represents a storage location in Cloud Storage +type GCSLocation struct { + // Bucket: Cloud Storage bucket. See + // https://cloud.google.com/storage/docs/naming#requirements + Bucket string `json:"bucket,omitempty"` + // Generation: Cloud Storage generation for the object. If the generation is + // omitted, the latest generation will be used. + Generation int64 `json:"generation,omitempty,string"` + // Object: Cloud Storage object. See + // https://cloud.google.com/storage/docs/naming#objectnames + Object string `json:"object,omitempty"` + // ForceSendFields is a list of field names (e.g. "Bucket") 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. "Bucket") 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 *GCSLocation) MarshalJSON() ([]byte, error) { + type NoMethod GCSLocation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // GitConfig: GitConfig is a configuration for git operations. type GitConfig struct { // Http: Configuration for HTTP related git operations. @@ -2551,20 +2581,20 @@ func (s *GitRepoSource) MarshalJSON() ([]byte, error) { // GitSource: Location of the source in any accessible Git repository. type GitSource struct { - // Dir: Directory, relative to the source root, in which to run the build. This - // must be a relative path. If a step's `dir` is specified and is an absolute - // path, this value is ignored for that step's execution. + // Dir: Optional. Directory, relative to the source root, in which to run the + // build. This must be a relative path. If a step's `dir` is specified and is + // an absolute path, this value is ignored for that step's execution. Dir string `json:"dir,omitempty"` - // Revision: The revision to fetch from the Git repository such as a branch, a - // tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the - // revision from the Git repository; therefore make sure that the string you - // provide for `revision` is parsable by the command. For information on string - // values accepted by `git fetch`, see + // Revision: Optional. The revision to fetch from the Git repository such as a + // branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to + // fetch the revision from the Git repository; therefore make sure that the + // string you provide for `revision` is parsable by the command. For + // information on string values accepted by `git fetch`, see // https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information // on `git fetch`, see https://git-scm.com/docs/git-fetch. Revision string `json:"revision,omitempty"` - // Url: Location of the Git repo to build. This will be used as a `git remote`, - // see https://git-scm.com/docs/git-remote. + // Url: Required. Location of the Git repo to build. This will be used as a + // `git remote`, see https://git-scm.com/docs/git-remote. Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Dir") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -2663,6 +2693,9 @@ type HttpConfig struct { // ProxySecretVersionName: SecretVersion resource of the HTTP proxy URL. The // proxy URL should be in format protocol://@]proxyhost[:port]. ProxySecretVersionName string `json:"proxySecretVersionName,omitempty"` + // ProxySslCaInfo: Optional. Cloud Storage object storing the certificate to + // use with the HTTP proxy. + ProxySslCaInfo *GCSLocation `json:"proxySslCaInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ProxySecretVersionName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3430,20 +3463,20 @@ type RepoSource struct { BranchName string `json:"branchName,omitempty"` // CommitSha: Explicit commit SHA to build. CommitSha string `json:"commitSha,omitempty"` - // Dir: Directory, relative to the source root, in which to run the build. This - // must be a relative path. If a step's `dir` is specified and is an absolute - // path, this value is ignored for that step's execution. + // Dir: Optional. Directory, relative to the source root, in which to run the + // build. This must be a relative path. If a step's `dir` is specified and is + // an absolute path, this value is ignored for that step's execution. Dir string `json:"dir,omitempty"` - // InvertRegex: Only trigger a build if the revision regex does NOT match the - // revision regex. + // InvertRegex: Optional. Only trigger a build if the revision regex does NOT + // match the revision regex. InvertRegex bool `json:"invertRegex,omitempty"` - // ProjectId: ID of the project that owns the Cloud Source Repository. If - // omitted, the project ID requesting the build is assumed. + // ProjectId: Optional. ID of the project that owns the Cloud Source + // Repository. If omitted, the project ID requesting the build is assumed. ProjectId string `json:"projectId,omitempty"` - // RepoName: Name of the Cloud Source Repository. + // RepoName: Required. Name of the Cloud Source Repository. RepoName string `json:"repoName,omitempty"` - // Substitutions: Substitutions to use in a triggered build. Should only be - // used with RunBuildTrigger + // Substitutions: Optional. Substitutions to use in a triggered build. Should + // only be used with RunBuildTrigger Substitutions map[string]string `json:"substitutions,omitempty"` // TagName: Regex matching tags to build. The syntax of the regular expressions // accepted is the syntax accepted by RE2 and described at @@ -3521,7 +3554,8 @@ type Results struct { // the order corresponding to build step indices. Cloud Builders // (https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this // output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data - // is stored. + // is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't + // be substituted. BuildStepOutputs []string `json:"buildStepOutputs,omitempty"` // Images: Container images that were built as a part of the build. Images []*BuiltImage `json:"images,omitempty"` @@ -3844,12 +3878,12 @@ type StorageSource struct { // Requirements // (https://cloud.google.com/storage/docs/bucket-naming#requirements)). Bucket string `json:"bucket,omitempty"` - // Generation: Cloud Storage generation for the object. If the generation is - // omitted, the latest generation will be used. + // Generation: Optional. Cloud Storage generation for the object. If the + // generation is omitted, the latest generation will be used. Generation int64 `json:"generation,omitempty,string"` - // Object: Cloud Storage object containing the source. This object must be a - // zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to - // build. + // Object: Required. Cloud Storage object containing the source. This object + // must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing + // source to build. Object string `json:"object,omitempty"` // SourceFetcher: Optional. Option to specify the tool to fetch the source file // for the build. @@ -3882,15 +3916,15 @@ func (s *StorageSource) MarshalJSON() ([]byte, error) { // This feature is in Preview; see description here // (https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). type StorageSourceManifest struct { - // Bucket: Cloud Storage bucket containing the source manifest (see Bucket Name - // Requirements + // Bucket: Required. Cloud Storage bucket containing the source manifest (see + // Bucket Name Requirements // (https://cloud.google.com/storage/docs/bucket-naming#requirements)). Bucket string `json:"bucket,omitempty"` // Generation: Cloud Storage generation for the object. If the generation is // omitted, the latest generation will be used. Generation int64 `json:"generation,omitempty,string"` - // Object: Cloud Storage object containing the source manifest. This object - // must be a JSON file. + // Object: Required. Cloud Storage object containing the source manifest. This + // object must be a JSON file. Object string `json:"object,omitempty"` // ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index e7f1039ff34..3626226066c 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -6219,7 +6219,7 @@ } } }, - "revision": "20240508", + "revision": "20240514", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -14575,6 +14575,10 @@ "certificationName": { "description": "The name of the certification, for example \"EPREL\". Maximum length is 2000 characters.", "type": "string" + }, + "certificationValue": { + "description": "The certification value (also known as class, level or grade), for example \"A+\", \"C\", \"gold\". Maximum length is 2000 characters.", + "type": "string" } }, "type": "object" diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index d19c67609df..6d53edbae5d 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -11574,6 +11574,9 @@ type ProductCertification struct { // CertificationName: The name of the certification, for example "EPREL". // Maximum length is 2000 characters. CertificationName string `json:"certificationName,omitempty"` + // CertificationValue: The certification value (also known as class, level or + // grade), for example "A+", "C", "gold". Maximum length is 2000 characters. + CertificationValue string `json:"certificationValue,omitempty"` // ForceSendFields is a list of field names (e.g. "CertificationAuthority") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index 9b3bc16791b..4f4611664d7 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -596,7 +596,7 @@ ], "parameters": { "filter": { - "description": "Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR", "location": "query", "type": "string" }, @@ -2810,7 +2810,7 @@ ], "parameters": { "filter": { - "description": "Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR", "location": "query", "type": "string" }, @@ -2879,7 +2879,7 @@ ], "parameters": { "filter": { - "description": "Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR", "location": "query", "type": "string" }, @@ -4451,7 +4451,7 @@ } } }, - "revision": "20240505", + "revision": "20240512", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5047,7 +5047,7 @@ "type": "object" }, "GooglePrivacyDlpV2CloudSqlIamCredential": { - "description": "Use IAM auth to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication.", + "description": "Use IAM authentication to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication.", "id": "GooglePrivacyDlpV2CloudSqlIamCredential", "properties": {}, "type": "object" @@ -5072,9 +5072,9 @@ "DATABASE_ENGINE_POSTGRES" ], "enumDescriptions": [ - "An engine that is not currently supported by SDP.", + "An engine that is not currently supported by Sensitive Data Protection.", "Cloud SQL for MySQL instance.", - "Cloud SQL for Postgres instance." + "Cloud SQL for PostgreSQL instance." ], "type": "string" }, @@ -5496,7 +5496,7 @@ "Unused", "DLP automatically created this connection during an initial scan, and it is awaiting full configuration by a user.", "A configured connection that has not encountered any errors.", - "A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE. If the resolution requires external action, then a request to set the status to AVAILABLE will mark this connection for use. Otherwise, any changes to the connection properties will automatically mark it as AVAILABLE." + "A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE. If the resolution requires external action, then the client must send a request to set the status to AVAILABLE when the connection is ready for use. If the resolution doesn't require external action, then any changes to the connection properties will automatically mark it as AVAILABLE." ], "type": "string" } @@ -6016,7 +6016,7 @@ "enumDescriptions": [ "Unused.", "New profile (not a re-profile).", - "Changed one of the following profile metrics: * Data risk score * Sensitivity score * Resource visibility * Encryption type * Predicted infoTypes * Other infoTypes", + "One of the following profile metrics changed: Data risk score, Sensitivity score, Resource visibility, Encryption type, Predicted infoTypes, Other infoTypes", "Table data risk score or sensitivity score increased.", "A user (non-internal) error occurred." ], @@ -6079,12 +6079,20 @@ "description": "Identifies a single database resource, like a table within a database.", "id": "GooglePrivacyDlpV2DatabaseResourceReference", "properties": { + "database": { + "description": "Required. Name of a database within the instance.", + "type": "string" + }, + "databaseResource": { + "description": "Required. Name of a database resource, for example, a table within the database.", + "type": "string" + }, "instance": { - "description": "Required. The instance where this resource is located. For example: Cloud SQL's instance id.", + "description": "Required. The instance where this resource is located. For example: Cloud SQL instance ID.", "type": "string" }, "projectId": { - "description": "Required. If within a project-level config, then this must match the config's project id.", + "description": "Required. If within a project-level config, then this must match the config's project ID.", "type": "string" } }, @@ -6107,7 +6115,7 @@ "type": "string" }, "projectIdRegex": { - "description": "For organizations, if unset, will match all projects. Has no effect for Data Profile configurations created within a project.", + "description": "For organizations, if unset, will match all projects. Has no effect for configurations created within a project.", "type": "string" } }, @@ -6581,6 +6589,10 @@ "$ref": "GooglePrivacyDlpV2AllOtherBigQueryTables", "description": "Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically." }, + "tableReference": { + "$ref": "GooglePrivacyDlpV2TableReference", + "description": "The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference)." + }, "tables": { "$ref": "GooglePrivacyDlpV2BigQueryTableCollection", "description": "A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID." @@ -6604,8 +6616,8 @@ "enumDescriptions": [ "Unused.", "Include all supported database engines.", - "MySql database.", - "PostGres database." + "MySQL database.", + "PostgreSQL database." ], "type": "string" }, @@ -6878,6 +6890,10 @@ "cloudSqlTarget": { "$ref": "GooglePrivacyDlpV2CloudSqlDiscoveryTarget", "description": "Cloud SQL target for Discovery. The first target to match a table will be the one applied." + }, + "secretsTarget": { + "$ref": "GooglePrivacyDlpV2SecretsDiscoveryTarget", + "description": "Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed." } }, "type": "object" @@ -8108,7 +8124,7 @@ "type": "object" }, "GooglePrivacyDlpV2JobTrigger": { - "description": "Contains a configuration to make api calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn more.", + "description": "Contains a configuration to make API calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn more.", "id": "GooglePrivacyDlpV2JobTrigger", "properties": { "createTime": { @@ -9211,7 +9227,7 @@ "enumDescriptions": [ "Unused.", "New profile (not a re-profile).", - "Changed one of the following profile metrics: * Data risk score * Sensitivity score * Resource visibility * Encryption type * Predicted infoTypes * Other infoTypes", + "One of the following profile metrics changed: Data risk score, Sensitivity score, Resource visibility, Encryption type, Predicted infoTypes, Other infoTypes", "Table data risk score or sensitivity score increased.", "A user (non-internal) error occurred." ], @@ -9652,7 +9668,7 @@ "type": "array" }, "numRowsProcessed": { - "description": "Number of rows scanned post sampling and time filtering (Applicable for row based stores such as BigQuery).", + "description": "Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).", "format": "int64", "type": "string" }, @@ -9729,7 +9745,7 @@ "type": "object" }, "GooglePrivacyDlpV2SchemaModifiedCadence": { - "description": "How frequency to modify the profile when the table's schema is modified.", + "description": "How frequently to modify the profile when the table's schema is modified.", "id": "GooglePrivacyDlpV2SchemaModifiedCadence", "properties": { "frequency": { @@ -9758,7 +9774,7 @@ ], "enumDescriptions": [ "Unused.", - "New columns has appeared.", + "New columns have appeared.", "Columns have been removed from the table." ], "type": "string" @@ -9801,6 +9817,12 @@ }, "type": "object" }, + "GooglePrivacyDlpV2SecretsDiscoveryTarget": { + "description": "Discovery target for credentials and secrets in Cloud resource metadata. This target does not include any filtering or frequency controls. Cloud DLP will scan Cloud resource metadata for secrets daily. No inspect template should be included in the discovery config for a security benchmarks scan. Instead, the built-in list of Secrets and Credentials infoTypes will be used (see https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). Credentials and secrets discovered will be reported as vulnerabilities to Security Command Center.", + "id": "GooglePrivacyDlpV2SecretsDiscoveryTarget", + "properties": {}, + "type": "object" + }, "GooglePrivacyDlpV2SelectedInfoTypes": { "description": "Apply transformation to the selected info_types.", "id": "GooglePrivacyDlpV2SelectedInfoTypes", @@ -10191,7 +10213,7 @@ "enumDescriptions": [ "Unused.", "Visible to any user.", - "May contain public items. For example, if a GCS bucket has uniform bucket level access disabled, some objects inside it may be public.", + "May contain public items. For example, if a Cloud Storage bucket has uniform bucket level access disabled, some objects inside it may be public.", "Visible only to specific users." ], "type": "string" @@ -10262,6 +10284,21 @@ }, "type": "object" }, + "GooglePrivacyDlpV2TableReference": { + "description": "Message defining the location of a BigQuery table with the projectId inferred from the parent project.", + "id": "GooglePrivacyDlpV2TableReference", + "properties": { + "datasetId": { + "description": "Dataset ID of the table.", + "type": "string" + }, + "tableId": { + "description": "Name of the table.", + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2TaggedField": { "description": "A column with a semantic tag attached.", "id": "GooglePrivacyDlpV2TaggedField", diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 73eec0df2bb..7f9fdae4e6a 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -1406,9 +1406,9 @@ func (s *GooglePrivacyDlpV2CloudSqlDiscoveryTarget) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// GooglePrivacyDlpV2CloudSqlIamCredential: Use IAM auth to connect. This -// requires the Cloud SQL IAM feature to be enabled on the instance, which is -// not the default for Cloud SQL. See +// GooglePrivacyDlpV2CloudSqlIamCredential: Use IAM authentication to connect. +// This requires the Cloud SQL IAM feature to be enabled on the instance, which +// is not the default for Cloud SQL. See // https://cloud.google.com/sql/docs/postgres/authentication and // https://cloud.google.com/sql/docs/mysql/authentication. type GooglePrivacyDlpV2CloudSqlIamCredential struct { @@ -1431,9 +1431,9 @@ type GooglePrivacyDlpV2CloudSqlProperties struct { // // Possible values: // "DATABASE_ENGINE_UNKNOWN" - An engine that is not currently supported by - // SDP. + // Sensitive Data Protection. // "DATABASE_ENGINE_MYSQL" - Cloud SQL for MySQL instance. - // "DATABASE_ENGINE_POSTGRES" - Cloud SQL for Postgres instance. + // "DATABASE_ENGINE_POSTGRES" - Cloud SQL for PostgreSQL instance. DatabaseEngine string `json:"databaseEngine,omitempty"` // MaxConnections: Required. DLP will limit its connections to max_connections. // Must be 2 or greater. @@ -1933,8 +1933,9 @@ type GooglePrivacyDlpV2Connection struct { // "AVAILABLE" - A configured connection that has not encountered any errors. // "ERROR" - A configured connection that encountered errors during its last // use. It will not be used again until it is set to AVAILABLE. If the - // resolution requires external action, then a request to set the status to - // AVAILABLE will mark this connection for use. Otherwise, any changes to the + // resolution requires external action, then the client must send a request to + // set the status to AVAILABLE when the connection is ready for use. If the + // resolution doesn't require external action, then any changes to the // connection properties will automatically mark it as AVAILABLE. State string `json:"state,omitempty"` @@ -2749,9 +2750,9 @@ type GooglePrivacyDlpV2DataProfilePubSubMessage struct { // Possible values: // "EVENT_TYPE_UNSPECIFIED" - Unused. // "NEW_PROFILE" - New profile (not a re-profile). - // "CHANGED_PROFILE" - Changed one of the following profile metrics: * Data - // risk score * Sensitivity score * Resource visibility * Encryption type * - // Predicted infoTypes * Other infoTypes + // "CHANGED_PROFILE" - One of the following profile metrics changed: Data + // risk score, Sensitivity score, Resource visibility, Encryption type, + // Predicted infoTypes, Other infoTypes // "SCORE_INCREASED" - Table data risk score or sensitivity score increased. // "ERROR_CHANGED" - A user (non-internal) error occurred. Event string `json:"event,omitempty"` @@ -2865,19 +2866,24 @@ func (s *GooglePrivacyDlpV2DatabaseResourceCollection) MarshalJSON() ([]byte, er // GooglePrivacyDlpV2DatabaseResourceReference: Identifies a single database // resource, like a table within a database. type GooglePrivacyDlpV2DatabaseResourceReference struct { + // Database: Required. Name of a database within the instance. + Database string `json:"database,omitempty"` + // DatabaseResource: Required. Name of a database resource, for example, a + // table within the database. + DatabaseResource string `json:"databaseResource,omitempty"` // Instance: Required. The instance where this resource is located. For - // example: Cloud SQL's instance id. + // example: Cloud SQL instance ID. Instance string `json:"instance,omitempty"` // ProjectId: Required. If within a project-level config, then this must match - // the config's project id. + // the config's project ID. ProjectId string `json:"projectId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Instance") to + // ForceSendFields is a list of field names (e.g. "Database") 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. "Instance") to include in API + // NullFields is a list of field names (e.g. "Database") 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. @@ -2906,7 +2912,7 @@ type GooglePrivacyDlpV2DatabaseResourceRegex struct { // instances match. InstanceRegex string `json:"instanceRegex,omitempty"` // ProjectIdRegex: For organizations, if unset, will match all projects. Has no - // effect for Data Profile configurations created within a project. + // effect for configurations created within a project. ProjectIdRegex string `json:"projectIdRegex,omitempty"` // ForceSendFields is a list of field names (e.g. "DatabaseRegex") to // unconditionally include in API requests. By default, fields with empty or @@ -3663,6 +3669,10 @@ type GooglePrivacyDlpV2DiscoveryBigQueryFilter struct { // configuration. If none is specified, a default one will be added // automatically. OtherTables *GooglePrivacyDlpV2AllOtherBigQueryTables `json:"otherTables,omitempty"` + // TableReference: The table to scan. Discovery configurations including this + // can only include one DiscoveryTarget (the DiscoveryTarget with this + // TableReference). + TableReference *GooglePrivacyDlpV2TableReference `json:"tableReference,omitempty"` // Tables: A specific set of tables for this filter to apply to. A table // collection must be specified in only one filter per config. If a table id or // dataset is empty, Cloud DLP assumes all tables in that collection must be @@ -3695,8 +3705,8 @@ type GooglePrivacyDlpV2DiscoveryCloudSqlConditions struct { // Possible values: // "DATABASE_ENGINE_UNSPECIFIED" - Unused. // "ALL_SUPPORTED_DATABASE_ENGINES" - Include all supported database engines. - // "MYSQL" - MySql database. - // "POSTGRES" - PostGres database. + // "MYSQL" - MySQL database. + // "POSTGRES" - PostgreSQL database. DatabaseEngines []string `json:"databaseEngines,omitempty"` // Types: Data profiles will only be generated for the database resource types // specified in this field. If not specified, defaults to @@ -4018,6 +4028,10 @@ type GooglePrivacyDlpV2DiscoveryTarget struct { // CloudSqlTarget: Cloud SQL target for Discovery. The first target to match a // table will be the one applied. CloudSqlTarget *GooglePrivacyDlpV2CloudSqlDiscoveryTarget `json:"cloudSqlTarget,omitempty"` + // SecretsTarget: Discovery target that looks for credentials and secrets + // stored in cloud resource metadata and reports them as vulnerabilities to + // Security Command Center. Only one target of this type is allowed. + SecretsTarget *GooglePrivacyDlpV2SecretsDiscoveryTarget `json:"secretsTarget,omitempty"` // ForceSendFields is a list of field names (e.g. "BigQueryTarget") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -5642,7 +5656,7 @@ func (s *GooglePrivacyDlpV2InspectionRuleSet) MarshalJSON() ([]byte, error) { type GooglePrivacyDlpV2JobNotificationEmails struct { } -// GooglePrivacyDlpV2JobTrigger: Contains a configuration to make api calls on +// GooglePrivacyDlpV2JobTrigger: Contains a configuration to make API calls on // a repeating basis. See // https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers // to learn more. @@ -7157,9 +7171,9 @@ type GooglePrivacyDlpV2PubSubNotification struct { // Possible values: // "EVENT_TYPE_UNSPECIFIED" - Unused. // "NEW_PROFILE" - New profile (not a re-profile). - // "CHANGED_PROFILE" - Changed one of the following profile metrics: * Data - // risk score * Sensitivity score * Resource visibility * Encryption type * - // Predicted infoTypes * Other infoTypes + // "CHANGED_PROFILE" - One of the following profile metrics changed: Data + // risk score, Sensitivity score, Resource visibility, Encryption type, + // Predicted infoTypes, Other infoTypes // "SCORE_INCREASED" - Table data risk score or sensitivity score increased. // "ERROR_CHANGED" - A user (non-internal) error occurred. Event string `json:"event,omitempty"` @@ -7865,8 +7879,8 @@ type GooglePrivacyDlpV2Result struct { // InfoTypeStats: Statistics of how many instances of each info type were found // during inspect job. InfoTypeStats []*GooglePrivacyDlpV2InfoTypeStats `json:"infoTypeStats,omitempty"` - // NumRowsProcessed: Number of rows scanned post sampling and time filtering - // (Applicable for row based stores such as BigQuery). + // NumRowsProcessed: Number of rows scanned after sampling and time filtering + // (applicable for row based stores such as BigQuery). NumRowsProcessed int64 `json:"numRowsProcessed,omitempty,string"` // ProcessedBytes: Total size in bytes that were processed. ProcessedBytes int64 `json:"processedBytes,omitempty,string"` @@ -7992,8 +8006,8 @@ func (s *GooglePrivacyDlpV2Schedule) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// GooglePrivacyDlpV2SchemaModifiedCadence: How frequency to modify the profile -// when the table's schema is modified. +// GooglePrivacyDlpV2SchemaModifiedCadence: How frequently to modify the +// profile when the table's schema is modified. type GooglePrivacyDlpV2SchemaModifiedCadence struct { // Frequency: Frequency to regenerate data profiles when the schema is // modified. Defaults to monthly. @@ -8012,7 +8026,7 @@ type GooglePrivacyDlpV2SchemaModifiedCadence struct { // // Possible values: // "SQL_SCHEMA_MODIFICATION_UNSPECIFIED" - Unused. - // "NEW_COLUMNS" - New columns has appeared. + // "NEW_COLUMNS" - New columns have appeared. // "REMOVED_COLUMNS" - Columns have been removed from the table. Types []string `json:"types,omitempty"` // ForceSendFields is a list of field names (e.g. "Frequency") to @@ -8093,6 +8107,18 @@ func (s *GooglePrivacyDlpV2SecretManagerCredential) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// GooglePrivacyDlpV2SecretsDiscoveryTarget: Discovery target for credentials +// and secrets in Cloud resource metadata. This target does not include any +// filtering or frequency controls. Cloud DLP will scan Cloud resource metadata +// for secrets daily. No inspect template should be included in the discovery +// config for a security benchmarks scan. Instead, the built-in list of Secrets +// and Credentials infoTypes will be used (see +// https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). +// Credentials and secrets discovered will be reported as vulnerabilities to +// Security Command Center. +type GooglePrivacyDlpV2SecretsDiscoveryTarget struct { +} + // GooglePrivacyDlpV2SelectedInfoTypes: Apply transformation to the selected // info_types. type GooglePrivacyDlpV2SelectedInfoTypes struct { @@ -8542,8 +8568,8 @@ type GooglePrivacyDlpV2TableDataProfile struct { // "RESOURCE_VISIBILITY_UNSPECIFIED" - Unused. // "RESOURCE_VISIBILITY_PUBLIC" - Visible to any user. // "RESOURCE_VISIBILITY_INCONCLUSIVE" - May contain public items. For - // example, if a GCS bucket has uniform bucket level access disabled, some - // objects inside it may be public. + // example, if a Cloud Storage bucket has uniform bucket level access disabled, + // some objects inside it may be public. // "RESOURCE_VISIBILITY_RESTRICTED" - Visible only to specific users. ResourceVisibility string `json:"resourceVisibility,omitempty"` // RowCount: Number of rows in the table when the profile was generated. This @@ -8641,6 +8667,31 @@ func (s *GooglePrivacyDlpV2TableOptions) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// GooglePrivacyDlpV2TableReference: Message defining the location of a +// BigQuery table with the projectId inferred from the parent project. +type GooglePrivacyDlpV2TableReference struct { + // DatasetId: Dataset ID of the table. + DatasetId string `json:"datasetId,omitempty"` + // TableId: Name of the table. + TableId string `json:"tableId,omitempty"` + // ForceSendFields is a list of field names (e.g. "DatasetId") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. 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. "DatasetId") 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 *GooglePrivacyDlpV2TableReference) MarshalJSON() ([]byte, error) { + type NoMethod GooglePrivacyDlpV2TableReference + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // GooglePrivacyDlpV2TaggedField: A column with a semantic tag attached. type GooglePrivacyDlpV2TaggedField struct { // CustomTag: A column can be tagged with a custom tag. In this case, the user @@ -11439,7 +11490,7 @@ func (r *OrganizationsLocationsConnectionsService) Search(parent string) *Organi return c } -// Filter sets the optional parameter "filter": * Supported fields/values - +// Filter sets the optional parameter "filter": Supported field/value: - // `state` - MISSING|AVAILABLE|ERROR func (c *OrganizationsLocationsConnectionsSearchCall) Filter(filter string) *OrganizationsLocationsConnectionsSearchCall { c.urlParams_.Set("filter", filter) @@ -19832,8 +19883,8 @@ func (r *ProjectsLocationsConnectionsService) List(parent string) *ProjectsLocat return c } -// Filter sets the optional parameter "filter": * Supported fields/values - -// `state` - MISSING|AVAILABLE|ERROR +// Filter sets the optional parameter "filter": Supported field/value: `state` +// - MISSING|AVAILABLE|ERROR func (c *ProjectsLocationsConnectionsListCall) Filter(filter string) *ProjectsLocationsConnectionsListCall { c.urlParams_.Set("filter", filter) return c @@ -20087,7 +20138,7 @@ func (r *ProjectsLocationsConnectionsService) Search(parent string) *ProjectsLoc return c } -// Filter sets the optional parameter "filter": * Supported fields/values - +// Filter sets the optional parameter "filter": Supported field/value: - // `state` - MISSING|AVAILABLE|ERROR func (c *ProjectsLocationsConnectionsSearchCall) Filter(filter string) *ProjectsLocationsConnectionsSearchCall { c.urlParams_.Set("filter", filter) diff --git a/firebaseml/v2beta/firebaseml-api.json b/firebaseml/v2beta/firebaseml-api.json index 6a3b456ad10..084bb84b001 100644 --- a/firebaseml/v2beta/firebaseml-api.json +++ b/firebaseml/v2beta/firebaseml-api.json @@ -206,7 +206,7 @@ } } }, - "revision": "20240514", + "revision": "20240515", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Blob": { @@ -627,22 +627,6 @@ "description": "Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", "type": "string" }, - "responseStyle": { - "description": "Optional. Control Three levels of creativity in the model output. Default: RESPONSE_STYLE_BALANCED", - "enum": [ - "RESPONSE_STYLE_UNSPECIFIED", - "RESPONSE_STYLE_PRECISE", - "RESPONSE_STYLE_BALANCED", - "RESPONSE_STYLE_CREATIVE" - ], - "enumDescriptions": [ - "response style unspecified.", - "Precise response.", - "Default response style.", - "Creative response style." - ], - "type": "string" - }, "stopSequences": { "description": "Optional. Stop sequences.", "items": { diff --git a/firebaseml/v2beta/firebaseml-gen.go b/firebaseml/v2beta/firebaseml-gen.go index 5f0109a7d3b..c58c20d3146 100644 --- a/firebaseml/v2beta/firebaseml-gen.go +++ b/firebaseml/v2beta/firebaseml-gen.go @@ -719,15 +719,6 @@ type GenerationConfig struct { // prompted to output the appropriate response type, otherwise the behavior is // undefined. This is a preview feature. ResponseMimeType string `json:"responseMimeType,omitempty"` - // ResponseStyle: Optional. Control Three levels of creativity in the model - // output. Default: RESPONSE_STYLE_BALANCED - // - // Possible values: - // "RESPONSE_STYLE_UNSPECIFIED" - response style unspecified. - // "RESPONSE_STYLE_PRECISE" - Precise response. - // "RESPONSE_STYLE_BALANCED" - Default response style. - // "RESPONSE_STYLE_CREATIVE" - Creative response style. - ResponseStyle string `json:"responseStyle,omitempty"` // StopSequences: Optional. Stop sequences. StopSequences []string `json:"stopSequences,omitempty"` // Temperature: Optional. Controls the randomness of predictions. diff --git a/firestore/v1/firestore-api.json b/firestore/v1/firestore-api.json index 9d366efd183..fb708262e8f 100644 --- a/firestore/v1/firestore-api.json +++ b/firestore/v1/firestore-api.json @@ -1677,7 +1677,7 @@ } } }, - "revision": "20240430", + "revision": "20240512", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2515,7 +2515,12 @@ "GoogleFirestoreAdminV1DailyRecurrence": { "description": "Represents a recurring schedule that runs every day. The time zone is UTC.", "id": "GoogleFirestoreAdminV1DailyRecurrence", - "properties": {}, + "properties": { + "time": { + "$ref": "TimeOfDay", + "description": "Time of the day. The first run scheduled will be either on the same day if schedule creation time precedes time_of_day or the next day otherwise." + } + }, "type": "object" }, "GoogleFirestoreAdminV1Database": { @@ -2619,6 +2624,11 @@ ], "type": "string" }, + "previousId": { + "description": "Output only. The database resource's prior database ID. This field is only populated for deleted databases.", + "readOnly": true, + "type": "string" + }, "type": { "description": "The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.", "enum": [ @@ -3482,6 +3492,10 @@ "Sunday" ], "type": "string" + }, + "time": { + "$ref": "TimeOfDay", + "description": "Time of the day. If day is today, the first run will happen today if schedule creation time precedes time_of_day, and the next week otherwise." } }, "type": "object" @@ -4217,6 +4231,33 @@ }, "type": "object" }, + "TimeOfDay": { + "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", + "id": "TimeOfDay", + "properties": { + "hours": { + "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "format": "int32", + "type": "integer" + }, + "minutes": { + "description": "Minutes of hour of day. Must be from 0 to 59.", + "format": "int32", + "type": "integer" + }, + "nanos": { + "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "format": "int32", + "type": "integer" + }, + "seconds": { + "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "TransactionOptions": { "description": "Options for creating a new transaction.", "id": "TransactionOptions", diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index 6e77a4c14fa..22c8a3a5aee 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -1542,6 +1542,26 @@ type GoogleFirestoreAdminV1CreateDatabaseMetadata struct { // GoogleFirestoreAdminV1DailyRecurrence: Represents a recurring schedule that // runs every day. The time zone is UTC. type GoogleFirestoreAdminV1DailyRecurrence struct { + // Time: Time of the day. The first run scheduled will be either on the same + // day if schedule creation time precedes time_of_day or the next day + // otherwise. + Time *TimeOfDay `json:"time,omitempty"` + // ForceSendFields is a list of field names (e.g. "Time") 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. "Time") 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 *GoogleFirestoreAdminV1DailyRecurrence) MarshalJSON() ([]byte, error) { + type NoMethod GoogleFirestoreAdminV1DailyRecurrence + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // GoogleFirestoreAdminV1Database: A Cloud Firestore Database. @@ -1626,6 +1646,9 @@ type GoogleFirestoreAdminV1Database struct { // "POINT_IN_TIME_RECOVERY_DISABLED" - Reads are supported on any version of // the data from within the past 1 hour. PointInTimeRecoveryEnablement string `json:"pointInTimeRecoveryEnablement,omitempty"` + // PreviousId: Output only. The database resource's prior database ID. This + // field is only populated for deleted databases. + PreviousId string `json:"previousId,omitempty"` // Type: The type of the database. See // https://cloud.google.com/datastore/docs/firestore-or-datastore for // information about how to choose. @@ -2680,6 +2703,9 @@ type GoogleFirestoreAdminV1WeeklyRecurrence struct { // "SATURDAY" - Saturday // "SUNDAY" - Sunday Day string `json:"day,omitempty"` + // Time: Time of the day. If day is today, the first run will happen today if + // schedule creation time precedes time_of_day, and the next week otherwise. + Time *TimeOfDay `json:"time,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See @@ -3796,6 +3822,39 @@ func (s *TargetChange) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// TimeOfDay: Represents a time of day. The date and time zone are either not +// significant or are specified elsewhere. An API may choose to allow leap +// seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. +type TimeOfDay struct { + // Hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may + // choose to allow the value "24:00:00" for scenarios like business closing + // time. + Hours int64 `json:"hours,omitempty"` + // Minutes: Minutes of hour of day. Must be from 0 to 59. + Minutes int64 `json:"minutes,omitempty"` + // Nanos: Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + Nanos int64 `json:"nanos,omitempty"` + // Seconds: Seconds of minutes of the time. Must normally be from 0 to 59. An + // API may allow the value 60 if it allows leap-seconds. + Seconds int64 `json:"seconds,omitempty"` + // ForceSendFields is a list of field names (e.g. "Hours") 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. "Hours") 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 *TimeOfDay) MarshalJSON() ([]byte, error) { + type NoMethod TimeOfDay + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // TransactionOptions: Options for creating a new transaction. type TransactionOptions struct { // ReadOnly: The transaction can only be used for read operations. diff --git a/orgpolicy/v2/orgpolicy-api.json b/orgpolicy/v2/orgpolicy-api.json index 2e54892e558..272de1ed45a 100644 --- a/orgpolicy/v2/orgpolicy-api.json +++ b/orgpolicy/v2/orgpolicy-api.json @@ -930,7 +930,7 @@ } } }, - "revision": "20240506", + "revision": "20240513", "rootUrl": "https://orgpolicy.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -978,10 +978,6 @@ "description": "The human readable name. Mutable.", "type": "string" }, - "googleManagedConstraint": { - "$ref": "GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint", - "description": "Defines this constraint as being a GoogleManagedConstraint." - }, "listConstraint": { "$ref": "GoogleCloudOrgpolicyV2ConstraintListConstraint", "description": "Defines this constraint as being a ListConstraint." @@ -1003,57 +999,6 @@ "properties": {}, "type": "object" }, - "GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint": { - "description": "A Google managed constraint. This represents a subset of fields missing from Constraint proto that are required to describe CustomConstraint", - "id": "GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint", - "properties": { - "actionType": { - "description": "Allow or deny type.", - "enum": [ - "ACTION_TYPE_UNSPECIFIED", - "ALLOW", - "DENY" - ], - "enumDescriptions": [ - "Unspecified. Results in an error.", - "Allowed action type.", - "Deny action type." - ], - "type": "string" - }, - "condition": { - "description": "Org policy condition/expression. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", - "type": "string" - }, - "methodTypes": { - "description": "All the operations being applied for this constraint.", - "items": { - "enum": [ - "METHOD_TYPE_UNSPECIFIED", - "CREATE", - "UPDATE", - "DELETE" - ], - "enumDescriptions": [ - "Unspecified. Results in an error.", - "Constraint applied when creating the resource.", - "Constraint applied when updating the resource.", - "Constraint applied when deleting the resource. Not supported yet." - ], - "type": "string" - }, - "type": "array" - }, - "resourceTypes": { - "description": "The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudOrgpolicyV2ConstraintListConstraint": { "description": "A constraint that allows or disallows a list of string values, which are configured by an Organization Policy administrator with a policy.", "id": "GoogleCloudOrgpolicyV2ConstraintListConstraint", diff --git a/orgpolicy/v2/orgpolicy-gen.go b/orgpolicy/v2/orgpolicy-gen.go index dce8946f9f9..baa82152a02 100644 --- a/orgpolicy/v2/orgpolicy-gen.go +++ b/orgpolicy/v2/orgpolicy-gen.go @@ -330,9 +330,6 @@ type GoogleCloudOrgpolicyV2Constraint struct { Description string `json:"description,omitempty"` // DisplayName: The human readable name. Mutable. DisplayName string `json:"displayName,omitempty"` - // GoogleManagedConstraint: Defines this constraint as being a - // GoogleManagedConstraint. - GoogleManagedConstraint *GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint `json:"googleManagedConstraint,omitempty"` // ListConstraint: Defines this constraint as being a ListConstraint. ListConstraint *GoogleCloudOrgpolicyV2ConstraintListConstraint `json:"listConstraint,omitempty"` // Name: Immutable. The resource name of the constraint. Must be in one of the @@ -368,53 +365,6 @@ func (s *GoogleCloudOrgpolicyV2Constraint) MarshalJSON() ([]byte, error) { type GoogleCloudOrgpolicyV2ConstraintBooleanConstraint struct { } -// GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint: A Google managed -// constraint. This represents a subset of fields missing from Constraint proto -// that are required to describe CustomConstraint -type GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint struct { - // ActionType: Allow or deny type. - // - // Possible values: - // "ACTION_TYPE_UNSPECIFIED" - Unspecified. Results in an error. - // "ALLOW" - Allowed action type. - // "DENY" - Deny action type. - ActionType string `json:"actionType,omitempty"` - // Condition: Org policy condition/expression. For example: - // `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, - // `resource.management.auto_upgrade == true` The max length of the condition - // is 1000 characters. - Condition string `json:"condition,omitempty"` - // MethodTypes: All the operations being applied for this constraint. - // - // Possible values: - // "METHOD_TYPE_UNSPECIFIED" - Unspecified. Results in an error. - // "CREATE" - Constraint applied when creating the resource. - // "UPDATE" - Constraint applied when updating the resource. - // "DELETE" - Constraint applied when deleting the resource. Not supported - // yet. - MethodTypes []string `json:"methodTypes,omitempty"` - // ResourceTypes: The resource instance type on which this policy applies. - // Format will be of the form : `/` Example: * - // `compute.googleapis.com/Instance`. - ResourceTypes []string `json:"resourceTypes,omitempty"` - // ForceSendFields is a list of field names (e.g. "ActionType") 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. "ActionType") 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 *GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudOrgpolicyV2ConstraintListConstraint: A constraint that allows or // disallows a list of string values, which are configured by an Organization // Policy administrator with a policy. diff --git a/run/v1/run-api.json b/run/v1/run-api.json index 16470bb4a04..9cf351b40f0 100644 --- a/run/v1/run-api.json +++ b/run/v1/run-api.json @@ -2614,7 +2614,7 @@ } } }, - "revision": "20240503", + "revision": "20240510", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -4172,6 +4172,26 @@ }, "type": "object" }, + "GoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "GoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "GoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GoogleDevtoolsCloudbuildV1GitConfig", @@ -4237,6 +4257,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "GoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 61a7c1668bd..81d67a5f1cd 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -2328,6 +2328,36 @@ func (s *GoogleDevtoolsCloudbuildV1FileHashes) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// GoogleDevtoolsCloudbuildV1GCSLocation: Represents a storage location in +// Cloud Storage +type GoogleDevtoolsCloudbuildV1GCSLocation struct { + // Bucket: Cloud Storage bucket. See + // https://cloud.google.com/storage/docs/naming#requirements + Bucket string `json:"bucket,omitempty"` + // Generation: Cloud Storage generation for the object. If the generation is + // omitted, the latest generation will be used. + Generation int64 `json:"generation,omitempty,string"` + // Object: Cloud Storage object. See + // https://cloud.google.com/storage/docs/naming#objectnames + Object string `json:"object,omitempty"` + // ForceSendFields is a list of field names (e.g. "Bucket") 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. "Bucket") 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 *GoogleDevtoolsCloudbuildV1GCSLocation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleDevtoolsCloudbuildV1GCSLocation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // GoogleDevtoolsCloudbuildV1GitConfig: GitConfig is a configuration for git // operations. type GoogleDevtoolsCloudbuildV1GitConfig struct { @@ -2423,6 +2453,9 @@ type GoogleDevtoolsCloudbuildV1HttpConfig struct { // ProxySecretVersionName: SecretVersion resource of the HTTP proxy URL. The // proxy URL should be in format protocol://@]proxyhost[:port]. ProxySecretVersionName string `json:"proxySecretVersionName,omitempty"` + // ProxySslCaInfo: Optional. Cloud Storage object storing the certificate to + // use with the HTTP proxy. + ProxySslCaInfo *GoogleDevtoolsCloudbuildV1GCSLocation `json:"proxySslCaInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ProxySecretVersionName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/sqladmin/v1/sqladmin-api.json b/sqladmin/v1/sqladmin-api.json index c5e497aa490..99e45f69a6e 100644 --- a/sqladmin/v1/sqladmin-api.json +++ b/sqladmin/v1/sqladmin-api.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240425", + "revision": "20240507", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2764,6 +2764,7 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -2814,6 +2815,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -2850,6 +2852,7 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3050,6 +3053,7 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3100,6 +3104,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -3136,6 +3141,7 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3283,7 +3289,7 @@ "type": "string" }, "satisfiesPzs": { - "description": "The status indicating if instance satisfiesPzs. Reserved for future use.", + "description": "This status indicates whether the instance satisfies PZS. The status is reserved for future use.", "type": "boolean" }, "scheduledMaintenance": { @@ -3764,6 +3770,7 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3814,6 +3821,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -3850,6 +3858,7 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -4722,7 +4731,10 @@ "SWITCHOVER", "ACQUIRE_SSRS_LEASE", "RELEASE_SSRS_LEASE", - "RECONFIGURE_OLD_PRIMARY" + "RECONFIGURE_OLD_PRIMARY", + "CLUSTER_MAINTENANCE", + "SELF_SERVICE_MAINTENANCE", + "SWITCHOVER_TO_REPLICA" ], "enumDeprecated": [ false, @@ -4766,6 +4778,9 @@ false, false, false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4807,10 +4822,13 @@ "Recovers logs from an instance's old data disk.", "Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery.", "Re-encrypts CMEK instances with latest key version.", - "Switches over to replica instance from primary.", + "Switches the roles of the primary and replica pair. The target instance should be the replica.", "Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", "Release a lease for the setup of SQL Server Reporting Services (SSRS).", - "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica." + "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica.", + "Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes.", + "Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", + "Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance." ], "type": "string" }, @@ -5088,6 +5106,11 @@ "failoverDrReplicaName": { "description": "Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.", "type": "string" + }, + "psaWriteEndpoint": { + "description": "Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted.", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go index 1c828d04a93..7a7df792cdc 100644 --- a/sqladmin/v1/sqladmin-gen.go +++ b/sqladmin/v1/sqladmin-gen.go @@ -838,6 +838,7 @@ type ConnectSettings struct { // version is 39. // "MYSQL_8_0_40" - The database major version is MySQL 8.0 and the minor // version is 40. + // "MYSQL_8_4" - The database version is MySQL 8.4. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 // Standard. // "SQLSERVER_2019_ENTERPRISE" - The database version is SQL Server 2019 @@ -1073,6 +1074,7 @@ type DatabaseInstance struct { // version is 39. // "MYSQL_8_0_40" - The database major version is MySQL 8.0 and the minor // version is 40. + // "MYSQL_8_4" - The database version is MySQL 8.4. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 // Standard. // "SQLSERVER_2019_ENTERPRISE" - The database version is SQL Server 2019 @@ -1167,8 +1169,8 @@ type DatabaseInstance struct { // RootPassword: Initial root password. Use only on creation. You must set root // passwords before you can connect to PostgreSQL instances. RootPassword string `json:"rootPassword,omitempty"` - // SatisfiesPzs: The status indicating if instance satisfiesPzs. Reserved for - // future use. + // SatisfiesPzs: This status indicates whether the instance satisfies PZS. The + // status is reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // ScheduledMaintenance: The start time of any upcoming scheduled maintenance // for this instance. @@ -1808,6 +1810,7 @@ type Flag struct { // version is 39. // "MYSQL_8_0_40" - The database major version is MySQL 8.0 and the minor // version is 40. + // "MYSQL_8_4" - The database version is MySQL 8.4. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 // Standard. // "SQLSERVER_2019_ENTERPRISE" - The database version is SQL Server 2019 @@ -2961,7 +2964,8 @@ type Operation struct { // "AUTO_RESTART" - Performs auto-restart of an HA-enabled Cloud SQL database // for auto recovery. // "REENCRYPT" - Re-encrypts CMEK instances with latest key version. - // "SWITCHOVER" - Switches over to replica instance from primary. + // "SWITCHOVER" - Switches the roles of the primary and replica pair. The + // target instance should be the replica. // "ACQUIRE_SSRS_LEASE" - Acquire a lease for the setup of SQL Server // Reporting Services (SSRS). // "RELEASE_SSRS_LEASE" - Release a lease for the setup of SQL Server @@ -2970,6 +2974,18 @@ type Operation struct { // replica operation. Effect of a promote operation to the old primary is // executed in this operation, asynchronously from the promote replica // operation executed to the replica. + // "CLUSTER_MAINTENANCE" - Indicates that the instance, its read replicas, + // and its cascading replicas are in maintenance. Maintenance typically gets + // initiated on groups of replicas first, followed by the primary instance. For + // each instance, maintenance typically causes the instance to be unavailable + // for 1-3 minutes. + // "SELF_SERVICE_MAINTENANCE" - Indicates that the instance (and any of its + // replicas) are currently in maintenance. This is initiated as a self-service + // request by using SSM. Maintenance typically causes the instance to be + // unavailable for 1-3 minutes. + // "SWITCHOVER_TO_REPLICA" - Switches a primary instance to a replica. This + // operation runs as part of a switchover operation to the original primary + // instance. OperationType string `json:"operationType,omitempty"` // SelfLink: The URI of this resource. SelfLink string `json:"selfLink,omitempty"` @@ -3307,6 +3323,15 @@ type ReplicationCluster struct { // replica name to designate a DR replica for a primary instance. Remove the // replica name to remove the DR replica designation. FailoverDrReplicaName string `json:"failoverDrReplicaName,omitempty"` + // PsaWriteEndpoint: Output only. If set, it indicates this instance has a + // private service access (PSA) dns endpoint that is pointing to the primary + // instance of the cluster. If this instance is the primary, the dns should be + // pointing to this instance. After Switchover or Replica failover, this DNS + // endpoint points to the promoted instance. This is a read-only field, + // returned to the user as information. This field can exist even if a + // standalone instance does not yet have a replica, or had a DR replica that + // was deleted. + PsaWriteEndpoint string `json:"psaWriteEndpoint,omitempty"` // ForceSendFields is a list of field names (e.g. "DrReplica") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/sqladmin/v1beta4/sqladmin-api.json b/sqladmin/v1beta4/sqladmin-api.json index 12fc8bf5eec..24e082697e3 100644 --- a/sqladmin/v1beta4/sqladmin-api.json +++ b/sqladmin/v1beta4/sqladmin-api.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240425", + "revision": "20240507", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2764,6 +2764,7 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -2814,6 +2815,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -2850,6 +2852,7 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3050,6 +3053,7 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3100,6 +3104,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -3136,6 +3141,7 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3283,7 +3289,7 @@ "type": "string" }, "satisfiesPzs": { - "description": "The status indicating if instance satisfiesPzs. Reserved for future use.", + "description": "This status indicates whether the instance satisfies PZS. The status is reserved for future use.", "type": "boolean" }, "scheduledMaintenance": { @@ -3765,6 +3771,7 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3815,6 +3822,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -3851,6 +3859,7 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -4723,7 +4732,10 @@ "SWITCHOVER", "ACQUIRE_SSRS_LEASE", "RELEASE_SSRS_LEASE", - "RECONFIGURE_OLD_PRIMARY" + "RECONFIGURE_OLD_PRIMARY", + "CLUSTER_MAINTENANCE", + "SELF_SERVICE_MAINTENANCE", + "SWITCHOVER_TO_REPLICA" ], "enumDeprecated": [ false, @@ -4767,6 +4779,9 @@ false, false, false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4808,10 +4823,13 @@ "Recovers logs from an instance's old data disk.", "Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery.", "Re-encrypts CMEK instances with latest key version.", - "Switches over to replica instance from primary.", + "Switches the roles of the primary and replica pair. The target instance should be the replica.", "Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", "Release a lease for the setup of SQL Server Reporting Services (SSRS).", - "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica." + "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica.", + "Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes.", + "Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", + "Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance." ], "type": "string" }, @@ -5089,6 +5107,11 @@ "failoverDrReplicaName": { "description": "Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.", "type": "string" + }, + "psaWriteEndpoint": { + "description": "Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted.", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index a73e9708251..1c9f4ce7802 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -837,6 +837,7 @@ type ConnectSettings struct { // version is 39. // "MYSQL_8_0_40" - The database major version is MySQL 8.0 and the minor // version is 40. + // "MYSQL_8_4" - The database version is MySQL 8.4. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 // Standard. // "SQLSERVER_2019_ENTERPRISE" - The database version is SQL Server 2019 @@ -1072,6 +1073,7 @@ type DatabaseInstance struct { // version is 39. // "MYSQL_8_0_40" - The database major version is MySQL 8.0 and the minor // version is 40. + // "MYSQL_8_4" - The database version is MySQL 8.4. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 // Standard. // "SQLSERVER_2019_ENTERPRISE" - The database version is SQL Server 2019 @@ -1166,8 +1168,8 @@ type DatabaseInstance struct { // RootPassword: Initial root password. Use only on creation. You must set root // passwords before you can connect to PostgreSQL instances. RootPassword string `json:"rootPassword,omitempty"` - // SatisfiesPzs: The status indicating if instance satisfiesPzs. Reserved for - // future use. + // SatisfiesPzs: This status indicates whether the instance satisfies PZS. The + // status is reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // ScheduledMaintenance: The start time of any upcoming scheduled maintenance // for this instance. @@ -1809,6 +1811,7 @@ type Flag struct { // version is 39. // "MYSQL_8_0_40" - The database major version is MySQL 8.0 and the minor // version is 40. + // "MYSQL_8_4" - The database version is MySQL 8.4. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 // Standard. // "SQLSERVER_2019_ENTERPRISE" - The database version is SQL Server 2019 @@ -2966,7 +2969,8 @@ type Operation struct { // "AUTO_RESTART" - Performs auto-restart of an HA-enabled Cloud SQL database // for auto recovery. // "REENCRYPT" - Re-encrypts CMEK instances with latest key version. - // "SWITCHOVER" - Switches over to replica instance from primary. + // "SWITCHOVER" - Switches the roles of the primary and replica pair. The + // target instance should be the replica. // "ACQUIRE_SSRS_LEASE" - Acquire a lease for the setup of SQL Server // Reporting Services (SSRS). // "RELEASE_SSRS_LEASE" - Release a lease for the setup of SQL Server @@ -2975,6 +2979,18 @@ type Operation struct { // replica operation. Effect of a promote operation to the old primary is // executed in this operation, asynchronously from the promote replica // operation executed to the replica. + // "CLUSTER_MAINTENANCE" - Indicates that the instance, its read replicas, + // and its cascading replicas are in maintenance. Maintenance typically gets + // initiated on groups of replicas first, followed by the primary instance. For + // each instance, maintenance typically causes the instance to be unavailable + // for 1-3 minutes. + // "SELF_SERVICE_MAINTENANCE" - Indicates that the instance (and any of its + // replicas) are currently in maintenance. This is initiated as a self-service + // request by using SSM. Maintenance typically causes the instance to be + // unavailable for 1-3 minutes. + // "SWITCHOVER_TO_REPLICA" - Switches a primary instance to a replica. This + // operation runs as part of a switchover operation to the original primary + // instance. OperationType string `json:"operationType,omitempty"` // SelfLink: The URI of this resource. SelfLink string `json:"selfLink,omitempty"` @@ -3312,6 +3328,15 @@ type ReplicationCluster struct { // replica name to designate a DR replica for a primary instance. Remove the // replica name to remove the DR replica designation. FailoverDrReplicaName string `json:"failoverDrReplicaName,omitempty"` + // PsaWriteEndpoint: Output only. If set, it indicates this instance has a + // private service access (PSA) dns endpoint that is pointing to the primary + // instance of the cluster. If this instance is the primary, the dns should be + // pointing to this instance. After Switchover or Replica failover, this DNS + // endpoint points to the promoted instance. This is a read-only field, + // returned to the user as information. This field can exist even if a + // standalone instance does not yet have a replica, or had a DR replica that + // was deleted. + PsaWriteEndpoint string `json:"psaWriteEndpoint,omitempty"` // ForceSendFields is a list of field names (e.g. "DrReplica") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/walletobjects/v1/walletobjects-api.json b/walletobjects/v1/walletobjects-api.json index 07d97576441..f11be85cb43 100644 --- a/walletobjects/v1/walletobjects-api.json +++ b/walletobjects/v1/walletobjects-api.json @@ -2681,7 +2681,7 @@ } } }, - "revision": "20240514", + "revision": "20240516", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -2772,7 +2772,7 @@ "properties": { "androidAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", - "description": "Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client." + "description": "Optional information about the partner app link." }, "iosAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", @@ -2781,7 +2781,7 @@ }, "webAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", - "description": "Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client." + "description": "Optional information about the partner web link." } }, "type": "object" @@ -2791,19 +2791,22 @@ "properties": { "appLogoImage": { "$ref": "Image", - "description": "Optional image to be displayed in the App Link Module" + "deprecated": true, + "description": "Deprecated. Image isn't supported in the app link module." }, "appTarget": { "$ref": "AppLinkDataAppLinkInfoAppTarget", - "description": "Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app." + "description": "Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage." }, "description": { "$ref": "LocalizedString", - "description": "String to be displayed in the description of the App Link Module Required" + "deprecated": true, + "description": "Deprecated. Description isn't supported in the app link module." }, "title": { "$ref": "LocalizedString", - "description": "String to be displayed in the title of the App Link Module Required" + "deprecated": true, + "description": "Deprecated. Title isn't supported in the app link module." } }, "type": "object" @@ -4138,7 +4141,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -4878,7 +4881,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -5225,7 +5228,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Information about the partner app link. The maximum number of these fields displayed is 10." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -5694,7 +5697,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "balance": { "$ref": "Money", @@ -6523,7 +6526,7 @@ }, "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -7456,7 +7459,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -8782,7 +8785,7 @@ }, "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", diff --git a/walletobjects/v1/walletobjects-gen.go b/walletobjects/v1/walletobjects-gen.go index 23f264e7b09..ce87c105b78 100644 --- a/walletobjects/v1/walletobjects-gen.go +++ b/walletobjects/v1/walletobjects-gen.go @@ -495,15 +495,11 @@ func (s *AirportInfo) MarshalJSON() ([]byte, error) { } type AppLinkData struct { - // AndroidAppLinkInfo: Optional information about the partner app link. If - // included, the app link link module will be rendered on the valuable details - // on the android client. + // AndroidAppLinkInfo: Optional information about the partner app link. AndroidAppLinkInfo *AppLinkDataAppLinkInfo `json:"androidAppLinkInfo,omitempty"` // IosAppLinkInfo: Deprecated. Links to open iOS apps are not supported. IosAppLinkInfo *AppLinkDataAppLinkInfo `json:"iosAppLinkInfo,omitempty"` - // WebAppLinkInfo: Optional information about the partner app link. If - // included, the app link link module will be rendered on the valuable details - // on the web client. + // WebAppLinkInfo: Optional information about the partner web link. WebAppLinkInfo *AppLinkDataAppLinkInfo `json:"webAppLinkInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "AndroidAppLinkInfo") to // unconditionally include in API requests. By default, fields with empty or @@ -524,15 +520,14 @@ func (s *AppLinkData) MarshalJSON() ([]byte, error) { } type AppLinkDataAppLinkInfo struct { - // AppLogoImage: Optional image to be displayed in the App Link Module + // AppLogoImage: Deprecated. Image isn't supported in the app link module. AppLogoImage *Image `json:"appLogoImage,omitempty"` - // AppTarget: Url to follow when opening the App Link Module on clients. It - // will be used by partners to open their webpage or deeplink into their app. + // AppTarget: Target to follow when opening the app link on clients. It will be + // used by partners to open their app or webpage. AppTarget *AppLinkDataAppLinkInfoAppTarget `json:"appTarget,omitempty"` - // Description: String to be displayed in the description of the App Link - // Module Required + // Description: Deprecated. Description isn't supported in the app link module. Description *LocalizedString `json:"description,omitempty"` - // Title: String to be displayed in the title of the App Link Module Required + // Title: Deprecated. Title isn't supported in the app link module. Title *LocalizedString `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "AppLogoImage") to // unconditionally include in API requests. By default, fields with empty or @@ -2082,7 +2077,9 @@ func (s *EventTicketClassListResponse) MarshalJSON() ([]byte, error) { } type EventTicketObject struct { - // AppLinkData: Optional information about the partner app link. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Barcode: The barcode type and value. Barcode *Barcode `json:"barcode,omitempty"` @@ -2821,7 +2818,9 @@ func (s *FlightHeader) MarshalJSON() ([]byte, error) { } type FlightObject struct { - // AppLinkData: Optional information about the partner app link. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Barcode: The barcode type and value. Barcode *Barcode `json:"barcode,omitempty"` @@ -3182,8 +3181,9 @@ func (s *GenericClassListResponse) MarshalJSON() ([]byte, error) { // GenericObject: Generic Object type GenericObject struct { - // AppLinkData: Information about the partner app link. The maximum number of - // these fields displayed is 10. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Barcode: The barcode type and value. If pass does not have a barcode, we can // allow the issuer to set Barcode.alternate_text and display just that. @@ -3612,7 +3612,9 @@ func (s *GiftCardClassListResponse) MarshalJSON() ([]byte, error) { } type GiftCardObject struct { - // AppLinkData: Optional information about the partner app link. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Balance: The card's monetary balance. Balance *Money `json:"balance,omitempty"` @@ -4554,7 +4556,9 @@ type LoyaltyObject struct { // Recommended maximum length is 20 characters to ensure full string is // displayed on smaller screens. AccountName string `json:"accountName,omitempty"` - // AppLinkData: Optional information about the partner app link. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Barcode: The barcode type and value. Barcode *Barcode `json:"barcode,omitempty"` @@ -5482,7 +5486,9 @@ func (s *OfferClassListResponse) MarshalJSON() ([]byte, error) { } type OfferObject struct { - // AppLinkData: Optional information about the partner app link. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Barcode: The barcode type and value. Barcode *Barcode `json:"barcode,omitempty"` @@ -6802,7 +6808,9 @@ type TransitObject struct { // ActivationStatus: The activation status for the object. Required if the // class has `activationOptions` set. ActivationStatus *ActivationStatus `json:"activationStatus,omitempty"` - // AppLinkData: Optional information about the partner app link. + // AppLinkData: Optional app or website link that will be displayed as a button + // on the front of the pass. If AppLinkData is provided for the corresponding + // class only object AppLinkData will be displayed. AppLinkData *AppLinkData `json:"appLinkData,omitempty"` // Barcode: The barcode type and value. Barcode *Barcode `json:"barcode,omitempty"`