From a784ae096a6d0d3b666907307cb61c88d461a9c6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 9 May 2024 00:24:18 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2575) --- admin/directory/v1/admin-api.json | 23 +++- admin/directory/v1/admin-gen.go | 24 +++++ apigee/v1/apigee-api.json | 9 +- apigee/v1/apigee-gen.go | 4 + .../v1/authorizedbuyersmarketplace-api.json | 32 +++++- .../v1/authorizedbuyersmarketplace-gen.go | 39 ++++++- chat/v1/chat-api.json | 12 +-- chat/v1/chat-gen.go | 22 ++-- cloudidentity/v1/cloudidentity-api.json | 7 +- cloudidentity/v1/cloudidentity-gen.go | 2 + cloudidentity/v1beta1/cloudidentity-api.json | 12 ++- cloudidentity/v1beta1/cloudidentity-gen.go | 4 + cloudkms/v1/cloudkms-api.json | 10 +- cloudkms/v1/cloudkms-gen.go | 28 +++-- compute/v0.beta/compute-api.json | 45 ++++++-- compute/v0.beta/compute-gen.go | 49 ++++++--- dataproc/v1/dataproc-api.json | 4 +- dataproc/v1/dataproc-gen.go | 8 +- dlp/v2/dlp-api.json | 40 +++---- dlp/v2/dlp-gen.go | 49 +++++---- monitoring/v1/monitoring-api.json | 101 +++++++++++++++++- monitoring/v1/monitoring-gen.go | 94 +++++++++++++++- run/v1/run-api.json | 8 +- run/v1/run-gen.go | 5 +- run/v2/run-api.json | 4 +- run/v2/run-gen.go | 3 +- safebrowsing/v5/safebrowsing-api.json | 4 +- safebrowsing/v5/safebrowsing-gen.go | 11 +- walletobjects/v1/walletobjects-api.json | 5 +- walletobjects/v1/walletobjects-gen.go | 4 +- 30 files changed, 530 insertions(+), 132 deletions(-) diff --git a/admin/directory/v1/admin-api.json b/admin/directory/v1/admin-api.json index b79d76a668..502f32aa87 100644 --- a/admin/directory/v1/admin-api.json +++ b/admin/directory/v1/admin-api.json @@ -4671,7 +4671,7 @@ } } }, - "revision": "20240429", + "revision": "20240507", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5688,6 +5688,14 @@ "readOnly": true, "type": "string" }, + "fanInfo": { + "description": "Output only. Fan information for the device.", + "items": { + "$ref": "FanInfo" + }, + "readOnly": true, + "type": "array" + }, "firmwareVersion": { "description": "The Chrome device's firmware version.", "type": "string" @@ -6432,6 +6440,19 @@ }, "type": "object" }, + "FanInfo": { + "description": "Information about the device's fan.", + "id": "FanInfo", + "properties": { + "speedRpm": { + "description": "Output only. Fan speed in RPM.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, "Feature": { "description": "JSON template for Feature object in Directory API.", "id": "Feature", diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index 96b6f9dee7..1507ac50c4 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -1603,6 +1603,8 @@ type ChromeOsDevice struct { // ExtendedSupportStart: Output only. Date of the device when extended support // policy for automatic updates starts. ExtendedSupportStart string `json:"extendedSupportStart,omitempty"` + // FanInfo: Output only. Fan information for the device. + FanInfo []*FanInfo `json:"fanInfo,omitempty"` // FirmwareVersion: The Chrome device's firmware version. FirmwareVersion string `json:"firmwareVersion,omitempty"` // FirstEnrollmentTime: Date and time for the first time the device was @@ -2772,6 +2774,28 @@ func (s *FailureInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// FanInfo: Information about the device's fan. +type FanInfo struct { + // SpeedRpm: Output only. Fan speed in RPM. + SpeedRpm int64 `json:"speedRpm,omitempty"` + // ForceSendFields is a list of field names (e.g. "SpeedRpm") 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. "SpeedRpm") 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 *FanInfo) MarshalJSON() ([]byte, error) { + type NoMethod FanInfo + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // Feature: JSON template for Feature object in Directory API. type Feature struct { // Etags: ETag of the resource. diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 428dea8a3b..17f7d100ae 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -10045,7 +10045,7 @@ } } }, - "revision": "20240419", + "revision": "20240507", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -16738,6 +16738,13 @@ }, "type": "array" }, + "httpMethods": { + "description": "Optional. Act only on particular HTTP methods. E.g. A read-only API can block POST/PUT/DELETE methods. Accepted values are: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE and PATCH.", + "items": { + "type": "string" + }, + "type": "array" + }, "ipAddressRanges": { "description": "Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.", "items": { diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 5bb89bbb85..de84f58db9 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -9225,6 +9225,10 @@ type GoogleCloudApigeeV1SecurityActionConditionConfig struct { DeveloperApps []string `json:"developerApps,omitempty"` // Developers: Optional. A list of developers. Limit 1000 per action. Developers []string `json:"developers,omitempty"` + // HttpMethods: Optional. Act only on particular HTTP methods. E.g. A read-only + // API can block POST/PUT/DELETE methods. Accepted values are: GET, HEAD, POST, + // PUT, DELETE, CONNECT, OPTIONS, TRACE and PATCH. + HttpMethods []string `json:"httpMethods,omitempty"` // IpAddressRanges: Optional. A list of IP addresses. This could be either IPv4 // or IPv6. Limited to 100 per action. IpAddressRanges []string `json:"ipAddressRanges,omitempty"` diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json index 304ac9bb63..a784e2cc22 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json @@ -123,6 +123,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Requested page size. The server may return fewer results than requested. Max allowed page size is 500.", "format": "int32", @@ -169,7 +174,7 @@ "type": "string" }, "orderBy": { - "description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth Example: 'deal.displayName, deal.updateTime desc'", + "description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth", "location": "query", "type": "string" }, @@ -247,6 +252,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Requested page size. The server may return fewer results than requested. Max allowed page size is 500.", "format": "int32", @@ -822,7 +832,7 @@ "type": "string" }, "orderBy": { - "description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth Example: 'deal.displayName, deal.updateTime desc'", + "description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth", "location": "query", "type": "string" }, @@ -1357,7 +1367,7 @@ } } }, - "revision": "20240418", + "revision": "20240508", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "schemas": { "AcceptProposalRequest": { @@ -2383,13 +2393,22 @@ "type": "object" }, "MarketplaceTargeting": { - "description": "Targeting represents different criteria that can be used to target inventory. For example, they can choose to target inventory only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.", + "description": "Targeting represents different criteria that can be used to target deals or auction packages. For example, they can choose to target inventory only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.", "id": "MarketplaceTargeting", "properties": { "daypartTargeting": { "$ref": "DayPartTargeting", "description": "Daypart targeting information." }, + "excludedSensitiveCategoryIds": { + "description": "Output only. The sensitive content category label IDs excluded. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for category IDs.", + "items": { + "format": "int64", + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "geoTargeting": { "$ref": "CriteriaTargeting", "description": "Output only. Geo criteria IDs to be included/excluded.", @@ -2419,6 +2438,11 @@ "$ref": "CriteriaTargeting", "description": "Buyer user list targeting information. User lists can be uploaded using https://developers.google.com/authorized-buyers/rtb/bulk-uploader." }, + "verticalTargeting": { + "$ref": "CriteriaTargeting", + "description": "Output only. The verticals included or excluded as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals", + "readOnly": true + }, "videoTargeting": { "$ref": "VideoTargeting", "description": "Output only. Video targeting information.", diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go index c67e912c48..edb5d0cc83 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go @@ -1443,12 +1443,17 @@ func (s *ListPublisherProfilesResponse) MarshalJSON() ([]byte, error) { } // MarketplaceTargeting: Targeting represents different criteria that can be -// used to target inventory. For example, they can choose to target inventory -// only if the user is in the US. Multiple types of targeting are always -// applied as a logical AND, unless noted otherwise. +// used to target deals or auction packages. For example, they can choose to +// target inventory only if the user is in the US. Multiple types of targeting +// are always applied as a logical AND, unless noted otherwise. type MarketplaceTargeting struct { // DaypartTargeting: Daypart targeting information. DaypartTargeting *DayPartTargeting `json:"daypartTargeting,omitempty"` + // ExcludedSensitiveCategoryIds: Output only. The sensitive content category + // label IDs excluded. Refer to this file + // https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for + // category IDs. + ExcludedSensitiveCategoryIds googleapi.Int64s `json:"excludedSensitiveCategoryIds,omitempty"` // GeoTargeting: Output only. Geo criteria IDs to be included/excluded. GeoTargeting *CriteriaTargeting `json:"geoTargeting,omitempty"` // InventorySizeTargeting: Output only. Inventory sizes to be @@ -1466,6 +1471,10 @@ type MarketplaceTargeting struct { // uploaded using // https://developers.google.com/authorized-buyers/rtb/bulk-uploader. UserListTargeting *CriteriaTargeting `json:"userListTargeting,omitempty"` + // VerticalTargeting: Output only. The verticals included or excluded as + // defined in + // https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals + VerticalTargeting *CriteriaTargeting `json:"verticalTargeting,omitempty"` // VideoTargeting: Output only. Video targeting information. VideoTargeting *VideoTargeting `json:"videoTargeting,omitempty"` // ForceSendFields is a list of field names (e.g. "DaypartTargeting") to @@ -2458,6 +2467,17 @@ func (c *BiddersAuctionPackagesListCall) Filter(filter string) *BiddersAuctionPa return c } +// OrderBy sets the optional parameter "orderBy": An optional query string to +// sort auction packages using the Cloud API sorting syntax +// (https://cloud.google.com/apis/design/design_patterns#sorting_order). If no +// sort order is specified, results will be returned in an arbitrary order. +// Only supported when parent is bidder. Supported columns for sorting are: * +// displayName * createTime * updateTime +func (c *BiddersAuctionPackagesListCall) OrderBy(orderBy string) *BiddersAuctionPackagesListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": Requested page size. The // server may return fewer results than requested. Max allowed page size is // 500. @@ -2628,7 +2648,6 @@ func (c *BiddersFinalizedDealsListCall) Filter(filter string) *BiddersFinalizedD // rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * // rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * // rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth -// Example: 'deal.displayName, deal.updateTime desc' func (c *BiddersFinalizedDealsListCall) OrderBy(orderBy string) *BiddersFinalizedDealsListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -2904,6 +2923,17 @@ func (c *BuyersAuctionPackagesListCall) Filter(filter string) *BuyersAuctionPack return c } +// OrderBy sets the optional parameter "orderBy": An optional query string to +// sort auction packages using the Cloud API sorting syntax +// (https://cloud.google.com/apis/design/design_patterns#sorting_order). If no +// sort order is specified, results will be returned in an arbitrary order. +// Only supported when parent is bidder. Supported columns for sorting are: * +// displayName * createTime * updateTime +func (c *BuyersAuctionPackagesListCall) OrderBy(orderBy string) *BuyersAuctionPackagesListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": Requested page size. The // server may return fewer results than requested. Max allowed page size is // 500. @@ -5064,7 +5094,6 @@ func (c *BuyersFinalizedDealsListCall) Filter(filter string) *BuyersFinalizedDea // rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * // rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * // rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth -// Example: 'deal.displayName, deal.updateTime desc' func (c *BuyersFinalizedDealsListCall) OrderBy(orderBy string) *BuyersFinalizedDealsListCall { c.urlParams_.Set("orderBy", orderBy) return c diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index c35ee0813d..3f338c30fe 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -12,7 +12,7 @@ "description": "Import spaces, messages, and memberships into Google Chat." }, "https://www.googleapis.com/auth/chat.memberships": { - "description": "View, add, and remove members from conversations in Google Chat" + "description": "View, add, update, and remove members from conversations in Google Chat" }, "https://www.googleapis.com/auth/chat.memberships.app": { "description": "Add and remove itself from conversations in Google Chat" @@ -595,7 +595,7 @@ ] }, "patch": { - "description": "Updates a membership. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Updates a membership. For an example, see [Update a user's membership in a space](https://developers.google.com/workspace/chat/update-members). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", "flatPath": "v1/spaces/{spacesId}/members/{membersId}", "httpMethod": "PATCH", "id": "chat.spaces.members.patch", @@ -1119,7 +1119,7 @@ "spaces": { "methods": { "getSpaceReadState": { - "description": "Returns details about a user's read state within a space, used to identify read and unread messages. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see [Get details about a user's space read state](https://developers.google.com/workspace/chat/get-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceReadState", "httpMethod": "GET", "id": "chat.users.spaces.getSpaceReadState", @@ -1145,7 +1145,7 @@ ] }, "updateSpaceReadState": { - "description": "Updates a user's read state within a space, used to identify read and unread messages. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Updates a user's read state within a space, used to identify read and unread messages. For an example, see [Update a user's space read state](https://developers.google.com/workspace/chat/update-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceReadState", "httpMethod": "PATCH", "id": "chat.users.spaces.updateSpaceReadState", @@ -1183,7 +1183,7 @@ "threads": { "methods": { "getThreadReadState": { - "description": "Returns details about a user's read state within a thread, used to identify read and unread messages. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see [Get details about a user's thread read state](https://developers.google.com/workspace/chat/get-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/threads/{threadsId}/threadReadState", "httpMethod": "GET", "id": "chat.users.spaces.threads.getThreadReadState", @@ -1215,7 +1215,7 @@ } } }, - "revision": "20240423", + "revision": "20240507", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessoryWidget": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 8bc583eb73..c014441eb5 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -110,7 +110,7 @@ const ( // Import spaces, messages, and memberships into Google Chat. ChatImportScope = "https://www.googleapis.com/auth/chat.import" - // View, add, and remove members from conversations in Google Chat + // View, add, update, and remove members from conversations in Google Chat ChatMembershipsScope = "https://www.googleapis.com/auth/chat.memberships" // Add and remove itself from conversations in Google Chat @@ -7149,7 +7149,9 @@ type SpacesMembersPatchCall struct { header_ http.Header } -// Patch: Updates a membership. Requires user authentication +// Patch: Updates a membership. For an example, see Update a user's membership +// in a space (https://developers.google.com/workspace/chat/update-members). +// Requires user authentication // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). // // - name: Resource name of the membership, assigned by the server. Format: @@ -8965,7 +8967,10 @@ type UsersSpacesGetSpaceReadStateCall struct { } // GetSpaceReadState: Returns details about a user's read state within a space, -// used to identify read and unread messages. Requires user authentication +// used to identify read and unread messages. For an example, see Get details +// about a user's space read state +// (https://developers.google.com/workspace/chat/get-space-read-state). +// Requires user authentication // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). // // - name: Resource name of the space read state to retrieve. Only supports @@ -9081,7 +9086,10 @@ type UsersSpacesUpdateSpaceReadStateCall struct { } // UpdateSpaceReadState: Updates a user's read state within a space, used to -// identify read and unread messages. Requires user authentication +// identify read and unread messages. For an example, see Update a user's space +// read state +// (https://developers.google.com/workspace/chat/update-space-read-state). +// Requires user authentication // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). // // - name: Resource name of the space read state. Format: @@ -9199,8 +9207,10 @@ type UsersSpacesThreadsGetThreadReadStateCall struct { } // GetThreadReadState: Returns details about a user's read state within a -// thread, used to identify read and unread messages. Requires user -// authentication +// thread, used to identify read and unread messages. For an example, see Get +// details about a user's thread read state +// (https://developers.google.com/workspace/chat/get-thread-read-state). +// Requires user authentication // (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). // // - name: Resource name of the thread read state to retrieve. Only supports diff --git a/cloudidentity/v1/cloudidentity-api.json b/cloudidentity/v1/cloudidentity-api.json index dd4c9ebdf0..e85699e600 100644 --- a/cloudidentity/v1/cloudidentity-api.json +++ b/cloudidentity/v1/cloudidentity-api.json @@ -1990,7 +1990,7 @@ } } }, - "revision": "20240312", + "revision": "20240507", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2955,6 +2955,11 @@ "description": "Serial Number of device. Example: HT82V1A01076.", "type": "string" }, + "unifiedDeviceId": { + "description": "Output only. Unified device id of the device.", + "readOnly": true, + "type": "string" + }, "wifiMacAddresses": { "description": "WiFi MAC addresses of device.", "items": { diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 9599b12c7a..dc0b05350a 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -1365,6 +1365,8 @@ type GoogleAppsCloudidentityDevicesV1Device struct { SecurityPatchTime string `json:"securityPatchTime,omitempty"` // SerialNumber: Serial Number of device. Example: HT82V1A01076. SerialNumber string `json:"serialNumber,omitempty"` + // UnifiedDeviceId: Output only. Unified device id of the device. + UnifiedDeviceId string `json:"unifiedDeviceId,omitempty"` // WifiMacAddresses: WiFi MAC addresses of device. WifiMacAddresses []string `json:"wifiMacAddresses,omitempty"` diff --git a/cloudidentity/v1beta1/cloudidentity-api.json b/cloudidentity/v1beta1/cloudidentity-api.json index 2ba7686b38..453d177920 100644 --- a/cloudidentity/v1beta1/cloudidentity-api.json +++ b/cloudidentity/v1beta1/cloudidentity-api.json @@ -2015,7 +2015,7 @@ } } }, - "revision": "20240312", + "revision": "20240507", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2815,6 +2815,11 @@ "description": "Serial Number of device. Example: HT82V1A01076.", "type": "string" }, + "unifiedDeviceId": { + "description": "Output only. Unified device id of the device.", + "readOnly": true, + "type": "string" + }, "wifiMacAddresses": { "description": "WiFi MAC addresses of device.", "items": { @@ -3771,6 +3776,11 @@ "description": "Serial Number of device. Example: HT82V1A01076.", "type": "string" }, + "unifiedDeviceId": { + "description": "Output only. Unified device id of the device.", + "readOnly": true, + "type": "string" + }, "wifiMacAddresses": { "description": "WiFi MAC addresses of device.", "items": { diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 5cb1478b54..e766a17f8b 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -1152,6 +1152,8 @@ type Device struct { SecurityPatchTime string `json:"securityPatchTime,omitempty"` // SerialNumber: Serial Number of device. Example: HT82V1A01076. SerialNumber string `json:"serialNumber,omitempty"` + // UnifiedDeviceId: Output only. Unified device id of the device. + UnifiedDeviceId string `json:"unifiedDeviceId,omitempty"` // WifiMacAddresses: WiFi MAC addresses of device. WifiMacAddresses []string `json:"wifiMacAddresses,omitempty"` @@ -2118,6 +2120,8 @@ type GoogleAppsCloudidentityDevicesV1Device struct { SecurityPatchTime string `json:"securityPatchTime,omitempty"` // SerialNumber: Serial Number of device. Example: HT82V1A01076. SerialNumber string `json:"serialNumber,omitempty"` + // UnifiedDeviceId: Output only. Unified device id of the device. + UnifiedDeviceId string `json:"unifiedDeviceId,omitempty"` // WifiMacAddresses: WiFi MAC addresses of device. WifiMacAddresses []string `json:"wifiMacAddresses,omitempty"` // ForceSendFields is a list of field names (e.g. "AndroidSpecificAttributes") diff --git a/cloudkms/v1/cloudkms-api.json b/cloudkms/v1/cloudkms-api.json index 2a462b6586..310fe6518f 100644 --- a/cloudkms/v1/cloudkms-api.json +++ b/cloudkms/v1/cloudkms-api.json @@ -154,7 +154,7 @@ ] }, "updateAutokeyConfig": { - "description": "Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. An empty key project may be provided to clear the configuration.", + "description": "Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine where to create the resulting CryptoKey.", "flatPath": "v1/folders/{foldersId}/autokeyConfig", "httpMethod": "PATCH", "id": "cloudkms.folders.updateAutokeyConfig", @@ -2056,7 +2056,7 @@ } } }, - "revision": "20240425", + "revision": "20240502", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": { @@ -2241,7 +2241,7 @@ "id": "AutokeyConfig", "properties": { "keyProject": { - "description": "Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision new CryptoKeys. On UpdateAutokeyConfig, the caller will require `cloudkms.cryptoKeys.setIamPolicy` permission on this key project. Once configured, for Cloud KMS Autokey to function properly, this key project must have the Cloud KMS API activated and the Cloud KMS Service Agent for this key project must be granted the `cloudkms.admin` role (or pertinent permissions).", + "description": "Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will require `cloudkms.cryptoKeys.setIamPolicy` permission on this key project. Once configured, for Cloud KMS Autokey to function properly, this key project must have the Cloud KMS API activated and the Cloud KMS Service Agent for this key project must be granted the `cloudkms.admin` role (or pertinent permissions). A request with an empty key project field will clear the configuration.", "type": "string" }, "name": { @@ -3275,12 +3275,12 @@ "id": "KeyHandle", "properties": { "kmsKey": { - "description": "Output only. Name of a CryptoKey that has been provisioned for Customer Managed Encryption Key (CMEK) use in the KeyHandle's project and location for the requested resource type.", + "description": "Output only. Name of a CryptoKey that has been provisioned for Customer Managed Encryption Key (CMEK) use in the KeyHandle project and location for the requested resource type. The CryptoKey project will reflect the value configured in the AutokeyConfig on the resource project's ancestor folder at the time of the KeyHandle creation. If more than one ancestor folder has a configured AutokeyConfig, the nearest of these configurations is used.", "readOnly": true, "type": "string" }, "name": { - "description": "Output only. Identifier. Name of the [KeyHandle] resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.", + "description": "Output only. Identifier. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.", "readOnly": true, "type": "string" }, diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index 842d4d3d0e..83630f7c77 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -591,13 +591,14 @@ func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { // AutokeyConfig: Cloud KMS Autokey configuration for a folder. type AutokeyConfig struct { // KeyProject: Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` - // or `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision new - // CryptoKeys. On UpdateAutokeyConfig, the caller will require - // `cloudkms.cryptoKeys.setIamPolicy` permission on this key project. Once - // configured, for Cloud KMS Autokey to function properly, this key project - // must have the Cloud KMS API activated and the Cloud KMS Service Agent for - // this key project must be granted the `cloudkms.admin` role (or pertinent - // permissions). + // or `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new + // CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller + // will require `cloudkms.cryptoKeys.setIamPolicy` permission on this key + // project. Once configured, for Cloud KMS Autokey to function properly, this + // key project must have the Cloud KMS API activated and the Cloud KMS Service + // Agent for this key project must be granted the `cloudkms.admin` role (or + // pertinent permissions). A request with an empty key project field will clear + // the configuration. KeyProject string `json:"keyProject,omitempty"` // Name: Identifier. Name of the AutokeyConfig resource, e.g. // `folders/{FOLDER_NUMBER}/autokeyConfig`. @@ -1925,10 +1926,14 @@ func (s *ImportJob) MarshalJSON() ([]byte, error) { // Autokey and the resulting provisioning of a CryptoKey. type KeyHandle struct { // KmsKey: Output only. Name of a CryptoKey that has been provisioned for - // Customer Managed Encryption Key (CMEK) use in the KeyHandle's project and - // location for the requested resource type. + // Customer Managed Encryption Key (CMEK) use in the KeyHandle project and + // location for the requested resource type. The CryptoKey project will reflect + // the value configured in the AutokeyConfig on the resource project's ancestor + // folder at the time of the KeyHandle creation. If more than one ancestor + // folder has a configured AutokeyConfig, the nearest of these configurations + // is used. KmsKey string `json:"kmsKey,omitempty"` - // Name: Output only. Identifier. Name of the [KeyHandle] resource, e.g. + // Name: Output only. Identifier. Name of the KeyHandle resource, e.g. // `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`. Name string `json:"name,omitempty"` // ResourceTypeSelector: Required. Indicates the resource type that the @@ -3442,7 +3447,8 @@ type FoldersUpdateAutokeyConfigCall struct { // UpdateAutokeyConfig: Updates the AutokeyConfig for a folder. The caller must // have both `cloudkms.autokeyConfigs.update` permission on the parent folder // and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key -// project. An empty key project may be provided to clear the configuration. +// project. A KeyHandle creation in the folder's descendant projects will use +// this configuration to determine where to create the resulting CryptoKey. // // - name: Identifier. Name of the AutokeyConfig resource, e.g. // `folders/{FOLDER_NUMBER}/autokeyConfig`. diff --git a/compute/v0.beta/compute-api.json b/compute/v0.beta/compute-api.json index 452c37a625..6c530915c4 100644 --- a/compute/v0.beta/compute-api.json +++ b/compute/v0.beta/compute-api.json @@ -41579,7 +41579,7 @@ } } }, - "revision": "20240421", + "revision": "20240430", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -42156,7 +42156,7 @@ "type": "string" }, "publicPtrDomainName": { - "description": "The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.", + "description": "The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range.", "type": "string" }, "securityPolicy": { @@ -46588,6 +46588,7 @@ "enum": [ "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", + "ACCELERATOR_OPTIMIZED_A3_MEGA", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", @@ -46623,6 +46624,7 @@ "", "", "", + "", "" ], "type": "string" @@ -52042,7 +52044,7 @@ "type": "string" }, "requestPath": { - "description": "The request path of the HTTP/2 health check request. The default value is /.", + "description": "The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986.", "type": "string" }, "response": { @@ -52095,7 +52097,7 @@ "type": "string" }, "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /.", + "description": "The request path of the HTTP health check request. The default value is /. Must comply with RFC3986.", "type": "string" }, "response": { @@ -52148,7 +52150,7 @@ "type": "string" }, "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is /.", + "description": "The request path of the HTTPS health check request. The default value is /. Must comply with RFC3986.", "type": "string" }, "response": { @@ -52220,7 +52222,7 @@ "type": "string" }, "sourceRegions": { - "description": "The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of GCP regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. ", + "description": "The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. ", "items": { "type": "string" }, @@ -71429,6 +71431,7 @@ "TPU_LITE_PODSLICE_V5", "TPU_PODSLICE_V4", "URL_MAPS", + "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES", "VPN_GATEWAYS", "VPN_TUNNELS", "XPN_SERVICE_PROJECTS" @@ -71597,6 +71600,7 @@ "", "", "", + "", "" ], "type": "string" @@ -78168,6 +78172,11 @@ "description": "[Output Only] Server-defined URL for this resource with the resource id.", "type": "string" }, + "shortName": { + "description": "User-provided name of the organization security policy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, "type": { "description": "The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.", "enum": [ @@ -78401,6 +78410,20 @@ "description": "[Output Only] The display name of the security policy of the association.", "type": "string" }, + "excludedFolders": { + "description": "A list of folders to exclude from the security policy.", + "items": { + "type": "string" + }, + "type": "array" + }, + "excludedProjects": { + "description": "A list of projects to exclude from the security policy.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "The name for an association.", "type": "string" @@ -78408,6 +78431,10 @@ "securityPolicyId": { "description": "[Output Only] The security policy ID of the association.", "type": "string" + }, + "shortName": { + "description": "[Output Only] The short name of the security policy of the association.", + "type": "string" } }, "type": "object" @@ -80611,7 +80638,7 @@ "additionalProperties": { "$ref": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference" }, - "description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.", + "description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.", "type": "object" }, "policy": { @@ -80624,7 +80651,7 @@ ], "enumDescriptions": [ "Store snapshot in the same region as with the originating disk. No additional parameters are needed.", - "Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed.", + "Store snapshot in the nearest multi region Cloud Storage bucket, relative to the originating disk. No additional parameters are needed.", "Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the `locations` field.", "" ], @@ -80638,7 +80665,7 @@ "id": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference", "properties": { "name": { - "description": "Name of the location. It should be one of the GCS buckets.", + "description": "Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified.", "type": "string" } }, diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index b4fb1571db..a9b22c2525 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -2017,7 +2017,7 @@ type AccessConfig struct { // PublicPtrDomainName: The DNS domain name for the public PTR record. You can // set this field only if the `setPublicPtr` field is enabled in accessConfig. // If this field is unspecified in ipv6AccessConfig, a default PTR record will - // be createc for first IP in associated external IPv6 range. + // be created for first IP in associated external IPv6 range. PublicPtrDomainName string `json:"publicPtrDomainName,omitempty"` // SecurityPolicy: [Output Only] The resource URL for the security policy // associated with this access config. @@ -7381,6 +7381,7 @@ type Commitment struct { // Possible values: // "ACCELERATOR_OPTIMIZED" // "ACCELERATOR_OPTIMIZED_A3" + // "ACCELERATOR_OPTIMIZED_A3_MEGA" // "COMPUTE_OPTIMIZED" // "COMPUTE_OPTIMIZED_C2D" // "COMPUTE_OPTIMIZED_C3" @@ -13617,7 +13618,7 @@ type HTTP2HealthCheck struct { // "PROXY_V1" ProxyHeader string `json:"proxyHeader,omitempty"` // RequestPath: The request path of the HTTP/2 health check request. The - // default value is /. + // default value is /. Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // Response: Creates a content-based HTTP/2 health check. In addition to the // required HTTP 200 (OK) status code, you can configure the health check to @@ -13694,7 +13695,7 @@ type HTTPHealthCheck struct { // "PROXY_V1" ProxyHeader string `json:"proxyHeader,omitempty"` // RequestPath: The request path of the HTTP health check request. The default - // value is /. + // value is /. Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // Response: Creates a content-based HTTP health check. In addition to the // required HTTP 200 (OK) status code, you can configure the health check to @@ -13770,7 +13771,7 @@ type HTTPSHealthCheck struct { // "PROXY_V1" ProxyHeader string `json:"proxyHeader,omitempty"` // RequestPath: The request path of the HTTPS health check request. The default - // value is /. + // value is /. Must comply with RFC3986. RequestPath string `json:"requestPath,omitempty"` // Response: Creates a content-based HTTPS health check. In addition to the // required HTTP 200 (OK) status code, you can configure the health check to @@ -13847,11 +13848,11 @@ type HealthCheck struct { SelfLink string `json:"selfLink,omitempty"` // SourceRegions: The list of cloud regions from which health checks are // performed. If any regions are specified, then exactly 3 regions should be - // specified. The region names must be valid names of GCP regions. This can - // only be set for global health check. If this list is non-empty, then there - // are restrictions on what other health check fields are supported and what - // other resources can use this health check: - SSL, HTTP2, and GRPC protocols - // are not supported. - The TCP request field is not supported. - The + // specified. The region names must be valid names of Google Cloud regions. + // This can only be set for global health check. If this list is non-empty, + // then there are restrictions on what other health check fields are supported + // and what other resources can use this health check: - SSL, HTTP2, and GRPC + // protocols are not supported. - The TCP request field is not supported. - The // proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The // checkIntervalSec field must be at least 30. - The health check cannot be // used with BackendService nor with managed instance group auto-healing. @@ -35393,6 +35394,7 @@ type Quota struct { // "TPU_LITE_PODSLICE_V5" // "TPU_PODSLICE_V4" // "URL_MAPS" + // "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES" // "VPN_GATEWAYS" // "VPN_TUNNELS" // "XPN_SERVICE_PROJECTS" @@ -42557,6 +42559,16 @@ type SecurityPolicy struct { // SelfLinkWithId: [Output Only] Server-defined URL for this resource with the // resource id. SelfLinkWithId string `json:"selfLinkWithId,omitempty"` + // ShortName: User-provided name of the organization security policy. The name + // should be unique in the organization in which the security policy is + // created. This should only be used when SecurityPolicyType is CLOUD_ARMOR. + // The name must be 1-63 characters long, and comply with + // https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 + // characters long and match the regular expression + // `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a + // lowercase letter, and all following characters must be a dash, lowercase + // letter, or digit, except the last character, which cannot be a dash. + ShortName string `json:"shortName,omitempty"` // Type: The type indicates the intended use of the security policy. - // CLOUD_ARMOR: Cloud Armor backend security policies can be configured to // filter incoming HTTP requests targeting backend services. They filter @@ -42868,10 +42880,17 @@ type SecurityPolicyAssociation struct { // DisplayName: [Output Only] The display name of the security policy of the // association. DisplayName string `json:"displayName,omitempty"` + // ExcludedFolders: A list of folders to exclude from the security policy. + ExcludedFolders []string `json:"excludedFolders,omitempty"` + // ExcludedProjects: A list of projects to exclude from the security policy. + ExcludedProjects []string `json:"excludedProjects,omitempty"` // Name: The name for an association. Name string `json:"name,omitempty"` // SecurityPolicyId: [Output Only] The security policy ID of the association. SecurityPolicyId string `json:"securityPolicyId,omitempty"` + // ShortName: [Output Only] The short name of the security policy of the + // association. + ShortName string `json:"shortName,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -45427,16 +45446,17 @@ func (s *SnapshotSettings) MarshalJSON() ([]byte, error) { type SnapshotSettingsStorageLocationSettings struct { // Locations: When the policy is SPECIFIC_LOCATIONS, snapshots will be stored - // in the locations listed in this field. Keys are GCS bucket locations. + // in the locations listed in this field. Keys are Cloud Storage bucket + // locations. Only one location can be specified. Locations map[string]SnapshotSettingsStorageLocationSettingsStorageLocationPreference `json:"locations,omitempty"` // Policy: The chosen location policy. // // Possible values: // "LOCAL_REGION" - Store snapshot in the same region as with the originating // disk. No additional parameters are needed. - // "NEAREST_MULTI_REGION" - Store snapshot to the nearest multi region GCS - // bucket, relative to the originating disk. No additional parameters are - // needed. + // "NEAREST_MULTI_REGION" - Store snapshot in the nearest multi region Cloud + // Storage bucket, relative to the originating disk. No additional parameters + // are needed. // "SPECIFIC_LOCATIONS" - Store snapshot in the specific locations, as // specified by the user. The list of regions to store must be defined under // the `locations` field. @@ -45463,7 +45483,8 @@ func (s *SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) // SnapshotSettingsStorageLocationSettingsStorageLocationPreference: A // structure for specifying storage locations. type SnapshotSettingsStorageLocationSettingsStorageLocationPreference struct { - // Name: Name of the location. It should be one of the GCS buckets. + // Name: Name of the location. It should be one of the Cloud Storage buckets. + // Only one location can be specified. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 04f33ba7b4..e3e9b0d675 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -3072,7 +3072,7 @@ } } }, - "revision": "20240320", + "revision": "20240505", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3085,7 +3085,7 @@ "type": "integer" }, "acceleratorTypeUri": { - "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.", + "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 nvidia-tesla-t4Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-t4.", "type": "string" } }, diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index ab3f37c6ac..e72c6209d7 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -344,13 +344,13 @@ type AcceleratorConfig struct { // type resource to expose to this instance. See Compute Engine // AcceleratorTypes // (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: - // https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 - // projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 - // nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone + // https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 + // projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 + // nvidia-tesla-t4Auto Zone Exception: If you are using the Dataproc Auto Zone // Placement // (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) // feature, you must use the short name of the accelerator type resource, for - // example, nvidia-tesla-k80. + // example, nvidia-tesla-t4. AcceleratorTypeUri string `json:"acceleratorTypeUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceleratorCount") to // unconditionally include in API requests. By default, fields with empty or diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index d0ba39e514..9b3bc16791 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -612,7 +612,7 @@ "type": "string" }, "parent": { - "description": "Required. Parent name, typically an organization, without location. For example: \"organizations/12345678\".", + "description": "Required. Parent name, typically an organization, without location. For example: `organizations/12345678`.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -2732,7 +2732,7 @@ ], "parameters": { "parent": { - "description": "Required. Parent resource name in the format: \"projects/{project}/locations/{location}\".", + "description": "Required. Parent resource name in the format: `projects/{project}/locations/{location}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2760,7 +2760,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the Connection to be deleted, in the format: \"projects/{project}/locations/{location}/connections/{connection}\".", + "description": "Required. Resource name of the Connection to be deleted, in the format: `projects/{project}/locations/{location}/connections/{connection}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -2785,7 +2785,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name in the format: \"projects/{project}/locations/{location}/connections/{connection}\".", + "description": "Required. Resource name in the format: `projects/{project}/locations/{location}/connections/{connection}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -2826,7 +2826,7 @@ "type": "string" }, "parent": { - "description": "Required. Parent name, for example: \"projects/project-id/locations/global\".", + "description": "Required. Parent name, for example: `projects/project-id/locations/global`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2851,7 +2851,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name in the format: \"projects/{project}/locations/{location}/connections/{connection}\".", + "description": "Required. Resource name in the format: `projects/{project}/locations/{location}/connections/{connection}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -2895,7 +2895,7 @@ "type": "string" }, "parent": { - "description": "Required. Parent name, typically an organization, without location. For example: \"organizations/12345678\".", + "description": "Required. Parent name, typically an organization, without location. For example: `organizations/12345678`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -4451,7 +4451,7 @@ } } }, - "revision": "20240428", + "revision": "20240505", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5061,7 +5061,7 @@ "description": "Built-in IAM authentication (must be configured in Cloud SQL)." }, "connectionName": { - "description": "Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name \"project-id:us-central1:sql-instance\" must be created under the parent \"projects/project-id/locations/us-central1\"", + "description": "Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name `project-id:us-central1:sql-instance` must be created under the parent `projects/project-id/locations/us-central1`", "type": "string" }, "databaseEngine": { @@ -5284,9 +5284,9 @@ "Decimal type.", "Json type.", "Interval type.", - "Range type.", - "Range type.", - "Range type." + "`Range` type.", + "`Range` type.", + "`Range` type." ], "type": "string" }, @@ -5480,7 +5480,7 @@ "type": "array" }, "name": { - "description": "Output only. Name of the connection: projects/{project}/locations/{location}/connections/{name}.", + "description": "Output only. Name of the connection: `projects/{project}/locations/{location}/connections/{name}`.", "readOnly": true, "type": "string" }, @@ -6016,7 +6016,7 @@ "enumDescriptions": [ "Unused.", "New profile (not a re-profile).", - "Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes", + "Changed one of the following profile metrics: * 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." ], @@ -7536,7 +7536,7 @@ "type": "object" }, "GooglePrivacyDlpV2InfoTypeCategory": { - "description": "Classification of infoTypes to organize them according to geographic location, industry, and data type. NEXT_ID: 48", + "description": "Classification of infoTypes to organize them according to geographic location, industry, and data type.", "id": "GooglePrivacyDlpV2InfoTypeCategory", "properties": { "industryCategory": { @@ -9195,7 +9195,7 @@ "enumDescriptions": [ "Unused.", "The full table data profile.", - "The resource name of the table." + "The name of the profiled resource." ], "type": "string" }, @@ -9211,7 +9211,7 @@ "enumDescriptions": [ "Unused.", "New profile (not a re-profile).", - "Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes", + "Changed one of the following profile metrics: * 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." ], @@ -9791,7 +9791,7 @@ "id": "GooglePrivacyDlpV2SecretManagerCredential", "properties": { "passwordSecretVersionName": { - "description": "Required. The name of the Secret Manager resource that stores the password, in the form \"projects/project-id/secrets/secret-name/versions/version\".", + "description": "Required. The name of the Secret Manager resource that stores the password, in the form `projects/project-id/secrets/secret-name/versions/version`.", "type": "string" }, "username": { @@ -10185,11 +10185,13 @@ "enum": [ "RESOURCE_VISIBILITY_UNSPECIFIED", "RESOURCE_VISIBILITY_PUBLIC", + "RESOURCE_VISIBILITY_INCONCLUSIVE", "RESOURCE_VISIBILITY_RESTRICTED" ], "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.", "Visible only to specific users." ], "type": "string" @@ -10335,7 +10337,7 @@ "id": "GooglePrivacyDlpV2TimespanConfig", "properties": { "enableAutoPopulationOfTimespanConfig": { - "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. *For BigQuery* Inspect jobs triggered by automatic population will scan data that is at least three hours old when the job starts. This is because streaming buffer rows are not read during inspection and reading up to the current timestamp will result in skipped rows. See the [known issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) related to this operation.", + "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. **For BigQuery** Inspect jobs triggered by automatic population will scan data that is at least three hours old when the job starts. This is because streaming buffer rows are not read during inspection and reading up to the current timestamp will result in skipped rows. See the [known issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) related to this operation.", "type": "boolean" }, "endTime": { diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 35ae7cf719..73eec0df2b 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -1423,8 +1423,8 @@ type GooglePrivacyDlpV2CloudSqlProperties struct { // only be set at creation time, and cannot be updated. It is an error to use a // connection_name from different project or region than the one that holds the // connection. For example, a Connection resource for Cloud SQL connection_name - // "project-id:us-central1:sql-instance" must be created under the parent - // "projects/project-id/locations/us-central1" + // `project-id:us-central1:sql-instance` must be created under the parent + // `projects/project-id/locations/us-central1` ConnectionName string `json:"connectionName,omitempty"` // DatabaseEngine: Required. The database engine used by the Cloud SQL instance // that this connection configures. @@ -1733,9 +1733,9 @@ type GooglePrivacyDlpV2ColumnDataProfile struct { // "TYPE_BIGNUMERIC" - Decimal type. // "TYPE_JSON" - Json type. // "TYPE_INTERVAL" - Interval type. - // "TYPE_RANGE_DATE" - Range type. - // "TYPE_RANGE_DATETIME" - Range type. - // "TYPE_RANGE_TIMESTAMP" - Range type. + // "TYPE_RANGE_DATE" - `Range` type. + // "TYPE_RANGE_DATETIME" - `Range` type. + // "TYPE_RANGE_TIMESTAMP" - `Range` type. ColumnType string `json:"columnType,omitempty"` // DataRiskLevel: The data risk level for this column. DataRiskLevel *GooglePrivacyDlpV2DataRiskLevel `json:"dataRiskLevel,omitempty"` @@ -1922,7 +1922,7 @@ type GooglePrivacyDlpV2Connection struct { // Will store the last 10 errors sorted with the most recent first. Errors []*GooglePrivacyDlpV2Error `json:"errors,omitempty"` // Name: Output only. Name of the connection: - // projects/{project}/locations/{location}/connections/{name}. + // `projects/{project}/locations/{location}/connections/{name}`. Name string `json:"name,omitempty"` // State: Required. The connection's state in its lifecycle. // @@ -2749,9 +2749,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: * Table - // data risk score * Table sensitivity score * Table resource visibility * - // Table encryption type * Table predicted infoTypes * Table other infoTypes + // "CHANGED_PROFILE" - Changed one of the following profile metrics: * 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"` @@ -5000,7 +5000,7 @@ func (s *GooglePrivacyDlpV2InfoType) MarshalJSON() ([]byte, error) { } // GooglePrivacyDlpV2InfoTypeCategory: Classification of infoTypes to organize -// them according to geographic location, industry, and data type. NEXT_ID: 48 +// them according to geographic location, industry, and data type. type GooglePrivacyDlpV2InfoTypeCategory struct { // IndustryCategory: The group of relevant businesses where this infoType is // commonly used @@ -7149,7 +7149,7 @@ type GooglePrivacyDlpV2PubSubNotification struct { // Possible values: // "DETAIL_LEVEL_UNSPECIFIED" - Unused. // "TABLE_PROFILE" - The full table data profile. - // "RESOURCE_NAME" - The resource name of the table. + // "RESOURCE_NAME" - The name of the profiled resource. DetailOfMessage string `json:"detailOfMessage,omitempty"` // Event: The type of event that triggers a Pub/Sub. At most one // `PubSubNotification` per EventType is permitted. @@ -7157,9 +7157,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: * Table - // data risk score * Table sensitivity score * Table resource visibility * - // Table encryption type * Table predicted infoTypes * Table other infoTypes + // "CHANGED_PROFILE" - Changed one of the following profile metrics: * 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"` @@ -8071,7 +8071,7 @@ func (s *GooglePrivacyDlpV2SearchConnectionsResponse) MarshalJSON() ([]byte, err type GooglePrivacyDlpV2SecretManagerCredential struct { // PasswordSecretVersionName: Required. The name of the Secret Manager resource // that stores the password, in the form - // "projects/project-id/secrets/secret-name/versions/version". + // `projects/project-id/secrets/secret-name/versions/version`. PasswordSecretVersionName string `json:"passwordSecretVersionName,omitempty"` // Username: Required. The username. Username string `json:"username,omitempty"` @@ -8541,6 +8541,9 @@ type GooglePrivacyDlpV2TableDataProfile struct { // Possible values: // "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. // "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 @@ -8742,7 +8745,7 @@ type GooglePrivacyDlpV2TimespanConfig struct { // scanning files that have not been modified since the last time the // JobTrigger executed. This will be based on the time of the execution of the // last run of the JobTrigger or the timespan end_time used in the last run of - // the JobTrigger. *For BigQuery* Inspect jobs triggered by automatic + // the JobTrigger. **For BigQuery** Inspect jobs triggered by automatic // population will scan data that is at least three hours old when the job // starts. This is because streaming buffer rows are not read during inspection // and reading up to the current timestamp will result in skipped rows. See the @@ -11429,7 +11432,7 @@ type OrganizationsLocationsConnectionsSearchCall struct { // Search: Searches for Connections in a parent. // // - parent: Parent name, typically an organization, without location. For -// example: "organizations/12345678". +// example: `organizations/12345678`. func (r *OrganizationsLocationsConnectionsService) Search(parent string) *OrganizationsLocationsConnectionsSearchCall { c := &OrganizationsLocationsConnectionsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -19514,7 +19517,7 @@ type ProjectsLocationsConnectionsCreateCall struct { // Create: Create a Connection to an external data source. // // - parent: Parent resource name in the format: -// "projects/{project}/locations/{location}". +// `projects/{project}/locations/{location}`. func (r *ProjectsLocationsConnectionsService) Create(parent string, googleprivacydlpv2createconnectionrequest *GooglePrivacyDlpV2CreateConnectionRequest) *ProjectsLocationsConnectionsCreateCall { c := &ProjectsLocationsConnectionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -19616,7 +19619,7 @@ type ProjectsLocationsConnectionsDeleteCall struct { // Delete: Delete a Connection. // // - name: Resource name of the Connection to be deleted, in the format: -// "projects/{project}/locations/{location}/connections/{connection}". +// `projects/{project}/locations/{location}/connections/{connection}`. func (r *ProjectsLocationsConnectionsService) Delete(name string) *ProjectsLocationsConnectionsDeleteCall { c := &ProjectsLocationsConnectionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -19714,7 +19717,7 @@ type ProjectsLocationsConnectionsGetCall struct { // Get: Get a Connection by name. // // - name: Resource name in the format: -// "projects/{project}/locations/{location}/connections/{connection}". +// `projects/{project}/locations/{location}/connections/{connection}`. func (r *ProjectsLocationsConnectionsService) Get(name string) *ProjectsLocationsConnectionsGetCall { c := &ProjectsLocationsConnectionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -19822,7 +19825,7 @@ type ProjectsLocationsConnectionsListCall struct { // List: Lists Connections in a parent. // -// - parent: Parent name, for example: "projects/project-id/locations/global". +// - parent: Parent name, for example: `projects/project-id/locations/global`. func (r *ProjectsLocationsConnectionsService) List(parent string) *ProjectsLocationsConnectionsListCall { c := &ProjectsLocationsConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -19974,7 +19977,7 @@ type ProjectsLocationsConnectionsPatchCall struct { // Patch: Update a Connection. // // - name: Resource name in the format: -// "projects/{project}/locations/{location}/connections/{connection}". +// `projects/{project}/locations/{location}/connections/{connection}`. func (r *ProjectsLocationsConnectionsService) Patch(name string, googleprivacydlpv2updateconnectionrequest *GooglePrivacyDlpV2UpdateConnectionRequest) *ProjectsLocationsConnectionsPatchCall { c := &ProjectsLocationsConnectionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -20077,7 +20080,7 @@ type ProjectsLocationsConnectionsSearchCall struct { // Search: Searches for Connections in a parent. // // - parent: Parent name, typically an organization, without location. For -// example: "organizations/12345678". +// example: `organizations/12345678`. func (r *ProjectsLocationsConnectionsService) Search(parent string) *ProjectsLocationsConnectionsSearchCall { c := &ProjectsLocationsConnectionsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent diff --git a/monitoring/v1/monitoring-api.json b/monitoring/v1/monitoring-api.json index d549adc605..84d19a3b13 100644 --- a/monitoring/v1/monitoring-api.json +++ b/monitoring/v1/monitoring-api.json @@ -753,7 +753,7 @@ } } }, - "revision": "20240427", + "revision": "20240505", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -1037,6 +1037,10 @@ "description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.", "id": "Dashboard", "properties": { + "annotations": { + "$ref": "DashboardAnnotations", + "description": "Configuration for event annotations to display on this dashboard." + }, "columnLayout": { "$ref": "ColumnLayout", "description": "The content is divided into equally spaced columns and the widgets are arranged vertically." @@ -1082,6 +1086,27 @@ }, "type": "object" }, + "DashboardAnnotations": { + "description": "Dashboard-level configuration for annotations", + "id": "DashboardAnnotations", + "properties": { + "defaultResourceNames": { + "description": "Dashboard level defaults for names of logging resources to search for events. Currently only projects are supported. Each individual EventAnnotation may have its own overrides. If both this field and the per annotation field is empty, then the scoping project is used. Limit: 50 projects. For example: “projects/some-project-id” ", + "items": { + "type": "string" + }, + "type": "array" + }, + "eventAnnotations": { + "description": "List of annotation configurations for this dashboard. Each entry specifies one event type.", + "items": { + "$ref": "EventAnnotation" + }, + "type": "array" + } + }, + "type": "object" + }, "DashboardFilter": { "description": "A filter to reduce the amount of data charted in relevant widgets.", "id": "DashboardFilter", @@ -1301,6 +1326,80 @@ }, "type": "object" }, + "EventAnnotation": { + "description": "Annotation configuration for one event type on a dashboard", + "id": "EventAnnotation", + "properties": { + "displayName": { + "description": "Solely for UI display. Should not be used programmatically.", + "type": "string" + }, + "enabled": { + "description": "Whether or not to show the events on the dashboard by default", + "type": "boolean" + }, + "eventType": { + "description": "The type of event to display.", + "enum": [ + "EVENT_TYPE_UNSPECIFIED", + "GKE_WORKLOAD_DEPLOYMENT", + "GKE_POD_CRASH", + "GKE_POD_UNSCHEDULABLE", + "GKE_CONTAINER_CREATION_FAILED", + "GKE_CLUSTER_CREATE_DELETE", + "GKE_CLUSTER_UPDATE", + "GKE_NODE_POOL_UPDATE", + "GKE_CLUSTER_AUTOSCALER", + "GKE_POD_AUTOSCALER", + "VM_TERMINATION", + "VM_GUEST_OS_ERROR", + "VM_START_FAILED", + "MIG_UPDATE", + "MIG_AUTOSCALER", + "CLOUD_RUN_DEPLOYMENT", + "CLOUD_SQL_FAILOVER", + "CLOUD_SQL_START_STOP", + "CLOUD_SQL_STORAGE", + "UPTIME_CHECK_FAILURE" + ], + "enumDescriptions": [ + "No event type specified.", + "Patch/update of GKE workload.", + "Crash events for a GKE Pod.", + "Scheduling failures for GKE Pods.", + "Failure to create a GKE container.", + "Create/delete of a GKE cluster.", + "Update of a GKE cluster.", + "Update of a GKE node pool.", + "GKE cluster autoscaler event.", + "GKE pod autoscaler event.", + "Termination of a virtual machine.", + "Guest OS error on a virtual machine.", + "Start failure on a virtual machine.", + "Update of a managed instance group.", + "Autoscaler event for a managed instance group.", + "New deployment of a Cloud Run service.", + "Failover of a Cloud SQL instance.", + "Start/stop of a Cloud SQL instance.", + "Storage event for a Cloud SQL instance.", + "Failure of a Cloud Monitoring uptime check." + ], + "type": "string" + }, + "filter": { + "description": "string filtering the events - event dependant. Example values: \"resource.labels.pod_name = 'pod-1'\" \"protoPayload.authenticationInfo.principalEmail='user@example.com'\" ", + "type": "string" + }, + "resourceNames": { + "description": "Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: “projects/another-project-id” ", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Field": { "description": "A single field of a message type.", "id": "Field", diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index c29ea93498..676bd0d925 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -826,6 +826,9 @@ func (s *ColumnSettings) MarshalJSON() ([]byte, error) { // Dashboard: A Google Stackdriver dashboard. Dashboards define the content and // layout of pages in the Stackdriver web application. type Dashboard struct { + // Annotations: Configuration for event annotations to display on this + // dashboard. + Annotations *DashboardAnnotations `json:"annotations,omitempty"` // ColumnLayout: The content is divided into equally spaced columns and the // widgets are arranged vertically. ColumnLayout *ColumnLayout `json:"columnLayout,omitempty"` @@ -857,13 +860,13 @@ type Dashboard struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ColumnLayout") to + // ForceSendFields is a list of field names (e.g. "Annotations") 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. "ColumnLayout") to include in API + // NullFields is a list of field names (e.g. "Annotations") 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. @@ -875,6 +878,35 @@ func (s *Dashboard) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// DashboardAnnotations: Dashboard-level configuration for annotations +type DashboardAnnotations struct { + // DefaultResourceNames: Dashboard level defaults for names of logging + // resources to search for events. Currently only projects are supported. Each + // individual EventAnnotation may have its own overrides. If both this field + // and the per annotation field is empty, then the scoping project is used. + // Limit: 50 projects. For example: “projects/some-project-id” + DefaultResourceNames []string `json:"defaultResourceNames,omitempty"` + // EventAnnotations: List of annotation configurations for this dashboard. Each + // entry specifies one event type. + EventAnnotations []*EventAnnotation `json:"eventAnnotations,omitempty"` + // ForceSendFields is a list of field names (e.g. "DefaultResourceNames") 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. "DefaultResourceNames") 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 *DashboardAnnotations) MarshalJSON() ([]byte, error) { + type NoMethod DashboardAnnotations + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // DashboardFilter: A filter to reduce the amount of data charted in relevant // widgets. type DashboardFilter struct { @@ -1136,6 +1168,64 @@ func (s *ErrorReportingPanel) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// EventAnnotation: Annotation configuration for one event type on a dashboard +type EventAnnotation struct { + // DisplayName: Solely for UI display. Should not be used programmatically. + DisplayName string `json:"displayName,omitempty"` + // Enabled: Whether or not to show the events on the dashboard by default + Enabled bool `json:"enabled,omitempty"` + // EventType: The type of event to display. + // + // Possible values: + // "EVENT_TYPE_UNSPECIFIED" - No event type specified. + // "GKE_WORKLOAD_DEPLOYMENT" - Patch/update of GKE workload. + // "GKE_POD_CRASH" - Crash events for a GKE Pod. + // "GKE_POD_UNSCHEDULABLE" - Scheduling failures for GKE Pods. + // "GKE_CONTAINER_CREATION_FAILED" - Failure to create a GKE container. + // "GKE_CLUSTER_CREATE_DELETE" - Create/delete of a GKE cluster. + // "GKE_CLUSTER_UPDATE" - Update of a GKE cluster. + // "GKE_NODE_POOL_UPDATE" - Update of a GKE node pool. + // "GKE_CLUSTER_AUTOSCALER" - GKE cluster autoscaler event. + // "GKE_POD_AUTOSCALER" - GKE pod autoscaler event. + // "VM_TERMINATION" - Termination of a virtual machine. + // "VM_GUEST_OS_ERROR" - Guest OS error on a virtual machine. + // "VM_START_FAILED" - Start failure on a virtual machine. + // "MIG_UPDATE" - Update of a managed instance group. + // "MIG_AUTOSCALER" - Autoscaler event for a managed instance group. + // "CLOUD_RUN_DEPLOYMENT" - New deployment of a Cloud Run service. + // "CLOUD_SQL_FAILOVER" - Failover of a Cloud SQL instance. + // "CLOUD_SQL_START_STOP" - Start/stop of a Cloud SQL instance. + // "CLOUD_SQL_STORAGE" - Storage event for a Cloud SQL instance. + // "UPTIME_CHECK_FAILURE" - Failure of a Cloud Monitoring uptime check. + EventType string `json:"eventType,omitempty"` + // Filter: string filtering the events - event dependant. Example values: + // "resource.labels.pod_name = 'pod-1'" + // "protoPayload.authenticationInfo.principalEmail='user@example.com'" + Filter string `json:"filter,omitempty"` + // ResourceNames: Per annotation level override for the names of logging + // resources to search for events. Currently only projects are supported. If + // both this field and the per annotation field is empty, it will default to + // the host project. Limit: 50 projects. For example: + // “projects/another-project-id” + ResourceNames []string `json:"resourceNames,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DisplayName") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s *EventAnnotation) MarshalJSON() ([]byte, error) { + type NoMethod EventAnnotation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // Field: A single field of a message type. type Field struct { // Cardinality: The field cardinality. diff --git a/run/v1/run-api.json b/run/v1/run-api.json index 3edd119716..16470bb4a0 100644 --- a/run/v1/run-api.json +++ b/run/v1/run-api.json @@ -2614,7 +2614,7 @@ } } }, - "revision": "20240426", + "revision": "20240503", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -4393,7 +4393,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" @@ -5678,6 +5678,10 @@ "description": "Optional. The Node Selector configuration. Map of selector key to a value which matches a node.", "type": "object" }, + "runtimeClassName": { + "description": "Runtime. Leave unset for default.", + "type": "string" + }, "serviceAccountName": { "description": "Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.", "type": "string" diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 590258b1e9..61a7c1668b 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -2658,7 +2658,8 @@ type GoogleDevtoolsCloudbuildV1Results 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 []*GoogleDevtoolsCloudbuildV1BuiltImage `json:"images,omitempty"` @@ -4307,6 +4308,8 @@ type RevisionSpec struct { // NodeSelector: Optional. The Node Selector configuration. Map of selector key // to a value which matches a node. NodeSelector map[string]string `json:"nodeSelector,omitempty"` + // RuntimeClassName: Runtime. Leave unset for default. + RuntimeClassName string `json:"runtimeClassName,omitempty"` // ServiceAccountName: Email address of the IAM service account associated with // the revision of the service. The service account represents the identity of // the running revision, and determines what permissions the revision has. If diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 2633481ef0..a4a07ca0a4 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1469,7 +1469,7 @@ } } }, - "revision": "20240426", + "revision": "20240503", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -4681,7 +4681,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" diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index e83e4f3b1b..44988d987c 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -3832,7 +3832,8 @@ type GoogleDevtoolsCloudbuildV1Results 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 []*GoogleDevtoolsCloudbuildV1BuiltImage `json:"images,omitempty"` diff --git a/safebrowsing/v5/safebrowsing-api.json b/safebrowsing/v5/safebrowsing-api.json index 55445db00b..23cc41581b 100644 --- a/safebrowsing/v5/safebrowsing-api.json +++ b/safebrowsing/v5/safebrowsing-api.json @@ -121,7 +121,7 @@ } } }, - "revision": "20240414", + "revision": "20240505", "rootUrl": "https://safebrowsing.googleapis.com/", "schemas": { "GoogleSecuritySafebrowsingV5FullHash": { @@ -190,7 +190,7 @@ "id": "GoogleSecuritySafebrowsingV5SearchHashesResponse", "properties": { "cacheDuration": { - "description": "The client-side cache duration. The client MUST add this duration to the current time to determine the expiration time. The expiration time then applies to every hash prefix queried by the client in the request, regardless of how many full hashes are returned in the response. Even if the server returns no full hashes for a particular hash prefix, this fact MUST also be cached by the client. Important: the client MUST NOT assume that the server will return the same cache duration for all responses. The server MAY choose different cache durations for different responses depending on the situation.", + "description": "The client-side cache duration. The client MUST add this duration to the current time to determine the expiration time. The expiration time then applies to every hash prefix queried by the client in the request, regardless of how many full hashes are returned in the response. Even if the server returns no full hashes for a particular hash prefix, this fact MUST also be cached by the client. If and only if the field `full_hashes` is empty, the client MAY increase the `cache_duration` to determine a new expiration that is later than that specified by the server. In any case, the increased cache duration must not be longer than 24 hours. Important: the client MUST NOT assume that the server will return the same cache duration for all responses. The server MAY choose different cache durations for different responses depending on the situation.", "format": "google-duration", "type": "string" }, diff --git a/safebrowsing/v5/safebrowsing-gen.go b/safebrowsing/v5/safebrowsing-gen.go index 232db73f69..289a087a48 100644 --- a/safebrowsing/v5/safebrowsing-gen.go +++ b/safebrowsing/v5/safebrowsing-gen.go @@ -267,10 +267,13 @@ type GoogleSecuritySafebrowsingV5SearchHashesResponse struct { // expiration time then applies to every hash prefix queried by the client in // the request, regardless of how many full hashes are returned in the // response. Even if the server returns no full hashes for a particular hash - // prefix, this fact MUST also be cached by the client. Important: the client - // MUST NOT assume that the server will return the same cache duration for all - // responses. The server MAY choose different cache durations for different - // responses depending on the situation. + // prefix, this fact MUST also be cached by the client. If and only if the + // field `full_hashes` is empty, the client MAY increase the `cache_duration` + // to determine a new expiration that is later than that specified by the + // server. In any case, the increased cache duration must not be longer than 24 + // hours. Important: the client MUST NOT assume that the server will return the + // same cache duration for all responses. The server MAY choose different cache + // durations for different responses depending on the situation. CacheDuration string `json:"cacheDuration,omitempty"` // FullHashes: Unordered list. The unordered list of full hashes found. FullHashes []*GoogleSecuritySafebrowsingV5FullHash `json:"fullHashes,omitempty"` diff --git a/walletobjects/v1/walletobjects-api.json b/walletobjects/v1/walletobjects-api.json index 95e84d53c9..7b03294fa5 100644 --- a/walletobjects/v1/walletobjects-api.json +++ b/walletobjects/v1/walletobjects-api.json @@ -2681,7 +2681,7 @@ } } }, - "revision": "20240430", + "revision": "20240508", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -2776,7 +2776,8 @@ }, "iosAppLinkInfo": { "$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 ios client." + "deprecated": true, + "description": "Deprecated. Links to open iOS apps are not supported." }, "webAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", diff --git a/walletobjects/v1/walletobjects-gen.go b/walletobjects/v1/walletobjects-gen.go index db0e9b8f92..99e78525e2 100644 --- a/walletobjects/v1/walletobjects-gen.go +++ b/walletobjects/v1/walletobjects-gen.go @@ -499,9 +499,7 @@ type AppLinkData struct { // included, the app link link module will be rendered on the valuable details // on the android client. AndroidAppLinkInfo *AppLinkDataAppLinkInfo `json:"androidAppLinkInfo,omitempty"` - // IosAppLinkInfo: Optional information about the partner app link. If - // included, the app link link module will be rendered on the valuable details - // on the ios client. + // 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