diff --git a/analyticshub/v1beta1/analyticshub-api.json b/analyticshub/v1beta1/analyticshub-api.json index f8d9026f1d7..ffcb2e5ef0f 100644 --- a/analyticshub/v1beta1/analyticshub-api.json +++ b/analyticshub/v1beta1/analyticshub-api.json @@ -695,7 +695,7 @@ } } }, - "revision": "20250623", + "revision": "20250901", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -871,6 +871,13 @@ "location": { "description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", "type": "string" + }, + "replicaLocations": { + "description": "Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/analyticshub/v1beta1/analyticshub-gen.go b/analyticshub/v1beta1/analyticshub-gen.go index 4e4b27dd426..3f0fe9222bb 100644 --- a/analyticshub/v1beta1/analyticshub-gen.go +++ b/analyticshub/v1beta1/analyticshub-gen.go @@ -567,6 +567,10 @@ type DestinationDataset struct { // See https://cloud.google.com/bigquery/docs/locations for supported // locations. Location string `json:"location,omitempty"` + // ReplicaLocations: Optional. The geographic locations where the dataset + // should be replicated. See BigQuery locations + // (https://cloud.google.com/bigquery/docs/locations) for supported locations. + ReplicaLocations []string `json:"replicaLocations,omitempty"` // ForceSendFields is a list of field names (e.g. "DatasetReference") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index a450e9760fd..5a5b50e03d2 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4985,6 +4985,40 @@ }, "subscriptionsv2": { "methods": { + "cancel": { + "description": "Cancel a subscription purchase for the user.", + "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel", + "httpMethod": "POST", + "id": "androidpublisher.purchases.subscriptionsv2.cancel", + "parameterOrder": [ + "packageName", + "token" + ], + "parameters": { + "packageName": { + "description": "Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing').", + "location": "path", + "required": true, + "type": "string" + }, + "token": { + "description": "Required. The token provided to the user's device when the subscription was purchased.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel", + "request": { + "$ref": "CancelSubscriptionPurchaseRequest" + }, + "response": { + "$ref": "CancelSubscriptionPurchaseResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] + }, "get": { "description": "Get metadata about a subscription", "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}", @@ -5521,7 +5555,7 @@ } } }, - "revision": "20250828", + "revision": "20250903", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6736,6 +6770,23 @@ }, "type": "object" }, + "CancelSubscriptionPurchaseRequest": { + "description": "Request for the purchases.subscriptionsv2.cancel API.", + "id": "CancelSubscriptionPurchaseRequest", + "properties": { + "cancellationContext": { + "$ref": "CancellationContext", + "description": "Required. Additional details around the subscription revocation." + } + }, + "type": "object" + }, + "CancelSubscriptionPurchaseResponse": { + "description": "Response for the purchases.subscriptionsv2.cancel API.", + "id": "CancelSubscriptionPurchaseResponse", + "properties": {}, + "type": "object" + }, "CancelSurveyResult": { "description": "Result of the cancel survey when the subscription was canceled by the user.", "id": "CancelSurveyResult", @@ -6790,6 +6841,27 @@ }, "type": "object" }, + "CancellationContext": { + "description": "Cancellation context of the purchases.subscriptionsv2.cancel API.", + "id": "CancellationContext", + "properties": { + "cancellationType": { + "description": "Required. The type of cancellation for the purchased subscription.", + "enum": [ + "CANCELLATION_TYPE_UNSPECIFIED", + "USER_REQUESTED_STOP_RENEWALS", + "DEVELOPER_REQUESTED_STOP_PAYMENTS" + ], + "enumDescriptions": [ + "Cancellation type unspecified.", + "Cancellation requested by the user, and the subscription can be restored. It only stops the subscription's next renewal. For an installment subscription, users still need to finish the commitment period. For more details on renewals and payments, see https://developer.android.com/google/play/billing/subscriptions#installments", + "Cancellation requested by the developer, and the subscription cannot be restored. It stops the subscription's next payment. For an installment subscription, users will not need to pay the next payment and finish the commitment period. For more details on renewals and payments, see https://developer.android.com/google/play/billing/subscriptions#installments" + ], + "type": "string" + } + }, + "type": "object" + }, "CancellationEvent": { "description": "Details of when the order was canceled.", "id": "CancellationEvent", diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index d8a057cb804..04359460281 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -2386,6 +2386,37 @@ func (s CancelOneTimeProductOfferRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// CancelSubscriptionPurchaseRequest: Request for the +// purchases.subscriptionsv2.cancel API. +type CancelSubscriptionPurchaseRequest struct { + // CancellationContext: Required. Additional details around the subscription + // revocation. + CancellationContext *CancellationContext `json:"cancellationContext,omitempty"` + // ForceSendFields is a list of field names (e.g. "CancellationContext") 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. "CancellationContext") 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 CancelSubscriptionPurchaseRequest) MarshalJSON() ([]byte, error) { + type NoMethod CancelSubscriptionPurchaseRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// CancelSubscriptionPurchaseResponse: Response for the +// purchases.subscriptionsv2.cancel API. +type CancelSubscriptionPurchaseResponse struct { + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` +} + // CancelSurveyResult: Result of the cancel survey when the subscription was // canceled by the user. type CancelSurveyResult struct { @@ -2453,6 +2484,44 @@ func (s CanceledStateContext) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// CancellationContext: Cancellation context of the +// purchases.subscriptionsv2.cancel API. +type CancellationContext struct { + // CancellationType: Required. The type of cancellation for the purchased + // subscription. + // + // Possible values: + // "CANCELLATION_TYPE_UNSPECIFIED" - Cancellation type unspecified. + // "USER_REQUESTED_STOP_RENEWALS" - Cancellation requested by the user, and + // the subscription can be restored. It only stops the subscription's next + // renewal. For an installment subscription, users still need to finish the + // commitment period. For more details on renewals and payments, see + // https://developer.android.com/google/play/billing/subscriptions#installments + // "DEVELOPER_REQUESTED_STOP_PAYMENTS" - Cancellation requested by the + // developer, and the subscription cannot be restored. It stops the + // subscription's next payment. For an installment subscription, users will not + // need to pay the next payment and finish the commitment period. For more + // details on renewals and payments, see + // https://developer.android.com/google/play/billing/subscriptions#installments + CancellationType string `json:"cancellationType,omitempty"` + // ForceSendFields is a list of field names (e.g. "CancellationType") 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. "CancellationType") 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 CancellationContext) MarshalJSON() ([]byte, error) { + type NoMethod CancellationContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // CancellationEvent: Details of when the order was canceled. type CancellationEvent struct { // EventTime: The time when the order was canceled. @@ -23980,6 +24049,116 @@ func (c *PurchasesSubscriptionsRevokeCall) Do(opts ...googleapi.CallOption) erro return nil } +type PurchasesSubscriptionsv2CancelCall struct { + s *Service + packageName string + token string + cancelsubscriptionpurchaserequest *CancelSubscriptionPurchaseRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Cancel: Cancel a subscription purchase for the user. +// +// - packageName: The package of the application for which this subscription +// was purchased (for example, 'com.some.thing'). +// - token: The token provided to the user's device when the subscription was +// purchased. +func (r *PurchasesSubscriptionsv2Service) Cancel(packageName string, token string, cancelsubscriptionpurchaserequest *CancelSubscriptionPurchaseRequest) *PurchasesSubscriptionsv2CancelCall { + c := &PurchasesSubscriptionsv2CancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.packageName = packageName + c.token = token + c.cancelsubscriptionpurchaserequest = cancelsubscriptionpurchaserequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *PurchasesSubscriptionsv2CancelCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsv2CancelCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *PurchasesSubscriptionsv2CancelCall) Context(ctx context.Context) *PurchasesSubscriptionsv2CancelCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *PurchasesSubscriptionsv2CancelCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *PurchasesSubscriptionsv2CancelCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.cancelsubscriptionpurchaserequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "packageName": c.packageName, + "token": c.token, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "androidpublisher.purchases.subscriptionsv2.cancel", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "androidpublisher.purchases.subscriptionsv2.cancel" call. +// Any non-2xx status code is an error. Response headers are in either +// *CancelSubscriptionPurchaseResponse.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *PurchasesSubscriptionsv2CancelCall) Do(opts ...googleapi.CallOption) (*CancelSubscriptionPurchaseResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &CancelSubscriptionPurchaseResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "androidpublisher.purchases.subscriptionsv2.cancel", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type PurchasesSubscriptionsv2GetCall struct { s *Service packageName string diff --git a/cloudfunctions/v2/cloudfunctions-api.json b/cloudfunctions/v2/cloudfunctions-api.json index d0c5b3791f5..e6d77e0fd18 100644 --- a/cloudfunctions/v2/cloudfunctions-api.json +++ b/cloudfunctions/v2/cloudfunctions-api.json @@ -750,7 +750,7 @@ } } }, - "revision": "20250814", + "revision": "20250902", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -2140,6 +2140,7 @@ "enum": [ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", + "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", "UPGRADE_OPERATION_IN_PROGRESS", "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", @@ -2151,7 +2152,8 @@ ], "enumDescriptions": [ "Unspecified state. Most functions are in this upgrade state.", - "Functions in this state are eligible for 1st Gen -\u003e 2nd Gen upgrade.", + "Functions in this state are eligible for 1st Gen upgrade.", + "Functions in this state are ineligible for 1st Gen upgrade until redeployment with newer runtime.", "An upgrade related operation is in progress.", "SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has been created based on 1st Gen function instance.", "SetupFunctionUpgradeConfig API was un-successful.", diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index 1de1ee8b07e..576db16dc05 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -1972,7 +1972,9 @@ type UpgradeInfo struct { // "UPGRADE_STATE_UNSPECIFIED" - Unspecified state. Most functions are in // this upgrade state. // "ELIGIBLE_FOR_2ND_GEN_UPGRADE" - Functions in this state are eligible for - // 1st Gen -> 2nd Gen upgrade. + // 1st Gen upgrade. + // "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT" - Functions in this state are + // ineligible for 1st Gen upgrade until redeployment with newer runtime. // "UPGRADE_OPERATION_IN_PROGRESS" - An upgrade related operation is in // progress. // "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL" - SetupFunctionUpgradeConfig diff --git a/cloudfunctions/v2alpha/cloudfunctions-api.json b/cloudfunctions/v2alpha/cloudfunctions-api.json index f16c88b437a..7ef14178efb 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-api.json +++ b/cloudfunctions/v2alpha/cloudfunctions-api.json @@ -750,7 +750,7 @@ } } }, - "revision": "20250814", + "revision": "20250902", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -2140,6 +2140,7 @@ "enum": [ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", + "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", "UPGRADE_OPERATION_IN_PROGRESS", "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", @@ -2151,7 +2152,8 @@ ], "enumDescriptions": [ "Unspecified state. Most functions are in this upgrade state.", - "Functions in this state are eligible for 1st Gen -\u003e 2nd Gen upgrade.", + "Functions in this state are eligible for 1st Gen upgrade.", + "Functions in this state are ineligible for 1st Gen upgrade until redeployment with newer runtime.", "An upgrade related operation is in progress.", "SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has been created based on 1st Gen function instance.", "SetupFunctionUpgradeConfig API was un-successful.", diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index acf24b1c244..ba16ba76262 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -1972,7 +1972,9 @@ type UpgradeInfo struct { // "UPGRADE_STATE_UNSPECIFIED" - Unspecified state. Most functions are in // this upgrade state. // "ELIGIBLE_FOR_2ND_GEN_UPGRADE" - Functions in this state are eligible for - // 1st Gen -> 2nd Gen upgrade. + // 1st Gen upgrade. + // "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT" - Functions in this state are + // ineligible for 1st Gen upgrade until redeployment with newer runtime. // "UPGRADE_OPERATION_IN_PROGRESS" - An upgrade related operation is in // progress. // "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL" - SetupFunctionUpgradeConfig diff --git a/cloudfunctions/v2beta/cloudfunctions-api.json b/cloudfunctions/v2beta/cloudfunctions-api.json index 4250feb89b8..def99cbf711 100644 --- a/cloudfunctions/v2beta/cloudfunctions-api.json +++ b/cloudfunctions/v2beta/cloudfunctions-api.json @@ -750,7 +750,7 @@ } } }, - "revision": "20250814", + "revision": "20250902", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -2140,6 +2140,7 @@ "enum": [ "UPGRADE_STATE_UNSPECIFIED", "ELIGIBLE_FOR_2ND_GEN_UPGRADE", + "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", "UPGRADE_OPERATION_IN_PROGRESS", "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", "SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", @@ -2151,7 +2152,8 @@ ], "enumDescriptions": [ "Unspecified state. Most functions are in this upgrade state.", - "Functions in this state are eligible for 1st Gen -\u003e 2nd Gen upgrade.", + "Functions in this state are eligible for 1st Gen upgrade.", + "Functions in this state are ineligible for 1st Gen upgrade until redeployment with newer runtime.", "An upgrade related operation is in progress.", "SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has been created based on 1st Gen function instance.", "SetupFunctionUpgradeConfig API was un-successful.", diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index 16c67263fcd..186d4cdd0e1 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -1972,7 +1972,9 @@ type UpgradeInfo struct { // "UPGRADE_STATE_UNSPECIFIED" - Unspecified state. Most functions are in // this upgrade state. // "ELIGIBLE_FOR_2ND_GEN_UPGRADE" - Functions in this state are eligible for - // 1st Gen -> 2nd Gen upgrade. + // 1st Gen upgrade. + // "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT" - Functions in this state are + // ineligible for 1st Gen upgrade until redeployment with newer runtime. // "UPGRADE_OPERATION_IN_PROGRESS" - An upgrade related operation is in // progress. // "SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL" - SetupFunctionUpgradeConfig diff --git a/datastream/v1/datastream-api.json b/datastream/v1/datastream-api.json index 7b14d89091f..37151f401f3 100644 --- a/datastream/v1/datastream-api.json +++ b/datastream/v1/datastream-api.json @@ -1261,7 +1261,7 @@ } } }, - "revision": "20250817", + "revision": "20250827", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AppendOnly": { @@ -2155,6 +2155,18 @@ "properties": {}, "type": "object" }, + "MongodbChangeStreamPosition": { + "description": "MongoDB change stream position", + "id": "MongodbChangeStreamPosition", + "properties": { + "startTime": { + "description": "Required. The timestamp (in epoch seconds) to start change stream from.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "MongodbCluster": { "description": "MongoDB Cluster structure.", "id": "MongodbCluster", @@ -3547,6 +3559,10 @@ "description": "CDC strategy to start replicating from a specific position in the source.", "id": "SpecificStartPosition", "properties": { + "mongodbChangeStreamPosition": { + "$ref": "MongodbChangeStreamPosition", + "description": "MongoDB change stream position to start replicating from." + }, "mysqlGtidPosition": { "$ref": "MysqlGtidPosition", "description": "MySQL GTID set to start replicating from." diff --git a/datastream/v1/datastream-gen.go b/datastream/v1/datastream-gen.go index 5d7cce5c7ab..b6f7f0cf695 100644 --- a/datastream/v1/datastream-gen.go +++ b/datastream/v1/datastream-gen.go @@ -1261,6 +1261,29 @@ func (s LookupStreamObjectRequest) MarshalJSON() ([]byte, error) { type Merge struct { } +// MongodbChangeStreamPosition: MongoDB change stream position +type MongodbChangeStreamPosition struct { + // StartTime: Required. The timestamp (in epoch seconds) to start change stream + // from. + StartTime string `json:"startTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "StartTime") 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. "StartTime") 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 MongodbChangeStreamPosition) MarshalJSON() ([]byte, error) { + type NoMethod MongodbChangeStreamPosition + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // MongodbCluster: MongoDB Cluster structure. type MongodbCluster struct { // Databases: MongoDB databases in the cluster. @@ -2970,6 +2993,9 @@ func (s SourceObjectIdentifier) MarshalJSON() ([]byte, error) { // SpecificStartPosition: CDC strategy to start replicating from a specific // position in the source. type SpecificStartPosition struct { + // MongodbChangeStreamPosition: MongoDB change stream position to start + // replicating from. + MongodbChangeStreamPosition *MongodbChangeStreamPosition `json:"mongodbChangeStreamPosition,omitempty"` // MysqlGtidPosition: MySQL GTID set to start replicating from. MysqlGtidPosition *MysqlGtidPosition `json:"mysqlGtidPosition,omitempty"` // MysqlLogPosition: MySQL specific log position to start replicating from. @@ -2978,15 +3004,15 @@ type SpecificStartPosition struct { OracleScnPosition *OracleScnPosition `json:"oracleScnPosition,omitempty"` // SqlServerLsnPosition: SqlServer LSN to start replicating from. SqlServerLsnPosition *SqlServerLsnPosition `json:"sqlServerLsnPosition,omitempty"` - // ForceSendFields is a list of field names (e.g. "MysqlGtidPosition") 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 is a list of field names (e.g. + // "MongodbChangeStreamPosition") 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. "MysqlGtidPosition") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "MongodbChangeStreamPosition") to + // include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 2fa9468857f..aba8632c1d1 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -4407,7 +4407,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -8962,7 +8962,7 @@ } } }, - "revision": "20250812", + "revision": "20250902", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index e8b381a0936..58b8c2c4544 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -37584,9 +37584,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": A list -// of extra location types that should be used as conditions for controlling -// the visibility of the locations. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not +// use this field. It is unsupported and is ignored unless explicitly +// documented otherwise. This is primarily for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index b838e622292..7c3aa9a1061 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2117,7 +2117,7 @@ } } }, - "revision": "20250815", + "revision": "20250829", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2510,8 +2510,7 @@ "IN_PROGRESS", "SOAKING", "FORCED_SOAKING", - "COMPLETE", - "FORCED_COMPLETE" + "COMPLETE" ], "enumDescriptions": [ "Required by https://linter.aip.dev/126/unspecified.", @@ -2520,8 +2519,7 @@ "The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.", "The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.", "A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.", - "The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status.", - "The upgrade was forced into soaking and the soaking time has passed. This is the equivalent of COMPLETE status for upgrades that were forced into soaking." + "The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status." ], "type": "string" }, diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 225947d419e..90469bb2f73 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -957,9 +957,6 @@ type ClusterUpgradeUpgradeStatus struct { // doesn't finish within a certain limit, despite it's actual status. // "COMPLETE" - The upgrade has passed all post conditions (soaking). At the // scope level, this means all eligible clusters are in COMPLETE status. - // "FORCED_COMPLETE" - The upgrade was forced into soaking and the soaking - // time has passed. This is the equivalent of COMPLETE status for upgrades that - // were forced into soaking. Code string `json:"code,omitempty"` // Reason: Reason for this status. Reason string `json:"reason,omitempty"` diff --git a/gkehub/v2beta/gkehub-api.json b/gkehub/v2beta/gkehub-api.json index 20a8541a89e..ed2a2eb0ba2 100644 --- a/gkehub/v2beta/gkehub-api.json +++ b/gkehub/v2beta/gkehub-api.json @@ -477,7 +477,7 @@ } } }, - "revision": "20250815", + "revision": "20250829", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { @@ -626,8 +626,7 @@ "IN_PROGRESS", "SOAKING", "FORCED_SOAKING", - "COMPLETE", - "FORCED_COMPLETE" + "COMPLETE" ], "enumDescriptions": [ "Required by https://linter.aip.dev/126/unspecified.", @@ -636,8 +635,7 @@ "The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.", "The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.", "A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.", - "The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status.", - "The upgrade was forced into soaking and the soaking time has passed. This is the equivalent of COMPLETE status for upgrades that were forced into soaking." + "The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status." ], "type": "string" }, diff --git a/gkehub/v2beta/gkehub-gen.go b/gkehub/v2beta/gkehub-gen.go index a6a88f77e0c..795e30953fb 100644 --- a/gkehub/v2beta/gkehub-gen.go +++ b/gkehub/v2beta/gkehub-gen.go @@ -426,9 +426,6 @@ type ClusterUpgradeUpgradeStatus struct { // doesn't finish within a certain limit, despite it's actual status. // "COMPLETE" - The upgrade has passed all post conditions (soaking). At the // scope level, this means all eligible clusters are in COMPLETE status. - // "FORCED_COMPLETE" - The upgrade was forced into soaking and the soaking - // time has passed. This is the equivalent of COMPLETE status for upgrades that - // were forced into soaking. Code string `json:"code,omitempty"` // Reason: Reason for this status. Reason string `json:"reason,omitempty"` diff --git a/run/v2/run-api.json b/run/v2/run-api.json index f48a29b8547..b968e752b7a 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1922,7 +1922,7 @@ } } }, - "revision": "20250818", + "revision": "20250829", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -3762,7 +3762,7 @@ "type": "integer" }, "items": { - "description": "If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.", + "description": "If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path + VolumeMount.sub_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.", "items": { "$ref": "GoogleCloudRunV2VersionToPath" }, @@ -5920,7 +5920,7 @@ "id": "GoogleDevtoolsCloudbuildV1NpmPackage", "properties": { "packagePath": { - "description": "Path to the package.json. e.g. workspace/path/to/package", + "description": "Optional. Path to the package.json. e.g. workspace/path/to/package Only one of `archive` or `package_path` can be specified.", "type": "string" }, "repository": { diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index abdaf1be11e..6bc15b8e9a8 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -2389,10 +2389,10 @@ type GoogleCloudRunV2SecretVolumeSource struct { // a result, other mode bits could be set. DefaultMode int64 `json:"defaultMode,omitempty"` // Items: If unspecified, the volume will expose a file whose name is the - // secret, relative to VolumeMount.mount_path. If specified, the key will be - // used as the version to fetch from Cloud Secret Manager and the path will be - // the name of the file exposed in the volume. When items are defined, they - // must specify a path and a version. + // secret, relative to VolumeMount.mount_path + VolumeMount.sub_path. If + // specified, the key will be used as the version to fetch from Cloud Secret + // Manager and the path will be the name of the file exposed in the volume. + // When items are defined, they must specify a path and a version. Items []*GoogleCloudRunV2VersionToPath `json:"items,omitempty"` // Secret: Required. The name of the secret in Cloud Secret Manager. Format: // {secret} if the secret is in the same project. @@ -4709,7 +4709,9 @@ func (s GoogleDevtoolsCloudbuildV1MavenArtifact) MarshalJSON() ([]byte, error) { // GoogleDevtoolsCloudbuildV1NpmPackage: Npm package to upload to Artifact // Registry upon successful completion of all build steps. type GoogleDevtoolsCloudbuildV1NpmPackage struct { - // PackagePath: Path to the package.json. e.g. workspace/path/to/package + // PackagePath: Optional. Path to the package.json. e.g. + // workspace/path/to/package Only one of `archive` or `package_path` can be + // specified. PackagePath string `json:"packagePath,omitempty"` // Repository: Artifact Registry repository, in the form // "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the diff --git a/texttospeech/v1/texttospeech-api.json b/texttospeech/v1/texttospeech-api.json index 60b36f39a53..278fd577d16 100644 --- a/texttospeech/v1/texttospeech-api.json +++ b/texttospeech/v1/texttospeech-api.json @@ -318,7 +318,7 @@ } } }, - "revision": "20250805", + "revision": "20250903", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AdvancedVoiceOptions": { @@ -622,6 +622,10 @@ "$ref": "MultiSpeakerMarkup", "description": "The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis." }, + "prompt": { + "description": "This is system instruction supported only for controllable voice models. If used, we will pass text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.", + "type": "string" + }, "ssml": { "description": "The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).", "type": "string" diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index e11871d488a..946fe57b489 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -676,6 +676,10 @@ type SynthesisInput struct { // MultiSpeakerMarkup: The multi-speaker input to be synthesized. Only // applicable for multi-speaker synthesis. MultiSpeakerMarkup *MultiSpeakerMarkup `json:"multiSpeakerMarkup,omitempty"` + // Prompt: This is system instruction supported only for controllable voice + // models. If used, we will pass text to Flash TTS as is. Can only used with + // Flash TTS. What AI Studio calls Style Instructions. + Prompt string `json:"prompt,omitempty"` // Ssml: The SSML document to be synthesized. The SSML document must be valid // and well-formed. Otherwise the RPC will fail and return // google.rpc.Code.INVALID_ARGUMENT. For more information, see SSML diff --git a/texttospeech/v1beta1/texttospeech-api.json b/texttospeech/v1beta1/texttospeech-api.json index 5d734f772fb..ca2e9545e79 100644 --- a/texttospeech/v1beta1/texttospeech-api.json +++ b/texttospeech/v1beta1/texttospeech-api.json @@ -261,7 +261,7 @@ } } }, - "revision": "20250805", + "revision": "20250903", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AdvancedVoiceOptions": { @@ -555,6 +555,10 @@ "$ref": "MultiSpeakerMarkup", "description": "The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis." }, + "prompt": { + "description": "This is system instruction supported only for controllable voice models. If used, we will pass text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.", + "type": "string" + }, "ssml": { "description": "The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).", "type": "string" diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index 8d2e9e257f5..0fa626ce766 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -652,6 +652,10 @@ type SynthesisInput struct { // MultiSpeakerMarkup: The multi-speaker input to be synthesized. Only // applicable for multi-speaker synthesis. MultiSpeakerMarkup *MultiSpeakerMarkup `json:"multiSpeakerMarkup,omitempty"` + // Prompt: This is system instruction supported only for controllable voice + // models. If used, we will pass text to Flash TTS as is. Can only used with + // Flash TTS. What AI Studio calls Style Instructions. + Prompt string `json:"prompt,omitempty"` // Ssml: The SSML document to be synthesized. The SSML document must be valid // and well-formed. Otherwise the RPC will fail and return // google.rpc.Code.INVALID_ARGUMENT. For more information, see SSML