From 1b5da260b45a198272d2b0368b2b8f8f0094eebf Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 13 Sep 2025 07:12:07 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- chat/v1/chat-api.json | 10 +- chat/v1/chat-gen.go | 16 +- documentai/v1beta3/documentai-api.json | 4 +- documentai/v1beta3/documentai-gen.go | 6 +- .../v1/firebasedataconnect-api.json | 111 +++++- .../v1/firebasedataconnect-gen.go | 365 +++++++++++++++++- .../v1beta/firebasedataconnect-api.json | 111 +++++- .../v1beta/firebasedataconnect-gen.go | 365 +++++++++++++++++- gkehub/v1/gkehub-api.json | 10 +- gkehub/v1/gkehub-gen.go | 17 +- gkehub/v1alpha/gkehub-api.json | 10 +- gkehub/v1alpha/gkehub-gen.go | 17 +- gkehub/v1beta1/gkehub-api.json | 10 +- gkehub/v1beta1/gkehub-gen.go | 17 +- gkehub/v2/gkehub-api.json | 4 +- gkehub/v2/gkehub-gen.go | 6 +- gkehub/v2beta/gkehub-api.json | 4 +- gkehub/v2beta/gkehub-gen.go | 6 +- logging/v2/logging-api.json | 32 +- logging/v2/logging-gen.go | 89 +++-- oracledatabase/v1/oracledatabase-api.json | 25 +- oracledatabase/v1/oracledatabase-gen.go | 36 +- run/v2/run-api.json | 17 +- 23 files changed, 1166 insertions(+), 122 deletions(-) diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 5e61c958bce..16d721ed362 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -1528,7 +1528,7 @@ } } }, - "revision": "20250821", + "revision": "20250909", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -2075,7 +2075,7 @@ "type": "string" }, "invokedFunction": { - "description": "Name of the invoked function associated with the widget. Only set for Chat apps.", + "description": "Name of the function to invoke. This field doesn't populate for Google Workspace Add-ons that extend Google Chat. Instead, to receive function data like identifiers, add-ons that extend Chat should use the `parameters` field. See [Build interactive interfaces for Chat apps](https://developers.google.com/workspace/add-ons/chat/build).", "type": "string" }, "parameters": { @@ -2326,12 +2326,12 @@ ], "enumDescriptions": [ "Default value for the enum. DO NOT USE.", - "A user sends the Chat app a message, or invokes the Chat app in a space, such as any of the following examples: * Any message in a direct message (DM) space with the Chat app. * A message in a multi-person space where a person @mentions the Chat app, or uses one of its [slash commands](https://developers.google.com/workspace/chat/commands#types). * If you've configured link previews for your Chat app, a user posts a message that contains a link that matches the configured URL pattern.", + "A user sends the Chat app a message, or invokes the Chat app in a space. Examples of message events include: * Any message in a direct message (DM) space with the Chat app. * A message in a multi-person space where a person @mentions the Chat app, or uses one of its [slash commands](https://developers.google.com/workspace/chat/commands#types). * If you've configured link previews for your Chat app, a user posts a message that contains a link that matches the configured URL pattern.", "A user adds the Chat app to a space, or a Google Workspace administrator installs the Chat app in direct message spaces for users in their organization. Chat apps typically respond to this interaction event by posting a welcome message in the space. When administrators install Chat apps, the `space.adminInstalled` field is set to `true` and users can't uninstall them. To learn about Chat apps installed by administrators, see Google Workspace Admin Help's documentation, [Install Marketplace apps in your domain](https://support.google.com/a/answer/172482).", "A user removes the Chat app from a space, or a Google Workspace administrator uninstalls the Chat app for a user in their organization. Chat apps can't respond with messages to this event, because they have already been removed. When administrators uninstall Chat apps, the `space.adminInstalled` field is set to `false`. If a user installed the Chat app before the administrator, the Chat app remains installed for the user and the Chat app doesn't receive a `REMOVED_FROM_SPACE` interaction event.", "A user clicks an interactive element of a card or dialog from a Chat app, such as a button. To receive an interaction event, the button must trigger another interaction with the Chat app. For example, a Chat app doesn't receive a `CARD_CLICKED` interaction event if a user clicks a button that opens a link to a website, but receives interaction events in the following examples: * The user clicks a `Send feedback` button on a card, which opens a dialog for the user to input information. * The user clicks a `Submit` button after inputting information into a card or dialog. If a user clicks a button to open, submit, or cancel a dialog, the `CARD_CLICKED` interaction event's `isDialogEvent` field is set to `true` and includes a [`DialogEventType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/DialogEventType).", - "A user updates a widget in a card message or dialog.", - "A user uses a Chat app [quick command](https://developers.google.com/workspace/chat/commands#types)." + "A user updates a widget in a card message or dialog. This event is triggered when a user interacts with a widget that has an associated action.", + "A user uses a Chat app [command](https://developers.google.com/workspace/chat/commands#types), including slash commands and quick commands." ], "type": "string" }, diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index e398fd6ff9d..bae3bbb623b 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -1307,8 +1307,11 @@ type CommonEventObject struct { // "DRAWINGS" - The add-on launches from Google Drawings. // "CHAT" - A Google Chat app. Not used for Google Workspace add-ons. HostApp string `json:"hostApp,omitempty"` - // InvokedFunction: Name of the invoked function associated with the widget. - // Only set for Chat apps. + // InvokedFunction: Name of the function to invoke. This field doesn't populate + // for Google Workspace Add-ons that extend Google Chat. Instead, to receive + // function data like identifiers, add-ons that extend Chat should use the + // `parameters` field. See Build interactive interfaces for Chat apps + // (https://developers.google.com/workspace/add-ons/chat/build). InvokedFunction string `json:"invokedFunction,omitempty"` // Parameters: Any additional parameters you supply to an action using // `actionParameters` @@ -1675,7 +1678,7 @@ type DeprecatedEvent struct { // Possible values: // "UNSPECIFIED" - Default value for the enum. DO NOT USE. // "MESSAGE" - A user sends the Chat app a message, or invokes the Chat app - // in a space, such as any of the following examples: * Any message in a direct + // in a space. Examples of message events include: * Any message in a direct // message (DM) space with the Chat app. * A message in a multi-person space // where a person @mentions the Chat app, or uses one of its [slash // commands](https://developers.google.com/workspace/chat/commands#types). * If @@ -1710,8 +1713,11 @@ type DeprecatedEvent struct { // [`DialogEventType`](https://developers.google.com/workspace/chat/api/referenc // e/rest/v1/DialogEventType). // "WIDGET_UPDATED" - A user updates a widget in a card message or dialog. - // "APP_COMMAND" - A user uses a Chat app [quick - // command](https://developers.google.com/workspace/chat/commands#types). + // This event is triggered when a user interacts with a widget that has an + // associated action. + // "APP_COMMAND" - A user uses a Chat app + // [command](https://developers.google.com/workspace/chat/commands#types), + // including slash commands and quick commands. Type string `json:"type,omitempty"` // User: The user that interacted with the Chat app. User *User `json:"user,omitempty"` diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index a2d840bb236..f634034fe30 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -169,7 +169,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1290,7 +1290,7 @@ } } }, - "revision": "20250820", + "revision": "20250908", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index f5c4efc9911..1f68cb205ac 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -8601,9 +8601,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/firebasedataconnect/v1/firebasedataconnect-api.json b/firebasedataconnect/v1/firebasedataconnect-api.json index b39f88e6ac5..2b8ecdddfe1 100644 --- a/firebasedataconnect/v1/firebasedataconnect-api.json +++ b/firebasedataconnect/v1/firebasedataconnect-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -482,6 +482,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "introspectGraphql": { + "description": "Execute introspection query against the Firebase Data Connect's generated GraphQL schema. GraphQL introspection query provides metadata such as what tables the schema have, what queries and mutations can be performed on the schema, and so on. Read more at https://graphql.org/learn/introspection. IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL instance, which can be done via ExecuteGraphqlRead.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:introspectGraphql", + "httpMethod": "POST", + "id": "firebasedataconnect.projects.locations.services.introspectGraphql", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:introspectGraphql", + "request": { + "$ref": "GraphqlRequest" + }, + "response": { + "$ref": "GraphqlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists Services in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", @@ -755,6 +783,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "impersonateMutation": { + "description": "Impersonate a mutation defined on a Firebase Data Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateMutation", + "httpMethod": "POST", + "id": "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:impersonateMutation", + "request": { + "$ref": "ImpersonateRequest" + }, + "response": { + "$ref": "GraphqlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "impersonateQuery": { + "description": "Impersonate a query defined on a Firebase Data Connect connector. It grants the admin SDK access to queries defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateQuery", + "httpMethod": "POST", + "id": "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:impersonateQuery", + "request": { + "$ref": "ImpersonateRequest" + }, + "response": { + "$ref": "GraphqlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists Connectors in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors", @@ -1076,7 +1160,7 @@ } } }, - "revision": "20250824", + "revision": "20250907", "rootUrl": "https://firebasedataconnect.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1420,6 +1504,29 @@ }, "type": "object" }, + "ImpersonateRequest": { + "description": "The Impersonate request to Firebase Data Connect.", + "id": "ImpersonateRequest", + "properties": { + "extensions": { + "$ref": "GraphqlRequestExtensions", + "description": "Optional. Additional GraphQL request information." + }, + "operationName": { + "description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", + "type": "string" + }, + "variables": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Values for GraphQL variables provided in this request.", + "type": "object" + } + }, + "type": "object" + }, "Impersonation": { "description": "Impersonation configures the Firebase Auth context to impersonate.", "id": "Impersonation", diff --git a/firebasedataconnect/v1/firebasedataconnect-gen.go b/firebasedataconnect/v1/firebasedataconnect-gen.go index 8f301e18c16..608b552af60 100644 --- a/firebasedataconnect/v1/firebasedataconnect-gen.go +++ b/firebasedataconnect/v1/firebasedataconnect-gen.go @@ -727,6 +727,34 @@ func (s GraphqlResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ImpersonateRequest: The Impersonate request to Firebase Data Connect. +type ImpersonateRequest struct { + // Extensions: Optional. Additional GraphQL request information. + Extensions *GraphqlRequestExtensions `json:"extensions,omitempty"` + // OperationName: Required. The name of the GraphQL operation name. Required + // because all Connector operations must be named. See + // https://graphql.org/learn/queries/#operation-name. + OperationName string `json:"operationName,omitempty"` + // Variables: Optional. Values for GraphQL variables provided in this request. + Variables googleapi.RawMessage `json:"variables,omitempty"` + // ForceSendFields is a list of field names (e.g. "Extensions") 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. "Extensions") 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 ImpersonateRequest) MarshalJSON() ([]byte, error) { + type NoMethod ImpersonateRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Impersonation: Impersonation configures the Firebase Auth context to // impersonate. type Impersonation struct { @@ -1420,9 +1448,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -2644,6 +2672,117 @@ func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Se return ret, nil } +type ProjectsLocationsServicesIntrospectGraphqlCall struct { + s *APIService + name string + graphqlrequest *GraphqlRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// IntrospectGraphql: Execute introspection query against the Firebase Data +// Connect's generated GraphQL schema. GraphQL introspection query provides +// metadata such as what tables the schema have, what queries and mutations can +// be performed on the schema, and so on. Read more at +// https://graphql.org/learn/introspection. IntrospectGraphql can read schema +// metadata but cannot read rows from Cloud SQL instance, which can be done via +// ExecuteGraphqlRead. +// +// - name: The relative resource name of Firebase Data Connect service, in the +// format: ``` projects/{project}/locations/{location}/services/{service} ```. +func (r *ProjectsLocationsServicesService) IntrospectGraphql(name string, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesIntrospectGraphqlCall { + c := &ProjectsLocationsServicesIntrospectGraphqlCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.graphqlrequest = graphqlrequest + 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 *ProjectsLocationsServicesIntrospectGraphqlCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesIntrospectGraphqlCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Context(ctx context.Context) *ProjectsLocationsServicesIntrospectGraphqlCall { + 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 *ProjectsLocationsServicesIntrospectGraphqlCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsServicesIntrospectGraphqlCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.graphqlrequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:introspectGraphql") + 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{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "firebasedataconnect.projects.locations.services.introspectGraphql", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "firebasedataconnect.projects.locations.services.introspectGraphql" call. +// Any non-2xx status code is an error. Response headers are in either +// *GraphqlResponse.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 *ProjectsLocationsServicesIntrospectGraphqlCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, 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 := &GraphqlResponse{ + 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", "firebasedataconnect.projects.locations.services.introspectGraphql", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsServicesListCall struct { s *APIService parent string @@ -3561,6 +3700,226 @@ func (c *ProjectsLocationsServicesConnectorsGetCall) Do(opts ...googleapi.CallOp return ret, nil } +type ProjectsLocationsServicesConnectorsImpersonateMutationCall struct { + s *APIService + name string + impersonaterequest *ImpersonateRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ImpersonateMutation: Impersonate a mutation defined on a Firebase Data +// Connect connector. It grants the admin SDK access to mutations defined in +// the given connector. The caller can choose to impersonate a particular +// Firebase Auth user, or skip @auth completely. +// +// - name: The resource name of the connector to find the predefined +// query/mutation, in the format: ``` +// projects/{project}/locations/{location}/services/{service}/connectors/{conn +// ector} ```. +func (r *ProjectsLocationsServicesConnectorsService) ImpersonateMutation(name string, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateMutationCall { + c := &ProjectsLocationsServicesConnectorsImpersonateMutationCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.impersonaterequest = impersonaterequest + 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 *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateMutationCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsImpersonateMutationCall { + 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 *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.impersonaterequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:impersonateMutation") + 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{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "firebasedataconnect.projects.locations.services.connectors.impersonateMutation" call. +// Any non-2xx status code is an error. Response headers are in either +// *GraphqlResponse.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 *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, 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 := &GraphqlResponse{ + 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", "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + +type ProjectsLocationsServicesConnectorsImpersonateQueryCall struct { + s *APIService + name string + impersonaterequest *ImpersonateRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ImpersonateQuery: Impersonate a query defined on a Firebase Data Connect +// connector. It grants the admin SDK access to queries defined in the given +// connector. The caller can choose to impersonate a particular Firebase Auth +// user, or skip @auth completely. +// +// - name: The resource name of the connector to find the predefined +// query/mutation, in the format: ``` +// projects/{project}/locations/{location}/services/{service}/connectors/{conn +// ector} ```. +func (r *ProjectsLocationsServicesConnectorsService) ImpersonateQuery(name string, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateQueryCall { + c := &ProjectsLocationsServicesConnectorsImpersonateQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.impersonaterequest = impersonaterequest + 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 *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateQueryCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsImpersonateQueryCall { + 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 *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.impersonaterequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:impersonateQuery") + 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{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "firebasedataconnect.projects.locations.services.connectors.impersonateQuery" call. +// Any non-2xx status code is an error. Response headers are in either +// *GraphqlResponse.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 *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, 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 := &GraphqlResponse{ + 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", "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsServicesConnectorsListCall struct { s *APIService parent string diff --git a/firebasedataconnect/v1beta/firebasedataconnect-api.json b/firebasedataconnect/v1beta/firebasedataconnect-api.json index eb14477d21f..459bcce68aa 100644 --- a/firebasedataconnect/v1beta/firebasedataconnect-api.json +++ b/firebasedataconnect/v1beta/firebasedataconnect-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -482,6 +482,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "introspectGraphql": { + "description": "Execute introspection query against the Firebase Data Connect's generated GraphQL schema. GraphQL introspection query provides metadata such as what tables the schema have, what queries and mutations can be performed on the schema, and so on. Read more at https://graphql.org/learn/introspection. IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL instance, which can be done via ExecuteGraphqlRead.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:introspectGraphql", + "httpMethod": "POST", + "id": "firebasedataconnect.projects.locations.services.introspectGraphql", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}:introspectGraphql", + "request": { + "$ref": "GraphqlRequest" + }, + "response": { + "$ref": "GraphqlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists Services in a given project and location.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services", @@ -755,6 +783,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "impersonateMutation": { + "description": "Impersonate a mutation defined on a Firebase Data Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateMutation", + "httpMethod": "POST", + "id": "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}:impersonateMutation", + "request": { + "$ref": "ImpersonateRequest" + }, + "response": { + "$ref": "GraphqlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "impersonateQuery": { + "description": "Impersonate a query defined on a Firebase Data Connect connector. It grants the admin SDK access to queries defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateQuery", + "httpMethod": "POST", + "id": "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}:impersonateQuery", + "request": { + "$ref": "ImpersonateRequest" + }, + "response": { + "$ref": "GraphqlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists Connectors in a given project and location.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors", @@ -1076,7 +1160,7 @@ } } }, - "revision": "20250824", + "revision": "20250907", "rootUrl": "https://firebasedataconnect.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1420,6 +1504,29 @@ }, "type": "object" }, + "ImpersonateRequest": { + "description": "The Impersonate request to Firebase Data Connect.", + "id": "ImpersonateRequest", + "properties": { + "extensions": { + "$ref": "GraphqlRequestExtensions", + "description": "Optional. Additional GraphQL request information." + }, + "operationName": { + "description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", + "type": "string" + }, + "variables": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Values for GraphQL variables provided in this request.", + "type": "object" + } + }, + "type": "object" + }, "Impersonation": { "description": "Impersonation configures the Firebase Auth context to impersonate.", "id": "Impersonation", diff --git a/firebasedataconnect/v1beta/firebasedataconnect-gen.go b/firebasedataconnect/v1beta/firebasedataconnect-gen.go index eece035d92e..06273b39bb7 100644 --- a/firebasedataconnect/v1beta/firebasedataconnect-gen.go +++ b/firebasedataconnect/v1beta/firebasedataconnect-gen.go @@ -727,6 +727,34 @@ func (s GraphqlResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ImpersonateRequest: The Impersonate request to Firebase Data Connect. +type ImpersonateRequest struct { + // Extensions: Optional. Additional GraphQL request information. + Extensions *GraphqlRequestExtensions `json:"extensions,omitempty"` + // OperationName: Required. The name of the GraphQL operation name. Required + // because all Connector operations must be named. See + // https://graphql.org/learn/queries/#operation-name. + OperationName string `json:"operationName,omitempty"` + // Variables: Optional. Values for GraphQL variables provided in this request. + Variables googleapi.RawMessage `json:"variables,omitempty"` + // ForceSendFields is a list of field names (e.g. "Extensions") 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. "Extensions") 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 ImpersonateRequest) MarshalJSON() ([]byte, error) { + type NoMethod ImpersonateRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Impersonation: Impersonation configures the Firebase Auth context to // impersonate. type Impersonation struct { @@ -1420,9 +1448,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -2644,6 +2672,117 @@ func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Se return ret, nil } +type ProjectsLocationsServicesIntrospectGraphqlCall struct { + s *APIService + name string + graphqlrequest *GraphqlRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// IntrospectGraphql: Execute introspection query against the Firebase Data +// Connect's generated GraphQL schema. GraphQL introspection query provides +// metadata such as what tables the schema have, what queries and mutations can +// be performed on the schema, and so on. Read more at +// https://graphql.org/learn/introspection. IntrospectGraphql can read schema +// metadata but cannot read rows from Cloud SQL instance, which can be done via +// ExecuteGraphqlRead. +// +// - name: The relative resource name of Firebase Data Connect service, in the +// format: ``` projects/{project}/locations/{location}/services/{service} ```. +func (r *ProjectsLocationsServicesService) IntrospectGraphql(name string, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesIntrospectGraphqlCall { + c := &ProjectsLocationsServicesIntrospectGraphqlCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.graphqlrequest = graphqlrequest + 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 *ProjectsLocationsServicesIntrospectGraphqlCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesIntrospectGraphqlCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Context(ctx context.Context) *ProjectsLocationsServicesIntrospectGraphqlCall { + 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 *ProjectsLocationsServicesIntrospectGraphqlCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsServicesIntrospectGraphqlCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.graphqlrequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta/{+name}:introspectGraphql") + 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{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "firebasedataconnect.projects.locations.services.introspectGraphql", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "firebasedataconnect.projects.locations.services.introspectGraphql" call. +// Any non-2xx status code is an error. Response headers are in either +// *GraphqlResponse.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 *ProjectsLocationsServicesIntrospectGraphqlCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, 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 := &GraphqlResponse{ + 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", "firebasedataconnect.projects.locations.services.introspectGraphql", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsServicesListCall struct { s *APIService parent string @@ -3561,6 +3700,226 @@ func (c *ProjectsLocationsServicesConnectorsGetCall) Do(opts ...googleapi.CallOp return ret, nil } +type ProjectsLocationsServicesConnectorsImpersonateMutationCall struct { + s *APIService + name string + impersonaterequest *ImpersonateRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ImpersonateMutation: Impersonate a mutation defined on a Firebase Data +// Connect connector. It grants the admin SDK access to mutations defined in +// the given connector. The caller can choose to impersonate a particular +// Firebase Auth user, or skip @auth completely. +// +// - name: The resource name of the connector to find the predefined +// query/mutation, in the format: ``` +// projects/{project}/locations/{location}/services/{service}/connectors/{conn +// ector} ```. +func (r *ProjectsLocationsServicesConnectorsService) ImpersonateMutation(name string, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateMutationCall { + c := &ProjectsLocationsServicesConnectorsImpersonateMutationCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.impersonaterequest = impersonaterequest + 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 *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateMutationCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsImpersonateMutationCall { + 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 *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.impersonaterequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta/{+name}:impersonateMutation") + 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{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "firebasedataconnect.projects.locations.services.connectors.impersonateMutation" call. +// Any non-2xx status code is an error. Response headers are in either +// *GraphqlResponse.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 *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, 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 := &GraphqlResponse{ + 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", "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + +type ProjectsLocationsServicesConnectorsImpersonateQueryCall struct { + s *APIService + name string + impersonaterequest *ImpersonateRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ImpersonateQuery: Impersonate a query defined on a Firebase Data Connect +// connector. It grants the admin SDK access to queries defined in the given +// connector. The caller can choose to impersonate a particular Firebase Auth +// user, or skip @auth completely. +// +// - name: The resource name of the connector to find the predefined +// query/mutation, in the format: ``` +// projects/{project}/locations/{location}/services/{service}/connectors/{conn +// ector} ```. +func (r *ProjectsLocationsServicesConnectorsService) ImpersonateQuery(name string, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateQueryCall { + c := &ProjectsLocationsServicesConnectorsImpersonateQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.impersonaterequest = impersonaterequest + 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 *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateQueryCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsImpersonateQueryCall { + 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 *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.impersonaterequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta/{+name}:impersonateQuery") + 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{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "firebasedataconnect.projects.locations.services.connectors.impersonateQuery" call. +// Any non-2xx status code is an error. Response headers are in either +// *GraphqlResponse.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 *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, 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 := &GraphqlResponse{ + 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", "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsServicesConnectorsListCall struct { s *APIService parent string diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 0cc1a916348..e067992c968 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -192,7 +192,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -2117,7 +2117,7 @@ } } }, - "revision": "20250829", + "revision": "20250907", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6081,8 +6081,12 @@ "description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", "type": "string" }, + "k8sGitVersion": { + "description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", + "type": "string" + }, "k8sVersion": { - "description": "Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", + "description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", "type": "string" }, "v1beta1Crd": { diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index d7a13f4a87d..a34d52a49aa 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -5289,9 +5289,14 @@ type ResourceOptions struct { // connect_resources. Defaults to the latest GKE Connect version. The version // must be a currently supported version, obsolete versions will be rejected. ConnectVersion string `json:"connectVersion,omitempty"` - // K8sVersion: Optional. Major version of the Kubernetes cluster. This is only - // used to determine which version to use for the CustomResourceDefinition - // resources, `apiextensions/v1beta1` or`apiextensions/v1`. + // K8sGitVersion: Optional. Git version of the Kubernetes cluster. This is only + // used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 + // patch and above. + K8sGitVersion string `json:"k8sGitVersion,omitempty"` + // K8sVersion: Optional. Major and minor version of the Kubernetes cluster. + // This is only used to determine which version to use for the + // CustomResourceDefinition resources, `apiextensions/v1beta1` + // or`apiextensions/v1`. K8sVersion string `json:"k8sVersion,omitempty"` // V1beta1Crd: Optional. Use `apiextensions/v1beta1` instead of // `apiextensions/v1` for CustomResourceDefinition resources. This option @@ -6222,9 +6227,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 65e8ebb6bfc..013601d6d7a 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -192,7 +192,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -2261,7 +2261,7 @@ } } }, - "revision": "20250829", + "revision": "20250907", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6595,8 +6595,12 @@ "description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", "type": "string" }, + "k8sGitVersion": { + "description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", + "type": "string" + }, "k8sVersion": { - "description": "Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", + "description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", "type": "string" }, "v1beta1Crd": { diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index 6b0608aa765..9cec6045433 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -5750,9 +5750,14 @@ type ResourceOptions struct { // connect_resources. Defaults to the latest GKE Connect version. The version // must be a currently supported version, obsolete versions will be rejected. ConnectVersion string `json:"connectVersion,omitempty"` - // K8sVersion: Optional. Major version of the Kubernetes cluster. This is only - // used to determine which version to use for the CustomResourceDefinition - // resources, `apiextensions/v1beta1` or`apiextensions/v1`. + // K8sGitVersion: Optional. Git version of the Kubernetes cluster. This is only + // used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 + // patch and above. + K8sGitVersion string `json:"k8sGitVersion,omitempty"` + // K8sVersion: Optional. Major and minor version of the Kubernetes cluster. + // This is only used to determine which version to use for the + // CustomResourceDefinition resources, `apiextensions/v1beta1` + // or`apiextensions/v1`. K8sVersion string `json:"k8sVersion,omitempty"` // V1beta1Crd: Optional. Use `apiextensions/v1beta1` instead of // `apiextensions/v1` for CustomResourceDefinition resources. This option @@ -7235,9 +7240,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/gkehub/v1beta1/gkehub-api.json b/gkehub/v1beta1/gkehub-api.json index 8d07cc90175..ff33ce406ad 100644 --- a/gkehub/v1beta1/gkehub-api.json +++ b/gkehub/v1beta1/gkehub-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -718,7 +718,7 @@ } } }, - "revision": "20250815", + "revision": "20250907", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { @@ -1527,8 +1527,12 @@ "description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", "type": "string" }, + "k8sGitVersion": { + "description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", + "type": "string" + }, "k8sVersion": { - "description": "Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", + "description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", "type": "string" }, "v1beta1Crd": { diff --git a/gkehub/v1beta1/gkehub-gen.go b/gkehub/v1beta1/gkehub-gen.go index 3aa390ce47c..f970c37dae9 100644 --- a/gkehub/v1beta1/gkehub-gen.go +++ b/gkehub/v1beta1/gkehub-gen.go @@ -1400,9 +1400,14 @@ type ResourceOptions struct { // connect_resources. Defaults to the latest GKE Connect version. The version // must be a currently supported version, obsolete versions will be rejected. ConnectVersion string `json:"connectVersion,omitempty"` - // K8sVersion: Optional. Major version of the Kubernetes cluster. This is only - // used to determine which version to use for the CustomResourceDefinition - // resources, `apiextensions/v1beta1` or`apiextensions/v1`. + // K8sGitVersion: Optional. Git version of the Kubernetes cluster. This is only + // used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 + // patch and above. + K8sGitVersion string `json:"k8sGitVersion,omitempty"` + // K8sVersion: Optional. Major and minor version of the Kubernetes cluster. + // This is only used to determine which version to use for the + // CustomResourceDefinition resources, `apiextensions/v1beta1` + // or`apiextensions/v1`. K8sVersion string `json:"k8sVersion,omitempty"` // V1beta1Crd: Optional. Use `apiextensions/v1beta1` instead of // `apiextensions/v1` for CustomResourceDefinition resources. This option @@ -1688,9 +1693,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/gkehub/v2/gkehub-api.json b/gkehub/v2/gkehub-api.json index a08bab3a8f2..c8a1217f224 100644 --- a/gkehub/v2/gkehub-api.json +++ b/gkehub/v2/gkehub-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -477,7 +477,7 @@ } } }, - "revision": "20250829", + "revision": "20250907", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/gkehub/v2/gkehub-gen.go b/gkehub/v2/gkehub-gen.go index 992c74d7b60..9bbb60c9f1d 100644 --- a/gkehub/v2/gkehub-gen.go +++ b/gkehub/v2/gkehub-gen.go @@ -3733,9 +3733,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/gkehub/v2beta/gkehub-api.json b/gkehub/v2beta/gkehub-api.json index ed2a2eb0ba2..f8844279d8a 100644 --- a/gkehub/v2beta/gkehub-api.json +++ b/gkehub/v2beta/gkehub-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -477,7 +477,7 @@ } } }, - "revision": "20250829", + "revision": "20250907", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/gkehub/v2beta/gkehub-gen.go b/gkehub/v2beta/gkehub-gen.go index 795e30953fb..241bc331203 100644 --- a/gkehub/v2beta/gkehub-gen.go +++ b/gkehub/v2beta/gkehub-gen.go @@ -3733,9 +3733,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/logging/v2/logging-api.json b/logging/v2/logging-api.json index 4836e9f91f3..3900a0732a0 100644 --- a/logging/v2/logging-api.json +++ b/logging/v2/logging-api.json @@ -620,7 +620,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -2452,7 +2452,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -3216,7 +3216,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent project in which to create the log scope \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", + "description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, @@ -3245,7 +3245,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", + "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$", "required": true, @@ -3271,7 +3271,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", + "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$", "required": true, @@ -4039,7 +4039,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5282,7 +5282,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -6046,7 +6046,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent project in which to create the log scope \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", + "description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -6075,7 +6075,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", + "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$", "required": true, @@ -6101,7 +6101,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", + "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$", "required": true, @@ -7090,7 +7090,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -7854,7 +7854,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent project in which to create the log scope \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", + "description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -7883,7 +7883,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", + "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$", "required": true, @@ -7909,7 +7909,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", + "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$", "required": true, @@ -9112,7 +9112,7 @@ } } }, - "revision": "20250829", + "revision": "20250905", "rootUrl": "https://logging.googleapis.com/", "schemas": { "AppHub": { @@ -10662,7 +10662,7 @@ "type": "string" }, "resourceNames": { - "description": "Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.", + "description": "Required. Names of one or more parent resources (organizations and folders are not supported.): projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.", "items": { "type": "string" }, diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index 897f2bf892b..c1b928d45be 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -3228,8 +3228,9 @@ type LogScope struct { // available in the global location. For // example:projects/my-project/locations/global/logScopes/my-log-scope Name string `json:"name,omitempty"` - // ResourceNames: Required. Names of one or more parent resources: - // projects/[PROJECT_ID]May alternatively be one or more views: + // ResourceNames: Required. Names of one or more parent resources + // (organizations and folders are not supported.): projects/[PROJECT_ID]May + // alternatively be one or more views: // projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW // _ID]A log scope can include a maximum of 5 projects and a maximum of 100 // resources in total. @@ -5711,9 +5712,9 @@ func (r *BillingAccountsLocationsService) List(name string) *BillingAccountsLoca return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *BillingAccountsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *BillingAccountsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -12461,9 +12462,9 @@ func (r *FoldersLocationsService) List(name string) *FoldersLocationsListCall { return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *FoldersLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *FoldersLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -15162,8 +15163,10 @@ type FoldersLocationsLogScopesCreateCall struct { // Create: Creates a log scope. // -// - parent: The parent project in which to create the log scope -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For +// - parent: The parent resource in which to create the log scope: +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For // example:"projects/my-project/locations/global". func (r *FoldersLocationsLogScopesService) Create(parent string, logscope *LogScope) *FoldersLocationsLogScopesCreateCall { c := &FoldersLocationsLogScopesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -15276,8 +15279,10 @@ type FoldersLocationsLogScopesDeleteCall struct { // Delete: Deletes a log scope. // // - name: The resource name of the log scope to delete: -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" -// For example:"projects/my-project/locations/global/logScopes/my-log-scope". +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For +// example:"projects/my-project/locations/global/logScopes/my-log-scope". func (r *FoldersLocationsLogScopesService) Delete(name string) *FoldersLocationsLogScopesDeleteCall { c := &FoldersLocationsLogScopesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -15376,8 +15381,10 @@ type FoldersLocationsLogScopesGetCall struct { // Get: Gets a log scope. // // - name: The resource name of the log scope: -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" -// For example:"projects/my-project/locations/global/logScopes/my-log-scope". +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For +// example:"projects/my-project/locations/global/logScopes/my-log-scope". func (r *FoldersLocationsLogScopesService) Get(name string) *FoldersLocationsLogScopesGetCall { c := &FoldersLocationsLogScopesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -18149,9 +18156,9 @@ func (r *LocationsService) List(name string) *LocationsListCall { return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *LocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *LocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -22682,9 +22689,9 @@ func (r *OrganizationsLocationsService) List(name string) *OrganizationsLocation return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *OrganizationsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *OrganizationsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -25383,8 +25390,10 @@ type OrganizationsLocationsLogScopesCreateCall struct { // Create: Creates a log scope. // -// - parent: The parent project in which to create the log scope -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For +// - parent: The parent resource in which to create the log scope: +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For // example:"projects/my-project/locations/global". func (r *OrganizationsLocationsLogScopesService) Create(parent string, logscope *LogScope) *OrganizationsLocationsLogScopesCreateCall { c := &OrganizationsLocationsLogScopesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -25497,8 +25506,10 @@ type OrganizationsLocationsLogScopesDeleteCall struct { // Delete: Deletes a log scope. // // - name: The resource name of the log scope to delete: -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" -// For example:"projects/my-project/locations/global/logScopes/my-log-scope". +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For +// example:"projects/my-project/locations/global/logScopes/my-log-scope". func (r *OrganizationsLocationsLogScopesService) Delete(name string) *OrganizationsLocationsLogScopesDeleteCall { c := &OrganizationsLocationsLogScopesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -25597,8 +25608,10 @@ type OrganizationsLocationsLogScopesGetCall struct { // Get: Gets a log scope. // // - name: The resource name of the log scope: -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" -// For example:"projects/my-project/locations/global/logScopes/my-log-scope". +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For +// example:"projects/my-project/locations/global/logScopes/my-log-scope". func (r *OrganizationsLocationsLogScopesService) Get(name string) *OrganizationsLocationsLogScopesGetCall { c := &OrganizationsLocationsLogScopesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -29207,9 +29220,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -31908,8 +31921,10 @@ type ProjectsLocationsLogScopesCreateCall struct { // Create: Creates a log scope. // -// - parent: The parent project in which to create the log scope -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For +// - parent: The parent resource in which to create the log scope: +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For // example:"projects/my-project/locations/global". func (r *ProjectsLocationsLogScopesService) Create(parent string, logscope *LogScope) *ProjectsLocationsLogScopesCreateCall { c := &ProjectsLocationsLogScopesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -32022,8 +32037,10 @@ type ProjectsLocationsLogScopesDeleteCall struct { // Delete: Deletes a log scope. // // - name: The resource name of the log scope to delete: -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" -// For example:"projects/my-project/locations/global/logScopes/my-log-scope". +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For +// example:"projects/my-project/locations/global/logScopes/my-log-scope". func (r *ProjectsLocationsLogScopesService) Delete(name string) *ProjectsLocationsLogScopesDeleteCall { c := &ProjectsLocationsLogScopesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -32122,8 +32139,10 @@ type ProjectsLocationsLogScopesGetCall struct { // Get: Gets a log scope. // // - name: The resource name of the log scope: -// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" -// For example:"projects/my-project/locations/global/logScopes/my-log-scope". +// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" +// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" +// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For +// example:"projects/my-project/locations/global/logScopes/my-log-scope". func (r *ProjectsLocationsLogScopesService) Get(name string) *ProjectsLocationsLogScopesGetCall { c := &ProjectsLocationsLogScopesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/oracledatabase/v1/oracledatabase-api.json b/oracledatabase/v1/oracledatabase-api.json index 5e7f13dfff6..2ca758555d3 100644 --- a/oracledatabase/v1/oracledatabase-api.json +++ b/oracledatabase/v1/oracledatabase-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -733,6 +733,16 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. An expression for ordering the results of the request.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of items to return. If unspecified, at most 50 Exadata infrastructures will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -1000,6 +1010,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Only the gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id=\"{gcp_oracle_zone_id}\"`.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -1081,7 +1096,7 @@ ], "parameters": { "filter": { - "description": "Optional. An expression for filtering the results of the request. Only the shape and gi_version fields are supported in this format: `shape=\"{shape}\"`.", + "description": "Optional. An expression for filtering the results of the request. Only the shape, gcp_oracle_zone and gi_version fields are supported in this format: `shape=\"{shape}\"`.", "location": "query", "type": "string" }, @@ -1530,7 +1545,7 @@ } } }, - "revision": "20250901", + "revision": "20250910", "rootUrl": "https://oracledatabase.googleapis.com/", "schemas": { "AllConnectionStrings": { @@ -4171,6 +4186,10 @@ "readOnly": true, "type": "string" }, + "gcpOracleZone": { + "description": "Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" diff --git a/oracledatabase/v1/oracledatabase-gen.go b/oracledatabase/v1/oracledatabase-gen.go index 9e967ce63eb..4532ec9b27d 100644 --- a/oracledatabase/v1/oracledatabase-gen.go +++ b/oracledatabase/v1/oracledatabase-gen.go @@ -2729,6 +2729,10 @@ type OdbNetwork struct { // EntitlementId: Output only. The ID of the subscription entitlement // associated with the OdbNetwork. EntitlementId string `json:"entitlementId,omitempty"` + // GcpOracleZone: Optional. The GCP Oracle zone where OdbNetwork is hosted. + // Example: us-east4-b-r2. If not specified, the system will pick a zone based + // on availability. + GcpOracleZone string `json:"gcpOracleZone,omitempty"` // Labels: Optional. Labels or tags associated with the resource. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. The name of the OdbNetwork resource in the following @@ -3266,9 +3270,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// 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. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -5400,6 +5404,20 @@ func (r *ProjectsLocationsCloudExadataInfrastructuresService) List(parent string return c } +// Filter sets the optional parameter "filter": An expression for filtering the +// results of the request. +func (c *ProjectsLocationsCloudExadataInfrastructuresListCall) Filter(filter string) *ProjectsLocationsCloudExadataInfrastructuresListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": An expression for ordering +// the results of the request. +func (c *ProjectsLocationsCloudExadataInfrastructuresListCall) OrderBy(orderBy string) *ProjectsLocationsCloudExadataInfrastructuresListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number of items // to return. If unspecified, at most 50 Exadata infrastructures will be // returned. The maximum value is 1000; values above 1000 will be coerced to @@ -6353,6 +6371,14 @@ func (r *ProjectsLocationsDbSystemShapesService) List(parent string) *ProjectsLo return c } +// Filter sets the optional parameter "filter": An expression for filtering the +// results of the request. Only the gcp_oracle_zone_id field is supported in +// this format: `gcp_oracle_zone_id="{gcp_oracle_zone_id}". +func (c *ProjectsLocationsDbSystemShapesListCall) Filter(filter string) *ProjectsLocationsDbSystemShapesListCall { + c.urlParams_.Set("filter", filter) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number of items // to return. If unspecified, at most 50 database system shapes will be // returned. The maximum value is 1000; values above 1000 will be coerced to @@ -6650,8 +6676,8 @@ func (r *ProjectsLocationsGiVersionsService) List(parent string) *ProjectsLocati } // Filter sets the optional parameter "filter": An expression for filtering the -// results of the request. Only the shape and gi_version fields are supported -// in this format: `shape="{shape}". +// results of the request. Only the shape, gcp_oracle_zone and gi_version +// fields are supported in this format: `shape="{shape}". func (c *ProjectsLocationsGiVersionsListCall) Filter(filter string) *ProjectsLocationsGiVersionsListCall { c.urlParams_.Set("filter", filter) return c diff --git a/run/v2/run-api.json b/run/v2/run-api.json index b968e752b7a..54f4db0f432 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -186,6 +186,11 @@ "endpointUrl": "https://us-central1-run.googleapis.com/", "location": "us-central1" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://us-central2-run.googleapis.com/", + "location": "us-central2" + }, { "description": "Locational Endpoint", "endpointUrl": "https://us-east1-run.googleapis.com/", @@ -201,6 +206,11 @@ "endpointUrl": "https://us-east5-run.googleapis.com/", "location": "us-east5" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://us-east7-run.googleapis.com/", + "location": "us-east7" + }, { "description": "Locational Endpoint", "endpointUrl": "https://us-south1-run.googleapis.com/", @@ -225,6 +235,11 @@ "description": "Locational Endpoint", "endpointUrl": "https://us-west4-run.googleapis.com/", "location": "us-west4" + }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://us-west8-run.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -1922,7 +1937,7 @@ } } }, - "revision": "20250829", + "revision": "20250905", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": {