From 887c564239fdc5b2d1bbb156447281c644e81ee8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 May 2024 00:22:19 -0700 Subject: [PATCH 1/4] feat(all): auto-regenerate discovery clients (#2573) --- androidpublisher/v3/androidpublisher-api.json | 4 +- androidpublisher/v3/androidpublisher-gen.go | 2 +- .../v1/blockchainnodeengine-api.json | 8 +- .../v1/blockchainnodeengine-gen.go | 2 + cloudsearch/v1/cloudsearch-api.json | 64 +++++++++++++++- cloudsearch/v1/cloudsearch-gen.go | 76 +++++++++++++++++++ compute/v0.alpha/compute-api.json | 63 ++++++++++++--- compute/v0.alpha/compute-gen.go | 63 +++++++++++---- compute/v1/compute-api.json | 20 +++-- compute/v1/compute-gen.go | 22 +++--- .../v1/contactcenterinsights-api.json | 31 +++++--- .../v1/contactcenterinsights-gen.go | 59 +++++++++++--- healthcare/v1/healthcare-api.json | 6 +- healthcare/v1/healthcare-gen.go | 9 ++- healthcare/v1beta1/healthcare-api.json | 6 +- healthcare/v1beta1/healthcare-gen.go | 9 ++- iam/v1/iam-api.json | 8 +- iam/v1/iam-gen.go | 12 +-- policysimulator/v1/policysimulator-api.json | 8 +- policysimulator/v1/policysimulator-gen.go | 1 + .../v1alpha/policysimulator-api.json | 8 +- .../v1alpha/policysimulator-gen.go | 1 + .../v1beta/policysimulator-api.json | 8 +- policysimulator/v1beta/policysimulator-gen.go | 1 + retail/v2/retail-api.json | 7 +- retail/v2/retail-gen.go | 9 +++ retail/v2beta/retail-api.json | 7 +- retail/v2beta/retail-gen.go | 9 +++ securitycenter/v1/securitycenter-api.json | 4 +- securitycenter/v1/securitycenter-gen.go | 5 +- storagetransfer/v1/storagetransfer-api.json | 6 +- storagetransfer/v1/storagetransfer-gen.go | 3 + 32 files changed, 435 insertions(+), 106 deletions(-) diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index 2df3a008948..74619874ae5 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4731,7 +4731,7 @@ } } }, - "revision": "20240418", + "revision": "20240507", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -8800,7 +8800,7 @@ }, "canceledStateContext": { "$ref": "CanceledStateContext", - "description": "Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED." + "description": "Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED." }, "externalAccountIdentifiers": { "$ref": "ExternalAccountIdentifiers", diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index f4ea2151a2c..5c76f706e71 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -6042,7 +6042,7 @@ type SubscriptionPurchaseV2 struct { AcknowledgementState string `json:"acknowledgementState,omitempty"` // CanceledStateContext: Additional context around canceled subscriptions. Only // present if the subscription currently has subscription_state - // SUBSCRIPTION_STATE_CANCELED. + // SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED. CanceledStateContext *CanceledStateContext `json:"canceledStateContext,omitempty"` // ExternalAccountIdentifiers: User account identifier in the third-party // service. diff --git a/blockchainnodeengine/v1/blockchainnodeengine-api.json b/blockchainnodeengine/v1/blockchainnodeengine-api.json index 03b59023916..c512776645c 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-api.json +++ b/blockchainnodeengine/v1/blockchainnodeengine-api.json @@ -487,7 +487,7 @@ } } }, - "revision": "20240410", + "revision": "20240504", "rootUrl": "https://blockchainnodeengine.googleapis.com/", "schemas": { "BlockchainNode": { @@ -547,7 +547,8 @@ "ERROR", "UPDATING", "REPAIRING", - "RECONCILING" + "RECONCILING", + "SYNCING" ], "enumDescriptions": [ "The state has not been specified.", @@ -557,7 +558,8 @@ "The node is in an unexpected or errored state.", "The node is currently being updated.", "The node is currently being repaired.", - "The node is currently being reconciled." + "The node is currently being reconciled.", + "The node is syncing, which is the process by which it obtains the latest block and current global state." ], "readOnly": true, "type": "string" diff --git a/blockchainnodeengine/v1/blockchainnodeengine-gen.go b/blockchainnodeengine/v1/blockchainnodeengine-gen.go index c5d145f8b20..da939861e3d 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-gen.go +++ b/blockchainnodeengine/v1/blockchainnodeengine-gen.go @@ -243,6 +243,8 @@ type BlockchainNode struct { // "UPDATING" - The node is currently being updated. // "REPAIRING" - The node is currently being repaired. // "RECONCILING" - The node is currently being reconciled. + // "SYNCING" - The node is syncing, which is the process by which it obtains + // the latest block and current global state. State string `json:"state,omitempty"` // UpdateTime: Output only. The timestamp at which the blockchain node was last // updated. diff --git a/cloudsearch/v1/cloudsearch-api.json b/cloudsearch/v1/cloudsearch-api.json index c6c79772263..3d0e2eb5497 100644 --- a/cloudsearch/v1/cloudsearch-api.json +++ b/cloudsearch/v1/cloudsearch-api.json @@ -2096,7 +2096,7 @@ } } }, - "revision": "20230831", + "revision": "20240501", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "Action": { @@ -7002,6 +7002,68 @@ }, "type": "object" }, + "RewrittenQueries": { + "description": "The rewritten queries returned by Apps Search Query Understanding service.", + "id": "RewrittenQueries", + "properties": { + "rewrittenQueries": { + "items": { + "$ref": "RewrittenQuery" + }, + "type": "array" + }, + "selectedQueryIndex": { + "description": "The index of the selected query in `rewritten_queries` that is used by QAPI to call CSSR to get search results. If none of the queries were used (i.e. they all give empty search results), `selected_query_index` would default to -1.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "RewrittenQuery": { + "id": "RewrittenQuery", + "properties": { + "rewrittenQuery": { + "type": "string" + }, + "score": { + "format": "double", + "type": "number" + }, + "sortBy": { + "enum": [ + "SORTBY_UNSUPPORTED", + "SORTBY_RELEVANCY", + "SORTBY_LATEST", + "SORTBY_OLDEST", + "SORTBY_LARGEST", + "SORTBY_SMALLEST", + "SORTBY_MODIFY_LATEST", + "SORTBY_MODIFY_OLDEST", + "SORTBY_VIEW_LATEST", + "SORTBY_VIEW_OLDEST", + "SORTBY_CREATE_LATEST", + "SORTBY_CREATE_OLDEST" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "SafeHtmlProto": { "description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.", "id": "SafeHtmlProto", diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index c20e54b1465..ddff811f98d 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -6489,6 +6489,82 @@ func (s *RetrievalImportance) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// RewrittenQueries: The rewritten queries returned by Apps Search Query +// Understanding service. +type RewrittenQueries struct { + RewrittenQueries []*RewrittenQuery `json:"rewrittenQueries,omitempty"` + // SelectedQueryIndex: The index of the selected query in `rewritten_queries` + // that is used by QAPI to call CSSR to get search results. If none of the + // queries were used (i.e. they all give empty search results), + // `selected_query_index` would default to -1. + SelectedQueryIndex int64 `json:"selectedQueryIndex,omitempty"` + // ForceSendFields is a list of field names (e.g. "RewrittenQueries") 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. "RewrittenQueries") 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 *RewrittenQueries) MarshalJSON() ([]byte, error) { + type NoMethod RewrittenQueries + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +type RewrittenQuery struct { + RewrittenQuery string `json:"rewrittenQuery,omitempty"` + Score float64 `json:"score,omitempty"` + // Possible values: + // "SORTBY_UNSUPPORTED" + // "SORTBY_RELEVANCY" + // "SORTBY_LATEST" + // "SORTBY_OLDEST" + // "SORTBY_LARGEST" + // "SORTBY_SMALLEST" + // "SORTBY_MODIFY_LATEST" + // "SORTBY_MODIFY_OLDEST" + // "SORTBY_VIEW_LATEST" + // "SORTBY_VIEW_OLDEST" + // "SORTBY_CREATE_LATEST" + // "SORTBY_CREATE_OLDEST" + SortBy string `json:"sortBy,omitempty"` + // ForceSendFields is a list of field names (e.g. "RewrittenQuery") 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. "RewrittenQuery") 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 *RewrittenQuery) MarshalJSON() ([]byte, error) { + type NoMethod RewrittenQuery + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +func (s *RewrittenQuery) UnmarshalJSON(data []byte) error { + type NoMethod RewrittenQuery + var s1 struct { + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Score = float64(s1.Score) + return nil +} + // SafeHtmlProto: IMPORTANT: It is unsafe to accept this message from an // untrusted source, since it's trivial for an attacker to forge serialized // messages that don't fulfill the type's safety contract -- for example, it diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index e24dc31bae6..651291dd6a7 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -44423,7 +44423,7 @@ } } }, - "revision": "20240421", + "revision": "20240430", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -45010,7 +45010,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": { @@ -55559,7 +55559,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": { @@ -55626,7 +55626,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": { @@ -55693,7 +55693,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": { @@ -55786,7 +55786,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" }, @@ -77957,6 +77957,7 @@ "TPU_LITE_PODSLICE_V5", "TPU_PODSLICE_V4", "URL_MAPS", + "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES", "VPN_GATEWAYS", "VPN_TUNNELS", "XPN_SERVICE_PROJECTS" @@ -78130,6 +78131,7 @@ "", "", "", + "", "" ], "type": "string" @@ -84788,6 +84790,26 @@ "terminationTime": { "description": "Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.", "type": "string" + }, + "windowsLicenseOptimizationMode": { + "description": "Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default mode is `OFF`.", + "enum": [ + "AUTO", + "BALANCED", + "COST_OPTIMIZED", + "OFF", + "PERFORMANCE", + "UNSPECIFIED" + ], + "enumDescriptions": [ + "\"Automatically maximize savings and minimize performance impact by matching license optimization mode to current CPU utilization.", + "Significant license cost savings via moderate throttles (40% baseline, 10 minute maximum burst at full utilization).", + "Maximum license cost savings via restrictive throttles (20% baseline, 3.75 minute maximum burst at full utilization).", + "No license cost savings with maximum CPU performance.", + "Moderate license cost savings via least restrictive throttles (60% baseline, 22.5 minute maximum burst at full utilization).", + "Unspecified license optimization mode defaults to `OFF`." + ], + "type": "string" } }, "type": "object" @@ -85290,6 +85312,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": [ @@ -85525,6 +85552,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" @@ -85532,6 +85573,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" @@ -88130,7 +88175,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": { @@ -88143,7 +88188,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.", "" ], @@ -88157,7 +88202,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.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index 3f7d0a7acf2..809c52574fc 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -2096,7 +2096,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. @@ -14605,7 +14605,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 @@ -14695,7 +14695,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 @@ -14784,7 +14784,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 @@ -14878,11 +14878,11 @@ type HealthCheck struct { SelfLinkWithId string `json:"selfLinkWithId,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. @@ -39339,6 +39339,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" @@ -46562,6 +46563,21 @@ type Scheduling struct { // terminated, in RFC3339 text format. If specified, the instance termination // action will be performed at the termination time. TerminationTime string `json:"terminationTime,omitempty"` + // WindowsLicenseOptimizationMode: Represents the Windows Server License + // Optimization Mode of the VM. If unspecified, the default mode is `OFF`. + // + // Possible values: + // "AUTO" - "Automatically maximize savings and minimize performance impact + // by matching license optimization mode to current CPU utilization. + // "BALANCED" - Significant license cost savings via moderate throttles (40% + // baseline, 10 minute maximum burst at full utilization). + // "COST_OPTIMIZED" - Maximum license cost savings via restrictive throttles + // (20% baseline, 3.75 minute maximum burst at full utilization). + // "OFF" - No license cost savings with maximum CPU performance. + // "PERFORMANCE" - Moderate license cost savings via least restrictive + // throttles (60% baseline, 22.5 minute maximum burst at full utilization). + // "UNSPECIFIED" - Unspecified license optimization mode defaults to `OFF`. + WindowsLicenseOptimizationMode string `json:"windowsLicenseOptimizationMode,omitempty"` // ForceSendFields is a list of field names (e.g. "AutomaticRestart") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -47135,6 +47151,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 @@ -47447,10 +47473,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:"-"` @@ -50475,16 +50508,17 @@ func (s *SnapshotSettingsAccessLocationAccessLocationPreference) MarshalJSON() ( 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. @@ -50511,7 +50545,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/compute/v1/compute-api.json b/compute/v1/compute-api.json index bdbee91f7db..73c60a07bcb 100644 --- a/compute/v1/compute-api.json +++ b/compute/v1/compute-api.json @@ -37421,7 +37421,7 @@ } } }, - "revision": "20240421", + "revision": "20240430", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -37998,7 +37998,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": { @@ -42244,6 +42244,7 @@ "enum": [ "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", + "ACCELERATOR_OPTIMIZED_A3_MEGA", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", @@ -42279,6 +42280,7 @@ "", "", "", + "", "" ], "type": "string" @@ -46828,7 +46830,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": { @@ -46881,7 +46883,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": { @@ -46934,7 +46936,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": { @@ -65518,6 +65520,7 @@ "TPU_LITE_PODSLICE_V5", "TPU_PODSLICE_V4", "URL_MAPS", + "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES", "VPN_GATEWAYS", "VPN_TUNNELS", "XPN_SERVICE_PROJECTS" @@ -65685,6 +65688,7 @@ "", "", "", + "", "" ], "type": "string" @@ -73743,7 +73747,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": { @@ -73756,7 +73760,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.", "" ], @@ -73770,7 +73774,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/v1/compute-gen.go b/compute/v1/compute-gen.go index c3d8a4c5cf9..a9a05148d53 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -1993,7 +1993,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. @@ -7125,6 +7125,7 @@ type Commitment struct { // Possible values: // "ACCELERATOR_OPTIMIZED" // "ACCELERATOR_OPTIMIZED_A3" + // "ACCELERATOR_OPTIMIZED_A3_MEGA" // "COMPUTE_OPTIMIZED" // "COMPUTE_OPTIMIZED_C2D" // "COMPUTE_OPTIMIZED_C3" @@ -12414,7 +12415,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 @@ -12491,7 +12492,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 @@ -12567,7 +12568,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 @@ -33249,6 +33250,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" @@ -42175,16 +42177,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. @@ -42211,7 +42214,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/contactcenterinsights/v1/contactcenterinsights-api.json b/contactcenterinsights/v1/contactcenterinsights-api.json index d91dcff8b42..122a5051343 100644 --- a/contactcenterinsights/v1/contactcenterinsights-api.json +++ b/contactcenterinsights/v1/contactcenterinsights-api.json @@ -259,7 +259,8 @@ ] }, "create": { - "description": "Creates a conversation.", + "deprecated": true, + "description": "Creates a conversation. DEPRECATED: Use UploadConversation instead. CreateConversation does not support audio transcription or DLP redaction.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations", "httpMethod": "POST", "id": "contactcenterinsights.projects.locations.conversations.create", @@ -1473,7 +1474,7 @@ } } }, - "revision": "20240420", + "revision": "20240506", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1AgentCoachingInstruction": { @@ -3388,6 +3389,11 @@ "$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig", "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings." }, + "sampleSize": { + "description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted.", + "format": "int32", + "type": "integer" + }, "speechConfig": { "$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig", "description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings." @@ -3409,7 +3415,7 @@ "type": "integer" }, "agentId": { - "description": "An opaque, user-specified string representing the human agent who handled the conversations.", + "description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`.", "type": "string" }, "customerChannel": { @@ -4015,7 +4021,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1RedactionConfig": { - "description": "DLP resources used for redaction while ingesting conversations.", + "description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist.", "id": "GoogleCloudContactcenterinsightsV1RedactionConfig", "properties": { "deidentifyTemplate": { @@ -4212,11 +4218,11 @@ }, "redactionConfig": { "$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig", - "description": "Default DLP redaction resources to be applied while ingesting conversations." + "description": "Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform." }, "speechConfig": { "$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig", - "description": "Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided." + "description": "Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform." }, "updateTime": { "description": "Output only. The time at which the settings were last updated.", @@ -4309,7 +4315,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1SpeechConfig": { - "description": "Speech-to-Text configuration.", + "description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint.", "id": "GoogleCloudContactcenterinsightsV1SpeechConfig", "properties": { "speechRecognizer": { @@ -6276,6 +6282,11 @@ "$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig", "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings." }, + "sampleSize": { + "description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted.", + "format": "int32", + "type": "integer" + }, "speechConfig": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig", "description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings." @@ -6297,7 +6308,7 @@ "type": "integer" }, "agentId": { - "description": "An opaque, user-specified string representing the human agent who handled the conversations.", + "description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`.", "type": "string" }, "customerChannel": { @@ -6625,7 +6636,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig": { - "description": "DLP resources used for redaction while ingesting conversations.", + "description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist.", "id": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig", "properties": { "deidentifyTemplate": { @@ -6847,7 +6858,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig": { - "description": "Speech-to-Text configuration.", + "description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint.", "id": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig", "properties": { "speechRecognizer": { diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index 387c5b14668..5c37adcac5f 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -2763,6 +2763,11 @@ type GoogleCloudContactcenterinsightsV1IngestConversationsRequest struct { // RedactionConfig: Optional. DLP settings for transcript redaction. Optional, // will default to the config specified in Settings. RedactionConfig *GoogleCloudContactcenterinsightsV1RedactionConfig `json:"redactionConfig,omitempty"` + // SampleSize: Optional. If set, this fields indicates the number of objects to + // ingest from the Cloud Storage bucket. If empty, the entire bucket will be + // ingested. Note that conversations produced via sampling will not be ingested + // by subsequent ingest requests unless they are first deleted. + SampleSize int64 `json:"sampleSize,omitempty"` // SpeechConfig: Optional. Default Speech-to-Text configuration. Optional, will // default to the config specified in Settings. SpeechConfig *GoogleCloudContactcenterinsightsV1SpeechConfig `json:"speechConfig,omitempty"` @@ -2794,8 +2799,10 @@ type GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationCon // the agent. Note that this must be set for conversations to be properly // displayed and analyzed. AgentChannel int64 `json:"agentChannel,omitempty"` - // AgentId: An opaque, user-specified string representing the human agent who - // handled the conversations. + // AgentId: Optional. An opaque, user-specified string representing a human + // agent who handled all conversations in the import. Note that this will be + // overridden if per-conversation metadata is provided via the + // `metadata_bucket_uri`. AgentId string `json:"agentId,omitempty"` // CustomerChannel: Optional. Indicates which of the channels, 1 or 2, contains // the agent. Note that this must be set for conversations to be properly @@ -3589,7 +3596,13 @@ func (s *GoogleCloudContactcenterinsightsV1PhraseMatcher) MarshalJSON() ([]byte, } // GoogleCloudContactcenterinsightsV1RedactionConfig: DLP resources used for -// redaction while ingesting conversations. +// redaction while ingesting conversations. DLP settings are applied to +// conversations ingested from the UploadConversation and IngestConversations +// endpoints, including conversation coming from CCAI Platform. They are not +// applied to conversations ingested from the CreateConversation endpoint or +// the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / +// Agent Assist runtime integrations redaction should be performed in +// Dialogflow / Agent Assist. type GoogleCloudContactcenterinsightsV1RedactionConfig struct { // DeidentifyTemplate: The fully-qualified DLP deidentify template resource // name. Format: `projects/{project}/deidentifyTemplates/{template}` @@ -3829,11 +3842,15 @@ type GoogleCloudContactcenterinsightsV1Settings struct { // each Pub/Sub topic is: projects/{project}/topics/{topic} PubsubNotificationSettings map[string]string `json:"pubsubNotificationSettings,omitempty"` // RedactionConfig: Default DLP redaction resources to be applied while - // ingesting conversations. + // ingesting conversations. This applies to conversations ingested from the + // UploadConversation and IngestConversations endpoints, including + // conversations coming from CCAI Platform. RedactionConfig *GoogleCloudContactcenterinsightsV1RedactionConfig `json:"redactionConfig,omitempty"` // SpeechConfig: Optional. Default Speech-to-Text resources to be used while // ingesting audio files. Optional, CCAI Insights will create a default if not - // provided. + // provided. This applies to conversations ingested from the UploadConversation + // and IngestConversations endpoints, including conversations coming from CCAI + // Platform. SpeechConfig *GoogleCloudContactcenterinsightsV1SpeechConfig `json:"speechConfig,omitempty"` // UpdateTime: Output only. The time at which the settings were last updated. UpdateTime string `json:"updateTime,omitempty"` @@ -4006,7 +4023,10 @@ func (s *GoogleCloudContactcenterinsightsV1SmartReplyData) UnmarshalJSON(data [] } // GoogleCloudContactcenterinsightsV1SpeechConfig: Speech-to-Text -// configuration. +// configuration. Speech-to-Text settings are applied to conversations ingested +// from the UploadConversation and IngestConversations endpoints, including +// conversation coming from CCAI Platform. They are not applied to +// conversations ingested from the CreateConversation endpoint. type GoogleCloudContactcenterinsightsV1SpeechConfig struct { // SpeechRecognizer: The fully-qualified Speech Recognizer resource name. // Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` @@ -6575,6 +6595,11 @@ type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest struct { // RedactionConfig: Optional. DLP settings for transcript redaction. Optional, // will default to the config specified in Settings. RedactionConfig *GoogleCloudContactcenterinsightsV1alpha1RedactionConfig `json:"redactionConfig,omitempty"` + // SampleSize: Optional. If set, this fields indicates the number of objects to + // ingest from the Cloud Storage bucket. If empty, the entire bucket will be + // ingested. Note that conversations produced via sampling will not be ingested + // by subsequent ingest requests unless they are first deleted. + SampleSize int64 `json:"sampleSize,omitempty"` // SpeechConfig: Optional. Default Speech-to-Text configuration. Optional, will // default to the config specified in Settings. SpeechConfig *GoogleCloudContactcenterinsightsV1alpha1SpeechConfig `json:"speechConfig,omitempty"` @@ -6606,8 +6631,10 @@ type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversat // the agent. Note that this must be set for conversations to be properly // displayed and analyzed. AgentChannel int64 `json:"agentChannel,omitempty"` - // AgentId: An opaque, user-specified string representing the human agent who - // handled the conversations. + // AgentId: Optional. An opaque, user-specified string representing a human + // agent who handled all conversations in the import. Note that this will be + // overridden if per-conversation metadata is provided via the + // `metadata_bucket_uri`. AgentId string `json:"agentId,omitempty"` // CustomerChannel: Optional. Indicates which of the channels, 1 or 2, contains // the agent. Note that this must be set for conversations to be properly @@ -7040,7 +7067,13 @@ func (s *GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData) MarshalJSON() } // GoogleCloudContactcenterinsightsV1alpha1RedactionConfig: DLP resources used -// for redaction while ingesting conversations. +// for redaction while ingesting conversations. DLP settings are applied to +// conversations ingested from the UploadConversation and IngestConversations +// endpoints, including conversation coming from CCAI Platform. They are not +// applied to conversations ingested from the CreateConversation endpoint or +// the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / +// Agent Assist runtime integrations redaction should be performed in +// Dialogflow / Agent Assist. type GoogleCloudContactcenterinsightsV1alpha1RedactionConfig struct { // DeidentifyTemplate: The fully-qualified DLP deidentify template resource // name. Format: `projects/{project}/deidentifyTemplates/{template}` @@ -7347,7 +7380,10 @@ func (s *GoogleCloudContactcenterinsightsV1alpha1SmartReplyData) UnmarshalJSON(d } // GoogleCloudContactcenterinsightsV1alpha1SpeechConfig: Speech-to-Text -// configuration. +// configuration. Speech-to-Text settings are applied to conversations ingested +// from the UploadConversation and IngestConversations endpoints, including +// conversation coming from CCAI Platform. They are not applied to +// conversations ingested from the CreateConversation endpoint. type GoogleCloudContactcenterinsightsV1alpha1SpeechConfig struct { // SpeechRecognizer: The fully-qualified Speech Recognizer resource name. // Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` @@ -8211,7 +8247,8 @@ type ProjectsLocationsConversationsCreateCall struct { header_ http.Header } -// Create: Creates a conversation. +// Create: Creates a conversation. DEPRECATED: Use UploadConversation instead. +// CreateConversation does not support audio transcription or DLP redaction. // // - parent: The parent resource of the conversation. func (r *ProjectsLocationsConversationsService) Create(parent string, googlecloudcontactcenterinsightsv1conversation *GoogleCloudContactcenterinsightsV1Conversation) *ProjectsLocationsConversationsCreateCall { diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index d141a12e07a..26505f53657 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -4554,7 +4554,7 @@ } } }, - "revision": "20240425", + "revision": "20240429", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -7190,8 +7190,8 @@ ], "enumDescriptions": [ "No schema type specified. This type is unsupported.", - "Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource.", - "Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics." + "Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource. Additionally, extensions with a URL ending in \"/{existing_resource_field_name}\" may cause undefined behavior.", + "Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Extensions with a URL ending in \"/{existing_resource_field_name}\" will cause conflict and prevent the resource from being sent to BigQuery. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics." ], "type": "string" } diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index 4424a4dba08..ff06cf23cb6 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -4688,11 +4688,14 @@ type SchemaConfig struct { // `Parameters.parameter.resource`, `Bundle.entry.resource`, and // `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle // extensions with one or more occurrences, anaytics schema also does not - // handle contained resource. + // handle contained resource. Additionally, extensions with a URL ending in + // "/{existing_resource_field_name}" may cause undefined behavior. // "ANALYTICS_V2" - Analytics V2, similar to schema defined by the FHIR // community, with added support for extensions with one or more occurrences - // and contained resources in stringified JSON. Analytics V2 uses more space in - // the destination table than Analytics V1. It is generally recommended to use + // and contained resources in stringified JSON. Extensions with a URL ending in + // "/{existing_resource_field_name}" will cause conflict and prevent the + // resource from being sent to BigQuery. Analytics V2 uses more space in the + // destination table than Analytics V1. It is generally recommended to use // Analytics V2 over Analytics. SchemaType string `json:"schemaType,omitempty"` // ForceSendFields is a list of field names (e.g. "LastUpdatedPartitionConfig") diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index 5178950130d..856de39e1cf 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -5614,7 +5614,7 @@ } } }, - "revision": "20240425", + "revision": "20240429", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -9466,8 +9466,8 @@ "enumDescriptions": [ "No schema type specified. This type is unsupported.", "A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification. This type cannot be used for streaming to BigQuery.", - "Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource.", - "Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics." + "Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource. Additionally, extensions with a URL ending in \"/{existing_resource_field_name}\" may cause undefined behavior.", + "Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Extensions with a URL ending in \"/{existing_resource_field_name}\" will cause conflict and prevent the resource from being sent to BigQuery. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics." ], "type": "string" } diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 650f324514c..5ecda151a3c 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -6503,11 +6503,14 @@ type SchemaConfig struct { // `Parameters.parameter.resource`, `Bundle.entry.resource`, and // `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle // extensions with one or more occurrences, anaytics schema also does not - // handle contained resource. + // handle contained resource. Additionally, extensions with a URL ending in + // "/{existing_resource_field_name}" may cause undefined behavior. // "ANALYTICS_V2" - Analytics V2, similar to schema defined by the FHIR // community, with added support for extensions with one or more occurrences - // and contained resources in stringified JSON. Analytics V2 uses more space in - // the destination table than Analytics V1. It is generally recommended to use + // and contained resources in stringified JSON. Extensions with a URL ending in + // "/{existing_resource_field_name}" will cause conflict and prevent the + // resource from being sent to BigQuery. Analytics V2 uses more space in the + // destination table than Analytics V1. It is generally recommended to use // Analytics V2 over Analytics. SchemaType string `json:"schemaType,omitempty"` // ForceSendFields is a list of field names (e.g. "LastUpdatedPartitionConfig") diff --git a/iam/v1/iam-api.json b/iam/v1/iam-api.json index 6a52bc09ad3..231021059ca 100644 --- a/iam/v1/iam-api.json +++ b/iam/v1/iam-api.json @@ -3216,7 +3216,7 @@ } } }, - "revision": "20240418", + "revision": "20240502", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { @@ -4705,7 +4705,7 @@ "type": "string" }, "disableReason": { - "description": "optional. If the key is disabled, it may have a DisableReason describing why it was disabled.", + "description": "Output only. optional. If the key is disabled, it may have a DisableReason describing why it was disabled.", "enum": [ "SERVICE_ACCOUNT_KEY_DISABLE_REASON_UNSPECIFIED", "SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED", @@ -4718,6 +4718,7 @@ "Google detected this Service Account external key's private key data as exposed, typically in a public repository on GitHub or similar.", "This service account external key was detected as compromised and used by an attacker." ], + "readOnly": true, "type": "string" }, "disabled": { @@ -4725,10 +4726,11 @@ "type": "boolean" }, "extendedStatus": { - "description": "Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status.", + "description": "Output only. Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status.", "items": { "$ref": "ExtendedStatus" }, + "readOnly": true, "type": "array" }, "keyAlgorithm": { diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index 985de064191..40b1634f66d 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -2789,8 +2789,8 @@ type ServiceAccountKey struct { // Description: Optional. A user provided description of this service account // key. Description string `json:"description,omitempty"` - // DisableReason: optional. If the key is disabled, it may have a DisableReason - // describing why it was disabled. + // DisableReason: Output only. optional. If the key is disabled, it may have a + // DisableReason describing why it was disabled. // // Possible values: // "SERVICE_ACCOUNT_KEY_DISABLE_REASON_UNSPECIFIED" - Unspecified disable @@ -2804,10 +2804,10 @@ type ServiceAccountKey struct { DisableReason string `json:"disableReason,omitempty"` // Disabled: The key status. Disabled bool `json:"disabled,omitempty"` - // ExtendedStatus: Extended Status provides permanent information about a - // service account key. For example, if this key was detected as exposed or - // compromised, that information will remain for the lifetime of the key in the - // extended_status. + // ExtendedStatus: Output only. Extended Status provides permanent information + // about a service account key. For example, if this key was detected as + // exposed or compromised, that information will remain for the lifetime of the + // key in the extended_status. ExtendedStatus []*ExtendedStatus `json:"extendedStatus,omitempty"` // KeyAlgorithm: Specifies the algorithm (and possibly key size) for the key. // diff --git a/policysimulator/v1/policysimulator-api.json b/policysimulator/v1/policysimulator-api.json index aa756c1a5c6..39c5dd799e3 100644 --- a/policysimulator/v1/policysimulator-api.json +++ b/policysimulator/v1/policysimulator-api.json @@ -942,7 +942,7 @@ } } }, - "revision": "20240421", + "revision": "20240505", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -998,14 +998,16 @@ "CREATE", "UPDATE", "DELETE", - "REMOVE_GRANT" + "REMOVE_GRANT", + "GOVERN_TAGS" ], "enumDescriptions": [ "Unspecified. Results in an error.", "Constraint applied when creating the resource.", "Constraint applied when updating the resource.", "Constraint applied when deleting the resource. Not supported yet.", - "Constraint applied when removing an IAM grant." + "Constraint applied when removing an IAM grant.", + "Constraint applied when enforcing forced tagging." ], "type": "string" }, diff --git a/policysimulator/v1/policysimulator-gen.go b/policysimulator/v1/policysimulator-gen.go index f1c089893b9..ec3ef3f4740 100644 --- a/policysimulator/v1/policysimulator-gen.go +++ b/policysimulator/v1/policysimulator-gen.go @@ -487,6 +487,7 @@ type GoogleCloudOrgpolicyV2CustomConstraint struct { // "DELETE" - Constraint applied when deleting the resource. Not supported // yet. // "REMOVE_GRANT" - Constraint applied when removing an IAM grant. + // "GOVERN_TAGS" - Constraint applied when enforcing forced tagging. MethodTypes []string `json:"methodTypes,omitempty"` // Name: Immutable. Name of the constraint. This is unique within the // organization. Format of the name should be * diff --git a/policysimulator/v1alpha/policysimulator-api.json b/policysimulator/v1alpha/policysimulator-api.json index 46fd220dc1b..66610b9c20b 100644 --- a/policysimulator/v1alpha/policysimulator-api.json +++ b/policysimulator/v1alpha/policysimulator-api.json @@ -1078,7 +1078,7 @@ } } }, - "revision": "20240421", + "revision": "20240505", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -1134,14 +1134,16 @@ "CREATE", "UPDATE", "DELETE", - "REMOVE_GRANT" + "REMOVE_GRANT", + "GOVERN_TAGS" ], "enumDescriptions": [ "Unspecified. Results in an error.", "Constraint applied when creating the resource.", "Constraint applied when updating the resource.", "Constraint applied when deleting the resource. Not supported yet.", - "Constraint applied when removing an IAM grant." + "Constraint applied when removing an IAM grant.", + "Constraint applied when enforcing forced tagging." ], "type": "string" }, diff --git a/policysimulator/v1alpha/policysimulator-gen.go b/policysimulator/v1alpha/policysimulator-gen.go index 116d4690ff4..6628a291093 100644 --- a/policysimulator/v1alpha/policysimulator-gen.go +++ b/policysimulator/v1alpha/policysimulator-gen.go @@ -487,6 +487,7 @@ type GoogleCloudOrgpolicyV2CustomConstraint struct { // "DELETE" - Constraint applied when deleting the resource. Not supported // yet. // "REMOVE_GRANT" - Constraint applied when removing an IAM grant. + // "GOVERN_TAGS" - Constraint applied when enforcing forced tagging. MethodTypes []string `json:"methodTypes,omitempty"` // Name: Immutable. Name of the constraint. This is unique within the // organization. Format of the name should be * diff --git a/policysimulator/v1beta/policysimulator-api.json b/policysimulator/v1beta/policysimulator-api.json index 1b28e5533cb..9ce18531e16 100644 --- a/policysimulator/v1beta/policysimulator-api.json +++ b/policysimulator/v1beta/policysimulator-api.json @@ -1078,7 +1078,7 @@ } } }, - "revision": "20240421", + "revision": "20240505", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -1134,14 +1134,16 @@ "CREATE", "UPDATE", "DELETE", - "REMOVE_GRANT" + "REMOVE_GRANT", + "GOVERN_TAGS" ], "enumDescriptions": [ "Unspecified. Results in an error.", "Constraint applied when creating the resource.", "Constraint applied when updating the resource.", "Constraint applied when deleting the resource. Not supported yet.", - "Constraint applied when removing an IAM grant." + "Constraint applied when removing an IAM grant.", + "Constraint applied when enforcing forced tagging." ], "type": "string" }, diff --git a/policysimulator/v1beta/policysimulator-gen.go b/policysimulator/v1beta/policysimulator-gen.go index 17de350c86f..d7a4e47432b 100644 --- a/policysimulator/v1beta/policysimulator-gen.go +++ b/policysimulator/v1beta/policysimulator-gen.go @@ -487,6 +487,7 @@ type GoogleCloudOrgpolicyV2CustomConstraint struct { // "DELETE" - Constraint applied when deleting the resource. Not supported // yet. // "REMOVE_GRANT" - Constraint applied when removing an IAM grant. + // "GOVERN_TAGS" - Constraint applied when enforcing forced tagging. MethodTypes []string `json:"methodTypes,omitempty"` // Name: Immutable. Name of the constraint. This is unique within the // organization. Format of the name should be * diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 7aacf66d204..3caebf79c1b 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -137,6 +137,11 @@ "location": "query", "type": "string" }, + "enableAttributeSuggestions": { + "description": "If true, attribute suggestions are enabled and provided in response. This field is only available for \"cloud-retail\" dataset.", + "location": "query", + "type": "boolean" + }, "entity": { "description": "The entity for customers who run multiple entities, domains, sites, or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it must be an exact match with UserEvent.entity to get per-entity autocomplete results.", "location": "query", @@ -2087,7 +2092,7 @@ } } }, - "revision": "20240411", + "revision": "20240502", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index e1c5c3fef7e..b5340a93113 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -8292,6 +8292,15 @@ func (c *ProjectsLocationsCatalogsCompleteQueryCall) DeviceType(deviceType strin return c } +// EnableAttributeSuggestions sets the optional parameter +// "enableAttributeSuggestions": If true, attribute suggestions are enabled and +// provided in response. This field is only available for "cloud-retail" +// dataset. +func (c *ProjectsLocationsCatalogsCompleteQueryCall) EnableAttributeSuggestions(enableAttributeSuggestions bool) *ProjectsLocationsCatalogsCompleteQueryCall { + c.urlParams_.Set("enableAttributeSuggestions", fmt.Sprint(enableAttributeSuggestions)) + return c +} + // Entity sets the optional parameter "entity": The entity for customers who // run multiple entities, domains, sites, or regions, for example, `Google US`, // `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index 21d9489d002..ff87c4b6523 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -137,6 +137,11 @@ "location": "query", "type": "string" }, + "enableAttributeSuggestions": { + "description": "If true, attribute suggestions are enabled and provided in response. This field is only available for \"cloud-retail\" dataset.", + "location": "query", + "type": "boolean" + }, "entity": { "description": "The entity for customers who run multiple entities, domains, sites, or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it must be an exact match with UserEvent.entity to get per-entity autocomplete results.", "location": "query", @@ -2115,7 +2120,7 @@ } } }, - "revision": "20240411", + "revision": "20240502", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index b2d42da3cbf..ded889d330e 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -8480,6 +8480,15 @@ func (c *ProjectsLocationsCatalogsCompleteQueryCall) DeviceType(deviceType strin return c } +// EnableAttributeSuggestions sets the optional parameter +// "enableAttributeSuggestions": If true, attribute suggestions are enabled and +// provided in response. This field is only available for "cloud-retail" +// dataset. +func (c *ProjectsLocationsCatalogsCompleteQueryCall) EnableAttributeSuggestions(enableAttributeSuggestions bool) *ProjectsLocationsCatalogsCompleteQueryCall { + c.urlParams_.Set("enableAttributeSuggestions", fmt.Sprint(enableAttributeSuggestions)) + return c +} + // Entity sets the optional parameter "entity": The entity for customers who // run multiple entities, domains, sites, or regions, for example, `Google US`, // `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index 5a0ba9dc5b8..6adbe02b599 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -5820,7 +5820,7 @@ } } }, - "revision": "20240422", + "revision": "20240506", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -11368,7 +11368,7 @@ "type": "string" }, "groupBy": { - "description": "Required. Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: \"parent,resource_name\". The following fields are supported: * resource_name * category * state * parent * severity The following fields are supported when compare_duration is set: * state_change", + "description": "Required. Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: \"parent,resource_name\". The following fields are supported when compare_duration is set: * state_change", "type": "string" }, "pageSize": { diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index d4406bf4e88..568a9e6013e 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -7600,9 +7600,8 @@ type GroupFindingsRequest struct { // GroupBy: Required. Expression that defines what assets fields to use for // grouping (including `state_change`). The string value should follow SQL // syntax: comma separated list of fields. For example: "parent,resource_name". - // The following fields are supported: * resource_name * category * state * - // parent * severity The following fields are supported when compare_duration - // is set: * state_change + // The following fields are supported when compare_duration is set: * + // state_change GroupBy string `json:"groupBy,omitempty"` // PageSize: The maximum number of results to return in a single response. // Default is 10, minimum is 1, maximum is 1000. diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index 390f8ab6dab..f8ff6c349fe 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -632,7 +632,7 @@ } } }, - "revision": "20240429", + "revision": "20240507", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -733,6 +733,10 @@ "description": "Optional. The Resource name of a secret in Secret Manager. AWS credentials must be stored in Secret Manager in JSON format: { \"access_key_id\": \"ACCESS_KEY_ID\", \"secret_access_key\": \"SECRET_ACCESS_KEY\" } GoogleServiceAccount must be granted `roles/secretmanager.secretAccessor` for the resource. See [Configure access to a source: Amazon S3] (https://cloud.google.com/storage-transfer/docs/source-amazon-s3#secret_manager) for more information. If `credentials_secret` is specified, do not specify role_arn or aws_access_key. Format: `projects/{project_number}/secrets/{secret_name}`", "type": "string" }, + "managedPrivateNetwork": { + "description": "Egress bytes over a Google-managed private network. This network is shared between other users of Storage Transfer Service.", + "type": "boolean" + }, "path": { "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", "type": "string" diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index cf559901d28..deb9735f38d 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -343,6 +343,9 @@ type AwsS3Data struct { // role_arn or aws_access_key. Format: // `projects/{project_number}/secrets/{secret_name}` CredentialsSecret string `json:"credentialsSecret,omitempty"` + // ManagedPrivateNetwork: Egress bytes over a Google-managed private network. + // This network is shared between other users of Storage Transfer Service. + ManagedPrivateNetwork bool `json:"managedPrivateNetwork,omitempty"` // Path: Root path to transfer objects. Must be an empty string or full path // name that ends with a '/'. This field is treated as an object prefix. As // such, it should generally not begin with a '/'. From a784ae096a6d0d3b666907307cb61c88d461a9c6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 9 May 2024 00:24:18 -0700 Subject: [PATCH 2/4] 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 b79d76a668d..502f32aa870 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 96b6f9dee70..1507ac50c46 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 428dea8a3ba..17f7d100ae7 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 5bb89bbb858..de84f58db9a 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 304ac9bb635..a784e2cc229 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 c67e912c482..edb5d0cc832 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 c35ee0813d7..3f338c30fea 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 8bc583eb731..c014441eb5f 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 dd4c9ebdf0c..e85699e6005 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 9599b12c7ae..dc0b05350aa 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 2ba7686b387..453d1779204 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 5cb1478b54f..e766a17f8b4 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 2a462b65865..310fe6518f5 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 842d4d3d0e1..83630f7c778 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 452c37a625c..6c530915c43 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 b4fb1571db4..a9b22c25252 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 04f33ba7b48..e3e9b0d6750 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 ab3f37c6ac8..e72c6209d79 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 d0ba39e5142..9b3bc16791b 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 35ae7cf7197..73eec0df2bb 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 d549adc6052..84d19a3b138 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 c29ea934988..676bd0d9254 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 3edd1197163..16470bb4a04 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 590258b1e9c..61a7c1668bd 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 2633481ef0e..a4a07ca0a45 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 e83e4f3b1b1..44988d987c5 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 55445db00bd..23cc41581b6 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 232db73f69d..289a087a489 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 95e84d53c9e..7b03294fa5b 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 db0e9b8f925..99e78525e2d 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 From 090ff6c58926594a1fc58f4f3a7603c1ecfc3a21 Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Thu, 9 May 2024 16:31:17 -0500 Subject: [PATCH 3/4] fix: bump auth to v0.4.1 (#2577) --- go.mod | 10 +++++----- go.sum | 20 ++++++++++---------- go.work.sum | 4 ++++ 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 1416bb36877..8a5ada1b3e3 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( cloud.google.com/go v0.112.2 - cloud.google.com/go/auth v0.3.0 + cloud.google.com/go/auth v0.4.1 cloud.google.com/go/auth/oauth2adapt v0.2.2 cloud.google.com/go/compute/metadata v0.3.0 github.com/google/go-cmp v0.6.0 @@ -15,7 +15,7 @@ require ( go.opencensus.io v0.24.0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 - golang.org/x/net v0.24.0 + golang.org/x/net v0.25.0 golang.org/x/oauth2 v0.20.0 golang.org/x/sync v0.7.0 golang.org/x/time v0.5.0 @@ -34,7 +34,7 @@ require ( go.opentelemetry.io/otel v1.24.0 // indirect go.opentelemetry.io/otel/metric v1.24.0 // indirect go.opentelemetry.io/otel/trace v1.24.0 // indirect - golang.org/x/crypto v0.22.0 // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect ) diff --git a/go.sum b/go.sum index 2e44ab429b6..75289ffe50c 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.112.2 h1:ZaGT6LiG7dBzi6zNOvVZwacaXlmf3lRqnC4DQzqyRQw= cloud.google.com/go v0.112.2/go.mod h1:iEqjp//KquGIJV/m+Pk3xecgKNhV+ry+vVTsy4TbDms= -cloud.google.com/go/auth v0.3.0 h1:PRyzEpGfx/Z9e8+lHsbkoUVXD0gnu4MNmm7Gp8TQNIs= -cloud.google.com/go/auth v0.3.0/go.mod h1:lBv6NKTWp8E3LPzmO1TbiiRKc4drLOfHsgmlH9ogv5w= +cloud.google.com/go/auth v0.4.1 h1:Z7YNIhlWRtrnKlZke7z3GMqzvuYzdc2z98F9D1NV5Hg= +cloud.google.com/go/auth v0.4.1/go.mod h1:QVBuVEKpCn4Zp58hzRGvL0tjRGU0YqdRTdCHM1IHnro= cloud.google.com/go/auth/oauth2adapt v0.2.2 h1:+TTV8aXpjeChS9M+aTtN/TjdQnzJvmzKFt//oWu7HX4= cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q= cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= @@ -82,8 +82,8 @@ go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= -golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= @@ -94,8 +94,8 @@ golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= -golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo= golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= @@ -108,12 +108,12 @@ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/go.work.sum b/go.work.sum index ea2cb002b86..8c31a86e578 100644 --- a/go.work.sum +++ b/go.work.sum @@ -186,6 +186,7 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= @@ -201,6 +202,7 @@ golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= @@ -225,6 +227,7 @@ golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= @@ -233,6 +236,7 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= From 9fdd5003b2dc195534743eab5bdb8c3ca371ec66 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 16:47:04 -0500 Subject: [PATCH 4/4] chore(main): release 0.179.0 (#2574) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGES.md | 13 +++++++++++++ internal/version.go | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index d2f09aaafff..63941414899 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,18 @@ # Changes +## [0.179.0](https://github.com/googleapis/google-api-go-client/compare/v0.178.0...v0.179.0) (2024-05-09) + + +### Features + +* **all:** Auto-regenerate discovery clients ([#2573](https://github.com/googleapis/google-api-go-client/issues/2573)) ([887c564](https://github.com/googleapis/google-api-go-client/commit/887c564239fdc5b2d1bbb156447281c644e81ee8)) +* **all:** Auto-regenerate discovery clients ([#2575](https://github.com/googleapis/google-api-go-client/issues/2575)) ([a784ae0](https://github.com/googleapis/google-api-go-client/commit/a784ae096a6d0d3b666907307cb61c88d461a9c6)) + + +### Bug Fixes + +* Bump auth to v0.4.1 ([#2577](https://github.com/googleapis/google-api-go-client/issues/2577)) ([090ff6c](https://github.com/googleapis/google-api-go-client/commit/090ff6c58926594a1fc58f4f3a7603c1ecfc3a21)) + ## [0.178.0](https://github.com/googleapis/google-api-go-client/compare/v0.177.0...v0.178.0) (2024-05-07) diff --git a/internal/version.go b/internal/version.go index 2cf58789aa8..f1792faf32d 100644 --- a/internal/version.go +++ b/internal/version.go @@ -5,4 +5,4 @@ package internal // Version is the current tagged release of the library. -const Version = "0.178.0" +const Version = "0.179.0"