From 239c70224b428fc2d44424ab972135ff90a30a80 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 15 Apr 2024 15:33:09 -0600 Subject: [PATCH 1/6] feat(gen): Add internaloption.EnableNewAuthLibrary * Exclude bigquery and storage clients. --- google-api-go-generator/gen.go | 10 +++++++++- google-api-go-generator/testdata/any.want | 2 +- google-api-go-generator/testdata/arrayofarray-1.want | 2 +- google-api-go-generator/testdata/arrayofenum.want | 2 +- .../testdata/arrayofmapofobjects.want | 2 +- .../testdata/arrayofmapofstrings.want | 2 +- google-api-go-generator/testdata/blogger-3.want | 2 +- google-api-go-generator/testdata/floats.want | 2 +- google-api-go-generator/testdata/getwithoutbody.want | 2 +- google-api-go-generator/testdata/http-body.want | 2 +- google-api-go-generator/testdata/json-body.want | 2 +- google-api-go-generator/testdata/mapofany.want | 2 +- .../testdata/mapofarrayofobjects.want | 2 +- .../testdata/mapofint64strings.want | 2 +- google-api-go-generator/testdata/mapofobjects.want | 2 +- google-api-go-generator/testdata/mapofstrings-1.want | 2 +- google-api-go-generator/testdata/param-rename.want | 2 +- google-api-go-generator/testdata/quotednum.want | 2 +- google-api-go-generator/testdata/repeated.want | 2 +- google-api-go-generator/testdata/required-query.want | 2 +- .../testdata/resource-named-service.want | 2 +- .../testdata/unfortunatedefaults.want | 2 +- google-api-go-generator/testdata/variants.want | 2 +- google-api-go-generator/testdata/wrapnewlines.want | 2 +- 24 files changed, 32 insertions(+), 24 deletions(-) diff --git a/google-api-go-generator/gen.go b/google-api-go-generator/gen.go index 7041c903a0a..644ad3f6955 100644 --- a/google-api-go-generator/gen.go +++ b/google-api-go-generator/gen.go @@ -74,6 +74,12 @@ var skipAPIGeneration = map[string]bool{ "datalineage:v1": true, } +// skipNewAuthLibrary is a set of APIs to not migrate to cloud.google.com/go/auth. +var skipNewAuthLibrary = map[string]bool{ + "bigquery:v2": true, + "storage:v1": true, +} + // API represents an API to generate, as well as its state while it's // generating. type API struct { @@ -805,7 +811,9 @@ func (a *API) GenerateCode() ([]byte, error) { if a.mtlsAPIBaseURL() != "" { pn("opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))") } - pn("opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain))") + if !skipNewAuthLibrary[a.ID] { + pn("opts = append(opts, internaloption.EnableNewAuthLibrary())") + } pn("client, endpoint, err := htransport.NewClient(ctx, opts...)") pn("if err != nil { return nil, err }") pn("s, err := New(client)") diff --git a/google-api-go-generator/testdata/any.want b/google-api-go-generator/testdata/any.want index 89afeae5510..f3f6bfe6224 100644 --- a/google-api-go-generator/testdata/any.want +++ b/google-api-go-generator/testdata/any.want @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/arrayofarray-1.want b/google-api-go-generator/testdata/arrayofarray-1.want index cf1df01b664..86772f9c65d 100644 --- a/google-api-go-generator/testdata/arrayofarray-1.want +++ b/google-api-go-generator/testdata/arrayofarray-1.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/arrayofenum.want b/google-api-go-generator/testdata/arrayofenum.want index 67aaccfa911..674a853526f 100644 --- a/google-api-go-generator/testdata/arrayofenum.want +++ b/google-api-go-generator/testdata/arrayofenum.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/arrayofmapofobjects.want b/google-api-go-generator/testdata/arrayofmapofobjects.want index 080a30e3054..c42790c3afb 100644 --- a/google-api-go-generator/testdata/arrayofmapofobjects.want +++ b/google-api-go-generator/testdata/arrayofmapofobjects.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/arrayofmapofstrings.want b/google-api-go-generator/testdata/arrayofmapofstrings.want index 6eb5afef3d0..f5829680b9d 100644 --- a/google-api-go-generator/testdata/arrayofmapofstrings.want +++ b/google-api-go-generator/testdata/arrayofmapofstrings.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/blogger-3.want b/google-api-go-generator/testdata/blogger-3.want index c9f283836b4..394f121a08b 100644 --- a/google-api-go-generator/testdata/blogger-3.want +++ b/google-api-go-generator/testdata/blogger-3.want @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/floats.want b/google-api-go-generator/testdata/floats.want index 6ffbe1ffd35..2f316c15647 100644 --- a/google-api-go-generator/testdata/floats.want +++ b/google-api-go-generator/testdata/floats.want @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/getwithoutbody.want b/google-api-go-generator/testdata/getwithoutbody.want index 6fbc8d85787..6c273230a3b 100644 --- a/google-api-go-generator/testdata/getwithoutbody.want +++ b/google-api-go-generator/testdata/getwithoutbody.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/http-body.want b/google-api-go-generator/testdata/http-body.want index 451f2726e00..d7943799e9e 100644 --- a/google-api-go-generator/testdata/http-body.want +++ b/google-api-go-generator/testdata/http-body.want @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/json-body.want b/google-api-go-generator/testdata/json-body.want index fe8dc9b136f..884cb14869c 100644 --- a/google-api-go-generator/testdata/json-body.want +++ b/google-api-go-generator/testdata/json-body.want @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/mapofany.want b/google-api-go-generator/testdata/mapofany.want index fe2b12613a8..59393ee6b50 100644 --- a/google-api-go-generator/testdata/mapofany.want +++ b/google-api-go-generator/testdata/mapofany.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/mapofarrayofobjects.want b/google-api-go-generator/testdata/mapofarrayofobjects.want index 1d7f6760e31..e7d9f077bcf 100644 --- a/google-api-go-generator/testdata/mapofarrayofobjects.want +++ b/google-api-go-generator/testdata/mapofarrayofobjects.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/mapofint64strings.want b/google-api-go-generator/testdata/mapofint64strings.want index 5ae9afb4efb..f4f9d4ec5d4 100644 --- a/google-api-go-generator/testdata/mapofint64strings.want +++ b/google-api-go-generator/testdata/mapofint64strings.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/mapofobjects.want b/google-api-go-generator/testdata/mapofobjects.want index 4604a2ad767..38506bb2f82 100644 --- a/google-api-go-generator/testdata/mapofobjects.want +++ b/google-api-go-generator/testdata/mapofobjects.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/mapofstrings-1.want b/google-api-go-generator/testdata/mapofstrings-1.want index cef93265ba0..c487c3dd9fb 100644 --- a/google-api-go-generator/testdata/mapofstrings-1.want +++ b/google-api-go-generator/testdata/mapofstrings-1.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/param-rename.want b/google-api-go-generator/testdata/param-rename.want index e5e7663fa69..b2e8ccbe137 100644 --- a/google-api-go-generator/testdata/param-rename.want +++ b/google-api-go-generator/testdata/param-rename.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/quotednum.want b/google-api-go-generator/testdata/quotednum.want index 14044ba7d07..8692c7b5e01 100644 --- a/google-api-go-generator/testdata/quotednum.want +++ b/google-api-go-generator/testdata/quotednum.want @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/repeated.want b/google-api-go-generator/testdata/repeated.want index a041ce12084..5cfa0845370 100644 --- a/google-api-go-generator/testdata/repeated.want +++ b/google-api-go-generator/testdata/repeated.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/required-query.want b/google-api-go-generator/testdata/required-query.want index eb9388175e1..f4cc9c3ba29 100644 --- a/google-api-go-generator/testdata/required-query.want +++ b/google-api-go-generator/testdata/required-query.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/resource-named-service.want b/google-api-go-generator/testdata/resource-named-service.want index 0d302231afc..cb57a9f9cc8 100644 --- a/google-api-go-generator/testdata/resource-named-service.want +++ b/google-api-go-generator/testdata/resource-named-service.want @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/unfortunatedefaults.want b/google-api-go-generator/testdata/unfortunatedefaults.want index eb818405175..f819df4f523 100644 --- a/google-api-go-generator/testdata/unfortunatedefaults.want +++ b/google-api-go-generator/testdata/unfortunatedefaults.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/variants.want b/google-api-go-generator/testdata/variants.want index 4f755de34aa..f0bc8c6a114 100644 --- a/google-api-go-generator/testdata/variants.want +++ b/google-api-go-generator/testdata/variants.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/google-api-go-generator/testdata/wrapnewlines.want b/google-api-go-generator/testdata/wrapnewlines.want index cb28116fa63..febcd29ce7e 100644 --- a/google-api-go-generator/testdata/wrapnewlines.want +++ b/google-api-go-generator/testdata/wrapnewlines.want @@ -95,7 +95,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err From 9b65053a44aa53727b6587d3cec6a0b2c3fadaed Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 15 Apr 2024 15:48:28 -0600 Subject: [PATCH 2/6] Regen all APIs --- .../v1/abusiveexperiencereport-gen.go | 2 +- .../v1/acceleratedmobilepageurl-gen.go | 2 +- accessapproval/v1/accessapproval-gen.go | 2 +- .../v1/accesscontextmanager-gen.go | 2 +- acmedns/v1/acmedns-gen.go | 2 +- addressvalidation/v1/addressvalidation-gen.go | 2 +- .../v2beta1/adexchangebuyer2-gen.go | 2 +- .../v1/adexperiencereport-gen.go | 2 +- admin/datatransfer/v1/admin-gen.go | 2 +- admin/directory/v1/admin-gen.go | 2 +- admin/reports/v1/admin-gen.go | 2 +- admob/v1/admob-gen.go | 2 +- admob/v1beta/admob-gen.go | 2 +- adsense/v2/adsense-gen.go | 2 +- adsensehost/v4.1/adsensehost-gen.go | 2 +- .../v1/advisorynotifications-gen.go | 2 +- aiplatform/v1/aiplatform-gen.go | 2 +- aiplatform/v1beta1/aiplatform-gen.go | 2 +- alertcenter/v1beta1/alertcenter-gen.go | 2 +- alloydb/v1/alloydb-gen.go | 2 +- alloydb/v1alpha/alloydb-gen.go | 2 +- alloydb/v1beta/alloydb-gen.go | 2 +- analytics/v3/analytics-gen.go | 2 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 2 +- analyticsadmin/v1beta/analyticsadmin-gen.go | 2 +- analyticsdata/v1beta/analyticsdata-gen.go | 2 +- analyticshub/v1/analyticshub-gen.go | 2 +- analyticshub/v1beta1/analyticshub-gen.go | 2 +- .../v4/analyticsreporting-gen.go | 2 +- .../v1/androiddeviceprovisioning-gen.go | 2 +- androidenterprise/v1/androidenterprise-gen.go | 2 +- androidmanagement/v1/androidmanagement-gen.go | 2 +- androidpublisher/v3/androidpublisher-gen.go | 2 +- apigateway/v1/apigateway-gen.go | 2 +- apigateway/v1beta/apigateway-gen.go | 2 +- apigee/v1/apigee-gen.go | 2 +- apigeeregistry/v1/apigeeregistry-gen.go | 2 +- apikeys/v2/apikeys-gen.go | 2 +- appengine/v1/appengine-gen.go | 2 +- appengine/v1alpha/appengine-gen.go | 2 +- appengine/v1beta/appengine-gen.go | 2 +- apphub/v1/apphub-gen.go | 2 +- apphub/v1alpha/apphub-gen.go | 2 +- area120tables/v1alpha1/area120tables-gen.go | 2 +- artifactregistry/v1/artifactregistry-gen.go | 2 +- .../v1beta1/artifactregistry-gen.go | 2 +- .../v1beta2/artifactregistry-gen.go | 2 +- assuredworkloads/v1/assuredworkloads-gen.go | 2 +- .../v1beta1/assuredworkloads-gen.go | 2 +- .../v1/authorizedbuyersmarketplace-gen.go | 2 +- backupdr/v1/backupdr-gen.go | 2 +- baremetalsolution/v2/baremetalsolution-gen.go | 2 +- batch/v1/batch-gen.go | 2 +- beyondcorp/v1/beyondcorp-gen.go | 2 +- beyondcorp/v1alpha/beyondcorp-gen.go | 2 +- biglake/v1/biglake-gen.go | 2 +- bigquery/v2/bigquery-gen.go | 1 - .../v1/bigqueryconnection-gen.go | 2 +- .../v1beta1/bigqueryconnection-gen.go | 2 +- .../v1/bigquerydatapolicy-gen.go | 2 +- .../v1/bigquerydatatransfer-gen.go | 2 +- .../v1/bigqueryreservation-gen.go | 2 +- bigtableadmin/v2/bigtableadmin-gen.go | 2 +- billingbudgets/v1/billingbudgets-gen.go | 2 +- billingbudgets/v1beta1/billingbudgets-gen.go | 2 +- .../v1/binaryauthorization-gen.go | 2 +- .../v1beta1/binaryauthorization-gen.go | 2 +- .../v1/blockchainnodeengine-gen.go | 2 +- blogger/v2/blogger-gen.go | 2 +- blogger/v3/blogger-gen.go | 2 +- books/v1/books-gen.go | 2 +- .../v1/businessprofileperformance-gen.go | 2 +- calendar/v3/calendar-gen.go | 2 +- .../v1/certificatemanager-gen.go | 2 +- chat/v1/chat-gen.go | 2 +- checks/v1alpha/checks-gen.go | 2 +- chromemanagement/v1/chromemanagement-gen.go | 2 +- chromepolicy/v1/chromepolicy-gen.go | 2 +- chromeuxreport/v1/chromeuxreport-gen.go | 2 +- civicinfo/v2/civicinfo-gen.go | 2 +- classroom/v1/classroom-gen.go | 2 +- cloudasset/v1/cloudasset-gen.go | 2 +- cloudasset/v1beta1/cloudasset-gen.go | 2 +- cloudasset/v1p1beta1/cloudasset-gen.go | 2 +- cloudasset/v1p5beta1/cloudasset-gen.go | 2 +- cloudasset/v1p7beta1/cloudasset-gen.go | 2 +- cloudbilling/v1/cloudbilling-gen.go | 2 +- cloudbilling/v1beta/cloudbilling-gen.go | 2 +- cloudbuild/v1/cloudbuild-gen.go | 2 +- cloudbuild/v2/cloudbuild-gen.go | 2 +- cloudchannel/v1/cloudchannel-gen.go | 2 +- .../v1/cloudcontrolspartner-gen.go | 2 +- .../v1beta/cloudcontrolspartner-gen.go | 2 +- clouddeploy/v1/clouddeploy-gen.go | 2 +- .../v1beta1/clouderrorreporting-gen.go | 2 +- cloudfunctions/v1/cloudfunctions-gen.go | 2 +- cloudfunctions/v2/cloudfunctions-gen.go | 2 +- cloudfunctions/v2alpha/cloudfunctions-gen.go | 2 +- cloudfunctions/v2beta/cloudfunctions-gen.go | 2 +- cloudidentity/v1/cloudidentity-gen.go | 2 +- cloudidentity/v1beta1/cloudidentity-gen.go | 2 +- cloudkms/v1/cloudkms-gen.go | 2 +- cloudprofiler/v2/cloudprofiler-gen.go | 2 +- .../v1/cloudresourcemanager-gen.go | 2 +- .../v1beta1/cloudresourcemanager-gen.go | 2 +- .../v2/cloudresourcemanager-gen.go | 2 +- .../v2beta1/cloudresourcemanager-gen.go | 2 +- .../v3/cloudresourcemanager-gen.go | 2 +- cloudscheduler/v1/cloudscheduler-gen.go | 2 +- cloudscheduler/v1beta1/cloudscheduler-gen.go | 2 +- cloudsearch/v1/cloudsearch-gen.go | 2 +- cloudshell/v1/cloudshell-gen.go | 2 +- cloudsupport/v2/cloudsupport-gen.go | 2 +- cloudsupport/v2beta/cloudsupport-gen.go | 2 +- cloudtasks/v2/cloudtasks-gen.go | 2 +- cloudtasks/v2beta2/cloudtasks-gen.go | 2 +- cloudtasks/v2beta3/cloudtasks-gen.go | 2 +- cloudtrace/v1/cloudtrace-gen.go | 2 +- cloudtrace/v2/cloudtrace-gen.go | 2 +- cloudtrace/v2beta1/cloudtrace-gen.go | 2 +- composer/v1/composer-gen.go | 2 +- composer/v1beta1/composer-gen.go | 2 +- compute/v0.alpha/compute-gen.go | 2 +- compute/v0.beta/compute-gen.go | 2 +- compute/v1/compute-gen.go | 2 +- connectors/v1/connectors-gen.go | 2 +- connectors/v2/connectors-gen.go | 2 +- .../v1alpha1/contactcenteraiplatform-gen.go | 2 +- .../v1/contactcenterinsights-gen.go | 2 +- container/v1/container-gen.go | 2 +- container/v1beta1/container-gen.go | 2 +- containeranalysis/v1/containeranalysis-gen.go | 2 +- .../v1alpha1/containeranalysis-gen.go | 2 +- .../v1beta1/containeranalysis-gen.go | 2 +- content/v2.1/content-gen.go | 2 +- contentwarehouse/v1/contentwarehouse-gen.go | 2 +- customsearch/v1/customsearch-gen.go | 2 +- datacatalog/v1/datacatalog-gen.go | 2 +- datacatalog/v1beta1/datacatalog-gen.go | 2 +- dataflow/v1b3/dataflow-gen.go | 2 +- dataform/v1beta1/dataform-gen.go | 2 +- datafusion/v1/datafusion-gen.go | 2 +- datafusion/v1beta1/datafusion-gen.go | 2 +- datalabeling/v1beta1/datalabeling-gen.go | 2 +- datamigration/v1/datamigration-gen.go | 2 +- datamigration/v1beta1/datamigration-gen.go | 2 +- datapipelines/v1/datapipelines-gen.go | 2 +- dataplex/v1/dataplex-gen.go | 2 +- dataportability/v1/dataportability-gen.go | 2 +- dataportability/v1beta/dataportability-gen.go | 2 +- dataproc/v1/dataproc-gen.go | 2 +- datastore/v1/datastore-gen.go | 2 +- datastore/v1beta1/datastore-gen.go | 2 +- datastore/v1beta3/datastore-gen.go | 2 +- datastream/v1/datastream-gen.go | 2 +- datastream/v1alpha1/datastream-gen.go | 2 +- .../v0.alpha/deploymentmanager-gen.go | 2 +- deploymentmanager/v2/deploymentmanager-gen.go | 2 +- .../v2beta/deploymentmanager-gen.go | 2 +- dfareporting/v3.5/dfareporting-gen.go | 2 +- dfareporting/v4/dfareporting-gen.go | 2 +- dialogflow/v2/dialogflow-gen.go | 2 +- dialogflow/v2beta1/dialogflow-gen.go | 2 +- dialogflow/v3/dialogflow-gen.go | 2 +- dialogflow/v3beta1/dialogflow-gen.go | 2 +- digitalassetlinks/v1/digitalassetlinks-gen.go | 2 +- discovery/v1/discovery-gen.go | 2 +- discoveryengine/v1/discoveryengine-gen.go | 2 +- .../v1alpha/discoveryengine-gen.go | 2 +- discoveryengine/v1beta/discoveryengine-gen.go | 2 +- displayvideo/v2/displayvideo-gen.go | 2 +- displayvideo/v3/displayvideo-gen.go | 2 +- dlp/v2/dlp-gen.go | 2 +- dns/v1/dns-gen.go | 2 +- dns/v1beta2/dns-gen.go | 2 +- docs/v1/docs-gen.go | 2 +- documentai/v1/documentai-gen.go | 2 +- documentai/v1beta2/documentai-gen.go | 2 +- documentai/v1beta3/documentai-gen.go | 2 +- domains/v1/domains-gen.go | 2 +- domains/v1alpha2/domains-gen.go | 2 +- domains/v1beta1/domains-gen.go | 2 +- domainsrdap/v1/domainsrdap-gen.go | 2 +- .../v2/doubleclickbidmanager-gen.go | 2 +- doubleclicksearch/v2/doubleclicksearch-gen.go | 2 +- drive/v2/drive-gen.go | 2 +- drive/v3/drive-gen.go | 2 +- driveactivity/v2/driveactivity-gen.go | 2 +- drivelabels/v2/drivelabels-gen.go | 2 +- drivelabels/v2beta/drivelabels-gen.go | 2 +- essentialcontacts/v1/essentialcontacts-gen.go | 2 +- eventarc/v1/eventarc-gen.go | 2 +- eventarc/v1beta1/eventarc-gen.go | 2 +- factchecktools/v1alpha1/factchecktools-gen.go | 2 +- fcm/v1/fcm-gen.go | 2 +- fcmdata/v1beta1/fcmdata-gen.go | 2 +- file/v1/file-gen.go | 2 +- file/v1beta1/file-gen.go | 2 +- firebase/v1beta1/firebase-gen.go | 2 +- firebaseappcheck/v1/firebaseappcheck-gen.go | 2 +- .../v1beta/firebaseappcheck-gen.go | 2 +- .../v1/firebaseappdistribution-gen.go | 2 +- .../v1alpha/firebaseappdistribution-gen.go | 2 +- .../v1beta/firebasedatabase-gen.go | 2 +- .../v1/firebasedynamiclinks-gen.go | 2 +- firebasehosting/v1/firebasehosting-gen.go | 2 +- .../v1beta1/firebasehosting-gen.go | 2 +- firebaseml/v1/firebaseml-gen.go | 2 +- firebaseml/v1beta2/firebaseml-gen.go | 2 +- firebaseml/v2beta/firebaseml-gen.go | 2 +- firebaserules/v1/firebaserules-gen.go | 2 +- firebasestorage/v1beta/firebasestorage-gen.go | 2 +- firestore/v1/firestore-gen.go | 2 +- firestore/v1beta1/firestore-gen.go | 2 +- firestore/v1beta2/firestore-gen.go | 2 +- fitness/v1/fitness-gen.go | 2 +- forms/v1/forms-gen.go | 2 +- games/v1/games-gen.go | 2 +- .../v1configuration/gamesconfiguration-gen.go | 2 +- .../v1management/gamesmanagement-gen.go | 2 +- gkebackup/v1/gkebackup-gen.go | 2 +- gkehub/v1/gkehub-gen.go | 2 +- gkehub/v1alpha/gkehub-gen.go | 2 +- gkehub/v1beta/gkehub-gen.go | 2 +- gkehub/v1beta1/gkehub-gen.go | 2 +- gkehub/v2alpha/gkehub-gen.go | 2 +- gkeonprem/v1/gkeonprem-gen.go | 2 +- gmail/v1/gmail-gen.go | 2 +- .../v1/gmailpostmastertools-gen.go | 2 +- .../v1beta1/gmailpostmastertools-gen.go | 2 +- groupsmigration/v1/groupsmigration-gen.go | 2 +- groupssettings/v1/groupssettings-gen.go | 2 +- healthcare/v1/healthcare-gen.go | 2 +- healthcare/v1beta1/healthcare-gen.go | 2 +- homegraph/v1/homegraph-gen.go | 2 +- iam/v1/iam-gen.go | 2 +- iam/v2/iam-gen.go | 2 +- iam/v2beta/iam-gen.go | 2 +- iamcredentials/v1/iamcredentials-gen.go | 2 +- iap/v1/iap-gen.go | 2 +- iap/v1beta1/iap-gen.go | 2 +- identitytoolkit/v1/identitytoolkit-gen.go | 2 +- identitytoolkit/v2/identitytoolkit-gen.go | 2 +- identitytoolkit/v3/identitytoolkit-gen.go | 2 +- ids/v1/ids-gen.go | 2 +- indexing/v3/indexing-gen.go | 2 +- jobs/v3/jobs-gen.go | 2 +- jobs/v3p1beta1/jobs-gen.go | 2 +- jobs/v4/jobs-gen.go | 2 +- keep/v1/keep-gen.go | 2 +- kgsearch/v1/kgsearch-gen.go | 2 +- kmsinventory/v1/kmsinventory-gen.go | 2 +- language/v1/language-gen.go | 2 +- language/v1beta2/language-gen.go | 2 +- language/v2/language-gen.go | 2 +- libraryagent/v1/libraryagent-gen.go | 2 +- licensing/v1/licensing-gen.go | 2 +- lifesciences/v2beta/lifesciences-gen.go | 2 +- localservices/v1/localservices-gen.go | 2 +- logging/v2/logging-gen.go | 2 +- looker/v1/looker-gen.go | 2 +- managedidentities/v1/managedidentities-gen.go | 2 +- .../v1alpha1/managedidentities-gen.go | 2 +- .../v1beta1/managedidentities-gen.go | 2 +- manufacturers/v1/manufacturers-gen.go | 2 +- .../v1alpha/marketingplatformadmin-gen.go | 2 +- memcache/v1/memcache-gen.go | 2 +- memcache/v1beta2/memcache-gen.go | 2 +- metastore/v1/metastore-gen.go | 2 +- metastore/v1alpha/metastore-gen.go | 2 +- metastore/v1beta/metastore-gen.go | 2 +- migrationcenter/v1/migrationcenter-gen.go | 2 +- .../v1alpha1/migrationcenter-gen.go | 2 +- ml/v1/ml-gen.go | 2 +- monitoring/v1/monitoring-gen.go | 2 +- monitoring/v3/monitoring-gen.go | 2 +- .../v1/mybusinessaccountmanagement-gen.go | 2 +- .../v1/mybusinessbusinessinformation-gen.go | 2 +- mybusinesslodging/v1/mybusinesslodging-gen.go | 2 +- .../v1/mybusinessnotifications-gen.go | 2 +- .../v1/mybusinessplaceactions-gen.go | 2 +- mybusinessqanda/v1/mybusinessqanda-gen.go | 2 +- .../v1/mybusinessverifications-gen.go | 2 +- .../v1/networkconnectivity-gen.go | 2 +- .../v1alpha1/networkconnectivity-gen.go | 2 +- networkmanagement/v1/networkmanagement-gen.go | 2 +- .../v1beta1/networkmanagement-gen.go | 2 +- networksecurity/v1/networksecurity-gen.go | 2 +- .../v1beta1/networksecurity-gen.go | 2 +- networkservices/v1/networkservices-gen.go | 2 +- .../v1beta1/networkservices-gen.go | 2 +- notebooks/v1/notebooks-gen.go | 2 +- notebooks/v2/notebooks-gen.go | 2 +- oauth2/v2/oauth2-gen.go | 2 +- ondemandscanning/v1/ondemandscanning-gen.go | 2 +- .../v1beta1/ondemandscanning-gen.go | 2 +- orgpolicy/v2/orgpolicy-gen.go | 2 +- osconfig/v1/osconfig-gen.go | 2 +- osconfig/v1alpha/osconfig-gen.go | 2 +- osconfig/v1beta/osconfig-gen.go | 2 +- oslogin/v1/oslogin-gen.go | 2 +- oslogin/v1alpha/oslogin-gen.go | 2 +- oslogin/v1beta/oslogin-gen.go | 2 +- pagespeedonline/v5/pagespeedonline-gen.go | 2 +- .../v1/paymentsresellersubscription-gen.go | 2 +- people/v1/people-gen.go | 2 +- places/v1/places-gen.go | 2 +- playcustomapp/v1/playcustomapp-gen.go | 2 +- .../v1alpha1/playdeveloperreporting-gen.go | 2 +- .../v1beta1/playdeveloperreporting-gen.go | 2 +- playgrouping/v1alpha1/playgrouping-gen.go | 2 +- playintegrity/v1/playintegrity-gen.go | 2 +- policyanalyzer/v1/policyanalyzer-gen.go | 2 +- policyanalyzer/v1beta1/policyanalyzer-gen.go | 2 +- policysimulator/v1/policysimulator-gen.go | 2 +- .../v1alpha/policysimulator-gen.go | 2 +- policysimulator/v1beta/policysimulator-gen.go | 2 +- .../v1/policytroubleshooter-gen.go | 2 +- .../v1beta/policytroubleshooter-gen.go | 2 +- poly/v1/poly-gen.go | 2 +- privateca/v1/privateca-gen.go | 2 +- privateca/v1beta1/privateca-gen.go | 2 +- .../v1alpha1/prod_tt_sasportal-gen.go | 2 +- publicca/v1/publicca-gen.go | 2 +- publicca/v1alpha1/publicca-gen.go | 2 +- publicca/v1beta1/publicca-gen.go | 2 +- pubsub/v1/pubsub-gen.go | 2 +- pubsub/v1beta1a/pubsub-gen.go | 2 +- pubsub/v1beta2/pubsub-gen.go | 2 +- pubsublite/v1/pubsublite-gen.go | 2 +- .../v1/rapidmigrationassessment-gen.go | 2 +- .../readerrevenuesubscriptionlinking-gen.go | 2 +- realtimebidding/v1/realtimebidding-gen.go | 2 +- .../v1alpha/realtimebidding-gen.go | 31 ++++++++++++++----- .../v1/recaptchaenterprise-gen.go | 2 +- .../v1beta1/recommendationengine-gen.go | 2 +- recommender/v1/recommender-gen.go | 2 +- recommender/v1beta1/recommender-gen.go | 2 +- redis/v1/redis-gen.go | 2 +- redis/v1beta1/redis-gen.go | 2 +- reseller/v1/reseller-gen.go | 2 +- resourcesettings/v1/resourcesettings-gen.go | 2 +- retail/v2/retail-gen.go | 2 +- retail/v2alpha/retail-gen.go | 2 +- retail/v2beta/retail-gen.go | 2 +- run/v1/run-gen.go | 2 +- run/v2/run-gen.go | 2 +- runtimeconfig/v1/runtimeconfig-gen.go | 2 +- runtimeconfig/v1beta1/runtimeconfig-gen.go | 2 +- safebrowsing/v4/safebrowsing-gen.go | 2 +- safebrowsing/v5/safebrowsing-gen.go | 2 +- sasportal/v1alpha1/sasportal-gen.go | 2 +- script/v1/script-gen.go | 2 +- searchads360/v0/searchads360-gen.go | 2 +- searchconsole/v1/searchconsole-gen.go | 2 +- secretmanager/v1/secretmanager-gen.go | 2 +- secretmanager/v1beta1/secretmanager-gen.go | 2 +- secretmanager/v1beta2/secretmanager-gen.go | 2 +- securitycenter/v1/securitycenter-gen.go | 2 +- securitycenter/v1beta1/securitycenter-gen.go | 2 +- securitycenter/v1beta2/securitycenter-gen.go | 2 +- .../v1/serviceconsumermanagement-gen.go | 2 +- .../v1beta1/serviceconsumermanagement-gen.go | 2 +- servicecontrol/v1/servicecontrol-gen.go | 2 +- servicecontrol/v2/servicecontrol-gen.go | 2 +- servicedirectory/v1/servicedirectory-gen.go | 2 +- .../v1beta1/servicedirectory-gen.go | 2 +- servicemanagement/v1/servicemanagement-gen.go | 2 +- servicenetworking/v1/servicenetworking-gen.go | 2 +- .../v1beta/servicenetworking-gen.go | 2 +- serviceusage/v1/serviceusage-gen.go | 2 +- serviceusage/v1beta1/serviceusage-gen.go | 2 +- sheets/v4/sheets-gen.go | 2 +- siteverification/v1/siteverification-gen.go | 2 +- slides/v1/slides-gen.go | 2 +- .../v1/smartdevicemanagement-gen.go | 2 +- solar/v1/solar-gen.go | 2 +- sourcerepo/v1/sourcerepo-gen.go | 2 +- spanner/v1/spanner-gen.go | 2 +- speech/v1/speech-gen.go | 2 +- speech/v1p1beta1/speech-gen.go | 2 +- sqladmin/v1/sqladmin-gen.go | 2 +- sqladmin/v1beta4/sqladmin-gen.go | 2 +- storage/v1/storage-gen.go | 1 - storagetransfer/v1/storagetransfer-gen.go | 2 +- streetviewpublish/v1/streetviewpublish-gen.go | 2 +- sts/v1/sts-gen.go | 2 +- sts/v1beta/sts-gen.go | 2 +- tagmanager/v1/tagmanager-gen.go | 2 +- tagmanager/v2/tagmanager-gen.go | 2 +- tasks/v1/tasks-gen.go | 2 +- testing/v1/testing-gen.go | 2 +- texttospeech/v1/texttospeech-gen.go | 2 +- texttospeech/v1beta1/texttospeech-gen.go | 2 +- toolresults/v1beta3/toolresults-gen.go | 2 +- tpu/v1/tpu-gen.go | 2 +- tpu/v1alpha1/tpu-gen.go | 2 +- tpu/v2/tpu-gen.go | 2 +- tpu/v2alpha1/tpu-gen.go | 2 +- trafficdirector/v2/trafficdirector-gen.go | 2 +- trafficdirector/v3/trafficdirector-gen.go | 2 +- transcoder/v1/transcoder-gen.go | 2 +- translate/v2/translate-gen.go | 2 +- translate/v3/translate-gen.go | 2 +- translate/v3beta1/translate-gen.go | 2 +- travelimpactmodel/v1/travelimpactmodel-gen.go | 2 +- vault/v1/vault-gen.go | 2 +- verifiedaccess/v1/verifiedaccess-gen.go | 2 +- verifiedaccess/v2/verifiedaccess-gen.go | 2 +- versionhistory/v1/versionhistory-gen.go | 2 +- videointelligence/v1/videointelligence-gen.go | 2 +- .../v1beta2/videointelligence-gen.go | 2 +- .../v1p1beta1/videointelligence-gen.go | 2 +- .../v1p2beta1/videointelligence-gen.go | 2 +- .../v1p3beta1/videointelligence-gen.go | 2 +- vision/v1/vision-gen.go | 2 +- vision/v1p1beta1/vision-gen.go | 2 +- vision/v1p2beta1/vision-gen.go | 2 +- vmmigration/v1/vmmigration-gen.go | 2 +- vmmigration/v1alpha1/vmmigration-gen.go | 2 +- vmwareengine/v1/vmwareengine-gen.go | 2 +- vpcaccess/v1/vpcaccess-gen.go | 2 +- vpcaccess/v1beta1/vpcaccess-gen.go | 2 +- walletobjects/v1/walletobjects-gen.go | 2 +- webfonts/v1/webfonts-gen.go | 2 +- webrisk/v1/webrisk-gen.go | 2 +- .../v1/websecurityscanner-gen.go | 2 +- .../v1alpha/websecurityscanner-gen.go | 2 +- .../v1beta/websecurityscanner-gen.go | 2 +- .../v1/workflowexecutions-gen.go | 2 +- .../v1beta/workflowexecutions-gen.go | 2 +- workflows/v1/workflows-gen.go | 2 +- workflows/v1beta/workflows-gen.go | 2 +- workloadmanager/v1/workloadmanager-gen.go | 2 +- workspaceevents/v1/workspaceevents-gen.go | 2 +- workstations/v1/workstations-gen.go | 2 +- workstations/v1beta/workstations-gen.go | 2 +- youtube/v3/youtube-gen.go | 2 +- youtubeanalytics/v2/youtubeanalytics-gen.go | 2 +- youtubereporting/v1/youtubereporting-gen.go | 2 +- 440 files changed, 461 insertions(+), 446 deletions(-) diff --git a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go index 64854e9f30a..c4546509f52 100644 --- a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go +++ b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go index 090a8f1471d..8c82eb6e1de 100644 --- a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go +++ b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 145c20d227b..2654f6bf20c 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index d4f43d664b5..05ce78dc08e 100644 --- a/accesscontextmanager/v1/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1/accesscontextmanager-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/acmedns/v1/acmedns-gen.go b/acmedns/v1/acmedns-gen.go index e44751a7c39..bdf662ed2d3 100644 --- a/acmedns/v1/acmedns-gen.go +++ b/acmedns/v1/acmedns-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/addressvalidation/v1/addressvalidation-gen.go b/addressvalidation/v1/addressvalidation-gen.go index e0c21ec8d50..f955954c932 100644 --- a/addressvalidation/v1/addressvalidation-gen.go +++ b/addressvalidation/v1/addressvalidation-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go index 178d8e44d2d..d4e646d8a00 100644 --- a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go +++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/adexperiencereport/v1/adexperiencereport-gen.go b/adexperiencereport/v1/adexperiencereport-gen.go index 2a495d8f5a7..176501edcdb 100644 --- a/adexperiencereport/v1/adexperiencereport-gen.go +++ b/adexperiencereport/v1/adexperiencereport-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/admin/datatransfer/v1/admin-gen.go b/admin/datatransfer/v1/admin-gen.go index 0ac6802920b..9c3e774f8b4 100644 --- a/admin/datatransfer/v1/admin-gen.go +++ b/admin/datatransfer/v1/admin-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index 5cb2e9d5782..e10a6f0735c 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -229,7 +229,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/admin/reports/v1/admin-gen.go b/admin/reports/v1/admin-gen.go index a2d90fcca9d..69588ddeef7 100644 --- a/admin/reports/v1/admin-gen.go +++ b/admin/reports/v1/admin-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/admob/v1/admob-gen.go b/admob/v1/admob-gen.go index 0c6c59525ff..b134e108ad9 100644 --- a/admob/v1/admob-gen.go +++ b/admob/v1/admob-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/admob/v1beta/admob-gen.go b/admob/v1beta/admob-gen.go index f3fa6aa40b2..322abbf18c8 100644 --- a/admob/v1beta/admob-gen.go +++ b/admob/v1beta/admob-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/adsense/v2/adsense-gen.go b/adsense/v2/adsense-gen.go index 1e9cf69c5e3..b08e219eaca 100644 --- a/adsense/v2/adsense-gen.go +++ b/adsense/v2/adsense-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/adsensehost/v4.1/adsensehost-gen.go b/adsensehost/v4.1/adsensehost-gen.go index 2c2ccd9820a..6aa83ab58ac 100644 --- a/adsensehost/v4.1/adsensehost-gen.go +++ b/adsensehost/v4.1/adsensehost-gen.go @@ -108,7 +108,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/advisorynotifications/v1/advisorynotifications-gen.go b/advisorynotifications/v1/advisorynotifications-gen.go index 2421d8f3f3e..d5431ebaa50 100644 --- a/advisorynotifications/v1/advisorynotifications-gen.go +++ b/advisorynotifications/v1/advisorynotifications-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/aiplatform/v1/aiplatform-gen.go b/aiplatform/v1/aiplatform-gen.go index 48361b1f495..6409fbfb8a5 100644 --- a/aiplatform/v1/aiplatform-gen.go +++ b/aiplatform/v1/aiplatform-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/aiplatform/v1beta1/aiplatform-gen.go b/aiplatform/v1beta1/aiplatform-gen.go index 733370f497a..26a7a781b3b 100644 --- a/aiplatform/v1beta1/aiplatform-gen.go +++ b/aiplatform/v1beta1/aiplatform-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/alertcenter/v1beta1/alertcenter-gen.go b/alertcenter/v1beta1/alertcenter-gen.go index 32f0ea608b7..a0f654d52d8 100644 --- a/alertcenter/v1beta1/alertcenter-gen.go +++ b/alertcenter/v1beta1/alertcenter-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/alloydb/v1/alloydb-gen.go b/alloydb/v1/alloydb-gen.go index 79ee408f6c1..78ae5282acb 100644 --- a/alloydb/v1/alloydb-gen.go +++ b/alloydb/v1/alloydb-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/alloydb/v1alpha/alloydb-gen.go b/alloydb/v1alpha/alloydb-gen.go index 8c045d83ea2..d181ee7648b 100644 --- a/alloydb/v1alpha/alloydb-gen.go +++ b/alloydb/v1alpha/alloydb-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/alloydb/v1beta/alloydb-gen.go b/alloydb/v1beta/alloydb-gen.go index 5c79a40a179..611b9ef4148 100644 --- a/alloydb/v1beta/alloydb-gen.go +++ b/alloydb/v1beta/alloydb-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analytics/v3/analytics-gen.go b/analytics/v3/analytics-gen.go index de7051bb5fc..1b0d97ba2a8 100644 --- a/analytics/v3/analytics-gen.go +++ b/analytics/v3/analytics-gen.go @@ -138,7 +138,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 17e169cd437..8b0c65da27a 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -127,7 +127,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analyticsadmin/v1beta/analyticsadmin-gen.go b/analyticsadmin/v1beta/analyticsadmin-gen.go index 3c3b3c0feaa..aa41196871a 100644 --- a/analyticsadmin/v1beta/analyticsadmin-gen.go +++ b/analyticsadmin/v1beta/analyticsadmin-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analyticsdata/v1beta/analyticsdata-gen.go b/analyticsdata/v1beta/analyticsdata-gen.go index 54c32677322..80e83e5b38c 100644 --- a/analyticsdata/v1beta/analyticsdata-gen.go +++ b/analyticsdata/v1beta/analyticsdata-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analyticshub/v1/analyticshub-gen.go b/analyticshub/v1/analyticshub-gen.go index 5b5c2caa49d..238479612ea 100644 --- a/analyticshub/v1/analyticshub-gen.go +++ b/analyticshub/v1/analyticshub-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analyticshub/v1beta1/analyticshub-gen.go b/analyticshub/v1beta1/analyticshub-gen.go index 43c37ba5638..61a536e7330 100644 --- a/analyticshub/v1beta1/analyticshub-gen.go +++ b/analyticshub/v1beta1/analyticshub-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/analyticsreporting/v4/analyticsreporting-gen.go b/analyticsreporting/v4/analyticsreporting-gen.go index a45d416796a..b4299784b55 100644 --- a/analyticsreporting/v4/analyticsreporting-gen.go +++ b/analyticsreporting/v4/analyticsreporting-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go index 3d29584af5b..f03a6b756d2 100644 --- a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go +++ b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index 81db7266207..0a19dedbc0c 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index d424165d0e0..f989f8ef119 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 9dd46fc3880..b3bc7852f2c 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apigateway/v1/apigateway-gen.go b/apigateway/v1/apigateway-gen.go index 51a2eefb222..badb581d131 100644 --- a/apigateway/v1/apigateway-gen.go +++ b/apigateway/v1/apigateway-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apigateway/v1beta/apigateway-gen.go b/apigateway/v1beta/apigateway-gen.go index 593ad3a7c38..ca7a07ae9d4 100644 --- a/apigateway/v1beta/apigateway-gen.go +++ b/apigateway/v1beta/apigateway-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index a3cb32cf0c5..4b918f5b989 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apigeeregistry/v1/apigeeregistry-gen.go b/apigeeregistry/v1/apigeeregistry-gen.go index 847068b9f4c..6357b3140c9 100644 --- a/apigeeregistry/v1/apigeeregistry-gen.go +++ b/apigeeregistry/v1/apigeeregistry-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apikeys/v2/apikeys-gen.go b/apikeys/v2/apikeys-gen.go index c13c5fe9f19..242799cd860 100644 --- a/apikeys/v2/apikeys-gen.go +++ b/apikeys/v2/apikeys-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index e985eb0c522..ba68f538162 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -125,7 +125,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/appengine/v1alpha/appengine-gen.go b/appengine/v1alpha/appengine-gen.go index 4169606e789..a8223b50d7f 100644 --- a/appengine/v1alpha/appengine-gen.go +++ b/appengine/v1alpha/appengine-gen.go @@ -125,7 +125,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index 2889ec65fc3..d734746dadf 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -125,7 +125,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apphub/v1/apphub-gen.go b/apphub/v1/apphub-gen.go index 92bd2fa8178..2a1bc96bd00 100644 --- a/apphub/v1/apphub-gen.go +++ b/apphub/v1/apphub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/apphub/v1alpha/apphub-gen.go b/apphub/v1alpha/apphub-gen.go index 202c1f7af83..e51f5b8c60a 100644 --- a/apphub/v1alpha/apphub-gen.go +++ b/apphub/v1alpha/apphub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/area120tables/v1alpha1/area120tables-gen.go b/area120tables/v1alpha1/area120tables-gen.go index e526941077f..3b828ca0c7d 100644 --- a/area120tables/v1alpha1/area120tables-gen.go +++ b/area120tables/v1alpha1/area120tables-gen.go @@ -136,7 +136,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index add4244aeed..4addaae3b7f 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index 9d9a48d55e1..ccb61820beb 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index 41b7c0cd0f7..a31f7a6ccfe 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 8b11c1cda2c..b40bd6ae7b3 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/assuredworkloads/v1beta1/assuredworkloads-gen.go b/assuredworkloads/v1beta1/assuredworkloads-gen.go index a8769c7ea0a..6bae50debc4 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-gen.go +++ b/assuredworkloads/v1beta1/assuredworkloads-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go index f8b493b8397..c77c3452d32 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/backupdr/v1/backupdr-gen.go b/backupdr/v1/backupdr-gen.go index 484c4193997..00764bd9757 100644 --- a/backupdr/v1/backupdr-gen.go +++ b/backupdr/v1/backupdr-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/baremetalsolution/v2/baremetalsolution-gen.go b/baremetalsolution/v2/baremetalsolution-gen.go index 0c661e9bc46..03684108f3a 100644 --- a/baremetalsolution/v2/baremetalsolution-gen.go +++ b/baremetalsolution/v2/baremetalsolution-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index d667ec1d411..76eb89056f5 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/beyondcorp/v1/beyondcorp-gen.go b/beyondcorp/v1/beyondcorp-gen.go index c3a84af4d95..a4b2c6b4fb6 100644 --- a/beyondcorp/v1/beyondcorp-gen.go +++ b/beyondcorp/v1/beyondcorp-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index 603ab47eb53..bcab57ff424 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/biglake/v1/biglake-gen.go b/biglake/v1/biglake-gen.go index d2a047eae61..ba9ffb835cc 100644 --- a/biglake/v1/biglake-gen.go +++ b/biglake/v1/biglake-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 0e49c769bb6..35bfb548d7a 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -146,7 +146,6 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigqueryconnection/v1/bigqueryconnection-gen.go b/bigqueryconnection/v1/bigqueryconnection-gen.go index 7be1da7cdb9..56fcb9dc2a3 100644 --- a/bigqueryconnection/v1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1/bigqueryconnection-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go index 14bb490fd83..bfcfbce088e 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go b/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go index 9863bf0a1a2..49f15798b8c 100644 --- a/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go +++ b/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go index 674538bcbee..6e562cbcf6a 100644 --- a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go +++ b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go @@ -126,7 +126,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigqueryreservation/v1/bigqueryreservation-gen.go b/bigqueryreservation/v1/bigqueryreservation-gen.go index 8860bda0671..6df6d9797df 100644 --- a/bigqueryreservation/v1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1/bigqueryreservation-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index 0590e3ae5dd..4f911f0c619 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -149,7 +149,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/billingbudgets/v1/billingbudgets-gen.go b/billingbudgets/v1/billingbudgets-gen.go index c8483280715..ea6408910de 100644 --- a/billingbudgets/v1/billingbudgets-gen.go +++ b/billingbudgets/v1/billingbudgets-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/billingbudgets/v1beta1/billingbudgets-gen.go b/billingbudgets/v1beta1/billingbudgets-gen.go index f43aa7e3f38..dcff017d4ce 100644 --- a/billingbudgets/v1beta1/billingbudgets-gen.go +++ b/billingbudgets/v1beta1/billingbudgets-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/binaryauthorization/v1/binaryauthorization-gen.go b/binaryauthorization/v1/binaryauthorization-gen.go index 2e7d79df119..ee3e93b40cf 100644 --- a/binaryauthorization/v1/binaryauthorization-gen.go +++ b/binaryauthorization/v1/binaryauthorization-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/binaryauthorization/v1beta1/binaryauthorization-gen.go b/binaryauthorization/v1beta1/binaryauthorization-gen.go index 877eb70eaf5..68b814c86f7 100644 --- a/binaryauthorization/v1beta1/binaryauthorization-gen.go +++ b/binaryauthorization/v1beta1/binaryauthorization-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/blockchainnodeengine/v1/blockchainnodeengine-gen.go b/blockchainnodeengine/v1/blockchainnodeengine-gen.go index 811875625db..19fb51bf398 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-gen.go +++ b/blockchainnodeengine/v1/blockchainnodeengine-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/blogger/v2/blogger-gen.go b/blogger/v2/blogger-gen.go index 2fda4c4e4c9..8faf81dacca 100644 --- a/blogger/v2/blogger-gen.go +++ b/blogger/v2/blogger-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/blogger/v3/blogger-gen.go b/blogger/v3/blogger-gen.go index 891f8c73c32..abab7f9fa76 100644 --- a/blogger/v3/blogger-gen.go +++ b/blogger/v3/blogger-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/books/v1/books-gen.go b/books/v1/books-gen.go index fbc9feaab05..7a8f8f200c6 100644 --- a/books/v1/books-gen.go +++ b/books/v1/books-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/businessprofileperformance/v1/businessprofileperformance-gen.go b/businessprofileperformance/v1/businessprofileperformance-gen.go index 0f45a61b8a4..54c3f17c784 100644 --- a/businessprofileperformance/v1/businessprofileperformance-gen.go +++ b/businessprofileperformance/v1/businessprofileperformance-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/calendar/v3/calendar-gen.go b/calendar/v3/calendar-gen.go index 81bf8c77614..75cf76a4441 100644 --- a/calendar/v3/calendar-gen.go +++ b/calendar/v3/calendar-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/certificatemanager/v1/certificatemanager-gen.go b/certificatemanager/v1/certificatemanager-gen.go index cbdc2f28d03..55ccae26f58 100644 --- a/certificatemanager/v1/certificatemanager-gen.go +++ b/certificatemanager/v1/certificatemanager-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 886cd4fc486..1b04d07e620 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -174,7 +174,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index 9f56a8c05ef..2a9b8550635 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index c7849135ff8..61b2994d2bf 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -126,7 +126,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/chromepolicy/v1/chromepolicy-gen.go b/chromepolicy/v1/chromepolicy-gen.go index 8d4a8ebc935..362a704afdf 100644 --- a/chromepolicy/v1/chromepolicy-gen.go +++ b/chromepolicy/v1/chromepolicy-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/chromeuxreport/v1/chromeuxreport-gen.go b/chromeuxreport/v1/chromeuxreport-gen.go index e67ef7f94a8..65252e7b267 100644 --- a/chromeuxreport/v1/chromeuxreport-gen.go +++ b/chromeuxreport/v1/chromeuxreport-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/civicinfo/v2/civicinfo-gen.go b/civicinfo/v2/civicinfo-gen.go index bd6ff160cf7..c23b2d1872a 100644 --- a/civicinfo/v2/civicinfo-gen.go +++ b/civicinfo/v2/civicinfo-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/classroom/v1/classroom-gen.go b/classroom/v1/classroom-gen.go index 0618d8d0318..85216aade16 100644 --- a/classroom/v1/classroom-gen.go +++ b/classroom/v1/classroom-gen.go @@ -206,7 +206,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index 42f71c29747..a46f49e50c5 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudasset/v1beta1/cloudasset-gen.go b/cloudasset/v1beta1/cloudasset-gen.go index 8e34f620590..4dab9899f21 100644 --- a/cloudasset/v1beta1/cloudasset-gen.go +++ b/cloudasset/v1beta1/cloudasset-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudasset/v1p1beta1/cloudasset-gen.go b/cloudasset/v1p1beta1/cloudasset-gen.go index f9c99797af4..07398155094 100644 --- a/cloudasset/v1p1beta1/cloudasset-gen.go +++ b/cloudasset/v1p1beta1/cloudasset-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudasset/v1p5beta1/cloudasset-gen.go b/cloudasset/v1p5beta1/cloudasset-gen.go index 8438b015774..5dc3b0a6b52 100644 --- a/cloudasset/v1p5beta1/cloudasset-gen.go +++ b/cloudasset/v1p5beta1/cloudasset-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudasset/v1p7beta1/cloudasset-gen.go b/cloudasset/v1p7beta1/cloudasset-gen.go index 72a60c9460f..375aa0501e6 100644 --- a/cloudasset/v1p7beta1/cloudasset-gen.go +++ b/cloudasset/v1p7beta1/cloudasset-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudbilling/v1/cloudbilling-gen.go b/cloudbilling/v1/cloudbilling-gen.go index 83836d9eda2..c3174c4e99a 100644 --- a/cloudbilling/v1/cloudbilling-gen.go +++ b/cloudbilling/v1/cloudbilling-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudbilling/v1beta/cloudbilling-gen.go b/cloudbilling/v1beta/cloudbilling-gen.go index cfdca2547a0..db8d06c27d1 100644 --- a/cloudbilling/v1beta/cloudbilling-gen.go +++ b/cloudbilling/v1beta/cloudbilling-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index 15209c4711c..a4c073bf903 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudbuild/v2/cloudbuild-gen.go b/cloudbuild/v2/cloudbuild-gen.go index 7270e10b55c..1e275eef7a5 100644 --- a/cloudbuild/v2/cloudbuild-gen.go +++ b/cloudbuild/v2/cloudbuild-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index c4bf0e38e99..ecfe143f026 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go b/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go index 696db3a3f8e..aac34aa5b52 100644 --- a/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go +++ b/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go b/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go index e26c588ef0b..c2b0b024701 100644 --- a/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go +++ b/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index 4f68f0a37d0..d9353ecdd31 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go index fc26ffd4d20..ec81199d5df 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go +++ b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index df069fc1b2e..e044b2b24fb 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index dc69a02e2de..28f87593023 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index a60276a3e82..e794e63087a 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index df94cb1f61c..3aeb45f41bd 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 0b7f20400fc..2abb82e056e 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -140,7 +140,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index c4c68d4a8b0..40ec00c48ec 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -140,7 +140,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index 020226ae747..1c6b5805d6d 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -123,7 +123,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudprofiler/v2/cloudprofiler-gen.go b/cloudprofiler/v2/cloudprofiler-gen.go index 0e7bd21dc5b..8ccb80b6735 100644 --- a/cloudprofiler/v2/cloudprofiler-gen.go +++ b/cloudprofiler/v2/cloudprofiler-gen.go @@ -125,7 +125,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudresourcemanager/v1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1/cloudresourcemanager-gen.go index 12ad2500357..20b4a4dc157 100644 --- a/cloudresourcemanager/v1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1/cloudresourcemanager-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go index 0da819572f5..d61ff4c1ec5 100644 --- a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudresourcemanager/v2/cloudresourcemanager-gen.go b/cloudresourcemanager/v2/cloudresourcemanager-gen.go index 5456d0b47c5..f2fbf94a4f7 100644 --- a/cloudresourcemanager/v2/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2/cloudresourcemanager-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go index 6f4bb688308..28bbfcdcada 100644 --- a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudresourcemanager/v3/cloudresourcemanager-gen.go b/cloudresourcemanager/v3/cloudresourcemanager-gen.go index c107c6c4fb7..c835dfe61f9 100644 --- a/cloudresourcemanager/v3/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v3/cloudresourcemanager-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudscheduler/v1/cloudscheduler-gen.go b/cloudscheduler/v1/cloudscheduler-gen.go index 9081ae1e068..ddf02268b1a 100644 --- a/cloudscheduler/v1/cloudscheduler-gen.go +++ b/cloudscheduler/v1/cloudscheduler-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudscheduler/v1beta1/cloudscheduler-gen.go b/cloudscheduler/v1beta1/cloudscheduler-gen.go index 020409cda8b..e0a8acdead9 100644 --- a/cloudscheduler/v1beta1/cloudscheduler-gen.go +++ b/cloudscheduler/v1beta1/cloudscheduler-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index e5b69734aeb..419f5c60e41 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -147,7 +147,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudshell/v1/cloudshell-gen.go b/cloudshell/v1/cloudshell-gen.go index 739fce45f26..a3e4d0a7c88 100644 --- a/cloudshell/v1/cloudshell-gen.go +++ b/cloudshell/v1/cloudshell-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudsupport/v2/cloudsupport-gen.go b/cloudsupport/v2/cloudsupport-gen.go index e2ce145b128..68b0216aa83 100644 --- a/cloudsupport/v2/cloudsupport-gen.go +++ b/cloudsupport/v2/cloudsupport-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index e07f98be5f9..f4d7dfdf83b 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudtasks/v2/cloudtasks-gen.go b/cloudtasks/v2/cloudtasks-gen.go index 7e2f7df53b4..669a99cea5e 100644 --- a/cloudtasks/v2/cloudtasks-gen.go +++ b/cloudtasks/v2/cloudtasks-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index 656edbddf63..a0a861f8a2c 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudtasks/v2beta3/cloudtasks-gen.go b/cloudtasks/v2beta3/cloudtasks-gen.go index 509258b9d44..4685db0c31a 100644 --- a/cloudtasks/v2beta3/cloudtasks-gen.go +++ b/cloudtasks/v2beta3/cloudtasks-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudtrace/v1/cloudtrace-gen.go b/cloudtrace/v1/cloudtrace-gen.go index d2d3d219f85..69a5fbc37c0 100644 --- a/cloudtrace/v1/cloudtrace-gen.go +++ b/cloudtrace/v1/cloudtrace-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudtrace/v2/cloudtrace-gen.go b/cloudtrace/v2/cloudtrace-gen.go index 36544614931..48bb529084c 100644 --- a/cloudtrace/v2/cloudtrace-gen.go +++ b/cloudtrace/v2/cloudtrace-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/cloudtrace/v2beta1/cloudtrace-gen.go b/cloudtrace/v2beta1/cloudtrace-gen.go index 06812100a1a..8d03a1a6575 100644 --- a/cloudtrace/v2beta1/cloudtrace-gen.go +++ b/cloudtrace/v2beta1/cloudtrace-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/composer/v1/composer-gen.go b/composer/v1/composer-gen.go index 3d8ad835efb..675318dc0ac 100644 --- a/composer/v1/composer-gen.go +++ b/composer/v1/composer-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/composer/v1beta1/composer-gen.go b/composer/v1beta1/composer-gen.go index dcce785968a..5c9a3197d7d 100644 --- a/composer/v1beta1/composer-gen.go +++ b/composer/v1beta1/composer-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index 7a858acb062..b825a7ea41b 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -138,7 +138,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index f876047969f..174bd2418d9 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -138,7 +138,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index 65c6e18456a..62ee6702578 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -138,7 +138,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/connectors/v1/connectors-gen.go b/connectors/v1/connectors-gen.go index 02876e11042..a526f84f210 100644 --- a/connectors/v1/connectors-gen.go +++ b/connectors/v1/connectors-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/connectors/v2/connectors-gen.go b/connectors/v2/connectors-gen.go index 3f33efea6a8..dcd227a7cfa 100644 --- a/connectors/v2/connectors-gen.go +++ b/connectors/v2/connectors-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go index d58bb82c7af..1bad8b6396c 100644 --- a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go +++ b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index b7ec4d2c054..8d235b88745 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 643a8184afa..f49d736368f 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 4dd19287ce7..1afe6ed6f96 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/containeranalysis/v1/containeranalysis-gen.go b/containeranalysis/v1/containeranalysis-gen.go index 977cb7fa52f..f02a36ff3af 100644 --- a/containeranalysis/v1/containeranalysis-gen.go +++ b/containeranalysis/v1/containeranalysis-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index 7edfc56a928..01edc498186 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index f7c786dac41..83798aada1c 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 65df99bdfd0..32704127c8f 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index b4c3aa54c79..d67c21c9687 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/customsearch/v1/customsearch-gen.go b/customsearch/v1/customsearch-gen.go index 383eac94220..cb41b2ca3f1 100644 --- a/customsearch/v1/customsearch-gen.go +++ b/customsearch/v1/customsearch-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datacatalog/v1/datacatalog-gen.go b/datacatalog/v1/datacatalog-gen.go index 8a7310178b0..180cb608daa 100644 --- a/datacatalog/v1/datacatalog-gen.go +++ b/datacatalog/v1/datacatalog-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index df09390de65..fe8f768e8dd 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index f1997ec7694..59349496a81 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dataform/v1beta1/dataform-gen.go b/dataform/v1beta1/dataform-gen.go index 94ca4de2e16..52f56c1069b 100644 --- a/dataform/v1beta1/dataform-gen.go +++ b/dataform/v1beta1/dataform-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go index 880fbd836c4..ba86db4289e 100644 --- a/datafusion/v1/datafusion-gen.go +++ b/datafusion/v1/datafusion-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go index 1877cd0a093..01089fe37b5 100644 --- a/datafusion/v1beta1/datafusion-gen.go +++ b/datafusion/v1beta1/datafusion-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datalabeling/v1beta1/datalabeling-gen.go b/datalabeling/v1beta1/datalabeling-gen.go index 433e6820c42..3fec1c21bcc 100644 --- a/datalabeling/v1beta1/datalabeling-gen.go +++ b/datalabeling/v1beta1/datalabeling-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index 77b6ef30155..1816612eb5e 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go index 7e71b9a9f53..69264b9b338 100644 --- a/datamigration/v1beta1/datamigration-gen.go +++ b/datamigration/v1beta1/datamigration-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datapipelines/v1/datapipelines-gen.go b/datapipelines/v1/datapipelines-gen.go index 51585864549..04989d567bf 100644 --- a/datapipelines/v1/datapipelines-gen.go +++ b/datapipelines/v1/datapipelines-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index db2c030542f..a5d480ce418 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dataportability/v1/dataportability-gen.go b/dataportability/v1/dataportability-gen.go index f38edf7e4fa..e4724b76234 100644 --- a/dataportability/v1/dataportability-gen.go +++ b/dataportability/v1/dataportability-gen.go @@ -379,7 +379,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dataportability/v1beta/dataportability-gen.go b/dataportability/v1beta/dataportability-gen.go index 8f9e0806649..03a0e18f1b7 100644 --- a/dataportability/v1beta/dataportability-gen.go +++ b/dataportability/v1beta/dataportability-gen.go @@ -379,7 +379,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index cce1c88c6cc..7402fc5299f 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datastore/v1/datastore-gen.go b/datastore/v1/datastore-gen.go index a426abb52a6..eaccc08617e 100644 --- a/datastore/v1/datastore-gen.go +++ b/datastore/v1/datastore-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datastore/v1beta1/datastore-gen.go b/datastore/v1beta1/datastore-gen.go index e755e86a385..8ca8a91b3e0 100644 --- a/datastore/v1beta1/datastore-gen.go +++ b/datastore/v1beta1/datastore-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datastore/v1beta3/datastore-gen.go b/datastore/v1beta3/datastore-gen.go index 51a8116d6e2..971e9948142 100644 --- a/datastore/v1beta3/datastore-gen.go +++ b/datastore/v1beta3/datastore-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datastream/v1/datastream-gen.go b/datastream/v1/datastream-gen.go index 9c84fdb7f8c..0bbd9991c4f 100644 --- a/datastream/v1/datastream-gen.go +++ b/datastream/v1/datastream-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/datastream/v1alpha1/datastream-gen.go b/datastream/v1alpha1/datastream-gen.go index 526c296e34d..782a4bec25c 100644 --- a/datastream/v1alpha1/datastream-gen.go +++ b/datastream/v1alpha1/datastream-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go index f0c8f15eb37..c0c50d7b600 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go +++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/deploymentmanager/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go index d7e9bc97afd..c07120c39c0 100644 --- a/deploymentmanager/v2/deploymentmanager-gen.go +++ b/deploymentmanager/v2/deploymentmanager-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/deploymentmanager/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go index 26d79a3d972..9af973b4dd3 100644 --- a/deploymentmanager/v2beta/deploymentmanager-gen.go +++ b/deploymentmanager/v2beta/deploymentmanager-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dfareporting/v3.5/dfareporting-gen.go b/dfareporting/v3.5/dfareporting-gen.go index 06f2399c6ff..5ff95694ecf 100644 --- a/dfareporting/v3.5/dfareporting-gen.go +++ b/dfareporting/v3.5/dfareporting-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dfareporting/v4/dfareporting-gen.go b/dfareporting/v4/dfareporting-gen.go index 693404f1d59..2e197b9f373 100644 --- a/dfareporting/v4/dfareporting-gen.go +++ b/dfareporting/v4/dfareporting-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index ed70aef4858..5fbbd714782 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 52440f40ebd..5fc292eb453 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 7a7da5446b9..2c9463463fe 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index c39bcaa9b30..646acde6293 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/digitalassetlinks/v1/digitalassetlinks-gen.go b/digitalassetlinks/v1/digitalassetlinks-gen.go index 1c2f9842e21..db3e22382c9 100644 --- a/digitalassetlinks/v1/digitalassetlinks-gen.go +++ b/digitalassetlinks/v1/digitalassetlinks-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/discovery/v1/discovery-gen.go b/discovery/v1/discovery-gen.go index be0220a487b..b14b1c8f346 100644 --- a/discovery/v1/discovery-gen.go +++ b/discovery/v1/discovery-gen.go @@ -97,7 +97,7 @@ const defaultUniverseDomain = "googleapis.com" func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/discoveryengine/v1/discoveryengine-gen.go b/discoveryengine/v1/discoveryengine-gen.go index 276b71c5575..528087c2af4 100644 --- a/discoveryengine/v1/discoveryengine-gen.go +++ b/discoveryengine/v1/discoveryengine-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/discoveryengine/v1alpha/discoveryengine-gen.go b/discoveryengine/v1alpha/discoveryengine-gen.go index 32bd0c06d5a..d308f8fcd67 100644 --- a/discoveryengine/v1alpha/discoveryengine-gen.go +++ b/discoveryengine/v1alpha/discoveryengine-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/discoveryengine/v1beta/discoveryengine-gen.go b/discoveryengine/v1beta/discoveryengine-gen.go index 2fdb838c7ac..3b523e8bd15 100644 --- a/discoveryengine/v1beta/discoveryengine-gen.go +++ b/discoveryengine/v1beta/discoveryengine-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/displayvideo/v2/displayvideo-gen.go b/displayvideo/v2/displayvideo-gen.go index 527f44657f0..96fbd533a0b 100644 --- a/displayvideo/v2/displayvideo-gen.go +++ b/displayvideo/v2/displayvideo-gen.go @@ -130,7 +130,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/displayvideo/v3/displayvideo-gen.go b/displayvideo/v3/displayvideo-gen.go index 91b709e2aa0..13c72cac12f 100644 --- a/displayvideo/v3/displayvideo-gen.go +++ b/displayvideo/v3/displayvideo-gen.go @@ -130,7 +130,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 385a1520a55..85cde8b0ac6 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index a1f80f8d386..7f7b48ab2cc 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -129,7 +129,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index a6009c0a3f2..3130a80f866 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -129,7 +129,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/docs/v1/docs-gen.go b/docs/v1/docs-gen.go index e0b18febcb6..2cf92d1c4ce 100644 --- a/docs/v1/docs-gen.go +++ b/docs/v1/docs-gen.go @@ -132,7 +132,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index ddeffaabe7d..47e355bffc1 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index afd99a38d49..57fa3967f02 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index cbb34df6e66..46a6310f742 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/domains/v1/domains-gen.go b/domains/v1/domains-gen.go index d0599d7f53c..c969117d90a 100644 --- a/domains/v1/domains-gen.go +++ b/domains/v1/domains-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/domains/v1alpha2/domains-gen.go b/domains/v1alpha2/domains-gen.go index 57d1a37d9df..6f3f5019572 100644 --- a/domains/v1alpha2/domains-gen.go +++ b/domains/v1alpha2/domains-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/domains/v1beta1/domains-gen.go b/domains/v1beta1/domains-gen.go index 90ea0458452..819ec1385eb 100644 --- a/domains/v1beta1/domains-gen.go +++ b/domains/v1beta1/domains-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/domainsrdap/v1/domainsrdap-gen.go b/domainsrdap/v1/domainsrdap-gen.go index d5db7311bf5..c439e3e7ecc 100644 --- a/domainsrdap/v1/domainsrdap-gen.go +++ b/domainsrdap/v1/domainsrdap-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go index 9a75d0a16cd..de35bc9350f 100644 --- a/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go +++ b/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/doubleclicksearch/v2/doubleclicksearch-gen.go b/doubleclicksearch/v2/doubleclicksearch-gen.go index b2eb7c506fe..5b35696a47d 100644 --- a/doubleclicksearch/v2/doubleclicksearch-gen.go +++ b/doubleclicksearch/v2/doubleclicksearch-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go index ab028fffc4e..5c86d7aae9a 100644 --- a/drive/v2/drive-gen.go +++ b/drive/v2/drive-gen.go @@ -149,7 +149,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index 6c2fcd2a4aa..ab49f2fc9db 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -149,7 +149,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/driveactivity/v2/driveactivity-gen.go b/driveactivity/v2/driveactivity-gen.go index c936b8fb77d..4ce39634f62 100644 --- a/driveactivity/v2/driveactivity-gen.go +++ b/driveactivity/v2/driveactivity-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/drivelabels/v2/drivelabels-gen.go b/drivelabels/v2/drivelabels-gen.go index 2a3fd1c8805..354144c6377 100644 --- a/drivelabels/v2/drivelabels-gen.go +++ b/drivelabels/v2/drivelabels-gen.go @@ -130,7 +130,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/drivelabels/v2beta/drivelabels-gen.go b/drivelabels/v2beta/drivelabels-gen.go index 872fb0bda89..50007901475 100644 --- a/drivelabels/v2beta/drivelabels-gen.go +++ b/drivelabels/v2beta/drivelabels-gen.go @@ -130,7 +130,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/essentialcontacts/v1/essentialcontacts-gen.go b/essentialcontacts/v1/essentialcontacts-gen.go index 229a147ba27..cbadcc61c17 100644 --- a/essentialcontacts/v1/essentialcontacts-gen.go +++ b/essentialcontacts/v1/essentialcontacts-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/eventarc/v1/eventarc-gen.go b/eventarc/v1/eventarc-gen.go index 1da28b1d02d..e98ce6b265a 100644 --- a/eventarc/v1/eventarc-gen.go +++ b/eventarc/v1/eventarc-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/eventarc/v1beta1/eventarc-gen.go b/eventarc/v1beta1/eventarc-gen.go index 48d207870b6..aa30f23a5ee 100644 --- a/eventarc/v1beta1/eventarc-gen.go +++ b/eventarc/v1beta1/eventarc-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/factchecktools/v1alpha1/factchecktools-gen.go b/factchecktools/v1alpha1/factchecktools-gen.go index e67829fd0ea..228d7b155c1 100644 --- a/factchecktools/v1alpha1/factchecktools-gen.go +++ b/factchecktools/v1alpha1/factchecktools-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/fcm/v1/fcm-gen.go b/fcm/v1/fcm-gen.go index 4d3f3bf1dcf..3b179251ebf 100644 --- a/fcm/v1/fcm-gen.go +++ b/fcm/v1/fcm-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/fcmdata/v1beta1/fcmdata-gen.go b/fcmdata/v1beta1/fcmdata-gen.go index 8b7022d2957..5d6e74df827 100644 --- a/fcmdata/v1beta1/fcmdata-gen.go +++ b/fcmdata/v1beta1/fcmdata-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index 61f0c94c343..15cc3366a5f 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index a66f1941447..1aed87b4147 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index 8e8a4eaf400..a5b6f661604 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -129,7 +129,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseappcheck/v1/firebaseappcheck-gen.go b/firebaseappcheck/v1/firebaseappcheck-gen.go index 5cc58a7cd72..c311c7628b2 100644 --- a/firebaseappcheck/v1/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1/firebaseappcheck-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseappcheck/v1beta/firebaseappcheck-gen.go b/firebaseappcheck/v1beta/firebaseappcheck-gen.go index b5783369428..4fadd911561 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1beta/firebaseappcheck-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseappdistribution/v1/firebaseappdistribution-gen.go b/firebaseappdistribution/v1/firebaseappdistribution-gen.go index a141f007fb1..2720841bbde 100644 --- a/firebaseappdistribution/v1/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1/firebaseappdistribution-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go index 055a0f51c96..c4324e77151 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebasedatabase/v1beta/firebasedatabase-gen.go b/firebasedatabase/v1beta/firebasedatabase-gen.go index 9b7a06dc3ab..e8944d107fd 100644 --- a/firebasedatabase/v1beta/firebasedatabase-gen.go +++ b/firebasedatabase/v1beta/firebasedatabase-gen.go @@ -129,7 +129,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go index 82e1659680d..9d4279dcaf7 100644 --- a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go +++ b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go index a40f0783ddc..e6ee32958f0 100644 --- a/firebasehosting/v1/firebasehosting-gen.go +++ b/firebasehosting/v1/firebasehosting-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebasehosting/v1beta1/firebasehosting-gen.go b/firebasehosting/v1beta1/firebasehosting-gen.go index 144d077d4fc..0ac929df6ae 100644 --- a/firebasehosting/v1beta1/firebasehosting-gen.go +++ b/firebasehosting/v1beta1/firebasehosting-gen.go @@ -129,7 +129,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseml/v1/firebaseml-gen.go b/firebaseml/v1/firebaseml-gen.go index 9309ffbdcfb..b0d57caa441 100644 --- a/firebaseml/v1/firebaseml-gen.go +++ b/firebaseml/v1/firebaseml-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseml/v1beta2/firebaseml-gen.go b/firebaseml/v1beta2/firebaseml-gen.go index 26e105db700..1283ad13336 100644 --- a/firebaseml/v1beta2/firebaseml-gen.go +++ b/firebaseml/v1beta2/firebaseml-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaseml/v2beta/firebaseml-gen.go b/firebaseml/v2beta/firebaseml-gen.go index e2c581f4251..0357dd35b23 100644 --- a/firebaseml/v2beta/firebaseml-gen.go +++ b/firebaseml/v2beta/firebaseml-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebaserules/v1/firebaserules-gen.go b/firebaserules/v1/firebaserules-gen.go index 6edbba7a7d0..1def0f137cd 100644 --- a/firebaserules/v1/firebaserules-gen.go +++ b/firebaserules/v1/firebaserules-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firebasestorage/v1beta/firebasestorage-gen.go b/firebasestorage/v1beta/firebasestorage-gen.go index 8e16a7cb46f..2faf05de4df 100644 --- a/firebasestorage/v1beta/firebasestorage-gen.go +++ b/firebasestorage/v1beta/firebasestorage-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index d8e171e4601..9b5decd7221 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go index 728181efb8e..e2dff469897 100644 --- a/firestore/v1beta1/firestore-gen.go +++ b/firestore/v1beta1/firestore-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/firestore/v1beta2/firestore-gen.go b/firestore/v1beta2/firestore-gen.go index dde99ddb5f7..3dc69246931 100644 --- a/firestore/v1beta2/firestore-gen.go +++ b/firestore/v1beta2/firestore-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/fitness/v1/fitness-gen.go b/fitness/v1/fitness-gen.go index 5326f282ca2..dbbe66c9ec1 100644 --- a/fitness/v1/fitness-gen.go +++ b/fitness/v1/fitness-gen.go @@ -213,7 +213,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/forms/v1/forms-gen.go b/forms/v1/forms-gen.go index aa689964f36..bbb7d4bbdff 100644 --- a/forms/v1/forms-gen.go +++ b/forms/v1/forms-gen.go @@ -136,7 +136,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/games/v1/games-gen.go b/games/v1/games-gen.go index 7a01f1b3243..c3d8f0d1593 100644 --- a/games/v1/games-gen.go +++ b/games/v1/games-gen.go @@ -124,7 +124,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go index a06813296ef..7d3d24c0935 100644 --- a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go +++ b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gamesmanagement/v1management/gamesmanagement-gen.go b/gamesmanagement/v1management/gamesmanagement-gen.go index 84cb082038d..0267e6b7590 100644 --- a/gamesmanagement/v1management/gamesmanagement-gen.go +++ b/gamesmanagement/v1management/gamesmanagement-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkebackup/v1/gkebackup-gen.go b/gkebackup/v1/gkebackup-gen.go index 8c2d7398f2a..d3399e406ba 100644 --- a/gkebackup/v1/gkebackup-gen.go +++ b/gkebackup/v1/gkebackup-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index b214d0984a0..c8a265723ed 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index ef1232b8832..c017378c65a 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 40cff48d2b1..c21048b895a 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkehub/v1beta1/gkehub-gen.go b/gkehub/v1beta1/gkehub-gen.go index 6e53dd39719..0c718f3823b 100644 --- a/gkehub/v1beta1/gkehub-gen.go +++ b/gkehub/v1beta1/gkehub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkehub/v2alpha/gkehub-gen.go b/gkehub/v2alpha/gkehub-gen.go index bf99b2c123b..8d9e5a881ca 100644 --- a/gkehub/v2alpha/gkehub-gen.go +++ b/gkehub/v2alpha/gkehub-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gkeonprem/v1/gkeonprem-gen.go b/gkeonprem/v1/gkeonprem-gen.go index 420c4894aca..31f7591615e 100644 --- a/gkeonprem/v1/gkeonprem-gen.go +++ b/gkeonprem/v1/gkeonprem-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index 6fc42e4be57..d5f77ad0708 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -169,7 +169,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gmailpostmastertools/v1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1/gmailpostmastertools-gen.go index d5c2c90bc1e..5b59fff7b59 100644 --- a/gmailpostmastertools/v1/gmailpostmastertools-gen.go +++ b/gmailpostmastertools/v1/gmailpostmastertools-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go index 89dce300ec2..4e7b5af579e 100644 --- a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go +++ b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/groupsmigration/v1/groupsmigration-gen.go b/groupsmigration/v1/groupsmigration-gen.go index 1ebe357ad1d..9df0f6c9931 100644 --- a/groupsmigration/v1/groupsmigration-gen.go +++ b/groupsmigration/v1/groupsmigration-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/groupssettings/v1/groupssettings-gen.go b/groupssettings/v1/groupssettings-gen.go index 769f558ce95..e44ae52688b 100644 --- a/groupssettings/v1/groupssettings-gen.go +++ b/groupssettings/v1/groupssettings-gen.go @@ -108,7 +108,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index c5b9a45bff1..fee0252da44 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 812347dfdba..c1becfe498c 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/homegraph/v1/homegraph-gen.go b/homegraph/v1/homegraph-gen.go index 0466c38ed9d..9af17ee6626 100644 --- a/homegraph/v1/homegraph-gen.go +++ b/homegraph/v1/homegraph-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index 2968e9982a4..b5b364d9b6b 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/iam/v2/iam-gen.go b/iam/v2/iam-gen.go index 8504167ec55..fee254c2361 100644 --- a/iam/v2/iam-gen.go +++ b/iam/v2/iam-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/iam/v2beta/iam-gen.go b/iam/v2beta/iam-gen.go index c649fe096a2..0a747667d68 100644 --- a/iam/v2beta/iam-gen.go +++ b/iam/v2beta/iam-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/iamcredentials/v1/iamcredentials-gen.go b/iamcredentials/v1/iamcredentials-gen.go index 947e83a5b58..48358435ef8 100644 --- a/iamcredentials/v1/iamcredentials-gen.go +++ b/iamcredentials/v1/iamcredentials-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index 9999bc313a3..689cef12d56 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/iap/v1beta1/iap-gen.go b/iap/v1beta1/iap-gen.go index 76fefed6b52..849c9eafa24 100644 --- a/iap/v1beta1/iap-gen.go +++ b/iap/v1beta1/iap-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/identitytoolkit/v1/identitytoolkit-gen.go b/identitytoolkit/v1/identitytoolkit-gen.go index 3d7914a57f2..bf69f24d59b 100644 --- a/identitytoolkit/v1/identitytoolkit-gen.go +++ b/identitytoolkit/v1/identitytoolkit-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/identitytoolkit/v2/identitytoolkit-gen.go b/identitytoolkit/v2/identitytoolkit-gen.go index a2dbc6e9027..6a76b86e59b 100644 --- a/identitytoolkit/v2/identitytoolkit-gen.go +++ b/identitytoolkit/v2/identitytoolkit-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/identitytoolkit/v3/identitytoolkit-gen.go b/identitytoolkit/v3/identitytoolkit-gen.go index b71db4ea680..c54a46c91a4 100644 --- a/identitytoolkit/v3/identitytoolkit-gen.go +++ b/identitytoolkit/v3/identitytoolkit-gen.go @@ -117,7 +117,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/ids/v1/ids-gen.go b/ids/v1/ids-gen.go index 2c1881bf7e0..5be17cb56c8 100644 --- a/ids/v1/ids-gen.go +++ b/ids/v1/ids-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/indexing/v3/indexing-gen.go b/indexing/v3/indexing-gen.go index 2aad2316961..60928023403 100644 --- a/indexing/v3/indexing-gen.go +++ b/indexing/v3/indexing-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/jobs/v3/jobs-gen.go b/jobs/v3/jobs-gen.go index 27fbf173b9d..e5687007427 100644 --- a/jobs/v3/jobs-gen.go +++ b/jobs/v3/jobs-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/jobs/v3p1beta1/jobs-gen.go b/jobs/v3p1beta1/jobs-gen.go index 749e7e2f63a..6254a0f8dc7 100644 --- a/jobs/v3p1beta1/jobs-gen.go +++ b/jobs/v3p1beta1/jobs-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/jobs/v4/jobs-gen.go b/jobs/v4/jobs-gen.go index 809c51501c3..81d06d64ca9 100644 --- a/jobs/v4/jobs-gen.go +++ b/jobs/v4/jobs-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/keep/v1/keep-gen.go b/keep/v1/keep-gen.go index 9b4ad295c3a..52d7477671a 100644 --- a/keep/v1/keep-gen.go +++ b/keep/v1/keep-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/kgsearch/v1/kgsearch-gen.go b/kgsearch/v1/kgsearch-gen.go index 3a3cc3aea53..4d3cdff4748 100644 --- a/kgsearch/v1/kgsearch-gen.go +++ b/kgsearch/v1/kgsearch-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/kmsinventory/v1/kmsinventory-gen.go b/kmsinventory/v1/kmsinventory-gen.go index 3fe0e35257e..fa969afd050 100644 --- a/kmsinventory/v1/kmsinventory-gen.go +++ b/kmsinventory/v1/kmsinventory-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go index 649ae0df129..8e87367d238 100644 --- a/language/v1/language-gen.go +++ b/language/v1/language-gen.go @@ -123,7 +123,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go index 79e7382d43a..0c989f18bbd 100644 --- a/language/v1beta2/language-gen.go +++ b/language/v1beta2/language-gen.go @@ -123,7 +123,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/language/v2/language-gen.go b/language/v2/language-gen.go index e3e350b8855..3442b5520e3 100644 --- a/language/v2/language-gen.go +++ b/language/v2/language-gen.go @@ -123,7 +123,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/libraryagent/v1/libraryagent-gen.go b/libraryagent/v1/libraryagent-gen.go index 7728cd5be8e..aa911a006fd 100644 --- a/libraryagent/v1/libraryagent-gen.go +++ b/libraryagent/v1/libraryagent-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/licensing/v1/licensing-gen.go b/licensing/v1/licensing-gen.go index f67f54731d0..ac0408f4bce 100644 --- a/licensing/v1/licensing-gen.go +++ b/licensing/v1/licensing-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/lifesciences/v2beta/lifesciences-gen.go b/lifesciences/v2beta/lifesciences-gen.go index 8ea70e29eed..4266c93eaac 100644 --- a/lifesciences/v2beta/lifesciences-gen.go +++ b/lifesciences/v2beta/lifesciences-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/localservices/v1/localservices-gen.go b/localservices/v1/localservices-gen.go index 1ce9fffe87a..45783fe0f81 100644 --- a/localservices/v1/localservices-gen.go +++ b/localservices/v1/localservices-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index dff96bf46ba..076c947bfe7 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -135,7 +135,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/looker/v1/looker-gen.go b/looker/v1/looker-gen.go index 275f056d127..bc132bf8eb1 100644 --- a/looker/v1/looker-gen.go +++ b/looker/v1/looker-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/managedidentities/v1/managedidentities-gen.go b/managedidentities/v1/managedidentities-gen.go index 38527cbe4e1..acd13502812 100644 --- a/managedidentities/v1/managedidentities-gen.go +++ b/managedidentities/v1/managedidentities-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go index a37b7488082..7916ec819aa 100644 --- a/managedidentities/v1alpha1/managedidentities-gen.go +++ b/managedidentities/v1alpha1/managedidentities-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go index 59af8d1cefa..8773dff179a 100644 --- a/managedidentities/v1beta1/managedidentities-gen.go +++ b/managedidentities/v1beta1/managedidentities-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/manufacturers/v1/manufacturers-gen.go b/manufacturers/v1/manufacturers-gen.go index 725f7aeaef5..d13fc6103cf 100644 --- a/manufacturers/v1/manufacturers-gen.go +++ b/manufacturers/v1/manufacturers-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go b/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go index e5ba83497f1..b71b2ff2ee0 100644 --- a/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go +++ b/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/memcache/v1/memcache-gen.go b/memcache/v1/memcache-gen.go index 244b16d42ef..be79960e1b1 100644 --- a/memcache/v1/memcache-gen.go +++ b/memcache/v1/memcache-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/memcache/v1beta2/memcache-gen.go b/memcache/v1beta2/memcache-gen.go index 163b566c4dd..3222983054c 100644 --- a/memcache/v1beta2/memcache-gen.go +++ b/memcache/v1beta2/memcache-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/metastore/v1/metastore-gen.go b/metastore/v1/metastore-gen.go index 47d2271ad31..3a0be1a57ff 100644 --- a/metastore/v1/metastore-gen.go +++ b/metastore/v1/metastore-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index a620fcd8689..6cc2350ebfd 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index 14ff6c53fcb..d1d846f6ddd 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/migrationcenter/v1/migrationcenter-gen.go b/migrationcenter/v1/migrationcenter-gen.go index c9529e86dad..6a7e2ec352e 100644 --- a/migrationcenter/v1/migrationcenter-gen.go +++ b/migrationcenter/v1/migrationcenter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/migrationcenter/v1alpha1/migrationcenter-gen.go b/migrationcenter/v1alpha1/migrationcenter-gen.go index bf0b2aad411..47cfb2dbc70 100644 --- a/migrationcenter/v1alpha1/migrationcenter-gen.go +++ b/migrationcenter/v1alpha1/migrationcenter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/ml/v1/ml-gen.go b/ml/v1/ml-gen.go index d0c4fadc2a2..04cf060a390 100644 --- a/ml/v1/ml-gen.go +++ b/ml/v1/ml-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 6bb3a54df15..0cdd0e58c33 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -130,7 +130,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index 1148f6999af..1596c1f751c 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -132,7 +132,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go index ba65538107e..3c14fdff5a4 100644 --- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go +++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go index 17b2e1cdad9..cc7d335b984 100644 --- a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go +++ b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinesslodging/v1/mybusinesslodging-gen.go b/mybusinesslodging/v1/mybusinesslodging-gen.go index b40363bd453..9d4de88d634 100644 --- a/mybusinesslodging/v1/mybusinesslodging-gen.go +++ b/mybusinesslodging/v1/mybusinesslodging-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinessnotifications/v1/mybusinessnotifications-gen.go b/mybusinessnotifications/v1/mybusinessnotifications-gen.go index ff4a7f7c689..75ef704d43d 100644 --- a/mybusinessnotifications/v1/mybusinessnotifications-gen.go +++ b/mybusinessnotifications/v1/mybusinessnotifications-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go index 9cff07042e2..7a17bcd16b3 100644 --- a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go +++ b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinessqanda/v1/mybusinessqanda-gen.go b/mybusinessqanda/v1/mybusinessqanda-gen.go index 254ebd82610..d4aa15a006e 100644 --- a/mybusinessqanda/v1/mybusinessqanda-gen.go +++ b/mybusinessqanda/v1/mybusinessqanda-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/mybusinessverifications/v1/mybusinessverifications-gen.go b/mybusinessverifications/v1/mybusinessverifications-gen.go index 2a946ca7c23..270c6a47066 100644 --- a/mybusinessverifications/v1/mybusinessverifications-gen.go +++ b/mybusinessverifications/v1/mybusinessverifications-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networkconnectivity/v1/networkconnectivity-gen.go b/networkconnectivity/v1/networkconnectivity-gen.go index a57a60a3b7b..b3714a780ba 100644 --- a/networkconnectivity/v1/networkconnectivity-gen.go +++ b/networkconnectivity/v1/networkconnectivity-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go index 04e613df806..fadee37b6de 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go +++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index 7f56fe0e074..8e462460dec 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index 286b923967a..e4665a56c68 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networksecurity/v1/networksecurity-gen.go b/networksecurity/v1/networksecurity-gen.go index df1deedf11d..370babc3ea5 100644 --- a/networksecurity/v1/networksecurity-gen.go +++ b/networksecurity/v1/networksecurity-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networksecurity/v1beta1/networksecurity-gen.go b/networksecurity/v1beta1/networksecurity-gen.go index 2204a646f84..3e25d9bef91 100644 --- a/networksecurity/v1beta1/networksecurity-gen.go +++ b/networksecurity/v1beta1/networksecurity-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networkservices/v1/networkservices-gen.go b/networkservices/v1/networkservices-gen.go index 0e3ed140a37..3a8ebf35721 100644 --- a/networkservices/v1/networkservices-gen.go +++ b/networkservices/v1/networkservices-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/networkservices/v1beta1/networkservices-gen.go b/networkservices/v1beta1/networkservices-gen.go index 500de508f7c..872fe6411eb 100644 --- a/networkservices/v1beta1/networkservices-gen.go +++ b/networkservices/v1beta1/networkservices-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index 82b23b13605..5ec0d34741a 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/notebooks/v2/notebooks-gen.go b/notebooks/v2/notebooks-gen.go index 1b90fdbfcb2..bb1b4bf3413 100644 --- a/notebooks/v2/notebooks-gen.go +++ b/notebooks/v2/notebooks-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/oauth2/v2/oauth2-gen.go b/oauth2/v2/oauth2-gen.go index 3e7c9f403ce..b216c39a97c 100644 --- a/oauth2/v2/oauth2-gen.go +++ b/oauth2/v2/oauth2-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/ondemandscanning/v1/ondemandscanning-gen.go b/ondemandscanning/v1/ondemandscanning-gen.go index 1e5bac69450..19c9bffc121 100644 --- a/ondemandscanning/v1/ondemandscanning-gen.go +++ b/ondemandscanning/v1/ondemandscanning-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/ondemandscanning/v1beta1/ondemandscanning-gen.go b/ondemandscanning/v1beta1/ondemandscanning-gen.go index c63a5ee385d..0b7d25094fb 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-gen.go +++ b/ondemandscanning/v1beta1/ondemandscanning-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/orgpolicy/v2/orgpolicy-gen.go b/orgpolicy/v2/orgpolicy-gen.go index 2408df983ad..255d71386dd 100644 --- a/orgpolicy/v2/orgpolicy-gen.go +++ b/orgpolicy/v2/orgpolicy-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index b2690136806..ce7eae245b4 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/osconfig/v1alpha/osconfig-gen.go b/osconfig/v1alpha/osconfig-gen.go index 42609222f01..bd33805e798 100644 --- a/osconfig/v1alpha/osconfig-gen.go +++ b/osconfig/v1alpha/osconfig-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/osconfig/v1beta/osconfig-gen.go b/osconfig/v1beta/osconfig-gen.go index d8be290c5c6..aa8cbe4b66a 100644 --- a/osconfig/v1beta/osconfig-gen.go +++ b/osconfig/v1beta/osconfig-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/oslogin/v1/oslogin-gen.go b/oslogin/v1/oslogin-gen.go index 324ce8e7c0f..94bd813b4af 100644 --- a/oslogin/v1/oslogin-gen.go +++ b/oslogin/v1/oslogin-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/oslogin/v1alpha/oslogin-gen.go b/oslogin/v1alpha/oslogin-gen.go index 00a7831beaa..356281f78f0 100644 --- a/oslogin/v1alpha/oslogin-gen.go +++ b/oslogin/v1alpha/oslogin-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/oslogin/v1beta/oslogin-gen.go b/oslogin/v1beta/oslogin-gen.go index e94aaad5429..914c448e497 100644 --- a/oslogin/v1beta/oslogin-gen.go +++ b/oslogin/v1beta/oslogin-gen.go @@ -131,7 +131,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/pagespeedonline/v5/pagespeedonline-gen.go b/pagespeedonline/v5/pagespeedonline-gen.go index 02560a09224..a7464e24b4d 100644 --- a/pagespeedonline/v5/pagespeedonline-gen.go +++ b/pagespeedonline/v5/pagespeedonline-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index 3bd2f292f36..c4afdfab0e3 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/people/v1/people-gen.go b/people/v1/people-gen.go index 1ab4898ed5f..a777c8490fd 100644 --- a/people/v1/people-gen.go +++ b/people/v1/people-gen.go @@ -161,7 +161,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/places/v1/places-gen.go b/places/v1/places-gen.go index 745a54d20a2..49098f32b2c 100644 --- a/places/v1/places-gen.go +++ b/places/v1/places-gen.go @@ -140,7 +140,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/playcustomapp/v1/playcustomapp-gen.go b/playcustomapp/v1/playcustomapp-gen.go index 6d595b20c8c..01827a986b5 100644 --- a/playcustomapp/v1/playcustomapp-gen.go +++ b/playcustomapp/v1/playcustomapp-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go index da04e28b85a..f129f27a0eb 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go index 10885a1fe59..946f079dc31 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/playgrouping/v1alpha1/playgrouping-gen.go b/playgrouping/v1alpha1/playgrouping-gen.go index d6fc2c78d55..7df28236c42 100644 --- a/playgrouping/v1alpha1/playgrouping-gen.go +++ b/playgrouping/v1alpha1/playgrouping-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go index 446b7251d3e..d981c4d7d40 100644 --- a/playintegrity/v1/playintegrity-gen.go +++ b/playintegrity/v1/playintegrity-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policyanalyzer/v1/policyanalyzer-gen.go b/policyanalyzer/v1/policyanalyzer-gen.go index 204254a15d0..9d87f820e4c 100644 --- a/policyanalyzer/v1/policyanalyzer-gen.go +++ b/policyanalyzer/v1/policyanalyzer-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policyanalyzer/v1beta1/policyanalyzer-gen.go b/policyanalyzer/v1beta1/policyanalyzer-gen.go index d80b2a8dfcf..c86a4a2d2ed 100644 --- a/policyanalyzer/v1beta1/policyanalyzer-gen.go +++ b/policyanalyzer/v1beta1/policyanalyzer-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policysimulator/v1/policysimulator-gen.go b/policysimulator/v1/policysimulator-gen.go index a943aab13d1..c222f55c15f 100644 --- a/policysimulator/v1/policysimulator-gen.go +++ b/policysimulator/v1/policysimulator-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policysimulator/v1alpha/policysimulator-gen.go b/policysimulator/v1alpha/policysimulator-gen.go index 84c783fe266..1507e01aabe 100644 --- a/policysimulator/v1alpha/policysimulator-gen.go +++ b/policysimulator/v1alpha/policysimulator-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policysimulator/v1beta/policysimulator-gen.go b/policysimulator/v1beta/policysimulator-gen.go index aaf8a98da5e..47af94a8579 100644 --- a/policysimulator/v1beta/policysimulator-gen.go +++ b/policysimulator/v1beta/policysimulator-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policytroubleshooter/v1/policytroubleshooter-gen.go b/policytroubleshooter/v1/policytroubleshooter-gen.go index 7a5fbdd4204..ed2a8b71cef 100644 --- a/policytroubleshooter/v1/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1/policytroubleshooter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/policytroubleshooter/v1beta/policytroubleshooter-gen.go b/policytroubleshooter/v1beta/policytroubleshooter-gen.go index ac9ee589bdc..d873b5f93c6 100644 --- a/policytroubleshooter/v1beta/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1beta/policytroubleshooter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/poly/v1/poly-gen.go b/poly/v1/poly-gen.go index 0ae1d657787..1ba5bfb5c46 100644 --- a/poly/v1/poly-gen.go +++ b/poly/v1/poly-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/privateca/v1/privateca-gen.go b/privateca/v1/privateca-gen.go index d6c8b96bb36..9b92ba78a26 100644 --- a/privateca/v1/privateca-gen.go +++ b/privateca/v1/privateca-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go index a5d9f4d711d..602c6ebf974 100644 --- a/privateca/v1beta1/privateca-gen.go +++ b/privateca/v1beta1/privateca-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index 6fee2cbb08c..37ad68f1287 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/publicca/v1/publicca-gen.go b/publicca/v1/publicca-gen.go index a6d49a29b7e..3f225bee66d 100644 --- a/publicca/v1/publicca-gen.go +++ b/publicca/v1/publicca-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/publicca/v1alpha1/publicca-gen.go b/publicca/v1alpha1/publicca-gen.go index c863aaba63b..6d73908fb8b 100644 --- a/publicca/v1alpha1/publicca-gen.go +++ b/publicca/v1alpha1/publicca-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/publicca/v1beta1/publicca-gen.go b/publicca/v1beta1/publicca-gen.go index b452ec1519d..99895cd49ee 100644 --- a/publicca/v1beta1/publicca-gen.go +++ b/publicca/v1beta1/publicca-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index 763baa38812..e080fda4de3 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/pubsub/v1beta1a/pubsub-gen.go b/pubsub/v1beta1a/pubsub-gen.go index 778686ddac2..41ad4a73277 100644 --- a/pubsub/v1beta1a/pubsub-gen.go +++ b/pubsub/v1beta1a/pubsub-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/pubsub/v1beta2/pubsub-gen.go b/pubsub/v1beta2/pubsub-gen.go index 98d61d74325..0fae590edf8 100644 --- a/pubsub/v1beta2/pubsub-gen.go +++ b/pubsub/v1beta2/pubsub-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/pubsublite/v1/pubsublite-gen.go b/pubsublite/v1/pubsublite-gen.go index 88ba2b80521..76088248e72 100644 --- a/pubsublite/v1/pubsublite-gen.go +++ b/pubsublite/v1/pubsublite-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go b/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go index a894f92746a..4236834aa2e 100644 --- a/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go +++ b/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go b/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go index 5d88d13e010..faae4dd136a 100644 --- a/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go +++ b/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index 22cffae2cf6..fe0423959f5 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/realtimebidding/v1alpha/realtimebidding-gen.go b/realtimebidding/v1alpha/realtimebidding-gen.go index d3f14a55b22..038084926fe 100644 --- a/realtimebidding/v1alpha/realtimebidding-gen.go +++ b/realtimebidding/v1alpha/realtimebidding-gen.go @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC. +// Copyright 2024 Google LLC. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. @@ -8,6 +8,17 @@ // // For product documentation, see: https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/ // +// # Library status +// +// These client libraries are officially supported by Google. However, this +// library is considered complete and is in maintenance mode. This means +// that we will address critical bugs and security issues but will not add +// any new features. +// +// When possible, we recommend using our newer +// [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) +// that are still actively being worked and iterated on. +// // # Creating a client // // Usage example: @@ -17,24 +28,26 @@ // ctx := context.Background() // realtimebiddingService, err := realtimebidding.NewService(ctx) // -// In this example, Google Application Default Credentials are used for authentication. -// -// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials. +// In this example, Google Application Default Credentials are used for +// authentication. For information on how to create and obtain Application +// Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials. // // # Other authentication options // -// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey: +// To use an API key for authentication (note: some APIs do not support API +// keys), use [google.golang.org/api/option.WithAPIKey]: // // realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithAPIKey("AIza...")) // -// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource: +// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth +// flow, use [google.golang.org/api/option.WithTokenSource]: // // config := &oauth2.Config{...} // // ... // token, err := config.Exchange(ctx, ...) // realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token))) // -// See https://godoc.org/google.golang.org/api/option/ for details on options. +// See [google.golang.org/api/option.ClientOption] for details on options. package realtimebidding // import "google.golang.org/api/realtimebidding/v1alpha" import ( @@ -77,7 +90,9 @@ const apiId = "realtimebidding:v1alpha" const apiName = "realtimebidding" const apiVersion = "v1alpha" const basePath = "https://realtimebidding.googleapis.com/" +const basePathTemplate = "https://realtimebidding.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://realtimebidding.mtls.googleapis.com/" +const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( @@ -94,7 +109,9 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err // NOTE: prepend, so we don't override user-specified scopes. opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) + opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go index 3aa1f8e5d54..a9c9fb4b852 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go +++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/recommendationengine/v1beta1/recommendationengine-gen.go b/recommendationengine/v1beta1/recommendationengine-gen.go index 3ac7c500392..680f5974094 100644 --- a/recommendationengine/v1beta1/recommendationengine-gen.go +++ b/recommendationengine/v1beta1/recommendationengine-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/recommender/v1/recommender-gen.go b/recommender/v1/recommender-gen.go index d23857e41d9..89e8b7a94b4 100644 --- a/recommender/v1/recommender-gen.go +++ b/recommender/v1/recommender-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/recommender/v1beta1/recommender-gen.go b/recommender/v1beta1/recommender-gen.go index 698ca121d1c..0fb90267469 100644 --- a/recommender/v1beta1/recommender-gen.go +++ b/recommender/v1beta1/recommender-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index a481dd649f5..8794b7cd135 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 5b5e7c52d28..eea4baf05a7 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/reseller/v1/reseller-gen.go b/reseller/v1/reseller-gen.go index d372f90520e..68674cac3e6 100644 --- a/reseller/v1/reseller-gen.go +++ b/reseller/v1/reseller-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/resourcesettings/v1/resourcesettings-gen.go b/resourcesettings/v1/resourcesettings-gen.go index 8be089ef7a7..3f8704b31b0 100644 --- a/resourcesettings/v1/resourcesettings-gen.go +++ b/resourcesettings/v1/resourcesettings-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index 4b526545489..c33a2bde149 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index 50db48c9b68..69103d818da 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index 674c38966e4..2322a334421 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 157878133bc..9c74cad1ef0 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index 685a5188735..01a62878a65 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/runtimeconfig/v1/runtimeconfig-gen.go b/runtimeconfig/v1/runtimeconfig-gen.go index 53d10443845..eca448fb5e1 100644 --- a/runtimeconfig/v1/runtimeconfig-gen.go +++ b/runtimeconfig/v1/runtimeconfig-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go index e4a74b79a3e..edbfc03aee1 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-gen.go +++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/safebrowsing/v4/safebrowsing-gen.go b/safebrowsing/v4/safebrowsing-gen.go index 808133d70a9..b11624cc628 100644 --- a/safebrowsing/v4/safebrowsing-gen.go +++ b/safebrowsing/v4/safebrowsing-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/safebrowsing/v5/safebrowsing-gen.go b/safebrowsing/v5/safebrowsing-gen.go index 97ab1783c13..de91316c253 100644 --- a/safebrowsing/v5/safebrowsing-gen.go +++ b/safebrowsing/v5/safebrowsing-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go index bb986a45ea9..592f51485c3 100644 --- a/sasportal/v1alpha1/sasportal-gen.go +++ b/sasportal/v1alpha1/sasportal-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/script/v1/script-gen.go b/script/v1/script-gen.go index 1988dfd048e..3d7380df642 100644 --- a/script/v1/script-gen.go +++ b/script/v1/script-gen.go @@ -184,7 +184,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/searchads360/v0/searchads360-gen.go b/searchads360/v0/searchads360-gen.go index 702be541195..4532b78cde7 100644 --- a/searchads360/v0/searchads360-gen.go +++ b/searchads360/v0/searchads360-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/searchconsole/v1/searchconsole-gen.go b/searchconsole/v1/searchconsole-gen.go index 1f857f87ba1..be68701b777 100644 --- a/searchconsole/v1/searchconsole-gen.go +++ b/searchconsole/v1/searchconsole-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go index 5428c0a3d07..d32f947fbfc 100644 --- a/secretmanager/v1/secretmanager-gen.go +++ b/secretmanager/v1/secretmanager-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/secretmanager/v1beta1/secretmanager-gen.go b/secretmanager/v1beta1/secretmanager-gen.go index 6f0918acebc..813e7cb1fce 100644 --- a/secretmanager/v1beta1/secretmanager-gen.go +++ b/secretmanager/v1beta1/secretmanager-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/secretmanager/v1beta2/secretmanager-gen.go b/secretmanager/v1beta2/secretmanager-gen.go index 99296ef1cf8..5bff06de9f2 100644 --- a/secretmanager/v1beta2/secretmanager-gen.go +++ b/secretmanager/v1beta2/secretmanager-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index 1f8ca1c1e84..a0000236bc4 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 9eb8df93f98..10baa2e08e3 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index dbd0f3e5621..0dac2eb1b15 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go index b414187f0f1..ac82c29fea4 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go index b8606444d45..8ec5c77ae6e 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index de31fcf6a46..83f952345e0 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index 57a9cfcb36c..bdaa80509f2 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicedirectory/v1/servicedirectory-gen.go b/servicedirectory/v1/servicedirectory-gen.go index aac9e2e3804..1f6df0fb389 100644 --- a/servicedirectory/v1/servicedirectory-gen.go +++ b/servicedirectory/v1/servicedirectory-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go index b4a8e8a962f..1aa433db56a 100644 --- a/servicedirectory/v1beta1/servicedirectory-gen.go +++ b/servicedirectory/v1beta1/servicedirectory-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index 5b5e612d96e..b11d2a046bd 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -129,7 +129,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index 197333d7eb7..f63c95be983 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index 7809396ca63..d16fc2a8887 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go index e4ddbcb01fa..0ab31a90a30 100644 --- a/serviceusage/v1/serviceusage-gen.go +++ b/serviceusage/v1/serviceusage-gen.go @@ -125,7 +125,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go index cb9f3aa2074..e9eca421699 100644 --- a/serviceusage/v1beta1/serviceusage-gen.go +++ b/serviceusage/v1beta1/serviceusage-gen.go @@ -125,7 +125,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go index 61ad6d29e05..97e20729448 100644 --- a/sheets/v4/sheets-gen.go +++ b/sheets/v4/sheets-gen.go @@ -132,7 +132,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/siteverification/v1/siteverification-gen.go b/siteverification/v1/siteverification-gen.go index ef6430df20e..72553af16d2 100644 --- a/siteverification/v1/siteverification-gen.go +++ b/siteverification/v1/siteverification-gen.go @@ -117,7 +117,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/slides/v1/slides-gen.go b/slides/v1/slides-gen.go index 12085182514..8e35925f731 100644 --- a/slides/v1/slides-gen.go +++ b/slides/v1/slides-gen.go @@ -140,7 +140,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/smartdevicemanagement/v1/smartdevicemanagement-gen.go b/smartdevicemanagement/v1/smartdevicemanagement-gen.go index 0847d4747ef..0ab26a8faf3 100644 --- a/smartdevicemanagement/v1/smartdevicemanagement-gen.go +++ b/smartdevicemanagement/v1/smartdevicemanagement-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/solar/v1/solar-gen.go b/solar/v1/solar-gen.go index ae11e2c40d1..899cd9902d3 100644 --- a/solar/v1/solar-gen.go +++ b/solar/v1/solar-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sourcerepo/v1/sourcerepo-gen.go b/sourcerepo/v1/sourcerepo-gen.go index eccd5e425a9..29b70f38e13 100644 --- a/sourcerepo/v1/sourcerepo-gen.go +++ b/sourcerepo/v1/sourcerepo-gen.go @@ -128,7 +128,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index 432594e2631..5311bfd6558 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -126,7 +126,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index 2ce39d48d71..b083bd97fd4 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index be03a520b07..b6958952482 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go index 331aab17943..c40efca0980 100644 --- a/sqladmin/v1/sqladmin-gen.go +++ b/sqladmin/v1/sqladmin-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index 8f33e88e550..6edea303ebe 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go index a3f17e5c6f5..8b0dbc372e0 100644 --- a/storage/v1/storage-gen.go +++ b/storage/v1/storage-gen.go @@ -134,7 +134,6 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index e2af8bc8165..0a0f360d44f 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/streetviewpublish/v1/streetviewpublish-gen.go b/streetviewpublish/v1/streetviewpublish-gen.go index 30fd2e168a5..93b9d359d89 100644 --- a/streetviewpublish/v1/streetviewpublish-gen.go +++ b/streetviewpublish/v1/streetviewpublish-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sts/v1/sts-gen.go b/sts/v1/sts-gen.go index 203ede7cc30..0a40b408962 100644 --- a/sts/v1/sts-gen.go +++ b/sts/v1/sts-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/sts/v1beta/sts-gen.go b/sts/v1beta/sts-gen.go index 30bc95691bb..3d7445ae7bc 100644 --- a/sts/v1beta/sts-gen.go +++ b/sts/v1beta/sts-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tagmanager/v1/tagmanager-gen.go b/tagmanager/v1/tagmanager-gen.go index d7a1d8dd12d..61acd3e1a2c 100644 --- a/tagmanager/v1/tagmanager-gen.go +++ b/tagmanager/v1/tagmanager-gen.go @@ -141,7 +141,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tagmanager/v2/tagmanager-gen.go b/tagmanager/v2/tagmanager-gen.go index 912c3f9219d..1bd199c6ef4 100644 --- a/tagmanager/v2/tagmanager-gen.go +++ b/tagmanager/v2/tagmanager-gen.go @@ -141,7 +141,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tasks/v1/tasks-gen.go b/tasks/v1/tasks-gen.go index a5bb539e313..e79900344a0 100644 --- a/tasks/v1/tasks-gen.go +++ b/tasks/v1/tasks-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index 7b0d699cfb0..8af35496d7d 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -121,7 +121,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index de39118e6aa..60cbecd57ed 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index 6ebe2fcfd19..82499ce1798 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go index 4391e1b4a91..5ad746e973c 100644 --- a/toolresults/v1beta3/toolresults-gen.go +++ b/toolresults/v1beta3/toolresults-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tpu/v1/tpu-gen.go b/tpu/v1/tpu-gen.go index 568d59684e7..ab5138dba87 100644 --- a/tpu/v1/tpu-gen.go +++ b/tpu/v1/tpu-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tpu/v1alpha1/tpu-gen.go b/tpu/v1alpha1/tpu-gen.go index ac8aab3036f..3ac06261a76 100644 --- a/tpu/v1alpha1/tpu-gen.go +++ b/tpu/v1alpha1/tpu-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tpu/v2/tpu-gen.go b/tpu/v2/tpu-gen.go index 489cbd8bc0f..e228a731891 100644 --- a/tpu/v2/tpu-gen.go +++ b/tpu/v2/tpu-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index ca0f574064c..3c00893235a 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/trafficdirector/v2/trafficdirector-gen.go b/trafficdirector/v2/trafficdirector-gen.go index 0a99b7d4710..144b9ddcd68 100644 --- a/trafficdirector/v2/trafficdirector-gen.go +++ b/trafficdirector/v2/trafficdirector-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/trafficdirector/v3/trafficdirector-gen.go b/trafficdirector/v3/trafficdirector-gen.go index 15a21976863..225140cbda6 100644 --- a/trafficdirector/v3/trafficdirector-gen.go +++ b/trafficdirector/v3/trafficdirector-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/transcoder/v1/transcoder-gen.go b/transcoder/v1/transcoder-gen.go index 099072eaed4..9680bae11a9 100644 --- a/transcoder/v1/transcoder-gen.go +++ b/transcoder/v1/transcoder-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/translate/v2/translate-gen.go b/translate/v2/translate-gen.go index 4b21aa6404a..e9db61a82c9 100644 --- a/translate/v2/translate-gen.go +++ b/translate/v2/translate-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index 67d8ef7ca09..9f760b29f6e 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go index 08931292acd..d5e3974f777 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/travelimpactmodel/v1/travelimpactmodel-gen.go b/travelimpactmodel/v1/travelimpactmodel-gen.go index ef547a06cfa..a9b462070a6 100644 --- a/travelimpactmodel/v1/travelimpactmodel-gen.go +++ b/travelimpactmodel/v1/travelimpactmodel-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vault/v1/vault-gen.go b/vault/v1/vault-gen.go index 1cdd708a65f..a16256c4393 100644 --- a/vault/v1/vault-gen.go +++ b/vault/v1/vault-gen.go @@ -119,7 +119,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/verifiedaccess/v1/verifiedaccess-gen.go b/verifiedaccess/v1/verifiedaccess-gen.go index 3825fc93727..95ae2a8de7b 100644 --- a/verifiedaccess/v1/verifiedaccess-gen.go +++ b/verifiedaccess/v1/verifiedaccess-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/verifiedaccess/v2/verifiedaccess-gen.go b/verifiedaccess/v2/verifiedaccess-gen.go index 1c7c23b1b7c..bfbd4e63de7 100644 --- a/verifiedaccess/v2/verifiedaccess-gen.go +++ b/verifiedaccess/v2/verifiedaccess-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/versionhistory/v1/versionhistory-gen.go b/versionhistory/v1/versionhistory-gen.go index a3a86196184..1113b14eb84 100644 --- a/versionhistory/v1/versionhistory-gen.go +++ b/versionhistory/v1/versionhistory-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go index 20de5efb83d..5af9b0a0132 100644 --- a/videointelligence/v1/videointelligence-gen.go +++ b/videointelligence/v1/videointelligence-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/videointelligence/v1beta2/videointelligence-gen.go b/videointelligence/v1beta2/videointelligence-gen.go index 50a87f625b2..f4c4bd6e6e0 100644 --- a/videointelligence/v1beta2/videointelligence-gen.go +++ b/videointelligence/v1beta2/videointelligence-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/videointelligence/v1p1beta1/videointelligence-gen.go b/videointelligence/v1p1beta1/videointelligence-gen.go index 166ec437cd7..a36bf0b60c8 100644 --- a/videointelligence/v1p1beta1/videointelligence-gen.go +++ b/videointelligence/v1p1beta1/videointelligence-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/videointelligence/v1p2beta1/videointelligence-gen.go b/videointelligence/v1p2beta1/videointelligence-gen.go index a0a5d3f7580..723e232442f 100644 --- a/videointelligence/v1p2beta1/videointelligence-gen.go +++ b/videointelligence/v1p2beta1/videointelligence-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/videointelligence/v1p3beta1/videointelligence-gen.go b/videointelligence/v1p3beta1/videointelligence-gen.go index 84d337ed6b2..6e2704454b1 100644 --- a/videointelligence/v1p3beta1/videointelligence-gen.go +++ b/videointelligence/v1p3beta1/videointelligence-gen.go @@ -113,7 +113,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vision/v1/vision-gen.go b/vision/v1/vision-gen.go index 8f367e2888b..f0a646cec2d 100644 --- a/vision/v1/vision-gen.go +++ b/vision/v1/vision-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vision/v1p1beta1/vision-gen.go b/vision/v1p1beta1/vision-gen.go index cb6b72caa29..297d9021beb 100644 --- a/vision/v1p1beta1/vision-gen.go +++ b/vision/v1p1beta1/vision-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vision/v1p2beta1/vision-gen.go b/vision/v1p2beta1/vision-gen.go index 52b6b1804c5..3bb9df53968 100644 --- a/vision/v1p2beta1/vision-gen.go +++ b/vision/v1p2beta1/vision-gen.go @@ -122,7 +122,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vmmigration/v1/vmmigration-gen.go b/vmmigration/v1/vmmigration-gen.go index 7fae90160a4..ad17c184a10 100644 --- a/vmmigration/v1/vmmigration-gen.go +++ b/vmmigration/v1/vmmigration-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vmmigration/v1alpha1/vmmigration-gen.go b/vmmigration/v1alpha1/vmmigration-gen.go index 873527fde64..f2990e5456b 100644 --- a/vmmigration/v1alpha1/vmmigration-gen.go +++ b/vmmigration/v1alpha1/vmmigration-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vmwareengine/v1/vmwareengine-gen.go b/vmwareengine/v1/vmwareengine-gen.go index 707aa56b326..521fb6ca623 100644 --- a/vmwareengine/v1/vmwareengine-gen.go +++ b/vmwareengine/v1/vmwareengine-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vpcaccess/v1/vpcaccess-gen.go b/vpcaccess/v1/vpcaccess-gen.go index a2b74254cb4..2c34002e10d 100644 --- a/vpcaccess/v1/vpcaccess-gen.go +++ b/vpcaccess/v1/vpcaccess-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/vpcaccess/v1beta1/vpcaccess-gen.go b/vpcaccess/v1beta1/vpcaccess-gen.go index 1e61715163d..e1262824047 100644 --- a/vpcaccess/v1beta1/vpcaccess-gen.go +++ b/vpcaccess/v1beta1/vpcaccess-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/walletobjects/v1/walletobjects-gen.go b/walletobjects/v1/walletobjects-gen.go index 4e67469400a..fa1f5c1a206 100644 --- a/walletobjects/v1/walletobjects-gen.go +++ b/walletobjects/v1/walletobjects-gen.go @@ -110,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/webfonts/v1/webfonts-gen.go b/webfonts/v1/webfonts-gen.go index fd8e76c91f1..d1a892fd054 100644 --- a/webfonts/v1/webfonts-gen.go +++ b/webfonts/v1/webfonts-gen.go @@ -99,7 +99,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/webrisk/v1/webrisk-gen.go b/webrisk/v1/webrisk-gen.go index c6d932b5572..959f7db8ef0 100644 --- a/webrisk/v1/webrisk-gen.go +++ b/webrisk/v1/webrisk-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/websecurityscanner/v1/websecurityscanner-gen.go b/websecurityscanner/v1/websecurityscanner-gen.go index 30afd2472d0..83e07775f95 100644 --- a/websecurityscanner/v1/websecurityscanner-gen.go +++ b/websecurityscanner/v1/websecurityscanner-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/websecurityscanner/v1alpha/websecurityscanner-gen.go b/websecurityscanner/v1alpha/websecurityscanner-gen.go index cb83b1e6cb6..3015f2050f8 100644 --- a/websecurityscanner/v1alpha/websecurityscanner-gen.go +++ b/websecurityscanner/v1alpha/websecurityscanner-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/websecurityscanner/v1beta/websecurityscanner-gen.go b/websecurityscanner/v1beta/websecurityscanner-gen.go index 6eb2c131cd1..cfbfc3674fc 100644 --- a/websecurityscanner/v1beta/websecurityscanner-gen.go +++ b/websecurityscanner/v1beta/websecurityscanner-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index 2c2c4780ba1..2bae965270b 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workflowexecutions/v1beta/workflowexecutions-gen.go b/workflowexecutions/v1beta/workflowexecutions-gen.go index c0490afe871..406684008df 100644 --- a/workflowexecutions/v1beta/workflowexecutions-gen.go +++ b/workflowexecutions/v1beta/workflowexecutions-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workflows/v1/workflows-gen.go b/workflows/v1/workflows-gen.go index 2d76cbef301..063d30f97d2 100644 --- a/workflows/v1/workflows-gen.go +++ b/workflows/v1/workflows-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workflows/v1beta/workflows-gen.go b/workflows/v1beta/workflows-gen.go index 60b7f820d9f..d991e7d8d23 100644 --- a/workflows/v1beta/workflows-gen.go +++ b/workflows/v1beta/workflows-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index 5da0c754f26..b0757e9d6ce 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workspaceevents/v1/workspaceevents-gen.go b/workspaceevents/v1/workspaceevents-gen.go index 50c8e6502a3..8b05da1c788 100644 --- a/workspaceevents/v1/workspaceevents-gen.go +++ b/workspaceevents/v1/workspaceevents-gen.go @@ -158,7 +158,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workstations/v1/workstations-gen.go b/workstations/v1/workstations-gen.go index 217cc7d78b4..ab312a95d86 100644 --- a/workstations/v1/workstations-gen.go +++ b/workstations/v1/workstations-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/workstations/v1beta/workstations-gen.go b/workstations/v1beta/workstations-gen.go index 77b37d3cce5..98fd6591034 100644 --- a/workstations/v1beta/workstations-gen.go +++ b/workstations/v1beta/workstations-gen.go @@ -111,7 +111,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/youtube/v3/youtube-gen.go b/youtube/v3/youtube-gen.go index d040d95ae4d..18a5ee7bbd3 100644 --- a/youtube/v3/youtube-gen.go +++ b/youtube/v3/youtube-gen.go @@ -142,7 +142,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/youtubeanalytics/v2/youtubeanalytics-gen.go b/youtubeanalytics/v2/youtubeanalytics-gen.go index 3e9ad47e52f..489a3335391 100644 --- a/youtubeanalytics/v2/youtubeanalytics-gen.go +++ b/youtubeanalytics/v2/youtubeanalytics-gen.go @@ -132,7 +132,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/youtubereporting/v1/youtubereporting-gen.go b/youtubereporting/v1/youtubereporting-gen.go index 2a404e3c01d..e131ff5de11 100644 --- a/youtubereporting/v1/youtubereporting-gen.go +++ b/youtubereporting/v1/youtubereporting-gen.go @@ -120,7 +120,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err From 2c75b7fe6b44a45ac8adfc6fa64286c6b9f4471e Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Tue, 16 Apr 2024 14:00:18 -0600 Subject: [PATCH 3/6] gen: remove const defaultUniverseDomain --- google-api-go-generator/gen.go | 1 - google-api-go-generator/testdata/any.want | 1 - google-api-go-generator/testdata/arrayofarray-1.want | 1 - google-api-go-generator/testdata/arrayofenum.want | 1 - google-api-go-generator/testdata/arrayofmapofobjects.want | 1 - google-api-go-generator/testdata/arrayofmapofstrings.want | 1 - google-api-go-generator/testdata/blogger-3.want | 1 - google-api-go-generator/testdata/floats.want | 1 - google-api-go-generator/testdata/getwithoutbody.want | 1 - google-api-go-generator/testdata/http-body.want | 1 - google-api-go-generator/testdata/json-body.want | 1 - google-api-go-generator/testdata/mapofany.want | 1 - google-api-go-generator/testdata/mapofarrayofobjects.want | 1 - google-api-go-generator/testdata/mapofint64strings.want | 1 - google-api-go-generator/testdata/mapofobjects.want | 1 - google-api-go-generator/testdata/mapofstrings-1.want | 1 - google-api-go-generator/testdata/param-rename.want | 1 - google-api-go-generator/testdata/quotednum.want | 1 - google-api-go-generator/testdata/repeated.want | 1 - google-api-go-generator/testdata/required-query.want | 1 - google-api-go-generator/testdata/resource-named-service.want | 1 - google-api-go-generator/testdata/unfortunatedefaults.want | 1 - google-api-go-generator/testdata/variants.want | 1 - google-api-go-generator/testdata/wrapnewlines.want | 1 - 24 files changed, 24 deletions(-) diff --git a/google-api-go-generator/gen.go b/google-api-go-generator/gen.go index 644ad3f6955..6a0f9542c35 100644 --- a/google-api-go-generator/gen.go +++ b/google-api-go-generator/gen.go @@ -784,7 +784,6 @@ func (a *API) GenerateCode() ([]byte, error) { if mtlsBase := a.mtlsAPIBaseURL(); mtlsBase != "" { pn("const mtlsBasePath = %q", mtlsBase) } - pn("const defaultUniverseDomain = %q", googleDefaultUniverse) a.generateScopeConstants() a.PopulateSchemas() diff --git a/google-api-go-generator/testdata/any.want b/google-api-go-generator/testdata/any.want index f3f6bfe6224..9e059794849 100644 --- a/google-api-go-generator/testdata/any.want +++ b/google-api-go-generator/testdata/any.want @@ -92,7 +92,6 @@ const apiVersion = "v1beta3" const basePath = "https://logging.googleapis.com/" const basePathTemplate = "https://logging.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://logging.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/google-api-go-generator/testdata/arrayofarray-1.want b/google-api-go-generator/testdata/arrayofarray-1.want index 86772f9c65d..46a8de2c4d4 100644 --- a/google-api-go-generator/testdata/arrayofarray-1.want +++ b/google-api-go-generator/testdata/arrayofarray-1.want @@ -89,7 +89,6 @@ const apiName = "arrayofarray" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/arrayofenum.want b/google-api-go-generator/testdata/arrayofenum.want index 674a853526f..ba3330b21cc 100644 --- a/google-api-go-generator/testdata/arrayofenum.want +++ b/google-api-go-generator/testdata/arrayofenum.want @@ -89,7 +89,6 @@ const apiName = "arrayofenum" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/arrayofmapofobjects.want b/google-api-go-generator/testdata/arrayofmapofobjects.want index c42790c3afb..ac8a53e16f9 100644 --- a/google-api-go-generator/testdata/arrayofmapofobjects.want +++ b/google-api-go-generator/testdata/arrayofmapofobjects.want @@ -89,7 +89,6 @@ const apiName = "arrayofmapofstrings" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/arrayofmapofstrings.want b/google-api-go-generator/testdata/arrayofmapofstrings.want index f5829680b9d..c80435331af 100644 --- a/google-api-go-generator/testdata/arrayofmapofstrings.want +++ b/google-api-go-generator/testdata/arrayofmapofstrings.want @@ -89,7 +89,6 @@ const apiName = "arrayofmapofstrings" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/blogger-3.want b/google-api-go-generator/testdata/blogger-3.want index 394f121a08b..b5e6cba0e15 100644 --- a/google-api-go-generator/testdata/blogger-3.want +++ b/google-api-go-generator/testdata/blogger-3.want @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://www.googleapis.com/blogger/v3/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/blogger/v3/" const mtlsBasePath = "https://www.mtls.googleapis.com/blogger/v3/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/google-api-go-generator/testdata/floats.want b/google-api-go-generator/testdata/floats.want index 2f316c15647..2414a4a5bab 100644 --- a/google-api-go-generator/testdata/floats.want +++ b/google-api-go-generator/testdata/floats.want @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://appengine.googleapis.com/" const basePathTemplate = "https://appengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://appengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/getwithoutbody.want b/google-api-go-generator/testdata/getwithoutbody.want index 6c273230a3b..e1559e04aef 100644 --- a/google-api-go-generator/testdata/getwithoutbody.want +++ b/google-api-go-generator/testdata/getwithoutbody.want @@ -89,7 +89,6 @@ const apiName = "getwithoutbody" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/http-body.want b/google-api-go-generator/testdata/http-body.want index d7943799e9e..66405467b28 100644 --- a/google-api-go-generator/testdata/http-body.want +++ b/google-api-go-generator/testdata/http-body.want @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://healthcare.googleapis.com/" const basePathTemplate = "https://healthcare.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://healthcare.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/google-api-go-generator/testdata/json-body.want b/google-api-go-generator/testdata/json-body.want index 884cb14869c..0d6bf97dbbe 100644 --- a/google-api-go-generator/testdata/json-body.want +++ b/google-api-go-generator/testdata/json-body.want @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://ml.googleapis.com/" const basePathTemplate = "https://ml.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://ml.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/google-api-go-generator/testdata/mapofany.want b/google-api-go-generator/testdata/mapofany.want index 59393ee6b50..651c172bc9b 100644 --- a/google-api-go-generator/testdata/mapofany.want +++ b/google-api-go-generator/testdata/mapofany.want @@ -89,7 +89,6 @@ const apiName = "mapofany" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/mapofarrayofobjects.want b/google-api-go-generator/testdata/mapofarrayofobjects.want index e7d9f077bcf..d56deca47c4 100644 --- a/google-api-go-generator/testdata/mapofarrayofobjects.want +++ b/google-api-go-generator/testdata/mapofarrayofobjects.want @@ -89,7 +89,6 @@ const apiName = "additionalprops" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/mapofint64strings.want b/google-api-go-generator/testdata/mapofint64strings.want index f4f9d4ec5d4..418978e0186 100644 --- a/google-api-go-generator/testdata/mapofint64strings.want +++ b/google-api-go-generator/testdata/mapofint64strings.want @@ -89,7 +89,6 @@ const apiName = "androidbuildinternal" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/mapofobjects.want b/google-api-go-generator/testdata/mapofobjects.want index 38506bb2f82..9f49f40a414 100644 --- a/google-api-go-generator/testdata/mapofobjects.want +++ b/google-api-go-generator/testdata/mapofobjects.want @@ -89,7 +89,6 @@ const apiName = "additionalpropsobjs" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/mapofstrings-1.want b/google-api-go-generator/testdata/mapofstrings-1.want index c487c3dd9fb..3b7a59e9c86 100644 --- a/google-api-go-generator/testdata/mapofstrings-1.want +++ b/google-api-go-generator/testdata/mapofstrings-1.want @@ -89,7 +89,6 @@ const apiName = "additionalprops" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/param-rename.want b/google-api-go-generator/testdata/param-rename.want index b2e8ccbe137..3c4b09b6a52 100644 --- a/google-api-go-generator/testdata/param-rename.want +++ b/google-api-go-generator/testdata/param-rename.want @@ -89,7 +89,6 @@ const apiName = "paramrename" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/quotednum.want b/google-api-go-generator/testdata/quotednum.want index 8692c7b5e01..347413cf300 100644 --- a/google-api-go-generator/testdata/quotednum.want +++ b/google-api-go-generator/testdata/quotednum.want @@ -92,7 +92,6 @@ const apiVersion = "v1.1" const basePath = "https://www.googleapis.com/adexchangebuyer/v1.1/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/adexchangebuyer/v1.1/" const mtlsBasePath = "https://www.mtls.googleapis.com/adexchangebuyer/v1.1/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/google-api-go-generator/testdata/repeated.want b/google-api-go-generator/testdata/repeated.want index 5cfa0845370..6d21e5a609b 100644 --- a/google-api-go-generator/testdata/repeated.want +++ b/google-api-go-generator/testdata/repeated.want @@ -89,7 +89,6 @@ const apiName = "repeated" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/required-query.want b/google-api-go-generator/testdata/required-query.want index f4cc9c3ba29..ea089702ae7 100644 --- a/google-api-go-generator/testdata/required-query.want +++ b/google-api-go-generator/testdata/required-query.want @@ -89,7 +89,6 @@ const apiName = "tshealth" const apiVersion = "" const basePath = "https://www.googleapis.com/_ah/api/tshealth/v1/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/_ah/api/tshealth/v1/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/resource-named-service.want b/google-api-go-generator/testdata/resource-named-service.want index cb57a9f9cc8..3f1b1d67dcb 100644 --- a/google-api-go-generator/testdata/resource-named-service.want +++ b/google-api-go-generator/testdata/resource-named-service.want @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://appengine.googleapis.com/" const basePathTemplate = "https://appengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://appengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/google-api-go-generator/testdata/unfortunatedefaults.want b/google-api-go-generator/testdata/unfortunatedefaults.want index f819df4f523..8876431c209 100644 --- a/google-api-go-generator/testdata/unfortunatedefaults.want +++ b/google-api-go-generator/testdata/unfortunatedefaults.want @@ -89,7 +89,6 @@ const apiName = "wrapnewlines" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/variants.want b/google-api-go-generator/testdata/variants.want index f0bc8c6a114..8521f306d5c 100644 --- a/google-api-go-generator/testdata/variants.want +++ b/google-api-go-generator/testdata/variants.want @@ -89,7 +89,6 @@ const apiName = "additionalpropsobjs" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/google-api-go-generator/testdata/wrapnewlines.want b/google-api-go-generator/testdata/wrapnewlines.want index febcd29ce7e..982324fb4b3 100644 --- a/google-api-go-generator/testdata/wrapnewlines.want +++ b/google-api-go-generator/testdata/wrapnewlines.want @@ -89,7 +89,6 @@ const apiName = "wrapnewlines" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/apis" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/apis" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { From c99911163e770b0940cf1f72564fab0d52a03ad5 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Tue, 16 Apr 2024 14:07:35 -0600 Subject: [PATCH 4/6] Regen all APIs --- abusiveexperiencereport/v1/abusiveexperiencereport-gen.go | 1 - acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go | 1 - accessapproval/v1/accessapproval-gen.go | 1 - accesscontextmanager/v1/accesscontextmanager-gen.go | 1 - acmedns/v1/acmedns-gen.go | 1 - addressvalidation/v1/addressvalidation-gen.go | 1 - adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go | 1 - adexperiencereport/v1/adexperiencereport-gen.go | 1 - admin/datatransfer/v1/admin-gen.go | 1 - admin/directory/v1/admin-gen.go | 1 - admin/reports/v1/admin-gen.go | 1 - admob/v1/admob-gen.go | 1 - admob/v1beta/admob-gen.go | 1 - adsense/v2/adsense-gen.go | 1 - adsensehost/v4.1/adsensehost-gen.go | 1 - advisorynotifications/v1/advisorynotifications-gen.go | 1 - aiplatform/v1/aiplatform-gen.go | 1 - aiplatform/v1beta1/aiplatform-gen.go | 1 - alertcenter/v1beta1/alertcenter-gen.go | 1 - alloydb/v1/alloydb-gen.go | 1 - alloydb/v1alpha/alloydb-gen.go | 1 - alloydb/v1beta/alloydb-gen.go | 1 - analytics/v3/analytics-gen.go | 1 - analyticsadmin/v1alpha/analyticsadmin-gen.go | 1 - analyticsadmin/v1beta/analyticsadmin-gen.go | 1 - analyticsdata/v1beta/analyticsdata-gen.go | 1 - analyticshub/v1/analyticshub-gen.go | 1 - analyticshub/v1beta1/analyticshub-gen.go | 1 - analyticsreporting/v4/analyticsreporting-gen.go | 1 - androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go | 1 - androidenterprise/v1/androidenterprise-gen.go | 1 - androidmanagement/v1/androidmanagement-gen.go | 1 - androidpublisher/v3/androidpublisher-gen.go | 1 - apigateway/v1/apigateway-gen.go | 1 - apigateway/v1beta/apigateway-gen.go | 1 - apigee/v1/apigee-gen.go | 1 - apigeeregistry/v1/apigeeregistry-gen.go | 1 - apikeys/v2/apikeys-gen.go | 1 - appengine/v1/appengine-gen.go | 1 - appengine/v1alpha/appengine-gen.go | 1 - appengine/v1beta/appengine-gen.go | 1 - apphub/v1/apphub-gen.go | 1 - apphub/v1alpha/apphub-gen.go | 1 - area120tables/v1alpha1/area120tables-gen.go | 1 - artifactregistry/v1/artifactregistry-gen.go | 1 - artifactregistry/v1beta1/artifactregistry-gen.go | 1 - artifactregistry/v1beta2/artifactregistry-gen.go | 1 - assuredworkloads/v1/assuredworkloads-gen.go | 1 - assuredworkloads/v1beta1/assuredworkloads-gen.go | 1 - .../v1/authorizedbuyersmarketplace-gen.go | 1 - backupdr/v1/backupdr-gen.go | 1 - baremetalsolution/v2/baremetalsolution-gen.go | 1 - batch/v1/batch-gen.go | 1 - beyondcorp/v1/beyondcorp-gen.go | 1 - beyondcorp/v1alpha/beyondcorp-gen.go | 1 - biglake/v1/biglake-gen.go | 1 - bigquery/v2/bigquery-gen.go | 1 - bigqueryconnection/v1/bigqueryconnection-gen.go | 1 - bigqueryconnection/v1beta1/bigqueryconnection-gen.go | 1 - bigquerydatapolicy/v1/bigquerydatapolicy-gen.go | 1 - bigquerydatatransfer/v1/bigquerydatatransfer-gen.go | 1 - bigqueryreservation/v1/bigqueryreservation-gen.go | 1 - bigtableadmin/v2/bigtableadmin-gen.go | 1 - billingbudgets/v1/billingbudgets-gen.go | 1 - billingbudgets/v1beta1/billingbudgets-gen.go | 1 - binaryauthorization/v1/binaryauthorization-gen.go | 1 - binaryauthorization/v1beta1/binaryauthorization-gen.go | 1 - blockchainnodeengine/v1/blockchainnodeengine-gen.go | 1 - blogger/v2/blogger-gen.go | 1 - blogger/v3/blogger-gen.go | 1 - books/v1/books-gen.go | 1 - businessprofileperformance/v1/businessprofileperformance-gen.go | 1 - calendar/v3/calendar-gen.go | 1 - certificatemanager/v1/certificatemanager-gen.go | 1 - chat/v1/chat-gen.go | 1 - checks/v1alpha/checks-gen.go | 1 - chromemanagement/v1/chromemanagement-gen.go | 1 - chromepolicy/v1/chromepolicy-gen.go | 1 - chromeuxreport/v1/chromeuxreport-gen.go | 1 - civicinfo/v2/civicinfo-gen.go | 1 - classroom/v1/classroom-gen.go | 1 - cloudasset/v1/cloudasset-gen.go | 1 - cloudasset/v1beta1/cloudasset-gen.go | 1 - cloudasset/v1p1beta1/cloudasset-gen.go | 1 - cloudasset/v1p5beta1/cloudasset-gen.go | 1 - cloudasset/v1p7beta1/cloudasset-gen.go | 1 - cloudbilling/v1/cloudbilling-gen.go | 1 - cloudbilling/v1beta/cloudbilling-gen.go | 1 - cloudbuild/v1/cloudbuild-gen.go | 1 - cloudbuild/v2/cloudbuild-gen.go | 1 - cloudchannel/v1/cloudchannel-gen.go | 1 - cloudcontrolspartner/v1/cloudcontrolspartner-gen.go | 1 - cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go | 1 - clouddeploy/v1/clouddeploy-gen.go | 1 - clouderrorreporting/v1beta1/clouderrorreporting-gen.go | 1 - cloudfunctions/v1/cloudfunctions-gen.go | 1 - cloudfunctions/v2/cloudfunctions-gen.go | 1 - cloudfunctions/v2alpha/cloudfunctions-gen.go | 1 - cloudfunctions/v2beta/cloudfunctions-gen.go | 1 - cloudidentity/v1/cloudidentity-gen.go | 1 - cloudidentity/v1beta1/cloudidentity-gen.go | 1 - cloudkms/v1/cloudkms-gen.go | 1 - cloudprofiler/v2/cloudprofiler-gen.go | 1 - cloudresourcemanager/v1/cloudresourcemanager-gen.go | 1 - cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go | 1 - cloudresourcemanager/v2/cloudresourcemanager-gen.go | 1 - cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go | 1 - cloudresourcemanager/v3/cloudresourcemanager-gen.go | 1 - cloudscheduler/v1/cloudscheduler-gen.go | 1 - cloudscheduler/v1beta1/cloudscheduler-gen.go | 1 - cloudsearch/v1/cloudsearch-gen.go | 1 - cloudshell/v1/cloudshell-gen.go | 1 - cloudsupport/v2/cloudsupport-gen.go | 1 - cloudsupport/v2beta/cloudsupport-gen.go | 1 - cloudtasks/v2/cloudtasks-gen.go | 1 - cloudtasks/v2beta2/cloudtasks-gen.go | 1 - cloudtasks/v2beta3/cloudtasks-gen.go | 1 - cloudtrace/v1/cloudtrace-gen.go | 1 - cloudtrace/v2/cloudtrace-gen.go | 1 - cloudtrace/v2beta1/cloudtrace-gen.go | 1 - composer/v1/composer-gen.go | 1 - composer/v1beta1/composer-gen.go | 1 - compute/v0.alpha/compute-gen.go | 1 - compute/v0.beta/compute-gen.go | 1 - compute/v1/compute-gen.go | 1 - connectors/v1/connectors-gen.go | 1 - connectors/v2/connectors-gen.go | 1 - contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go | 1 - contactcenterinsights/v1/contactcenterinsights-gen.go | 1 - container/v1/container-gen.go | 1 - container/v1beta1/container-gen.go | 1 - containeranalysis/v1/containeranalysis-gen.go | 1 - containeranalysis/v1alpha1/containeranalysis-gen.go | 1 - containeranalysis/v1beta1/containeranalysis-gen.go | 1 - content/v2.1/content-gen.go | 1 - contentwarehouse/v1/contentwarehouse-gen.go | 1 - customsearch/v1/customsearch-gen.go | 1 - datacatalog/v1/datacatalog-gen.go | 1 - datacatalog/v1beta1/datacatalog-gen.go | 1 - dataflow/v1b3/dataflow-gen.go | 1 - dataform/v1beta1/dataform-gen.go | 1 - datafusion/v1/datafusion-gen.go | 1 - datafusion/v1beta1/datafusion-gen.go | 1 - datalabeling/v1beta1/datalabeling-gen.go | 1 - datamigration/v1/datamigration-gen.go | 1 - datamigration/v1beta1/datamigration-gen.go | 1 - datapipelines/v1/datapipelines-gen.go | 1 - dataplex/v1/dataplex-gen.go | 1 - dataportability/v1/dataportability-gen.go | 1 - dataportability/v1beta/dataportability-gen.go | 1 - dataproc/v1/dataproc-gen.go | 1 - datastore/v1/datastore-gen.go | 1 - datastore/v1beta1/datastore-gen.go | 1 - datastore/v1beta3/datastore-gen.go | 1 - datastream/v1/datastream-gen.go | 1 - datastream/v1alpha1/datastream-gen.go | 1 - deploymentmanager/v0.alpha/deploymentmanager-gen.go | 1 - deploymentmanager/v2/deploymentmanager-gen.go | 1 - deploymentmanager/v2beta/deploymentmanager-gen.go | 1 - dfareporting/v3.5/dfareporting-gen.go | 1 - dfareporting/v4/dfareporting-gen.go | 1 - dialogflow/v2/dialogflow-gen.go | 1 - dialogflow/v2beta1/dialogflow-gen.go | 1 - dialogflow/v3/dialogflow-gen.go | 1 - dialogflow/v3beta1/dialogflow-gen.go | 1 - digitalassetlinks/v1/digitalassetlinks-gen.go | 1 - discovery/v1/discovery-gen.go | 1 - discoveryengine/v1/discoveryengine-gen.go | 1 - discoveryengine/v1alpha/discoveryengine-gen.go | 1 - discoveryengine/v1beta/discoveryengine-gen.go | 1 - displayvideo/v2/displayvideo-gen.go | 1 - displayvideo/v3/displayvideo-gen.go | 1 - dlp/v2/dlp-gen.go | 1 - dns/v1/dns-gen.go | 1 - dns/v1beta2/dns-gen.go | 1 - docs/v1/docs-gen.go | 1 - documentai/v1/documentai-gen.go | 1 - documentai/v1beta2/documentai-gen.go | 1 - documentai/v1beta3/documentai-gen.go | 1 - domains/v1/domains-gen.go | 1 - domains/v1alpha2/domains-gen.go | 1 - domains/v1beta1/domains-gen.go | 1 - domainsrdap/v1/domainsrdap-gen.go | 1 - doubleclickbidmanager/v2/doubleclickbidmanager-gen.go | 1 - doubleclicksearch/v2/doubleclicksearch-gen.go | 1 - drive/v2/drive-gen.go | 1 - drive/v3/drive-gen.go | 1 - driveactivity/v2/driveactivity-gen.go | 1 - drivelabels/v2/drivelabels-gen.go | 1 - drivelabels/v2beta/drivelabels-gen.go | 1 - essentialcontacts/v1/essentialcontacts-gen.go | 1 - eventarc/v1/eventarc-gen.go | 1 - eventarc/v1beta1/eventarc-gen.go | 1 - factchecktools/v1alpha1/factchecktools-gen.go | 1 - fcm/v1/fcm-gen.go | 1 - fcmdata/v1beta1/fcmdata-gen.go | 1 - file/v1/file-gen.go | 1 - file/v1beta1/file-gen.go | 1 - firebase/v1beta1/firebase-gen.go | 1 - firebaseappcheck/v1/firebaseappcheck-gen.go | 1 - firebaseappcheck/v1beta/firebaseappcheck-gen.go | 1 - firebaseappdistribution/v1/firebaseappdistribution-gen.go | 1 - firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go | 1 - firebasedatabase/v1beta/firebasedatabase-gen.go | 1 - firebasedynamiclinks/v1/firebasedynamiclinks-gen.go | 1 - firebasehosting/v1/firebasehosting-gen.go | 1 - firebasehosting/v1beta1/firebasehosting-gen.go | 1 - firebaseml/v1/firebaseml-gen.go | 1 - firebaseml/v1beta2/firebaseml-gen.go | 1 - firebaseml/v2beta/firebaseml-gen.go | 1 - firebaserules/v1/firebaserules-gen.go | 1 - firebasestorage/v1beta/firebasestorage-gen.go | 1 - firestore/v1/firestore-gen.go | 1 - firestore/v1beta1/firestore-gen.go | 1 - firestore/v1beta2/firestore-gen.go | 1 - fitness/v1/fitness-gen.go | 1 - forms/v1/forms-gen.go | 1 - games/v1/games-gen.go | 1 - gamesconfiguration/v1configuration/gamesconfiguration-gen.go | 1 - gamesmanagement/v1management/gamesmanagement-gen.go | 1 - gkebackup/v1/gkebackup-gen.go | 1 - gkehub/v1/gkehub-gen.go | 1 - gkehub/v1alpha/gkehub-gen.go | 1 - gkehub/v1beta/gkehub-gen.go | 1 - gkehub/v1beta1/gkehub-gen.go | 1 - gkehub/v2alpha/gkehub-gen.go | 1 - gkeonprem/v1/gkeonprem-gen.go | 1 - gmail/v1/gmail-gen.go | 1 - gmailpostmastertools/v1/gmailpostmastertools-gen.go | 1 - gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go | 1 - groupsmigration/v1/groupsmigration-gen.go | 1 - groupssettings/v1/groupssettings-gen.go | 1 - healthcare/v1/healthcare-gen.go | 1 - healthcare/v1beta1/healthcare-gen.go | 1 - homegraph/v1/homegraph-gen.go | 1 - iam/v1/iam-gen.go | 1 - iam/v2/iam-gen.go | 1 - iam/v2beta/iam-gen.go | 1 - iamcredentials/v1/iamcredentials-gen.go | 1 - iap/v1/iap-gen.go | 1 - iap/v1beta1/iap-gen.go | 1 - identitytoolkit/v1/identitytoolkit-gen.go | 1 - identitytoolkit/v2/identitytoolkit-gen.go | 1 - identitytoolkit/v3/identitytoolkit-gen.go | 1 - ids/v1/ids-gen.go | 1 - indexing/v3/indexing-gen.go | 1 - jobs/v3/jobs-gen.go | 1 - jobs/v3p1beta1/jobs-gen.go | 1 - jobs/v4/jobs-gen.go | 1 - keep/v1/keep-gen.go | 1 - kgsearch/v1/kgsearch-gen.go | 1 - kmsinventory/v1/kmsinventory-gen.go | 1 - language/v1/language-gen.go | 1 - language/v1beta2/language-gen.go | 1 - language/v2/language-gen.go | 1 - libraryagent/v1/libraryagent-gen.go | 1 - licensing/v1/licensing-gen.go | 1 - lifesciences/v2beta/lifesciences-gen.go | 1 - localservices/v1/localservices-gen.go | 1 - logging/v2/logging-gen.go | 1 - looker/v1/looker-gen.go | 1 - managedidentities/v1/managedidentities-gen.go | 1 - managedidentities/v1alpha1/managedidentities-gen.go | 1 - managedidentities/v1beta1/managedidentities-gen.go | 1 - manufacturers/v1/manufacturers-gen.go | 1 - marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go | 1 - memcache/v1/memcache-gen.go | 1 - memcache/v1beta2/memcache-gen.go | 1 - metastore/v1/metastore-gen.go | 1 - metastore/v1alpha/metastore-gen.go | 1 - metastore/v1beta/metastore-gen.go | 1 - migrationcenter/v1/migrationcenter-gen.go | 1 - migrationcenter/v1alpha1/migrationcenter-gen.go | 1 - ml/v1/ml-gen.go | 1 - monitoring/v1/monitoring-gen.go | 1 - monitoring/v3/monitoring-gen.go | 1 - .../v1/mybusinessaccountmanagement-gen.go | 1 - .../v1/mybusinessbusinessinformation-gen.go | 1 - mybusinesslodging/v1/mybusinesslodging-gen.go | 1 - mybusinessnotifications/v1/mybusinessnotifications-gen.go | 1 - mybusinessplaceactions/v1/mybusinessplaceactions-gen.go | 1 - mybusinessqanda/v1/mybusinessqanda-gen.go | 1 - mybusinessverifications/v1/mybusinessverifications-gen.go | 1 - networkconnectivity/v1/networkconnectivity-gen.go | 1 - networkconnectivity/v1alpha1/networkconnectivity-gen.go | 1 - networkmanagement/v1/networkmanagement-gen.go | 1 - networkmanagement/v1beta1/networkmanagement-gen.go | 1 - networksecurity/v1/networksecurity-gen.go | 1 - networksecurity/v1beta1/networksecurity-gen.go | 1 - networkservices/v1/networkservices-gen.go | 1 - networkservices/v1beta1/networkservices-gen.go | 1 - notebooks/v1/notebooks-gen.go | 1 - notebooks/v2/notebooks-gen.go | 1 - oauth2/v2/oauth2-gen.go | 1 - ondemandscanning/v1/ondemandscanning-gen.go | 1 - ondemandscanning/v1beta1/ondemandscanning-gen.go | 1 - orgpolicy/v2/orgpolicy-gen.go | 1 - osconfig/v1/osconfig-gen.go | 1 - osconfig/v1alpha/osconfig-gen.go | 1 - osconfig/v1beta/osconfig-gen.go | 1 - oslogin/v1/oslogin-gen.go | 1 - oslogin/v1alpha/oslogin-gen.go | 1 - oslogin/v1beta/oslogin-gen.go | 1 - pagespeedonline/v5/pagespeedonline-gen.go | 1 - .../v1/paymentsresellersubscription-gen.go | 1 - people/v1/people-gen.go | 1 - places/v1/places-gen.go | 1 - playcustomapp/v1/playcustomapp-gen.go | 1 - playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go | 1 - playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go | 1 - playgrouping/v1alpha1/playgrouping-gen.go | 1 - playintegrity/v1/playintegrity-gen.go | 1 - policyanalyzer/v1/policyanalyzer-gen.go | 1 - policyanalyzer/v1beta1/policyanalyzer-gen.go | 1 - policysimulator/v1/policysimulator-gen.go | 1 - policysimulator/v1alpha/policysimulator-gen.go | 1 - policysimulator/v1beta/policysimulator-gen.go | 1 - policytroubleshooter/v1/policytroubleshooter-gen.go | 1 - policytroubleshooter/v1beta/policytroubleshooter-gen.go | 1 - poly/v1/poly-gen.go | 1 - privateca/v1/privateca-gen.go | 1 - privateca/v1beta1/privateca-gen.go | 1 - prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go | 1 - publicca/v1/publicca-gen.go | 1 - publicca/v1alpha1/publicca-gen.go | 1 - publicca/v1beta1/publicca-gen.go | 1 - pubsub/v1/pubsub-gen.go | 1 - pubsub/v1beta1a/pubsub-gen.go | 1 - pubsub/v1beta2/pubsub-gen.go | 1 - pubsublite/v1/pubsublite-gen.go | 1 - rapidmigrationassessment/v1/rapidmigrationassessment-gen.go | 1 - .../v1/readerrevenuesubscriptionlinking-gen.go | 1 - realtimebidding/v1/realtimebidding-gen.go | 1 - realtimebidding/v1alpha/realtimebidding-gen.go | 1 - recaptchaenterprise/v1/recaptchaenterprise-gen.go | 1 - recommendationengine/v1beta1/recommendationengine-gen.go | 1 - recommender/v1/recommender-gen.go | 1 - recommender/v1beta1/recommender-gen.go | 1 - redis/v1/redis-gen.go | 1 - redis/v1beta1/redis-gen.go | 1 - reseller/v1/reseller-gen.go | 1 - resourcesettings/v1/resourcesettings-gen.go | 1 - retail/v2/retail-gen.go | 1 - retail/v2alpha/retail-gen.go | 1 - retail/v2beta/retail-gen.go | 1 - run/v1/run-gen.go | 1 - run/v2/run-gen.go | 1 - runtimeconfig/v1/runtimeconfig-gen.go | 1 - runtimeconfig/v1beta1/runtimeconfig-gen.go | 1 - safebrowsing/v4/safebrowsing-gen.go | 1 - safebrowsing/v5/safebrowsing-gen.go | 1 - sasportal/v1alpha1/sasportal-gen.go | 1 - script/v1/script-gen.go | 1 - searchads360/v0/searchads360-gen.go | 1 - searchconsole/v1/searchconsole-gen.go | 1 - secretmanager/v1/secretmanager-gen.go | 1 - secretmanager/v1beta1/secretmanager-gen.go | 1 - secretmanager/v1beta2/secretmanager-gen.go | 1 - securitycenter/v1/securitycenter-gen.go | 1 - securitycenter/v1beta1/securitycenter-gen.go | 1 - securitycenter/v1beta2/securitycenter-gen.go | 1 - serviceconsumermanagement/v1/serviceconsumermanagement-gen.go | 1 - .../v1beta1/serviceconsumermanagement-gen.go | 1 - servicecontrol/v1/servicecontrol-gen.go | 1 - servicecontrol/v2/servicecontrol-gen.go | 1 - servicedirectory/v1/servicedirectory-gen.go | 1 - servicedirectory/v1beta1/servicedirectory-gen.go | 1 - servicemanagement/v1/servicemanagement-gen.go | 1 - servicenetworking/v1/servicenetworking-gen.go | 1 - servicenetworking/v1beta/servicenetworking-gen.go | 1 - serviceusage/v1/serviceusage-gen.go | 1 - serviceusage/v1beta1/serviceusage-gen.go | 1 - sheets/v4/sheets-gen.go | 1 - siteverification/v1/siteverification-gen.go | 1 - slides/v1/slides-gen.go | 1 - smartdevicemanagement/v1/smartdevicemanagement-gen.go | 1 - solar/v1/solar-gen.go | 1 - sourcerepo/v1/sourcerepo-gen.go | 1 - spanner/v1/spanner-gen.go | 1 - speech/v1/speech-gen.go | 1 - speech/v1p1beta1/speech-gen.go | 1 - sqladmin/v1/sqladmin-gen.go | 1 - sqladmin/v1beta4/sqladmin-gen.go | 1 - storage/v1/storage-gen.go | 1 - storagetransfer/v1/storagetransfer-gen.go | 1 - streetviewpublish/v1/streetviewpublish-gen.go | 1 - sts/v1/sts-gen.go | 1 - sts/v1beta/sts-gen.go | 1 - tagmanager/v1/tagmanager-gen.go | 1 - tagmanager/v2/tagmanager-gen.go | 1 - tasks/v1/tasks-gen.go | 1 - testing/v1/testing-gen.go | 1 - texttospeech/v1/texttospeech-gen.go | 1 - texttospeech/v1beta1/texttospeech-gen.go | 1 - toolresults/v1beta3/toolresults-gen.go | 1 - tpu/v1/tpu-gen.go | 1 - tpu/v1alpha1/tpu-gen.go | 1 - tpu/v2/tpu-gen.go | 1 - tpu/v2alpha1/tpu-gen.go | 1 - trafficdirector/v2/trafficdirector-gen.go | 1 - trafficdirector/v3/trafficdirector-gen.go | 1 - transcoder/v1/transcoder-gen.go | 1 - translate/v2/translate-gen.go | 1 - translate/v3/translate-gen.go | 1 - translate/v3beta1/translate-gen.go | 1 - travelimpactmodel/v1/travelimpactmodel-gen.go | 1 - vault/v1/vault-gen.go | 1 - verifiedaccess/v1/verifiedaccess-gen.go | 1 - verifiedaccess/v2/verifiedaccess-gen.go | 1 - versionhistory/v1/versionhistory-gen.go | 1 - videointelligence/v1/videointelligence-gen.go | 1 - videointelligence/v1beta2/videointelligence-gen.go | 1 - videointelligence/v1p1beta1/videointelligence-gen.go | 1 - videointelligence/v1p2beta1/videointelligence-gen.go | 1 - videointelligence/v1p3beta1/videointelligence-gen.go | 1 - vision/v1/vision-gen.go | 1 - vision/v1p1beta1/vision-gen.go | 1 - vision/v1p2beta1/vision-gen.go | 1 - vmmigration/v1/vmmigration-gen.go | 1 - vmmigration/v1alpha1/vmmigration-gen.go | 1 - vmwareengine/v1/vmwareengine-gen.go | 1 - vpcaccess/v1/vpcaccess-gen.go | 1 - vpcaccess/v1beta1/vpcaccess-gen.go | 1 - walletobjects/v1/walletobjects-gen.go | 1 - webfonts/v1/webfonts-gen.go | 1 - webrisk/v1/webrisk-gen.go | 1 - websecurityscanner/v1/websecurityscanner-gen.go | 1 - websecurityscanner/v1alpha/websecurityscanner-gen.go | 1 - websecurityscanner/v1beta/websecurityscanner-gen.go | 1 - workflowexecutions/v1/workflowexecutions-gen.go | 1 - workflowexecutions/v1beta/workflowexecutions-gen.go | 1 - workflows/v1/workflows-gen.go | 1 - workflows/v1beta/workflows-gen.go | 1 - workloadmanager/v1/workloadmanager-gen.go | 1 - workspaceevents/v1/workspaceevents-gen.go | 1 - workstations/v1/workstations-gen.go | 1 - workstations/v1beta/workstations-gen.go | 1 - youtube/v3/youtube-gen.go | 1 - youtubeanalytics/v2/youtubeanalytics-gen.go | 1 - youtubereporting/v1/youtubereporting-gen.go | 1 - 440 files changed, 440 deletions(-) diff --git a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go index c4546509f52..825e1873aa3 100644 --- a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go +++ b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://abusiveexperiencereport.googleapis.com/" const basePathTemplate = "https://abusiveexperiencereport.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://abusiveexperiencereport.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go index 8c82eb6e1de..b581893e371 100644 --- a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go +++ b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://acceleratedmobilepageurl.googleapis.com/" const basePathTemplate = "https://acceleratedmobilepageurl.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://acceleratedmobilepageurl.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 2654f6bf20c..6fd7b6adf90 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://accessapproval.googleapis.com/" const basePathTemplate = "https://accessapproval.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://accessapproval.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index 05ce78dc08e..a7881dc19a2 100644 --- a/accesscontextmanager/v1/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1/accesscontextmanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://accesscontextmanager.googleapis.com/" const basePathTemplate = "https://accesscontextmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://accesscontextmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/acmedns/v1/acmedns-gen.go b/acmedns/v1/acmedns-gen.go index bdf662ed2d3..9027c2f9f53 100644 --- a/acmedns/v1/acmedns-gen.go +++ b/acmedns/v1/acmedns-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://acmedns.googleapis.com/" const basePathTemplate = "https://acmedns.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://acmedns.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/addressvalidation/v1/addressvalidation-gen.go b/addressvalidation/v1/addressvalidation-gen.go index f955954c932..ccbba1f5df8 100644 --- a/addressvalidation/v1/addressvalidation-gen.go +++ b/addressvalidation/v1/addressvalidation-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://addressvalidation.googleapis.com/" const basePathTemplate = "https://addressvalidation.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://addressvalidation.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go index d4e646d8a00..5cc7accd25f 100644 --- a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go +++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta1" const basePath = "https://adexchangebuyer.googleapis.com/" const basePathTemplate = "https://adexchangebuyer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://adexchangebuyer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/adexperiencereport/v1/adexperiencereport-gen.go b/adexperiencereport/v1/adexperiencereport-gen.go index 176501edcdb..4fa5d886164 100644 --- a/adexperiencereport/v1/adexperiencereport-gen.go +++ b/adexperiencereport/v1/adexperiencereport-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://adexperiencereport.googleapis.com/" const basePathTemplate = "https://adexperiencereport.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://adexperiencereport.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/admin/datatransfer/v1/admin-gen.go b/admin/datatransfer/v1/admin-gen.go index 9c3e774f8b4..fa93d2a55ff 100644 --- a/admin/datatransfer/v1/admin-gen.go +++ b/admin/datatransfer/v1/admin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "datatransfer_v1" const basePath = "https://admin.googleapis.com/" const basePathTemplate = "https://admin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://admin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index e10a6f0735c..618823c1bc6 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "directory_v1" const basePath = "https://admin.googleapis.com/" const basePathTemplate = "https://admin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://admin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/admin/reports/v1/admin-gen.go b/admin/reports/v1/admin-gen.go index 69588ddeef7..6b400e26d4c 100644 --- a/admin/reports/v1/admin-gen.go +++ b/admin/reports/v1/admin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "reports_v1" const basePath = "https://admin.googleapis.com/" const basePathTemplate = "https://admin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://admin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/admob/v1/admob-gen.go b/admob/v1/admob-gen.go index b134e108ad9..22c5bda4931 100644 --- a/admob/v1/admob-gen.go +++ b/admob/v1/admob-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://admob.googleapis.com/" const basePathTemplate = "https://admob.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://admob.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/admob/v1beta/admob-gen.go b/admob/v1beta/admob-gen.go index 322abbf18c8..19f3226d618 100644 --- a/admob/v1beta/admob-gen.go +++ b/admob/v1beta/admob-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://admob.googleapis.com/" const basePathTemplate = "https://admob.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://admob.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/adsense/v2/adsense-gen.go b/adsense/v2/adsense-gen.go index b08e219eaca..8390522724a 100644 --- a/adsense/v2/adsense-gen.go +++ b/adsense/v2/adsense-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://adsense.googleapis.com/" const basePathTemplate = "https://adsense.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://adsense.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/adsensehost/v4.1/adsensehost-gen.go b/adsensehost/v4.1/adsensehost-gen.go index 6aa83ab58ac..739dd922a17 100644 --- a/adsensehost/v4.1/adsensehost-gen.go +++ b/adsensehost/v4.1/adsensehost-gen.go @@ -91,7 +91,6 @@ const apiName = "adsensehost" const apiVersion = "v4.1" const basePath = "https://www.googleapis.com/adsensehost/v4.1/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/adsensehost/v4.1/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/advisorynotifications/v1/advisorynotifications-gen.go b/advisorynotifications/v1/advisorynotifications-gen.go index d5431ebaa50..4931324c4e1 100644 --- a/advisorynotifications/v1/advisorynotifications-gen.go +++ b/advisorynotifications/v1/advisorynotifications-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://advisorynotifications.googleapis.com/" const basePathTemplate = "https://advisorynotifications.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://advisorynotifications.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/aiplatform/v1/aiplatform-gen.go b/aiplatform/v1/aiplatform-gen.go index 6409fbfb8a5..d8984fcb05b 100644 --- a/aiplatform/v1/aiplatform-gen.go +++ b/aiplatform/v1/aiplatform-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://aiplatform.googleapis.com/" const basePathTemplate = "https://aiplatform.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://aiplatform.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/aiplatform/v1beta1/aiplatform-gen.go b/aiplatform/v1beta1/aiplatform-gen.go index 26a7a781b3b..1b0cf9ef167 100644 --- a/aiplatform/v1beta1/aiplatform-gen.go +++ b/aiplatform/v1beta1/aiplatform-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://aiplatform.googleapis.com/" const basePathTemplate = "https://aiplatform.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://aiplatform.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/alertcenter/v1beta1/alertcenter-gen.go b/alertcenter/v1beta1/alertcenter-gen.go index a0f654d52d8..7fa28f04fec 100644 --- a/alertcenter/v1beta1/alertcenter-gen.go +++ b/alertcenter/v1beta1/alertcenter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://alertcenter.googleapis.com/" const basePathTemplate = "https://alertcenter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://alertcenter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/alloydb/v1/alloydb-gen.go b/alloydb/v1/alloydb-gen.go index 78ae5282acb..bbe6709d26e 100644 --- a/alloydb/v1/alloydb-gen.go +++ b/alloydb/v1/alloydb-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://alloydb.googleapis.com/" const basePathTemplate = "https://alloydb.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://alloydb.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/alloydb/v1alpha/alloydb-gen.go b/alloydb/v1alpha/alloydb-gen.go index d181ee7648b..4cc11728653 100644 --- a/alloydb/v1alpha/alloydb-gen.go +++ b/alloydb/v1alpha/alloydb-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://alloydb.googleapis.com/" const basePathTemplate = "https://alloydb.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://alloydb.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/alloydb/v1beta/alloydb-gen.go b/alloydb/v1beta/alloydb-gen.go index 611b9ef4148..12dc1c392ac 100644 --- a/alloydb/v1beta/alloydb-gen.go +++ b/alloydb/v1beta/alloydb-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://alloydb.googleapis.com/" const basePathTemplate = "https://alloydb.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://alloydb.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analytics/v3/analytics-gen.go b/analytics/v3/analytics-gen.go index 1b0d97ba2a8..23a42b8fb5f 100644 --- a/analytics/v3/analytics-gen.go +++ b/analytics/v3/analytics-gen.go @@ -96,7 +96,6 @@ const apiName = "analytics" const apiVersion = "v3" const basePath = "https://analytics.googleapis.com/analytics/v3/" const basePathTemplate = "https://analytics.UNIVERSE_DOMAIN/analytics/v3/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 8b0c65da27a..1cde4f623c3 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1alpha" const basePath = "https://analyticsadmin.googleapis.com/" const basePathTemplate = "https://analyticsadmin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://analyticsadmin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analyticsadmin/v1beta/analyticsadmin-gen.go b/analyticsadmin/v1beta/analyticsadmin-gen.go index aa41196871a..77579d529bd 100644 --- a/analyticsadmin/v1beta/analyticsadmin-gen.go +++ b/analyticsadmin/v1beta/analyticsadmin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://analyticsadmin.googleapis.com/" const basePathTemplate = "https://analyticsadmin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://analyticsadmin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analyticsdata/v1beta/analyticsdata-gen.go b/analyticsdata/v1beta/analyticsdata-gen.go index 80e83e5b38c..5878f3f128f 100644 --- a/analyticsdata/v1beta/analyticsdata-gen.go +++ b/analyticsdata/v1beta/analyticsdata-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://analyticsdata.googleapis.com/" const basePathTemplate = "https://analyticsdata.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://analyticsdata.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analyticshub/v1/analyticshub-gen.go b/analyticshub/v1/analyticshub-gen.go index 238479612ea..8f713b7cce0 100644 --- a/analyticshub/v1/analyticshub-gen.go +++ b/analyticshub/v1/analyticshub-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://analyticshub.googleapis.com/" const basePathTemplate = "https://analyticshub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://analyticshub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analyticshub/v1beta1/analyticshub-gen.go b/analyticshub/v1beta1/analyticshub-gen.go index 61a536e7330..f4384e2bf2b 100644 --- a/analyticshub/v1beta1/analyticshub-gen.go +++ b/analyticshub/v1beta1/analyticshub-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://analyticshub.googleapis.com/" const basePathTemplate = "https://analyticshub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://analyticshub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/analyticsreporting/v4/analyticsreporting-gen.go b/analyticsreporting/v4/analyticsreporting-gen.go index b4299784b55..0f03e80aa38 100644 --- a/analyticsreporting/v4/analyticsreporting-gen.go +++ b/analyticsreporting/v4/analyticsreporting-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v4" const basePath = "https://analyticsreporting.googleapis.com/" const basePathTemplate = "https://analyticsreporting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://analyticsreporting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go index f03a6b756d2..45d6e1d11ad 100644 --- a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go +++ b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://androiddeviceprovisioning.googleapis.com/" const basePathTemplate = "https://androiddeviceprovisioning.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://androiddeviceprovisioning.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index 0a19dedbc0c..ef926d1589c 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://androidenterprise.googleapis.com/" const basePathTemplate = "https://androidenterprise.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://androidenterprise.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index f989f8ef119..488a49f396a 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://androidmanagement.googleapis.com/" const basePathTemplate = "https://androidmanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://androidmanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index b3bc7852f2c..59d70f68cf9 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v3" const basePath = "https://androidpublisher.googleapis.com/" const basePathTemplate = "https://androidpublisher.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://androidpublisher.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apigateway/v1/apigateway-gen.go b/apigateway/v1/apigateway-gen.go index badb581d131..f09232636c3 100644 --- a/apigateway/v1/apigateway-gen.go +++ b/apigateway/v1/apigateway-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://apigateway.googleapis.com/" const basePathTemplate = "https://apigateway.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apigateway.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apigateway/v1beta/apigateway-gen.go b/apigateway/v1beta/apigateway-gen.go index ca7a07ae9d4..a9eac95aa98 100644 --- a/apigateway/v1beta/apigateway-gen.go +++ b/apigateway/v1beta/apigateway-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://apigateway.googleapis.com/" const basePathTemplate = "https://apigateway.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apigateway.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 4b918f5b989..b23e3d5d506 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://apigee.googleapis.com/" const basePathTemplate = "https://apigee.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apigee.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apigeeregistry/v1/apigeeregistry-gen.go b/apigeeregistry/v1/apigeeregistry-gen.go index 6357b3140c9..0723e2db6c7 100644 --- a/apigeeregistry/v1/apigeeregistry-gen.go +++ b/apigeeregistry/v1/apigeeregistry-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://apigeeregistry.googleapis.com/" const basePathTemplate = "https://apigeeregistry.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apigeeregistry.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apikeys/v2/apikeys-gen.go b/apikeys/v2/apikeys-gen.go index 242799cd860..5013022f1bb 100644 --- a/apikeys/v2/apikeys-gen.go +++ b/apikeys/v2/apikeys-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://apikeys.googleapis.com/" const basePathTemplate = "https://apikeys.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apikeys.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index ba68f538162..d3ef23e3277 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://appengine.googleapis.com/" const basePathTemplate = "https://appengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://appengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/appengine/v1alpha/appengine-gen.go b/appengine/v1alpha/appengine-gen.go index a8223b50d7f..9951a27656c 100644 --- a/appengine/v1alpha/appengine-gen.go +++ b/appengine/v1alpha/appengine-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1alpha" const basePath = "https://appengine.googleapis.com/" const basePathTemplate = "https://appengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://appengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index d734746dadf..a6b71864e68 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://appengine.googleapis.com/" const basePathTemplate = "https://appengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://appengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apphub/v1/apphub-gen.go b/apphub/v1/apphub-gen.go index 2a1bc96bd00..7b7d8af00fa 100644 --- a/apphub/v1/apphub-gen.go +++ b/apphub/v1/apphub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://apphub.googleapis.com/" const basePathTemplate = "https://apphub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apphub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/apphub/v1alpha/apphub-gen.go b/apphub/v1alpha/apphub-gen.go index e51f5b8c60a..c83315bc09e 100644 --- a/apphub/v1alpha/apphub-gen.go +++ b/apphub/v1alpha/apphub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://apphub.googleapis.com/" const basePathTemplate = "https://apphub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://apphub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/area120tables/v1alpha1/area120tables-gen.go b/area120tables/v1alpha1/area120tables-gen.go index 3b828ca0c7d..593247cb63d 100644 --- a/area120tables/v1alpha1/area120tables-gen.go +++ b/area120tables/v1alpha1/area120tables-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1alpha1" const basePath = "https://area120tables.googleapis.com/" const basePathTemplate = "https://area120tables.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://area120tables.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 4addaae3b7f..f537179ebe5 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://artifactregistry.googleapis.com/" const basePathTemplate = "https://artifactregistry.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://artifactregistry.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index ccb61820beb..6af0116e78f 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://artifactregistry.googleapis.com/" const basePathTemplate = "https://artifactregistry.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://artifactregistry.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index a31f7a6ccfe..061aebae0b8 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta2" const basePath = "https://artifactregistry.googleapis.com/" const basePathTemplate = "https://artifactregistry.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://artifactregistry.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index b40bd6ae7b3..41e0c52d4fb 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://assuredworkloads.googleapis.com/" const basePathTemplate = "https://assuredworkloads.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://assuredworkloads.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/assuredworkloads/v1beta1/assuredworkloads-gen.go b/assuredworkloads/v1beta1/assuredworkloads-gen.go index 6bae50debc4..8e6ec25b155 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-gen.go +++ b/assuredworkloads/v1beta1/assuredworkloads-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://assuredworkloads.googleapis.com/" const basePathTemplate = "https://assuredworkloads.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://assuredworkloads.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go index c77c3452d32..3bdd7b909f8 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://authorizedbuyersmarketplace.googleapis.com/" const basePathTemplate = "https://authorizedbuyersmarketplace.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://authorizedbuyersmarketplace.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/backupdr/v1/backupdr-gen.go b/backupdr/v1/backupdr-gen.go index 00764bd9757..046cd68f833 100644 --- a/backupdr/v1/backupdr-gen.go +++ b/backupdr/v1/backupdr-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://backupdr.googleapis.com/" const basePathTemplate = "https://backupdr.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://backupdr.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/baremetalsolution/v2/baremetalsolution-gen.go b/baremetalsolution/v2/baremetalsolution-gen.go index 03684108f3a..ccd87385412 100644 --- a/baremetalsolution/v2/baremetalsolution-gen.go +++ b/baremetalsolution/v2/baremetalsolution-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://baremetalsolution.googleapis.com/" const basePathTemplate = "https://baremetalsolution.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://baremetalsolution.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index 76eb89056f5..9841d0d2eb3 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://batch.googleapis.com/" const basePathTemplate = "https://batch.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://batch.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/beyondcorp/v1/beyondcorp-gen.go b/beyondcorp/v1/beyondcorp-gen.go index a4b2c6b4fb6..236ef652b01 100644 --- a/beyondcorp/v1/beyondcorp-gen.go +++ b/beyondcorp/v1/beyondcorp-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://beyondcorp.googleapis.com/" const basePathTemplate = "https://beyondcorp.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://beyondcorp.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index bcab57ff424..6e365905133 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://beyondcorp.googleapis.com/" const basePathTemplate = "https://beyondcorp.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://beyondcorp.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/biglake/v1/biglake-gen.go b/biglake/v1/biglake-gen.go index ba9ffb835cc..ab50236ddd3 100644 --- a/biglake/v1/biglake-gen.go +++ b/biglake/v1/biglake-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://biglake.googleapis.com/" const basePathTemplate = "https://biglake.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://biglake.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 35bfb548d7a..24fb2af2407 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v2" const basePath = "https://bigquery.googleapis.com/bigquery/v2/" const basePathTemplate = "https://bigquery.UNIVERSE_DOMAIN/bigquery/v2/" const mtlsBasePath = "https://bigquery.mtls.googleapis.com/bigquery/v2/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigqueryconnection/v1/bigqueryconnection-gen.go b/bigqueryconnection/v1/bigqueryconnection-gen.go index 56fcb9dc2a3..b7e0e7c7e25 100644 --- a/bigqueryconnection/v1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1/bigqueryconnection-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://bigqueryconnection.googleapis.com/" const basePathTemplate = "https://bigqueryconnection.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://bigqueryconnection.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go index bfcfbce088e..f5dc77a018e 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://bigqueryconnection.googleapis.com/" const basePathTemplate = "https://bigqueryconnection.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://bigqueryconnection.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go b/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go index 49f15798b8c..5aaa04a1a42 100644 --- a/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go +++ b/bigquerydatapolicy/v1/bigquerydatapolicy-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://bigquerydatapolicy.googleapis.com/" const basePathTemplate = "https://bigquerydatapolicy.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://bigquerydatapolicy.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go index 6e562cbcf6a..371859b764b 100644 --- a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go +++ b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://bigquerydatatransfer.googleapis.com/" const basePathTemplate = "https://bigquerydatatransfer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://bigquerydatatransfer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigqueryreservation/v1/bigqueryreservation-gen.go b/bigqueryreservation/v1/bigqueryreservation-gen.go index 6df6d9797df..b073d9a5bd5 100644 --- a/bigqueryreservation/v1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1/bigqueryreservation-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://bigqueryreservation.googleapis.com/" const basePathTemplate = "https://bigqueryreservation.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://bigqueryreservation.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index 4f911f0c619..4a88783bf68 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://bigtableadmin.googleapis.com/" const basePathTemplate = "https://bigtableadmin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://bigtableadmin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/billingbudgets/v1/billingbudgets-gen.go b/billingbudgets/v1/billingbudgets-gen.go index ea6408910de..381d92b1c85 100644 --- a/billingbudgets/v1/billingbudgets-gen.go +++ b/billingbudgets/v1/billingbudgets-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://billingbudgets.googleapis.com/" const basePathTemplate = "https://billingbudgets.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://billingbudgets.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/billingbudgets/v1beta1/billingbudgets-gen.go b/billingbudgets/v1beta1/billingbudgets-gen.go index dcff017d4ce..760f86ad39c 100644 --- a/billingbudgets/v1beta1/billingbudgets-gen.go +++ b/billingbudgets/v1beta1/billingbudgets-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://billingbudgets.googleapis.com/" const basePathTemplate = "https://billingbudgets.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://billingbudgets.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/binaryauthorization/v1/binaryauthorization-gen.go b/binaryauthorization/v1/binaryauthorization-gen.go index ee3e93b40cf..df5ca37b61e 100644 --- a/binaryauthorization/v1/binaryauthorization-gen.go +++ b/binaryauthorization/v1/binaryauthorization-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://binaryauthorization.googleapis.com/" const basePathTemplate = "https://binaryauthorization.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://binaryauthorization.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/binaryauthorization/v1beta1/binaryauthorization-gen.go b/binaryauthorization/v1beta1/binaryauthorization-gen.go index 68b814c86f7..520ce62576f 100644 --- a/binaryauthorization/v1beta1/binaryauthorization-gen.go +++ b/binaryauthorization/v1beta1/binaryauthorization-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://binaryauthorization.googleapis.com/" const basePathTemplate = "https://binaryauthorization.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://binaryauthorization.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/blockchainnodeengine/v1/blockchainnodeengine-gen.go b/blockchainnodeengine/v1/blockchainnodeengine-gen.go index 19fb51bf398..7565ea01d91 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-gen.go +++ b/blockchainnodeengine/v1/blockchainnodeengine-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://blockchainnodeengine.googleapis.com/" const basePathTemplate = "https://blockchainnodeengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://blockchainnodeengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/blogger/v2/blogger-gen.go b/blogger/v2/blogger-gen.go index 8faf81dacca..fce13fa26fc 100644 --- a/blogger/v2/blogger-gen.go +++ b/blogger/v2/blogger-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://blogger.googleapis.com/" const basePathTemplate = "https://blogger.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://blogger.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/blogger/v3/blogger-gen.go b/blogger/v3/blogger-gen.go index abab7f9fa76..5ece901bdb9 100644 --- a/blogger/v3/blogger-gen.go +++ b/blogger/v3/blogger-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://blogger.googleapis.com/" const basePathTemplate = "https://blogger.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://blogger.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/books/v1/books-gen.go b/books/v1/books-gen.go index 7a8f8f200c6..b1bc65d069f 100644 --- a/books/v1/books-gen.go +++ b/books/v1/books-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://books.googleapis.com/" const basePathTemplate = "https://books.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://books.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/businessprofileperformance/v1/businessprofileperformance-gen.go b/businessprofileperformance/v1/businessprofileperformance-gen.go index 54c3f17c784..86067a2f392 100644 --- a/businessprofileperformance/v1/businessprofileperformance-gen.go +++ b/businessprofileperformance/v1/businessprofileperformance-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://businessprofileperformance.googleapis.com/" const basePathTemplate = "https://businessprofileperformance.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://businessprofileperformance.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/calendar/v3/calendar-gen.go b/calendar/v3/calendar-gen.go index 75cf76a4441..d7ba11f1ef2 100644 --- a/calendar/v3/calendar-gen.go +++ b/calendar/v3/calendar-gen.go @@ -96,7 +96,6 @@ const apiName = "calendar" const apiVersion = "v3" const basePath = "https://www.googleapis.com/calendar/v3/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/calendar/v3/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/certificatemanager/v1/certificatemanager-gen.go b/certificatemanager/v1/certificatemanager-gen.go index 55ccae26f58..41fbe0bb75a 100644 --- a/certificatemanager/v1/certificatemanager-gen.go +++ b/certificatemanager/v1/certificatemanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://certificatemanager.googleapis.com/" const basePathTemplate = "https://certificatemanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://certificatemanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 1b04d07e620..f04dacba8ae 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://chat.googleapis.com/" const basePathTemplate = "https://chat.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://chat.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index 2a9b8550635..a3a6a1ba8d5 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://checks.googleapis.com/" const basePathTemplate = "https://checks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://checks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index 61b2994d2bf..60d423924fe 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://chromemanagement.googleapis.com/" const basePathTemplate = "https://chromemanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://chromemanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/chromepolicy/v1/chromepolicy-gen.go b/chromepolicy/v1/chromepolicy-gen.go index 362a704afdf..e8008c50e0f 100644 --- a/chromepolicy/v1/chromepolicy-gen.go +++ b/chromepolicy/v1/chromepolicy-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://chromepolicy.googleapis.com/" const basePathTemplate = "https://chromepolicy.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://chromepolicy.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/chromeuxreport/v1/chromeuxreport-gen.go b/chromeuxreport/v1/chromeuxreport-gen.go index 65252e7b267..17e73e5e6a7 100644 --- a/chromeuxreport/v1/chromeuxreport-gen.go +++ b/chromeuxreport/v1/chromeuxreport-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://chromeuxreport.googleapis.com/" const basePathTemplate = "https://chromeuxreport.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://chromeuxreport.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/civicinfo/v2/civicinfo-gen.go b/civicinfo/v2/civicinfo-gen.go index c23b2d1872a..b387c0e7022 100644 --- a/civicinfo/v2/civicinfo-gen.go +++ b/civicinfo/v2/civicinfo-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://civicinfo.googleapis.com/" const basePathTemplate = "https://civicinfo.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://civicinfo.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/classroom/v1/classroom-gen.go b/classroom/v1/classroom-gen.go index 85216aade16..a35c0f1d87a 100644 --- a/classroom/v1/classroom-gen.go +++ b/classroom/v1/classroom-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://classroom.googleapis.com/" const basePathTemplate = "https://classroom.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://classroom.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index a46f49e50c5..d46b680dea0 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://cloudasset.googleapis.com/" const basePathTemplate = "https://cloudasset.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudasset.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudasset/v1beta1/cloudasset-gen.go b/cloudasset/v1beta1/cloudasset-gen.go index 4dab9899f21..6f7beab642a 100644 --- a/cloudasset/v1beta1/cloudasset-gen.go +++ b/cloudasset/v1beta1/cloudasset-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://cloudasset.googleapis.com/" const basePathTemplate = "https://cloudasset.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudasset.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudasset/v1p1beta1/cloudasset-gen.go b/cloudasset/v1p1beta1/cloudasset-gen.go index 07398155094..83a4ccd17d8 100644 --- a/cloudasset/v1p1beta1/cloudasset-gen.go +++ b/cloudasset/v1p1beta1/cloudasset-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1p1beta1" const basePath = "https://cloudasset.googleapis.com/" const basePathTemplate = "https://cloudasset.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudasset.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudasset/v1p5beta1/cloudasset-gen.go b/cloudasset/v1p5beta1/cloudasset-gen.go index 5dc3b0a6b52..2978b83ad2d 100644 --- a/cloudasset/v1p5beta1/cloudasset-gen.go +++ b/cloudasset/v1p5beta1/cloudasset-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1p5beta1" const basePath = "https://cloudasset.googleapis.com/" const basePathTemplate = "https://cloudasset.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudasset.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudasset/v1p7beta1/cloudasset-gen.go b/cloudasset/v1p7beta1/cloudasset-gen.go index 375aa0501e6..590617f2b5a 100644 --- a/cloudasset/v1p7beta1/cloudasset-gen.go +++ b/cloudasset/v1p7beta1/cloudasset-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1p7beta1" const basePath = "https://cloudasset.googleapis.com/" const basePathTemplate = "https://cloudasset.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudasset.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudbilling/v1/cloudbilling-gen.go b/cloudbilling/v1/cloudbilling-gen.go index c3174c4e99a..bc3d6d70cb0 100644 --- a/cloudbilling/v1/cloudbilling-gen.go +++ b/cloudbilling/v1/cloudbilling-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://cloudbilling.googleapis.com/" const basePathTemplate = "https://cloudbilling.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudbilling.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudbilling/v1beta/cloudbilling-gen.go b/cloudbilling/v1beta/cloudbilling-gen.go index db8d06c27d1..9b11b83b7e3 100644 --- a/cloudbilling/v1beta/cloudbilling-gen.go +++ b/cloudbilling/v1beta/cloudbilling-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://cloudbilling.googleapis.com/" const basePathTemplate = "https://cloudbilling.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudbilling.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index a4c073bf903..e4671a3ce4b 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://cloudbuild.googleapis.com/" const basePathTemplate = "https://cloudbuild.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudbuild.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudbuild/v2/cloudbuild-gen.go b/cloudbuild/v2/cloudbuild-gen.go index 1e275eef7a5..a33faff3384 100644 --- a/cloudbuild/v2/cloudbuild-gen.go +++ b/cloudbuild/v2/cloudbuild-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://cloudbuild.googleapis.com/" const basePathTemplate = "https://cloudbuild.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudbuild.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index ecfe143f026..9e3460b726c 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://cloudchannel.googleapis.com/" const basePathTemplate = "https://cloudchannel.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudchannel.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go b/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go index aac34aa5b52..be052b04494 100644 --- a/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go +++ b/cloudcontrolspartner/v1/cloudcontrolspartner-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://cloudcontrolspartner.googleapis.com/" const basePathTemplate = "https://cloudcontrolspartner.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudcontrolspartner.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go b/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go index c2b0b024701..a806124f3ad 100644 --- a/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go +++ b/cloudcontrolspartner/v1beta/cloudcontrolspartner-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://cloudcontrolspartner.googleapis.com/" const basePathTemplate = "https://cloudcontrolspartner.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudcontrolspartner.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index d9353ecdd31..87d9f32166f 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://clouddeploy.googleapis.com/" const basePathTemplate = "https://clouddeploy.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://clouddeploy.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go index ec81199d5df..00939f22a0b 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go +++ b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://clouderrorreporting.googleapis.com/" const basePathTemplate = "https://clouderrorreporting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://clouderrorreporting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index e044b2b24fb..19201178969 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://cloudfunctions.googleapis.com/" const basePathTemplate = "https://cloudfunctions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudfunctions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index 28f87593023..e05488c1b0e 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://cloudfunctions.googleapis.com/" const basePathTemplate = "https://cloudfunctions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudfunctions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index e794e63087a..08fe221fe8c 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2alpha" const basePath = "https://cloudfunctions.googleapis.com/" const basePathTemplate = "https://cloudfunctions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudfunctions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index 3aeb45f41bd..ffa3d44ab6d 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta" const basePath = "https://cloudfunctions.googleapis.com/" const basePathTemplate = "https://cloudfunctions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudfunctions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 2abb82e056e..da410771fa3 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://cloudidentity.googleapis.com/" const basePathTemplate = "https://cloudidentity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudidentity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 40ec00c48ec..6ce3cac2d9d 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://cloudidentity.googleapis.com/" const basePathTemplate = "https://cloudidentity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudidentity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index 1c6b5805d6d..86a8b459098 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://cloudkms.googleapis.com/" const basePathTemplate = "https://cloudkms.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudkms.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudprofiler/v2/cloudprofiler-gen.go b/cloudprofiler/v2/cloudprofiler-gen.go index 8ccb80b6735..7d827e23165 100644 --- a/cloudprofiler/v2/cloudprofiler-gen.go +++ b/cloudprofiler/v2/cloudprofiler-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://cloudprofiler.googleapis.com/" const basePathTemplate = "https://cloudprofiler.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudprofiler.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudresourcemanager/v1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1/cloudresourcemanager-gen.go index 20b4a4dc157..adddd1a20a4 100644 --- a/cloudresourcemanager/v1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1/cloudresourcemanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://cloudresourcemanager.googleapis.com/" const basePathTemplate = "https://cloudresourcemanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudresourcemanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go index d61ff4c1ec5..af2c0be1970 100644 --- a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://cloudresourcemanager.googleapis.com/" const basePathTemplate = "https://cloudresourcemanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudresourcemanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudresourcemanager/v2/cloudresourcemanager-gen.go b/cloudresourcemanager/v2/cloudresourcemanager-gen.go index f2fbf94a4f7..cd9ca763854 100644 --- a/cloudresourcemanager/v2/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2/cloudresourcemanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://cloudresourcemanager.googleapis.com/" const basePathTemplate = "https://cloudresourcemanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudresourcemanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go index 28bbfcdcada..f59a2817267 100644 --- a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2beta1" const basePath = "https://cloudresourcemanager.googleapis.com/" const basePathTemplate = "https://cloudresourcemanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudresourcemanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudresourcemanager/v3/cloudresourcemanager-gen.go b/cloudresourcemanager/v3/cloudresourcemanager-gen.go index c835dfe61f9..a61fe502e4f 100644 --- a/cloudresourcemanager/v3/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v3/cloudresourcemanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://cloudresourcemanager.googleapis.com/" const basePathTemplate = "https://cloudresourcemanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudresourcemanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudscheduler/v1/cloudscheduler-gen.go b/cloudscheduler/v1/cloudscheduler-gen.go index ddf02268b1a..b176d6cab04 100644 --- a/cloudscheduler/v1/cloudscheduler-gen.go +++ b/cloudscheduler/v1/cloudscheduler-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://cloudscheduler.googleapis.com/" const basePathTemplate = "https://cloudscheduler.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudscheduler.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudscheduler/v1beta1/cloudscheduler-gen.go b/cloudscheduler/v1beta1/cloudscheduler-gen.go index e0a8acdead9..dad36bee3fa 100644 --- a/cloudscheduler/v1beta1/cloudscheduler-gen.go +++ b/cloudscheduler/v1beta1/cloudscheduler-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://cloudscheduler.googleapis.com/" const basePathTemplate = "https://cloudscheduler.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudscheduler.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index 419f5c60e41..c39086a959c 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://cloudsearch.googleapis.com/" const basePathTemplate = "https://cloudsearch.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudsearch.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudshell/v1/cloudshell-gen.go b/cloudshell/v1/cloudshell-gen.go index a3e4d0a7c88..e6731cd75a1 100644 --- a/cloudshell/v1/cloudshell-gen.go +++ b/cloudshell/v1/cloudshell-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://cloudshell.googleapis.com/" const basePathTemplate = "https://cloudshell.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudshell.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudsupport/v2/cloudsupport-gen.go b/cloudsupport/v2/cloudsupport-gen.go index 68b0216aa83..161a1639d57 100644 --- a/cloudsupport/v2/cloudsupport-gen.go +++ b/cloudsupport/v2/cloudsupport-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://cloudsupport.googleapis.com/" const basePathTemplate = "https://cloudsupport.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudsupport.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index f4d7dfdf83b..29310a8d651 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta" const basePath = "https://cloudsupport.googleapis.com/" const basePathTemplate = "https://cloudsupport.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudsupport.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudtasks/v2/cloudtasks-gen.go b/cloudtasks/v2/cloudtasks-gen.go index 669a99cea5e..c4ddbbd39ba 100644 --- a/cloudtasks/v2/cloudtasks-gen.go +++ b/cloudtasks/v2/cloudtasks-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v2" const basePath = "https://cloudtasks.googleapis.com/" const basePathTemplate = "https://cloudtasks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudtasks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index a0a861f8a2c..7b38dcf74cf 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v2beta2" const basePath = "https://cloudtasks.googleapis.com/" const basePathTemplate = "https://cloudtasks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudtasks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudtasks/v2beta3/cloudtasks-gen.go b/cloudtasks/v2beta3/cloudtasks-gen.go index 4685db0c31a..e1be722588c 100644 --- a/cloudtasks/v2beta3/cloudtasks-gen.go +++ b/cloudtasks/v2beta3/cloudtasks-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v2beta3" const basePath = "https://cloudtasks.googleapis.com/" const basePathTemplate = "https://cloudtasks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudtasks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudtrace/v1/cloudtrace-gen.go b/cloudtrace/v1/cloudtrace-gen.go index 69a5fbc37c0..13b378dfe3e 100644 --- a/cloudtrace/v1/cloudtrace-gen.go +++ b/cloudtrace/v1/cloudtrace-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://cloudtrace.googleapis.com/" const basePathTemplate = "https://cloudtrace.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudtrace.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudtrace/v2/cloudtrace-gen.go b/cloudtrace/v2/cloudtrace-gen.go index 48bb529084c..ec625260d40 100644 --- a/cloudtrace/v2/cloudtrace-gen.go +++ b/cloudtrace/v2/cloudtrace-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://cloudtrace.googleapis.com/" const basePathTemplate = "https://cloudtrace.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudtrace.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/cloudtrace/v2beta1/cloudtrace-gen.go b/cloudtrace/v2beta1/cloudtrace-gen.go index 8d03a1a6575..d7bff99e36c 100644 --- a/cloudtrace/v2beta1/cloudtrace-gen.go +++ b/cloudtrace/v2beta1/cloudtrace-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2beta1" const basePath = "https://cloudtrace.googleapis.com/" const basePathTemplate = "https://cloudtrace.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://cloudtrace.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/composer/v1/composer-gen.go b/composer/v1/composer-gen.go index 675318dc0ac..c233c097cb2 100644 --- a/composer/v1/composer-gen.go +++ b/composer/v1/composer-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://composer.googleapis.com/" const basePathTemplate = "https://composer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://composer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/composer/v1beta1/composer-gen.go b/composer/v1beta1/composer-gen.go index 5c9a3197d7d..fbb194c0d72 100644 --- a/composer/v1beta1/composer-gen.go +++ b/composer/v1beta1/composer-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://composer.googleapis.com/" const basePathTemplate = "https://composer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://composer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index b825a7ea41b..1b8f6795414 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -97,7 +97,6 @@ const apiVersion = "alpha" const basePath = "https://compute.googleapis.com/compute/alpha/" const basePathTemplate = "https://compute.UNIVERSE_DOMAIN/compute/alpha/" const mtlsBasePath = "https://compute.mtls.googleapis.com/compute/alpha/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index 174bd2418d9..7a1aed166bf 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -97,7 +97,6 @@ const apiVersion = "beta" const basePath = "https://compute.googleapis.com/compute/beta/" const basePathTemplate = "https://compute.UNIVERSE_DOMAIN/compute/beta/" const mtlsBasePath = "https://compute.mtls.googleapis.com/compute/beta/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index 62ee6702578..4a32c3f844e 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://compute.googleapis.com/compute/v1/" const basePathTemplate = "https://compute.UNIVERSE_DOMAIN/compute/v1/" const mtlsBasePath = "https://compute.mtls.googleapis.com/compute/v1/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/connectors/v1/connectors-gen.go b/connectors/v1/connectors-gen.go index a526f84f210..e9de9f7d7dd 100644 --- a/connectors/v1/connectors-gen.go +++ b/connectors/v1/connectors-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://connectors.googleapis.com/" const basePathTemplate = "https://connectors.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://connectors.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/connectors/v2/connectors-gen.go b/connectors/v2/connectors-gen.go index dcd227a7cfa..e59e12596a9 100644 --- a/connectors/v2/connectors-gen.go +++ b/connectors/v2/connectors-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://connectors.googleapis.com/" const basePathTemplate = "https://connectors.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://connectors.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go index 1bad8b6396c..9286e872171 100644 --- a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go +++ b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://contactcenteraiplatform.googleapis.com/" const basePathTemplate = "https://contactcenteraiplatform.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://contactcenteraiplatform.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index 8d235b88745..f3509111a35 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://contactcenterinsights.googleapis.com/" const basePathTemplate = "https://contactcenterinsights.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://contactcenterinsights.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index f49d736368f..5ac3ea556b1 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://container.googleapis.com/" const basePathTemplate = "https://container.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://container.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 1afe6ed6f96..f49736d1208 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://container.googleapis.com/" const basePathTemplate = "https://container.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://container.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/containeranalysis/v1/containeranalysis-gen.go b/containeranalysis/v1/containeranalysis-gen.go index f02a36ff3af..52dd1da6131 100644 --- a/containeranalysis/v1/containeranalysis-gen.go +++ b/containeranalysis/v1/containeranalysis-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://containeranalysis.googleapis.com/" const basePathTemplate = "https://containeranalysis.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://containeranalysis.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index 01edc498186..26dc64b0f21 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://containeranalysis.googleapis.com/" const basePathTemplate = "https://containeranalysis.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://containeranalysis.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 83798aada1c..f5f5fdb91d1 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://containeranalysis.googleapis.com/" const basePathTemplate = "https://containeranalysis.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://containeranalysis.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 32704127c8f..5a7a6f6f1c2 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2.1" const basePath = "https://shoppingcontent.googleapis.com/content/v2.1/" const basePathTemplate = "https://shoppingcontent.UNIVERSE_DOMAIN/content/v2.1/" const mtlsBasePath = "https://shoppingcontent.mtls.googleapis.com/content/v2.1/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index d67c21c9687..589a187b997 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://contentwarehouse.googleapis.com/" const basePathTemplate = "https://contentwarehouse.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://contentwarehouse.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/customsearch/v1/customsearch-gen.go b/customsearch/v1/customsearch-gen.go index cb41b2ca3f1..89347e4bc2a 100644 --- a/customsearch/v1/customsearch-gen.go +++ b/customsearch/v1/customsearch-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://customsearch.googleapis.com/" const basePathTemplate = "https://customsearch.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://customsearch.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/datacatalog/v1/datacatalog-gen.go b/datacatalog/v1/datacatalog-gen.go index 180cb608daa..45488b23242 100644 --- a/datacatalog/v1/datacatalog-gen.go +++ b/datacatalog/v1/datacatalog-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://datacatalog.googleapis.com/" const basePathTemplate = "https://datacatalog.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datacatalog.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index fe8f768e8dd..91fcb436170 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://datacatalog.googleapis.com/" const basePathTemplate = "https://datacatalog.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datacatalog.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index 59349496a81..0b326bf63c5 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1b3" const basePath = "https://dataflow.googleapis.com/" const basePathTemplate = "https://dataflow.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dataflow.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dataform/v1beta1/dataform-gen.go b/dataform/v1beta1/dataform-gen.go index 52f56c1069b..c7c6434a185 100644 --- a/dataform/v1beta1/dataform-gen.go +++ b/dataform/v1beta1/dataform-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://dataform.googleapis.com/" const basePathTemplate = "https://dataform.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dataform.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go index ba86db4289e..0cb6189df13 100644 --- a/datafusion/v1/datafusion-gen.go +++ b/datafusion/v1/datafusion-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://datafusion.googleapis.com/" const basePathTemplate = "https://datafusion.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datafusion.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go index 01089fe37b5..c140f2371d9 100644 --- a/datafusion/v1beta1/datafusion-gen.go +++ b/datafusion/v1beta1/datafusion-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://datafusion.googleapis.com/" const basePathTemplate = "https://datafusion.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datafusion.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datalabeling/v1beta1/datalabeling-gen.go b/datalabeling/v1beta1/datalabeling-gen.go index 3fec1c21bcc..7bc54fbc424 100644 --- a/datalabeling/v1beta1/datalabeling-gen.go +++ b/datalabeling/v1beta1/datalabeling-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://datalabeling.googleapis.com/" const basePathTemplate = "https://datalabeling.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datalabeling.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index 1816612eb5e..e8e876b3761 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://datamigration.googleapis.com/" const basePathTemplate = "https://datamigration.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datamigration.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go index 69264b9b338..1a941da80d9 100644 --- a/datamigration/v1beta1/datamigration-gen.go +++ b/datamigration/v1beta1/datamigration-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://datamigration.googleapis.com/" const basePathTemplate = "https://datamigration.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datamigration.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datapipelines/v1/datapipelines-gen.go b/datapipelines/v1/datapipelines-gen.go index 04989d567bf..0021751d767 100644 --- a/datapipelines/v1/datapipelines-gen.go +++ b/datapipelines/v1/datapipelines-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://datapipelines.googleapis.com/" const basePathTemplate = "https://datapipelines.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datapipelines.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index a5d480ce418..8f054a13b80 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://dataplex.googleapis.com/" const basePathTemplate = "https://dataplex.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dataplex.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dataportability/v1/dataportability-gen.go b/dataportability/v1/dataportability-gen.go index e4724b76234..96caec95b76 100644 --- a/dataportability/v1/dataportability-gen.go +++ b/dataportability/v1/dataportability-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://dataportability.googleapis.com/" const basePathTemplate = "https://dataportability.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dataportability.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dataportability/v1beta/dataportability-gen.go b/dataportability/v1beta/dataportability-gen.go index 03a0e18f1b7..d1558982a8e 100644 --- a/dataportability/v1beta/dataportability-gen.go +++ b/dataportability/v1beta/dataportability-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://dataportability.googleapis.com/" const basePathTemplate = "https://dataportability.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dataportability.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index 7402fc5299f..073842eea40 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1" const basePath = "https://dataproc.googleapis.com/" const basePathTemplate = "https://dataproc.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dataproc.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datastore/v1/datastore-gen.go b/datastore/v1/datastore-gen.go index eaccc08617e..d821a9ec388 100644 --- a/datastore/v1/datastore-gen.go +++ b/datastore/v1/datastore-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://datastore.googleapis.com/" const basePathTemplate = "https://datastore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datastore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datastore/v1beta1/datastore-gen.go b/datastore/v1beta1/datastore-gen.go index 8ca8a91b3e0..9cc56bb1072 100644 --- a/datastore/v1beta1/datastore-gen.go +++ b/datastore/v1beta1/datastore-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta1" const basePath = "https://datastore.googleapis.com/" const basePathTemplate = "https://datastore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datastore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datastore/v1beta3/datastore-gen.go b/datastore/v1beta3/datastore-gen.go index 971e9948142..3ddf9366b53 100644 --- a/datastore/v1beta3/datastore-gen.go +++ b/datastore/v1beta3/datastore-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta3" const basePath = "https://datastore.googleapis.com/" const basePathTemplate = "https://datastore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datastore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datastream/v1/datastream-gen.go b/datastream/v1/datastream-gen.go index 0bbd9991c4f..4e02f61fca3 100644 --- a/datastream/v1/datastream-gen.go +++ b/datastream/v1/datastream-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://datastream.googleapis.com/" const basePathTemplate = "https://datastream.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datastream.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/datastream/v1alpha1/datastream-gen.go b/datastream/v1alpha1/datastream-gen.go index 782a4bec25c..bd4dc5332b8 100644 --- a/datastream/v1alpha1/datastream-gen.go +++ b/datastream/v1alpha1/datastream-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://datastream.googleapis.com/" const basePathTemplate = "https://datastream.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://datastream.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go index c0c50d7b600..1b5cb8d879b 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go +++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "alpha" const basePath = "https://deploymentmanager.googleapis.com/" const basePathTemplate = "https://deploymentmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://deploymentmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/deploymentmanager/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go index c07120c39c0..68fa7760381 100644 --- a/deploymentmanager/v2/deploymentmanager-gen.go +++ b/deploymentmanager/v2/deploymentmanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://deploymentmanager.googleapis.com/" const basePathTemplate = "https://deploymentmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://deploymentmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/deploymentmanager/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go index 9af973b4dd3..8dc0e80d59b 100644 --- a/deploymentmanager/v2beta/deploymentmanager-gen.go +++ b/deploymentmanager/v2beta/deploymentmanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2beta" const basePath = "https://deploymentmanager.googleapis.com/" const basePathTemplate = "https://deploymentmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://deploymentmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dfareporting/v3.5/dfareporting-gen.go b/dfareporting/v3.5/dfareporting-gen.go index 5ff95694ecf..b3dbdc35fcb 100644 --- a/dfareporting/v3.5/dfareporting-gen.go +++ b/dfareporting/v3.5/dfareporting-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v3.5" const basePath = "https://dfareporting.googleapis.com/dfareporting/v3.5/" const basePathTemplate = "https://dfareporting.UNIVERSE_DOMAIN/dfareporting/v3.5/" const mtlsBasePath = "https://dfareporting.mtls.googleapis.com/dfareporting/v3.5/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dfareporting/v4/dfareporting-gen.go b/dfareporting/v4/dfareporting-gen.go index 2e197b9f373..1aa0a6b763e 100644 --- a/dfareporting/v4/dfareporting-gen.go +++ b/dfareporting/v4/dfareporting-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v4" const basePath = "https://dfareporting.googleapis.com/dfareporting/v4/" const basePathTemplate = "https://dfareporting.UNIVERSE_DOMAIN/dfareporting/v4/" const mtlsBasePath = "https://dfareporting.mtls.googleapis.com/dfareporting/v4/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 5fbbd714782..d5d49afe6e9 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v2" const basePath = "https://dialogflow.googleapis.com/" const basePathTemplate = "https://dialogflow.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dialogflow.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 5fc292eb453..1ce030916ac 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v2beta1" const basePath = "https://dialogflow.googleapis.com/" const basePathTemplate = "https://dialogflow.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dialogflow.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 2c9463463fe..35e50726f34 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v3" const basePath = "https://dialogflow.googleapis.com/" const basePathTemplate = "https://dialogflow.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dialogflow.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index 646acde6293..b6dbfd82ce4 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v3beta1" const basePath = "https://dialogflow.googleapis.com/" const basePathTemplate = "https://dialogflow.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dialogflow.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/digitalassetlinks/v1/digitalassetlinks-gen.go b/digitalassetlinks/v1/digitalassetlinks-gen.go index db3e22382c9..975a7a68e37 100644 --- a/digitalassetlinks/v1/digitalassetlinks-gen.go +++ b/digitalassetlinks/v1/digitalassetlinks-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://digitalassetlinks.googleapis.com/" const basePathTemplate = "https://digitalassetlinks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://digitalassetlinks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/discovery/v1/discovery-gen.go b/discovery/v1/discovery-gen.go index b14b1c8f346..a5ce6879bfa 100644 --- a/discovery/v1/discovery-gen.go +++ b/discovery/v1/discovery-gen.go @@ -91,7 +91,6 @@ const apiName = "discovery" const apiVersion = "v1" const basePath = "https://www.googleapis.com/discovery/v1/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/discovery/v1/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/discoveryengine/v1/discoveryengine-gen.go b/discoveryengine/v1/discoveryengine-gen.go index 528087c2af4..e06e0a2562e 100644 --- a/discoveryengine/v1/discoveryengine-gen.go +++ b/discoveryengine/v1/discoveryengine-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://discoveryengine.googleapis.com/" const basePathTemplate = "https://discoveryengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://discoveryengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/discoveryengine/v1alpha/discoveryengine-gen.go b/discoveryengine/v1alpha/discoveryengine-gen.go index d308f8fcd67..7c8fc41c63a 100644 --- a/discoveryengine/v1alpha/discoveryengine-gen.go +++ b/discoveryengine/v1alpha/discoveryengine-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://discoveryengine.googleapis.com/" const basePathTemplate = "https://discoveryengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://discoveryengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/discoveryengine/v1beta/discoveryengine-gen.go b/discoveryengine/v1beta/discoveryengine-gen.go index 3b523e8bd15..67116e30a0d 100644 --- a/discoveryengine/v1beta/discoveryengine-gen.go +++ b/discoveryengine/v1beta/discoveryengine-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://discoveryengine.googleapis.com/" const basePathTemplate = "https://discoveryengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://discoveryengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/displayvideo/v2/displayvideo-gen.go b/displayvideo/v2/displayvideo-gen.go index 96fbd533a0b..6479c0d0e98 100644 --- a/displayvideo/v2/displayvideo-gen.go +++ b/displayvideo/v2/displayvideo-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://displayvideo.googleapis.com/" const basePathTemplate = "https://displayvideo.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://displayvideo.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/displayvideo/v3/displayvideo-gen.go b/displayvideo/v3/displayvideo-gen.go index 13c72cac12f..74324157305 100644 --- a/displayvideo/v3/displayvideo-gen.go +++ b/displayvideo/v3/displayvideo-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://displayvideo.googleapis.com/" const basePathTemplate = "https://displayvideo.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://displayvideo.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 85cde8b0ac6..1166986775a 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v2" const basePath = "https://dlp.googleapis.com/" const basePathTemplate = "https://dlp.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dlp.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index 7f7b48ab2cc..59b9dbe35a5 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://dns.googleapis.com/" const basePathTemplate = "https://dns.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dns.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index 3130a80f866..e78b2d4e157 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta2" const basePath = "https://dns.googleapis.com/" const basePathTemplate = "https://dns.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://dns.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/docs/v1/docs-gen.go b/docs/v1/docs-gen.go index 2cf92d1c4ce..e5dd4461e2a 100644 --- a/docs/v1/docs-gen.go +++ b/docs/v1/docs-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://docs.googleapis.com/" const basePathTemplate = "https://docs.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://docs.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index 47e355bffc1..ae1d759d4c5 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://documentai.googleapis.com/" const basePathTemplate = "https://documentai.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://documentai.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index 57fa3967f02..763124ca90d 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta2" const basePath = "https://documentai.googleapis.com/" const basePathTemplate = "https://documentai.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://documentai.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index 46a6310f742..70ac80e2187 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta3" const basePath = "https://documentai.googleapis.com/" const basePathTemplate = "https://documentai.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://documentai.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/domains/v1/domains-gen.go b/domains/v1/domains-gen.go index c969117d90a..b594282ed5b 100644 --- a/domains/v1/domains-gen.go +++ b/domains/v1/domains-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://domains.googleapis.com/" const basePathTemplate = "https://domains.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://domains.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/domains/v1alpha2/domains-gen.go b/domains/v1alpha2/domains-gen.go index 6f3f5019572..fc576e6723a 100644 --- a/domains/v1alpha2/domains-gen.go +++ b/domains/v1alpha2/domains-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha2" const basePath = "https://domains.googleapis.com/" const basePathTemplate = "https://domains.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://domains.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/domains/v1beta1/domains-gen.go b/domains/v1beta1/domains-gen.go index 819ec1385eb..d4630e7f88a 100644 --- a/domains/v1beta1/domains-gen.go +++ b/domains/v1beta1/domains-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://domains.googleapis.com/" const basePathTemplate = "https://domains.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://domains.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/domainsrdap/v1/domainsrdap-gen.go b/domainsrdap/v1/domainsrdap-gen.go index c439e3e7ecc..dab7150da5f 100644 --- a/domainsrdap/v1/domainsrdap-gen.go +++ b/domainsrdap/v1/domainsrdap-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://domainsrdap.googleapis.com/" const basePathTemplate = "https://domainsrdap.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://domainsrdap.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go index de35bc9350f..ab9479a5d1d 100644 --- a/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go +++ b/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://doubleclickbidmanager.googleapis.com/v2/" const basePathTemplate = "https://doubleclickbidmanager.UNIVERSE_DOMAIN/v2/" const mtlsBasePath = "https://doubleclickbidmanager.mtls.googleapis.com/v2/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/doubleclicksearch/v2/doubleclicksearch-gen.go b/doubleclicksearch/v2/doubleclicksearch-gen.go index 5b35696a47d..cfcb834b7a4 100644 --- a/doubleclicksearch/v2/doubleclicksearch-gen.go +++ b/doubleclicksearch/v2/doubleclicksearch-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://doubleclicksearch.googleapis.com/" const basePathTemplate = "https://doubleclicksearch.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://doubleclicksearch.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go index 5c86d7aae9a..5e2d4ea6311 100644 --- a/drive/v2/drive-gen.go +++ b/drive/v2/drive-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://www.googleapis.com/drive/v2/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/drive/v2/" const mtlsBasePath = "https://www.mtls.googleapis.com/drive/v2/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index ab49f2fc9db..44b1ba8d159 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://www.googleapis.com/drive/v3/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/drive/v3/" const mtlsBasePath = "https://www.mtls.googleapis.com/drive/v3/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/driveactivity/v2/driveactivity-gen.go b/driveactivity/v2/driveactivity-gen.go index 4ce39634f62..b4cf766e624 100644 --- a/driveactivity/v2/driveactivity-gen.go +++ b/driveactivity/v2/driveactivity-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://driveactivity.googleapis.com/" const basePathTemplate = "https://driveactivity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://driveactivity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/drivelabels/v2/drivelabels-gen.go b/drivelabels/v2/drivelabels-gen.go index 354144c6377..5bd3946642e 100644 --- a/drivelabels/v2/drivelabels-gen.go +++ b/drivelabels/v2/drivelabels-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://drivelabels.googleapis.com/" const basePathTemplate = "https://drivelabels.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://drivelabels.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/drivelabels/v2beta/drivelabels-gen.go b/drivelabels/v2beta/drivelabels-gen.go index 50007901475..8e572fc834a 100644 --- a/drivelabels/v2beta/drivelabels-gen.go +++ b/drivelabels/v2beta/drivelabels-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2beta" const basePath = "https://drivelabels.googleapis.com/" const basePathTemplate = "https://drivelabels.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://drivelabels.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/essentialcontacts/v1/essentialcontacts-gen.go b/essentialcontacts/v1/essentialcontacts-gen.go index cbadcc61c17..176f6af8617 100644 --- a/essentialcontacts/v1/essentialcontacts-gen.go +++ b/essentialcontacts/v1/essentialcontacts-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://essentialcontacts.googleapis.com/" const basePathTemplate = "https://essentialcontacts.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://essentialcontacts.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/eventarc/v1/eventarc-gen.go b/eventarc/v1/eventarc-gen.go index e98ce6b265a..2ceb92db6c6 100644 --- a/eventarc/v1/eventarc-gen.go +++ b/eventarc/v1/eventarc-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://eventarc.googleapis.com/" const basePathTemplate = "https://eventarc.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://eventarc.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/eventarc/v1beta1/eventarc-gen.go b/eventarc/v1beta1/eventarc-gen.go index aa30f23a5ee..705605f3413 100644 --- a/eventarc/v1beta1/eventarc-gen.go +++ b/eventarc/v1beta1/eventarc-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://eventarc.googleapis.com/" const basePathTemplate = "https://eventarc.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://eventarc.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/factchecktools/v1alpha1/factchecktools-gen.go b/factchecktools/v1alpha1/factchecktools-gen.go index 228d7b155c1..48d15edda1e 100644 --- a/factchecktools/v1alpha1/factchecktools-gen.go +++ b/factchecktools/v1alpha1/factchecktools-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://factchecktools.googleapis.com/" const basePathTemplate = "https://factchecktools.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://factchecktools.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/fcm/v1/fcm-gen.go b/fcm/v1/fcm-gen.go index 3b179251ebf..ffb3ad5605f 100644 --- a/fcm/v1/fcm-gen.go +++ b/fcm/v1/fcm-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://fcm.googleapis.com/" const basePathTemplate = "https://fcm.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://fcm.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/fcmdata/v1beta1/fcmdata-gen.go b/fcmdata/v1beta1/fcmdata-gen.go index 5d6e74df827..d25fbac1b2d 100644 --- a/fcmdata/v1beta1/fcmdata-gen.go +++ b/fcmdata/v1beta1/fcmdata-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://fcmdata.googleapis.com/" const basePathTemplate = "https://fcmdata.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://fcmdata.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index 15cc3366a5f..d26eb9516a6 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://file.googleapis.com/" const basePathTemplate = "https://file.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://file.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index 1aed87b4147..51ad216a9a0 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://file.googleapis.com/" const basePathTemplate = "https://file.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://file.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index a5b6f661604..515ebd9728d 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://firebase.googleapis.com/" const basePathTemplate = "https://firebase.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebase.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseappcheck/v1/firebaseappcheck-gen.go b/firebaseappcheck/v1/firebaseappcheck-gen.go index c311c7628b2..c3fa6c7e38d 100644 --- a/firebaseappcheck/v1/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1/firebaseappcheck-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://firebaseappcheck.googleapis.com/" const basePathTemplate = "https://firebaseappcheck.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseappcheck.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseappcheck/v1beta/firebaseappcheck-gen.go b/firebaseappcheck/v1beta/firebaseappcheck-gen.go index 4fadd911561..c7db5df1bc8 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1beta/firebaseappcheck-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://firebaseappcheck.googleapis.com/" const basePathTemplate = "https://firebaseappcheck.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseappcheck.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseappdistribution/v1/firebaseappdistribution-gen.go b/firebaseappdistribution/v1/firebaseappdistribution-gen.go index 2720841bbde..2822609bbb8 100644 --- a/firebaseappdistribution/v1/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1/firebaseappdistribution-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://firebaseappdistribution.googleapis.com/" const basePathTemplate = "https://firebaseappdistribution.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseappdistribution.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go index c4324e77151..d5d067e0068 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://firebaseappdistribution.googleapis.com/" const basePathTemplate = "https://firebaseappdistribution.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseappdistribution.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebasedatabase/v1beta/firebasedatabase-gen.go b/firebasedatabase/v1beta/firebasedatabase-gen.go index e8944d107fd..8c8a0a1bb6d 100644 --- a/firebasedatabase/v1beta/firebasedatabase-gen.go +++ b/firebasedatabase/v1beta/firebasedatabase-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://firebasedatabase.googleapis.com/" const basePathTemplate = "https://firebasedatabase.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebasedatabase.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go index 9d4279dcaf7..23986b462c0 100644 --- a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go +++ b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://firebasedynamiclinks.googleapis.com/" const basePathTemplate = "https://firebasedynamiclinks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebasedynamiclinks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go index e6ee32958f0..5caeeb7ad6a 100644 --- a/firebasehosting/v1/firebasehosting-gen.go +++ b/firebasehosting/v1/firebasehosting-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://firebasehosting.googleapis.com/" const basePathTemplate = "https://firebasehosting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebasehosting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebasehosting/v1beta1/firebasehosting-gen.go b/firebasehosting/v1beta1/firebasehosting-gen.go index 0ac929df6ae..797814a38c3 100644 --- a/firebasehosting/v1beta1/firebasehosting-gen.go +++ b/firebasehosting/v1beta1/firebasehosting-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://firebasehosting.googleapis.com/" const basePathTemplate = "https://firebasehosting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebasehosting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseml/v1/firebaseml-gen.go b/firebaseml/v1/firebaseml-gen.go index b0d57caa441..9eec7789105 100644 --- a/firebaseml/v1/firebaseml-gen.go +++ b/firebaseml/v1/firebaseml-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://firebaseml.googleapis.com/" const basePathTemplate = "https://firebaseml.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseml.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseml/v1beta2/firebaseml-gen.go b/firebaseml/v1beta2/firebaseml-gen.go index 1283ad13336..938f1db1ff1 100644 --- a/firebaseml/v1beta2/firebaseml-gen.go +++ b/firebaseml/v1beta2/firebaseml-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta2" const basePath = "https://firebaseml.googleapis.com/" const basePathTemplate = "https://firebaseml.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseml.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaseml/v2beta/firebaseml-gen.go b/firebaseml/v2beta/firebaseml-gen.go index 0357dd35b23..ad854bbfddf 100644 --- a/firebaseml/v2beta/firebaseml-gen.go +++ b/firebaseml/v2beta/firebaseml-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta" const basePath = "https://firebaseml.googleapis.com/" const basePathTemplate = "https://firebaseml.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaseml.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebaserules/v1/firebaserules-gen.go b/firebaserules/v1/firebaserules-gen.go index 1def0f137cd..31bfab15eeb 100644 --- a/firebaserules/v1/firebaserules-gen.go +++ b/firebaserules/v1/firebaserules-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://firebaserules.googleapis.com/" const basePathTemplate = "https://firebaserules.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebaserules.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firebasestorage/v1beta/firebasestorage-gen.go b/firebasestorage/v1beta/firebasestorage-gen.go index 2faf05de4df..016e2a581c6 100644 --- a/firebasestorage/v1beta/firebasestorage-gen.go +++ b/firebasestorage/v1beta/firebasestorage-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://firebasestorage.googleapis.com/" const basePathTemplate = "https://firebasestorage.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firebasestorage.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index 9b5decd7221..9c7ffd7ad3f 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://firestore.googleapis.com/" const basePathTemplate = "https://firestore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firestore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go index e2dff469897..2681840602a 100644 --- a/firestore/v1beta1/firestore-gen.go +++ b/firestore/v1beta1/firestore-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta1" const basePath = "https://firestore.googleapis.com/" const basePathTemplate = "https://firestore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firestore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/firestore/v1beta2/firestore-gen.go b/firestore/v1beta2/firestore-gen.go index 3dc69246931..6b2fec30d1b 100644 --- a/firestore/v1beta2/firestore-gen.go +++ b/firestore/v1beta2/firestore-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta2" const basePath = "https://firestore.googleapis.com/" const basePathTemplate = "https://firestore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://firestore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/fitness/v1/fitness-gen.go b/fitness/v1/fitness-gen.go index dbbe66c9ec1..52ef3441ade 100644 --- a/fitness/v1/fitness-gen.go +++ b/fitness/v1/fitness-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://fitness.googleapis.com/fitness/v1/users/" const basePathTemplate = "https://fitness.UNIVERSE_DOMAIN/fitness/v1/users/" const mtlsBasePath = "https://fitness.mtls.googleapis.com/fitness/v1/users/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/forms/v1/forms-gen.go b/forms/v1/forms-gen.go index bbb7d4bbdff..561d2d74850 100644 --- a/forms/v1/forms-gen.go +++ b/forms/v1/forms-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://forms.googleapis.com/" const basePathTemplate = "https://forms.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://forms.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/games/v1/games-gen.go b/games/v1/games-gen.go index c3d8f0d1593..cbc514360dd 100644 --- a/games/v1/games-gen.go +++ b/games/v1/games-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://games.googleapis.com/" const basePathTemplate = "https://games.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://games.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go index 7d3d24c0935..6148dd8f2ae 100644 --- a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go +++ b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1configuration" const basePath = "https://gamesconfiguration.googleapis.com/" const basePathTemplate = "https://gamesconfiguration.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gamesconfiguration.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gamesmanagement/v1management/gamesmanagement-gen.go b/gamesmanagement/v1management/gamesmanagement-gen.go index 0267e6b7590..2abee968d77 100644 --- a/gamesmanagement/v1management/gamesmanagement-gen.go +++ b/gamesmanagement/v1management/gamesmanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1management" const basePath = "https://gamesmanagement.googleapis.com/" const basePathTemplate = "https://gamesmanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gamesmanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkebackup/v1/gkebackup-gen.go b/gkebackup/v1/gkebackup-gen.go index d3399e406ba..55e7fb630fc 100644 --- a/gkebackup/v1/gkebackup-gen.go +++ b/gkebackup/v1/gkebackup-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://gkebackup.googleapis.com/" const basePathTemplate = "https://gkebackup.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkebackup.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index c8a265723ed..287d55be98e 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://gkehub.googleapis.com/" const basePathTemplate = "https://gkehub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkehub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index c017378c65a..fc9573c42e0 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://gkehub.googleapis.com/" const basePathTemplate = "https://gkehub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkehub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index c21048b895a..99f2b57864e 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://gkehub.googleapis.com/" const basePathTemplate = "https://gkehub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkehub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkehub/v1beta1/gkehub-gen.go b/gkehub/v1beta1/gkehub-gen.go index 0c718f3823b..354315f16fc 100644 --- a/gkehub/v1beta1/gkehub-gen.go +++ b/gkehub/v1beta1/gkehub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://gkehub.googleapis.com/" const basePathTemplate = "https://gkehub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkehub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkehub/v2alpha/gkehub-gen.go b/gkehub/v2alpha/gkehub-gen.go index 8d9e5a881ca..2521e20b9c1 100644 --- a/gkehub/v2alpha/gkehub-gen.go +++ b/gkehub/v2alpha/gkehub-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2alpha" const basePath = "https://gkehub.googleapis.com/" const basePathTemplate = "https://gkehub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkehub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gkeonprem/v1/gkeonprem-gen.go b/gkeonprem/v1/gkeonprem-gen.go index 31f7591615e..27570da6ead 100644 --- a/gkeonprem/v1/gkeonprem-gen.go +++ b/gkeonprem/v1/gkeonprem-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://gkeonprem.googleapis.com/" const basePathTemplate = "https://gkeonprem.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gkeonprem.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index d5f77ad0708..b12cb26060f 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://gmail.googleapis.com/" const basePathTemplate = "https://gmail.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gmail.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gmailpostmastertools/v1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1/gmailpostmastertools-gen.go index 5b59fff7b59..7baf5fd0927 100644 --- a/gmailpostmastertools/v1/gmailpostmastertools-gen.go +++ b/gmailpostmastertools/v1/gmailpostmastertools-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://gmailpostmastertools.googleapis.com/" const basePathTemplate = "https://gmailpostmastertools.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gmailpostmastertools.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go index 4e7b5af579e..fd41632e2bf 100644 --- a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go +++ b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://gmailpostmastertools.googleapis.com/" const basePathTemplate = "https://gmailpostmastertools.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://gmailpostmastertools.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/groupsmigration/v1/groupsmigration-gen.go b/groupsmigration/v1/groupsmigration-gen.go index 9df0f6c9931..40b8e1511f4 100644 --- a/groupsmigration/v1/groupsmigration-gen.go +++ b/groupsmigration/v1/groupsmigration-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://groupsmigration.googleapis.com/" const basePathTemplate = "https://groupsmigration.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://groupsmigration.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/groupssettings/v1/groupssettings-gen.go b/groupssettings/v1/groupssettings-gen.go index e44ae52688b..3aaa8f8856e 100644 --- a/groupssettings/v1/groupssettings-gen.go +++ b/groupssettings/v1/groupssettings-gen.go @@ -91,7 +91,6 @@ const apiName = "groupssettings" const apiVersion = "v1" const basePath = "https://www.googleapis.com/groups/v1/groups/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/groups/v1/groups/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index fee0252da44..aab1cc49cdd 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://healthcare.googleapis.com/" const basePathTemplate = "https://healthcare.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://healthcare.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index c1becfe498c..f6c501ea97d 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://healthcare.googleapis.com/" const basePathTemplate = "https://healthcare.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://healthcare.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/homegraph/v1/homegraph-gen.go b/homegraph/v1/homegraph-gen.go index 9af17ee6626..26572a19657 100644 --- a/homegraph/v1/homegraph-gen.go +++ b/homegraph/v1/homegraph-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://homegraph.googleapis.com/" const basePathTemplate = "https://homegraph.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://homegraph.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index b5b364d9b6b..315bc42ca3b 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://iam.googleapis.com/" const basePathTemplate = "https://iam.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://iam.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/iam/v2/iam-gen.go b/iam/v2/iam-gen.go index fee254c2361..7d9a39f8a25 100644 --- a/iam/v2/iam-gen.go +++ b/iam/v2/iam-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://iam.googleapis.com/" const basePathTemplate = "https://iam.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://iam.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/iam/v2beta/iam-gen.go b/iam/v2beta/iam-gen.go index 0a747667d68..210e9e6663d 100644 --- a/iam/v2beta/iam-gen.go +++ b/iam/v2beta/iam-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta" const basePath = "https://iam.googleapis.com/" const basePathTemplate = "https://iam.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://iam.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/iamcredentials/v1/iamcredentials-gen.go b/iamcredentials/v1/iamcredentials-gen.go index 48358435ef8..817eb143395 100644 --- a/iamcredentials/v1/iamcredentials-gen.go +++ b/iamcredentials/v1/iamcredentials-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://iamcredentials.googleapis.com/" const basePathTemplate = "https://iamcredentials.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://iamcredentials.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index 689cef12d56..f885e4d4191 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://iap.googleapis.com/" const basePathTemplate = "https://iap.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://iap.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/iap/v1beta1/iap-gen.go b/iap/v1beta1/iap-gen.go index 849c9eafa24..1fe40aab4ac 100644 --- a/iap/v1beta1/iap-gen.go +++ b/iap/v1beta1/iap-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://iap.googleapis.com/" const basePathTemplate = "https://iap.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://iap.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/identitytoolkit/v1/identitytoolkit-gen.go b/identitytoolkit/v1/identitytoolkit-gen.go index bf69f24d59b..8279492f1b1 100644 --- a/identitytoolkit/v1/identitytoolkit-gen.go +++ b/identitytoolkit/v1/identitytoolkit-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://identitytoolkit.googleapis.com/" const basePathTemplate = "https://identitytoolkit.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://identitytoolkit.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/identitytoolkit/v2/identitytoolkit-gen.go b/identitytoolkit/v2/identitytoolkit-gen.go index 6a76b86e59b..0443db15b87 100644 --- a/identitytoolkit/v2/identitytoolkit-gen.go +++ b/identitytoolkit/v2/identitytoolkit-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://identitytoolkit.googleapis.com/" const basePathTemplate = "https://identitytoolkit.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://identitytoolkit.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/identitytoolkit/v3/identitytoolkit-gen.go b/identitytoolkit/v3/identitytoolkit-gen.go index c54a46c91a4..88a71951ce1 100644 --- a/identitytoolkit/v3/identitytoolkit-gen.go +++ b/identitytoolkit/v3/identitytoolkit-gen.go @@ -96,7 +96,6 @@ const apiName = "identitytoolkit" const apiVersion = "v3" const basePath = "https://www.googleapis.com/identitytoolkit/v3/relyingparty/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/identitytoolkit/v3/relyingparty/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/ids/v1/ids-gen.go b/ids/v1/ids-gen.go index 5be17cb56c8..6f8f3b22fb5 100644 --- a/ids/v1/ids-gen.go +++ b/ids/v1/ids-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://ids.googleapis.com/" const basePathTemplate = "https://ids.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://ids.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/indexing/v3/indexing-gen.go b/indexing/v3/indexing-gen.go index 60928023403..b9155a74e25 100644 --- a/indexing/v3/indexing-gen.go +++ b/indexing/v3/indexing-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v3" const basePath = "https://indexing.googleapis.com/" const basePathTemplate = "https://indexing.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://indexing.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/jobs/v3/jobs-gen.go b/jobs/v3/jobs-gen.go index e5687007427..b12600857b4 100644 --- a/jobs/v3/jobs-gen.go +++ b/jobs/v3/jobs-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://jobs.googleapis.com/" const basePathTemplate = "https://jobs.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://jobs.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/jobs/v3p1beta1/jobs-gen.go b/jobs/v3p1beta1/jobs-gen.go index 6254a0f8dc7..17d9e33853f 100644 --- a/jobs/v3p1beta1/jobs-gen.go +++ b/jobs/v3p1beta1/jobs-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3p1beta1" const basePath = "https://jobs.googleapis.com/" const basePathTemplate = "https://jobs.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://jobs.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/jobs/v4/jobs-gen.go b/jobs/v4/jobs-gen.go index 81d06d64ca9..18934ce78f3 100644 --- a/jobs/v4/jobs-gen.go +++ b/jobs/v4/jobs-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v4" const basePath = "https://jobs.googleapis.com/" const basePathTemplate = "https://jobs.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://jobs.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/keep/v1/keep-gen.go b/keep/v1/keep-gen.go index 52d7477671a..189b4d3e5b4 100644 --- a/keep/v1/keep-gen.go +++ b/keep/v1/keep-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://keep.googleapis.com/" const basePathTemplate = "https://keep.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://keep.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/kgsearch/v1/kgsearch-gen.go b/kgsearch/v1/kgsearch-gen.go index 4d3cdff4748..da377757023 100644 --- a/kgsearch/v1/kgsearch-gen.go +++ b/kgsearch/v1/kgsearch-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://kgsearch.googleapis.com/" const basePathTemplate = "https://kgsearch.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://kgsearch.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/kmsinventory/v1/kmsinventory-gen.go b/kmsinventory/v1/kmsinventory-gen.go index fa969afd050..94d76173bb4 100644 --- a/kmsinventory/v1/kmsinventory-gen.go +++ b/kmsinventory/v1/kmsinventory-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://kmsinventory.googleapis.com/" const basePathTemplate = "https://kmsinventory.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://kmsinventory.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go index 8e87367d238..eab48fb5e86 100644 --- a/language/v1/language-gen.go +++ b/language/v1/language-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://language.googleapis.com/" const basePathTemplate = "https://language.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://language.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go index 0c989f18bbd..8c0dcc88355 100644 --- a/language/v1beta2/language-gen.go +++ b/language/v1beta2/language-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta2" const basePath = "https://language.googleapis.com/" const basePathTemplate = "https://language.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://language.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/language/v2/language-gen.go b/language/v2/language-gen.go index 3442b5520e3..d64c26c8544 100644 --- a/language/v2/language-gen.go +++ b/language/v2/language-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v2" const basePath = "https://language.googleapis.com/" const basePathTemplate = "https://language.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://language.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/libraryagent/v1/libraryagent-gen.go b/libraryagent/v1/libraryagent-gen.go index aa911a006fd..e7a78c3b13e 100644 --- a/libraryagent/v1/libraryagent-gen.go +++ b/libraryagent/v1/libraryagent-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://libraryagent.googleapis.com/" const basePathTemplate = "https://libraryagent.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://libraryagent.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/licensing/v1/licensing-gen.go b/licensing/v1/licensing-gen.go index ac0408f4bce..a407a355fb7 100644 --- a/licensing/v1/licensing-gen.go +++ b/licensing/v1/licensing-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://licensing.googleapis.com/" const basePathTemplate = "https://licensing.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://licensing.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/lifesciences/v2beta/lifesciences-gen.go b/lifesciences/v2beta/lifesciences-gen.go index 4266c93eaac..227390a4ec1 100644 --- a/lifesciences/v2beta/lifesciences-gen.go +++ b/lifesciences/v2beta/lifesciences-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta" const basePath = "https://lifesciences.googleapis.com/" const basePathTemplate = "https://lifesciences.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://lifesciences.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/localservices/v1/localservices-gen.go b/localservices/v1/localservices-gen.go index 45783fe0f81..da571be5e55 100644 --- a/localservices/v1/localservices-gen.go +++ b/localservices/v1/localservices-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://localservices.googleapis.com/" const basePathTemplate = "https://localservices.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://localservices.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index 076c947bfe7..14293db044c 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v2" const basePath = "https://logging.googleapis.com/" const basePathTemplate = "https://logging.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://logging.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/looker/v1/looker-gen.go b/looker/v1/looker-gen.go index bc132bf8eb1..947f4510158 100644 --- a/looker/v1/looker-gen.go +++ b/looker/v1/looker-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://looker.googleapis.com/" const basePathTemplate = "https://looker.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://looker.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/managedidentities/v1/managedidentities-gen.go b/managedidentities/v1/managedidentities-gen.go index acd13502812..6c343810af0 100644 --- a/managedidentities/v1/managedidentities-gen.go +++ b/managedidentities/v1/managedidentities-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://managedidentities.googleapis.com/" const basePathTemplate = "https://managedidentities.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://managedidentities.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go index 7916ec819aa..38114d4bb70 100644 --- a/managedidentities/v1alpha1/managedidentities-gen.go +++ b/managedidentities/v1alpha1/managedidentities-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://managedidentities.googleapis.com/" const basePathTemplate = "https://managedidentities.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://managedidentities.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go index 8773dff179a..9625c970e7c 100644 --- a/managedidentities/v1beta1/managedidentities-gen.go +++ b/managedidentities/v1beta1/managedidentities-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://managedidentities.googleapis.com/" const basePathTemplate = "https://managedidentities.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://managedidentities.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/manufacturers/v1/manufacturers-gen.go b/manufacturers/v1/manufacturers-gen.go index d13fc6103cf..966d4a7ebe0 100644 --- a/manufacturers/v1/manufacturers-gen.go +++ b/manufacturers/v1/manufacturers-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://manufacturers.googleapis.com/" const basePathTemplate = "https://manufacturers.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://manufacturers.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go b/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go index b71b2ff2ee0..7ebfb60b681 100644 --- a/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go +++ b/marketingplatformadmin/v1alpha/marketingplatformadmin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1alpha" const basePath = "https://marketingplatformadmin.googleapis.com/" const basePathTemplate = "https://marketingplatformadmin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://marketingplatformadmin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/memcache/v1/memcache-gen.go b/memcache/v1/memcache-gen.go index be79960e1b1..f816bfd533b 100644 --- a/memcache/v1/memcache-gen.go +++ b/memcache/v1/memcache-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://memcache.googleapis.com/" const basePathTemplate = "https://memcache.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://memcache.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/memcache/v1beta2/memcache-gen.go b/memcache/v1beta2/memcache-gen.go index 3222983054c..e9361073560 100644 --- a/memcache/v1beta2/memcache-gen.go +++ b/memcache/v1beta2/memcache-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta2" const basePath = "https://memcache.googleapis.com/" const basePathTemplate = "https://memcache.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://memcache.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/metastore/v1/metastore-gen.go b/metastore/v1/metastore-gen.go index 3a0be1a57ff..32df6e66f0a 100644 --- a/metastore/v1/metastore-gen.go +++ b/metastore/v1/metastore-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://metastore.googleapis.com/" const basePathTemplate = "https://metastore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://metastore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index 6cc2350ebfd..01fb6c357a2 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://metastore.googleapis.com/" const basePathTemplate = "https://metastore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://metastore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index d1d846f6ddd..0f01f822f99 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://metastore.googleapis.com/" const basePathTemplate = "https://metastore.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://metastore.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/migrationcenter/v1/migrationcenter-gen.go b/migrationcenter/v1/migrationcenter-gen.go index 6a7e2ec352e..65044e8e895 100644 --- a/migrationcenter/v1/migrationcenter-gen.go +++ b/migrationcenter/v1/migrationcenter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://migrationcenter.googleapis.com/" const basePathTemplate = "https://migrationcenter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://migrationcenter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/migrationcenter/v1alpha1/migrationcenter-gen.go b/migrationcenter/v1alpha1/migrationcenter-gen.go index 47cfb2dbc70..9e8e7cd31d5 100644 --- a/migrationcenter/v1alpha1/migrationcenter-gen.go +++ b/migrationcenter/v1alpha1/migrationcenter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://migrationcenter.googleapis.com/" const basePathTemplate = "https://migrationcenter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://migrationcenter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/ml/v1/ml-gen.go b/ml/v1/ml-gen.go index 04cf060a390..934497beb37 100644 --- a/ml/v1/ml-gen.go +++ b/ml/v1/ml-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://ml.googleapis.com/" const basePathTemplate = "https://ml.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://ml.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 0cdd0e58c33..c430c84f97b 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://monitoring.googleapis.com/" const basePathTemplate = "https://monitoring.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://monitoring.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index 1596c1f751c..2a67ad5360f 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v3" const basePath = "https://monitoring.googleapis.com/" const basePathTemplate = "https://monitoring.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://monitoring.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go index 3c14fdff5a4..82dfdaffdc5 100644 --- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go +++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinessaccountmanagement.googleapis.com/" const basePathTemplate = "https://mybusinessaccountmanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinessaccountmanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go index cc7d335b984..7921b123ea5 100644 --- a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go +++ b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinessbusinessinformation.googleapis.com/" const basePathTemplate = "https://mybusinessbusinessinformation.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinessbusinessinformation.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/mybusinesslodging/v1/mybusinesslodging-gen.go b/mybusinesslodging/v1/mybusinesslodging-gen.go index 9d4de88d634..95aca0e4efb 100644 --- a/mybusinesslodging/v1/mybusinesslodging-gen.go +++ b/mybusinesslodging/v1/mybusinesslodging-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinesslodging.googleapis.com/" const basePathTemplate = "https://mybusinesslodging.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinesslodging.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/mybusinessnotifications/v1/mybusinessnotifications-gen.go b/mybusinessnotifications/v1/mybusinessnotifications-gen.go index 75ef704d43d..b1739a679b2 100644 --- a/mybusinessnotifications/v1/mybusinessnotifications-gen.go +++ b/mybusinessnotifications/v1/mybusinessnotifications-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinessnotifications.googleapis.com/" const basePathTemplate = "https://mybusinessnotifications.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinessnotifications.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go index 7a17bcd16b3..15e6a16ab70 100644 --- a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go +++ b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinessplaceactions.googleapis.com/" const basePathTemplate = "https://mybusinessplaceactions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinessplaceactions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/mybusinessqanda/v1/mybusinessqanda-gen.go b/mybusinessqanda/v1/mybusinessqanda-gen.go index d4aa15a006e..e58f4bb2f02 100644 --- a/mybusinessqanda/v1/mybusinessqanda-gen.go +++ b/mybusinessqanda/v1/mybusinessqanda-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinessqanda.googleapis.com/" const basePathTemplate = "https://mybusinessqanda.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinessqanda.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/mybusinessverifications/v1/mybusinessverifications-gen.go b/mybusinessverifications/v1/mybusinessverifications-gen.go index 270c6a47066..f7697171bc5 100644 --- a/mybusinessverifications/v1/mybusinessverifications-gen.go +++ b/mybusinessverifications/v1/mybusinessverifications-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://mybusinessverifications.googleapis.com/" const basePathTemplate = "https://mybusinessverifications.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://mybusinessverifications.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/networkconnectivity/v1/networkconnectivity-gen.go b/networkconnectivity/v1/networkconnectivity-gen.go index b3714a780ba..405702f69d9 100644 --- a/networkconnectivity/v1/networkconnectivity-gen.go +++ b/networkconnectivity/v1/networkconnectivity-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://networkconnectivity.googleapis.com/" const basePathTemplate = "https://networkconnectivity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networkconnectivity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go index fadee37b6de..95e63647309 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go +++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://networkconnectivity.googleapis.com/" const basePathTemplate = "https://networkconnectivity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networkconnectivity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index 8e462460dec..3594ee8d0e7 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://networkmanagement.googleapis.com/" const basePathTemplate = "https://networkmanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networkmanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index e4665a56c68..108dd1e805d 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://networkmanagement.googleapis.com/" const basePathTemplate = "https://networkmanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networkmanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networksecurity/v1/networksecurity-gen.go b/networksecurity/v1/networksecurity-gen.go index 370babc3ea5..aea11c7ce16 100644 --- a/networksecurity/v1/networksecurity-gen.go +++ b/networksecurity/v1/networksecurity-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://networksecurity.googleapis.com/" const basePathTemplate = "https://networksecurity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networksecurity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networksecurity/v1beta1/networksecurity-gen.go b/networksecurity/v1beta1/networksecurity-gen.go index 3e25d9bef91..7600931e88e 100644 --- a/networksecurity/v1beta1/networksecurity-gen.go +++ b/networksecurity/v1beta1/networksecurity-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://networksecurity.googleapis.com/" const basePathTemplate = "https://networksecurity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networksecurity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networkservices/v1/networkservices-gen.go b/networkservices/v1/networkservices-gen.go index 3a8ebf35721..746ca311b79 100644 --- a/networkservices/v1/networkservices-gen.go +++ b/networkservices/v1/networkservices-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://networkservices.googleapis.com/" const basePathTemplate = "https://networkservices.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networkservices.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/networkservices/v1beta1/networkservices-gen.go b/networkservices/v1beta1/networkservices-gen.go index 872fe6411eb..ebcdf5059a0 100644 --- a/networkservices/v1beta1/networkservices-gen.go +++ b/networkservices/v1beta1/networkservices-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://networkservices.googleapis.com/" const basePathTemplate = "https://networkservices.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://networkservices.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index 5ec0d34741a..ec651912b68 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://notebooks.googleapis.com/" const basePathTemplate = "https://notebooks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://notebooks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/notebooks/v2/notebooks-gen.go b/notebooks/v2/notebooks-gen.go index bb1b4bf3413..c1692dc7e2d 100644 --- a/notebooks/v2/notebooks-gen.go +++ b/notebooks/v2/notebooks-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://notebooks.googleapis.com/" const basePathTemplate = "https://notebooks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://notebooks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/oauth2/v2/oauth2-gen.go b/oauth2/v2/oauth2-gen.go index b216c39a97c..dfa50148028 100644 --- a/oauth2/v2/oauth2-gen.go +++ b/oauth2/v2/oauth2-gen.go @@ -96,7 +96,6 @@ const apiName = "oauth2" const apiVersion = "v2" const basePath = "https://www.googleapis.com/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/ondemandscanning/v1/ondemandscanning-gen.go b/ondemandscanning/v1/ondemandscanning-gen.go index 19c9bffc121..a5165d07e35 100644 --- a/ondemandscanning/v1/ondemandscanning-gen.go +++ b/ondemandscanning/v1/ondemandscanning-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://ondemandscanning.googleapis.com/" const basePathTemplate = "https://ondemandscanning.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://ondemandscanning.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/ondemandscanning/v1beta1/ondemandscanning-gen.go b/ondemandscanning/v1beta1/ondemandscanning-gen.go index 0b7d25094fb..43836542976 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-gen.go +++ b/ondemandscanning/v1beta1/ondemandscanning-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://ondemandscanning.googleapis.com/" const basePathTemplate = "https://ondemandscanning.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://ondemandscanning.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/orgpolicy/v2/orgpolicy-gen.go b/orgpolicy/v2/orgpolicy-gen.go index 255d71386dd..3d692b7473d 100644 --- a/orgpolicy/v2/orgpolicy-gen.go +++ b/orgpolicy/v2/orgpolicy-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://orgpolicy.googleapis.com/" const basePathTemplate = "https://orgpolicy.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://orgpolicy.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index ce7eae245b4..e65e9123c1c 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://osconfig.googleapis.com/" const basePathTemplate = "https://osconfig.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://osconfig.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/osconfig/v1alpha/osconfig-gen.go b/osconfig/v1alpha/osconfig-gen.go index bd33805e798..cc09288cf64 100644 --- a/osconfig/v1alpha/osconfig-gen.go +++ b/osconfig/v1alpha/osconfig-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://osconfig.googleapis.com/" const basePathTemplate = "https://osconfig.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://osconfig.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/osconfig/v1beta/osconfig-gen.go b/osconfig/v1beta/osconfig-gen.go index aa8cbe4b66a..cd40a4f6165 100644 --- a/osconfig/v1beta/osconfig-gen.go +++ b/osconfig/v1beta/osconfig-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://osconfig.googleapis.com/" const basePathTemplate = "https://osconfig.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://osconfig.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/oslogin/v1/oslogin-gen.go b/oslogin/v1/oslogin-gen.go index 94bd813b4af..ab65e560a45 100644 --- a/oslogin/v1/oslogin-gen.go +++ b/oslogin/v1/oslogin-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://oslogin.googleapis.com/" const basePathTemplate = "https://oslogin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://oslogin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/oslogin/v1alpha/oslogin-gen.go b/oslogin/v1alpha/oslogin-gen.go index 356281f78f0..66b0ed804d1 100644 --- a/oslogin/v1alpha/oslogin-gen.go +++ b/oslogin/v1alpha/oslogin-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1alpha" const basePath = "https://oslogin.googleapis.com/" const basePathTemplate = "https://oslogin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://oslogin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/oslogin/v1beta/oslogin-gen.go b/oslogin/v1beta/oslogin-gen.go index 914c448e497..eeea50e7457 100644 --- a/oslogin/v1beta/oslogin-gen.go +++ b/oslogin/v1beta/oslogin-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta" const basePath = "https://oslogin.googleapis.com/" const basePathTemplate = "https://oslogin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://oslogin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/pagespeedonline/v5/pagespeedonline-gen.go b/pagespeedonline/v5/pagespeedonline-gen.go index a7464e24b4d..2be4cd1d77b 100644 --- a/pagespeedonline/v5/pagespeedonline-gen.go +++ b/pagespeedonline/v5/pagespeedonline-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v5" const basePath = "https://pagespeedonline.googleapis.com/" const basePathTemplate = "https://pagespeedonline.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://pagespeedonline.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index c4afdfab0e3..2c463460d26 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://paymentsresellersubscription.googleapis.com/" const basePathTemplate = "https://paymentsresellersubscription.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://paymentsresellersubscription.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/people/v1/people-gen.go b/people/v1/people-gen.go index a777c8490fd..bfb1b1eae9d 100644 --- a/people/v1/people-gen.go +++ b/people/v1/people-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://people.googleapis.com/" const basePathTemplate = "https://people.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://people.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/places/v1/places-gen.go b/places/v1/places-gen.go index 49098f32b2c..62fe07e24bc 100644 --- a/places/v1/places-gen.go +++ b/places/v1/places-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://places.googleapis.com/" const basePathTemplate = "https://places.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://places.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/playcustomapp/v1/playcustomapp-gen.go b/playcustomapp/v1/playcustomapp-gen.go index 01827a986b5..e9e6e1676b3 100644 --- a/playcustomapp/v1/playcustomapp-gen.go +++ b/playcustomapp/v1/playcustomapp-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://playcustomapp.googleapis.com/" const basePathTemplate = "https://playcustomapp.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://playcustomapp.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go index f129f27a0eb..f1c60075e99 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://playdeveloperreporting.googleapis.com/" const basePathTemplate = "https://playdeveloperreporting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://playdeveloperreporting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go index 946f079dc31..ed060e425b8 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://playdeveloperreporting.googleapis.com/" const basePathTemplate = "https://playdeveloperreporting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://playdeveloperreporting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/playgrouping/v1alpha1/playgrouping-gen.go b/playgrouping/v1alpha1/playgrouping-gen.go index 7df28236c42..c59190647a0 100644 --- a/playgrouping/v1alpha1/playgrouping-gen.go +++ b/playgrouping/v1alpha1/playgrouping-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://playgrouping.googleapis.com/" const basePathTemplate = "https://playgrouping.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://playgrouping.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go index d981c4d7d40..ac082deba92 100644 --- a/playintegrity/v1/playintegrity-gen.go +++ b/playintegrity/v1/playintegrity-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://playintegrity.googleapis.com/" const basePathTemplate = "https://playintegrity.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://playintegrity.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policyanalyzer/v1/policyanalyzer-gen.go b/policyanalyzer/v1/policyanalyzer-gen.go index 9d87f820e4c..6d4f676cd56 100644 --- a/policyanalyzer/v1/policyanalyzer-gen.go +++ b/policyanalyzer/v1/policyanalyzer-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://policyanalyzer.googleapis.com/" const basePathTemplate = "https://policyanalyzer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policyanalyzer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policyanalyzer/v1beta1/policyanalyzer-gen.go b/policyanalyzer/v1beta1/policyanalyzer-gen.go index c86a4a2d2ed..d64a27f79f2 100644 --- a/policyanalyzer/v1beta1/policyanalyzer-gen.go +++ b/policyanalyzer/v1beta1/policyanalyzer-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://policyanalyzer.googleapis.com/" const basePathTemplate = "https://policyanalyzer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policyanalyzer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policysimulator/v1/policysimulator-gen.go b/policysimulator/v1/policysimulator-gen.go index c222f55c15f..35686e2a966 100644 --- a/policysimulator/v1/policysimulator-gen.go +++ b/policysimulator/v1/policysimulator-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://policysimulator.googleapis.com/" const basePathTemplate = "https://policysimulator.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policysimulator.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policysimulator/v1alpha/policysimulator-gen.go b/policysimulator/v1alpha/policysimulator-gen.go index 1507e01aabe..16880850ba6 100644 --- a/policysimulator/v1alpha/policysimulator-gen.go +++ b/policysimulator/v1alpha/policysimulator-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://policysimulator.googleapis.com/" const basePathTemplate = "https://policysimulator.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policysimulator.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policysimulator/v1beta/policysimulator-gen.go b/policysimulator/v1beta/policysimulator-gen.go index 47af94a8579..e035f3ba306 100644 --- a/policysimulator/v1beta/policysimulator-gen.go +++ b/policysimulator/v1beta/policysimulator-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://policysimulator.googleapis.com/" const basePathTemplate = "https://policysimulator.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policysimulator.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policytroubleshooter/v1/policytroubleshooter-gen.go b/policytroubleshooter/v1/policytroubleshooter-gen.go index ed2a8b71cef..3d047d59329 100644 --- a/policytroubleshooter/v1/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1/policytroubleshooter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://policytroubleshooter.googleapis.com/" const basePathTemplate = "https://policytroubleshooter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policytroubleshooter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/policytroubleshooter/v1beta/policytroubleshooter-gen.go b/policytroubleshooter/v1beta/policytroubleshooter-gen.go index d873b5f93c6..869992080c8 100644 --- a/policytroubleshooter/v1beta/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1beta/policytroubleshooter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://policytroubleshooter.googleapis.com/" const basePathTemplate = "https://policytroubleshooter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://policytroubleshooter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/poly/v1/poly-gen.go b/poly/v1/poly-gen.go index 1ba5bfb5c46..b78e8d4816c 100644 --- a/poly/v1/poly-gen.go +++ b/poly/v1/poly-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://poly.googleapis.com/" const basePathTemplate = "https://poly.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://poly.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/privateca/v1/privateca-gen.go b/privateca/v1/privateca-gen.go index 9b92ba78a26..c6a9e53d6e8 100644 --- a/privateca/v1/privateca-gen.go +++ b/privateca/v1/privateca-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://privateca.googleapis.com/" const basePathTemplate = "https://privateca.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://privateca.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go index 602c6ebf974..44c4a3e82b9 100644 --- a/privateca/v1beta1/privateca-gen.go +++ b/privateca/v1beta1/privateca-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://privateca.googleapis.com/" const basePathTemplate = "https://privateca.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://privateca.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index 37ad68f1287..b6f957432a3 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1alpha1" const basePath = "https://prod-tt-sasportal.googleapis.com/" const basePathTemplate = "https://prod-tt-sasportal.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://prod-tt-sasportal.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/publicca/v1/publicca-gen.go b/publicca/v1/publicca-gen.go index 3f225bee66d..207db4bae55 100644 --- a/publicca/v1/publicca-gen.go +++ b/publicca/v1/publicca-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://publicca.googleapis.com/" const basePathTemplate = "https://publicca.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://publicca.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/publicca/v1alpha1/publicca-gen.go b/publicca/v1alpha1/publicca-gen.go index 6d73908fb8b..5c88664aecb 100644 --- a/publicca/v1alpha1/publicca-gen.go +++ b/publicca/v1alpha1/publicca-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://publicca.googleapis.com/" const basePathTemplate = "https://publicca.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://publicca.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/publicca/v1beta1/publicca-gen.go b/publicca/v1beta1/publicca-gen.go index 99895cd49ee..6ecd6fbf1fd 100644 --- a/publicca/v1beta1/publicca-gen.go +++ b/publicca/v1beta1/publicca-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://publicca.googleapis.com/" const basePathTemplate = "https://publicca.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://publicca.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index e080fda4de3..0a57254bab8 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://pubsub.googleapis.com/" const basePathTemplate = "https://pubsub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://pubsub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/pubsub/v1beta1a/pubsub-gen.go b/pubsub/v1beta1a/pubsub-gen.go index 41ad4a73277..c2e038b8b7d 100644 --- a/pubsub/v1beta1a/pubsub-gen.go +++ b/pubsub/v1beta1a/pubsub-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta1a" const basePath = "https://pubsub.googleapis.com/" const basePathTemplate = "https://pubsub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://pubsub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/pubsub/v1beta2/pubsub-gen.go b/pubsub/v1beta2/pubsub-gen.go index 0fae590edf8..dc15cec0f10 100644 --- a/pubsub/v1beta2/pubsub-gen.go +++ b/pubsub/v1beta2/pubsub-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1beta2" const basePath = "https://pubsub.googleapis.com/" const basePathTemplate = "https://pubsub.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://pubsub.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/pubsublite/v1/pubsublite-gen.go b/pubsublite/v1/pubsublite-gen.go index 76088248e72..c99f633dd44 100644 --- a/pubsublite/v1/pubsublite-gen.go +++ b/pubsublite/v1/pubsublite-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://pubsublite.googleapis.com/" const basePathTemplate = "https://pubsublite.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://pubsublite.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go b/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go index 4236834aa2e..2bc104a8fb5 100644 --- a/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go +++ b/rapidmigrationassessment/v1/rapidmigrationassessment-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://rapidmigrationassessment.googleapis.com/" const basePathTemplate = "https://rapidmigrationassessment.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://rapidmigrationassessment.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go b/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go index faae4dd136a..313097f36a5 100644 --- a/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go +++ b/readerrevenuesubscriptionlinking/v1/readerrevenuesubscriptionlinking-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://readerrevenuesubscriptionlinking.googleapis.com/" const basePathTemplate = "https://readerrevenuesubscriptionlinking.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://readerrevenuesubscriptionlinking.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index fe0423959f5..2eeaa53333d 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://realtimebidding.googleapis.com/" const basePathTemplate = "https://realtimebidding.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://realtimebidding.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/realtimebidding/v1alpha/realtimebidding-gen.go b/realtimebidding/v1alpha/realtimebidding-gen.go index 038084926fe..b13231b0f1e 100644 --- a/realtimebidding/v1alpha/realtimebidding-gen.go +++ b/realtimebidding/v1alpha/realtimebidding-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://realtimebidding.googleapis.com/" const basePathTemplate = "https://realtimebidding.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://realtimebidding.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go index a9c9fb4b852..22fece672f3 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go +++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://recaptchaenterprise.googleapis.com/" const basePathTemplate = "https://recaptchaenterprise.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://recaptchaenterprise.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/recommendationengine/v1beta1/recommendationengine-gen.go b/recommendationengine/v1beta1/recommendationengine-gen.go index 680f5974094..2f9b9c32186 100644 --- a/recommendationengine/v1beta1/recommendationengine-gen.go +++ b/recommendationengine/v1beta1/recommendationengine-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://recommendationengine.googleapis.com/" const basePathTemplate = "https://recommendationengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://recommendationengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/recommender/v1/recommender-gen.go b/recommender/v1/recommender-gen.go index 89e8b7a94b4..3ab506d9b64 100644 --- a/recommender/v1/recommender-gen.go +++ b/recommender/v1/recommender-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://recommender.googleapis.com/" const basePathTemplate = "https://recommender.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://recommender.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/recommender/v1beta1/recommender-gen.go b/recommender/v1beta1/recommender-gen.go index 0fb90267469..9e3841c829c 100644 --- a/recommender/v1beta1/recommender-gen.go +++ b/recommender/v1beta1/recommender-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://recommender.googleapis.com/" const basePathTemplate = "https://recommender.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://recommender.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index 8794b7cd135..cf0fdf2df77 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1" const basePath = "https://redis.googleapis.com/" const basePathTemplate = "https://redis.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://redis.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index eea4baf05a7..b77cf5095fe 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1beta1" const basePath = "https://redis.googleapis.com/" const basePathTemplate = "https://redis.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://redis.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/reseller/v1/reseller-gen.go b/reseller/v1/reseller-gen.go index 68674cac3e6..43b4e7ad2a6 100644 --- a/reseller/v1/reseller-gen.go +++ b/reseller/v1/reseller-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://reseller.googleapis.com/" const basePathTemplate = "https://reseller.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://reseller.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/resourcesettings/v1/resourcesettings-gen.go b/resourcesettings/v1/resourcesettings-gen.go index 3f8704b31b0..b3a1af08e3b 100644 --- a/resourcesettings/v1/resourcesettings-gen.go +++ b/resourcesettings/v1/resourcesettings-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://resourcesettings.googleapis.com/" const basePathTemplate = "https://resourcesettings.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://resourcesettings.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index c33a2bde149..cb51cac05d3 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://retail.googleapis.com/" const basePathTemplate = "https://retail.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://retail.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index 69103d818da..4a23efb802a 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2alpha" const basePath = "https://retail.googleapis.com/" const basePathTemplate = "https://retail.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://retail.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index 2322a334421..ee2c63891cb 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2beta" const basePath = "https://retail.googleapis.com/" const basePathTemplate = "https://retail.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://retail.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 9c74cad1ef0..ce2e2065e30 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://run.googleapis.com/" const basePathTemplate = "https://run.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://run.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index 01a62878a65..b8e2c70b93c 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://run.googleapis.com/" const basePathTemplate = "https://run.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://run.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/runtimeconfig/v1/runtimeconfig-gen.go b/runtimeconfig/v1/runtimeconfig-gen.go index eca448fb5e1..8622677b10a 100644 --- a/runtimeconfig/v1/runtimeconfig-gen.go +++ b/runtimeconfig/v1/runtimeconfig-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://runtimeconfig.googleapis.com/" const basePathTemplate = "https://runtimeconfig.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://runtimeconfig.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go index edbfc03aee1..ce9016f3ce2 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-gen.go +++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://runtimeconfig.googleapis.com/" const basePathTemplate = "https://runtimeconfig.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://runtimeconfig.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/safebrowsing/v4/safebrowsing-gen.go b/safebrowsing/v4/safebrowsing-gen.go index b11624cc628..4ec5b092528 100644 --- a/safebrowsing/v4/safebrowsing-gen.go +++ b/safebrowsing/v4/safebrowsing-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v4" const basePath = "https://safebrowsing.googleapis.com/" const basePathTemplate = "https://safebrowsing.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://safebrowsing.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/safebrowsing/v5/safebrowsing-gen.go b/safebrowsing/v5/safebrowsing-gen.go index de91316c253..00f88843fc2 100644 --- a/safebrowsing/v5/safebrowsing-gen.go +++ b/safebrowsing/v5/safebrowsing-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v5" const basePath = "https://safebrowsing.googleapis.com/" const basePathTemplate = "https://safebrowsing.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://safebrowsing.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go index 592f51485c3..4fad169721e 100644 --- a/sasportal/v1alpha1/sasportal-gen.go +++ b/sasportal/v1alpha1/sasportal-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1alpha1" const basePath = "https://sasportal.googleapis.com/" const basePathTemplate = "https://sasportal.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sasportal.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/script/v1/script-gen.go b/script/v1/script-gen.go index 3d7380df642..4d92c736701 100644 --- a/script/v1/script-gen.go +++ b/script/v1/script-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://script.googleapis.com/" const basePathTemplate = "https://script.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://script.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/searchads360/v0/searchads360-gen.go b/searchads360/v0/searchads360-gen.go index 4532b78cde7..0eb1d42aaad 100644 --- a/searchads360/v0/searchads360-gen.go +++ b/searchads360/v0/searchads360-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v0" const basePath = "https://searchads360.googleapis.com/" const basePathTemplate = "https://searchads360.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://searchads360.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/searchconsole/v1/searchconsole-gen.go b/searchconsole/v1/searchconsole-gen.go index be68701b777..cd1799dd367 100644 --- a/searchconsole/v1/searchconsole-gen.go +++ b/searchconsole/v1/searchconsole-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://searchconsole.googleapis.com/" const basePathTemplate = "https://searchconsole.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://searchconsole.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go index d32f947fbfc..34e51b0c749 100644 --- a/secretmanager/v1/secretmanager-gen.go +++ b/secretmanager/v1/secretmanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://secretmanager.googleapis.com/" const basePathTemplate = "https://secretmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://secretmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/secretmanager/v1beta1/secretmanager-gen.go b/secretmanager/v1beta1/secretmanager-gen.go index 813e7cb1fce..17eedd4ddf3 100644 --- a/secretmanager/v1beta1/secretmanager-gen.go +++ b/secretmanager/v1beta1/secretmanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://secretmanager.googleapis.com/" const basePathTemplate = "https://secretmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://secretmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/secretmanager/v1beta2/secretmanager-gen.go b/secretmanager/v1beta2/secretmanager-gen.go index 5bff06de9f2..a11994ac5fc 100644 --- a/secretmanager/v1beta2/secretmanager-gen.go +++ b/secretmanager/v1beta2/secretmanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta2" const basePath = "https://secretmanager.googleapis.com/" const basePathTemplate = "https://secretmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://secretmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index a0000236bc4..5266a368df7 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://securitycenter.googleapis.com/" const basePathTemplate = "https://securitycenter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://securitycenter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 10baa2e08e3..70d1fa4475f 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://securitycenter.googleapis.com/" const basePathTemplate = "https://securitycenter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://securitycenter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 0dac2eb1b15..321af5b7290 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta2" const basePath = "https://securitycenter.googleapis.com/" const basePathTemplate = "https://securitycenter.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://securitycenter.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go index ac82c29fea4..d403701c2c3 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://serviceconsumermanagement.googleapis.com/" const basePathTemplate = "https://serviceconsumermanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://serviceconsumermanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go index 8ec5c77ae6e..45d93de1d12 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://serviceconsumermanagement.googleapis.com/" const basePathTemplate = "https://serviceconsumermanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://serviceconsumermanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index 83f952345e0..9667d0d441f 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://servicecontrol.googleapis.com/" const basePathTemplate = "https://servicecontrol.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicecontrol.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index bdaa80509f2..fef182c3ad4 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://servicecontrol.googleapis.com/" const basePathTemplate = "https://servicecontrol.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicecontrol.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicedirectory/v1/servicedirectory-gen.go b/servicedirectory/v1/servicedirectory-gen.go index 1f6df0fb389..986d68fcc69 100644 --- a/servicedirectory/v1/servicedirectory-gen.go +++ b/servicedirectory/v1/servicedirectory-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://servicedirectory.googleapis.com/" const basePathTemplate = "https://servicedirectory.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicedirectory.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go index 1aa433db56a..46fb3990a9a 100644 --- a/servicedirectory/v1beta1/servicedirectory-gen.go +++ b/servicedirectory/v1beta1/servicedirectory-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://servicedirectory.googleapis.com/" const basePathTemplate = "https://servicedirectory.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicedirectory.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index b11d2a046bd..0fe10137ad7 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://servicemanagement.googleapis.com/" const basePathTemplate = "https://servicemanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicemanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index f63c95be983..2b64ecc0df7 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://servicenetworking.googleapis.com/" const basePathTemplate = "https://servicenetworking.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicenetworking.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index d16fc2a8887..239c91f0ca2 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta" const basePath = "https://servicenetworking.googleapis.com/" const basePathTemplate = "https://servicenetworking.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://servicenetworking.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go index 0ab31a90a30..9462e83471f 100644 --- a/serviceusage/v1/serviceusage-gen.go +++ b/serviceusage/v1/serviceusage-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://serviceusage.googleapis.com/" const basePathTemplate = "https://serviceusage.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://serviceusage.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go index e9eca421699..6e2db3e9091 100644 --- a/serviceusage/v1beta1/serviceusage-gen.go +++ b/serviceusage/v1beta1/serviceusage-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta1" const basePath = "https://serviceusage.googleapis.com/" const basePathTemplate = "https://serviceusage.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://serviceusage.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go index 97e20729448..4821f81bb60 100644 --- a/sheets/v4/sheets-gen.go +++ b/sheets/v4/sheets-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v4" const basePath = "https://sheets.googleapis.com/" const basePathTemplate = "https://sheets.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sheets.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/siteverification/v1/siteverification-gen.go b/siteverification/v1/siteverification-gen.go index 72553af16d2..d912249abf7 100644 --- a/siteverification/v1/siteverification-gen.go +++ b/siteverification/v1/siteverification-gen.go @@ -96,7 +96,6 @@ const apiName = "siteVerification" const apiVersion = "v1" const basePath = "https://www.googleapis.com/siteVerification/v1/" const basePathTemplate = "https://www.UNIVERSE_DOMAIN/siteVerification/v1/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/slides/v1/slides-gen.go b/slides/v1/slides-gen.go index 8e35925f731..5cceb508a4b 100644 --- a/slides/v1/slides-gen.go +++ b/slides/v1/slides-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://slides.googleapis.com/" const basePathTemplate = "https://slides.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://slides.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/smartdevicemanagement/v1/smartdevicemanagement-gen.go b/smartdevicemanagement/v1/smartdevicemanagement-gen.go index 0ab26a8faf3..277f609cd9b 100644 --- a/smartdevicemanagement/v1/smartdevicemanagement-gen.go +++ b/smartdevicemanagement/v1/smartdevicemanagement-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://smartdevicemanagement.googleapis.com/" const basePathTemplate = "https://smartdevicemanagement.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://smartdevicemanagement.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/solar/v1/solar-gen.go b/solar/v1/solar-gen.go index 899cd9902d3..9b07d0c627b 100644 --- a/solar/v1/solar-gen.go +++ b/solar/v1/solar-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://solar.googleapis.com/" const basePathTemplate = "https://solar.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://solar.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/sourcerepo/v1/sourcerepo-gen.go b/sourcerepo/v1/sourcerepo-gen.go index 29b70f38e13..a5749f054fa 100644 --- a/sourcerepo/v1/sourcerepo-gen.go +++ b/sourcerepo/v1/sourcerepo-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://sourcerepo.googleapis.com/" const basePathTemplate = "https://sourcerepo.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sourcerepo.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index 5311bfd6558..d7ed24adce2 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://spanner.googleapis.com/" const basePathTemplate = "https://spanner.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://spanner.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index b083bd97fd4..5001df77efe 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1" const basePath = "https://speech.googleapis.com/" const basePathTemplate = "https://speech.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://speech.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index b6958952482..4cc931be78d 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1p1beta1" const basePath = "https://speech.googleapis.com/" const basePathTemplate = "https://speech.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://speech.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go index c40efca0980..1e171cd45bc 100644 --- a/sqladmin/v1/sqladmin-gen.go +++ b/sqladmin/v1/sqladmin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://sqladmin.googleapis.com/" const basePathTemplate = "https://sqladmin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sqladmin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index 6edea303ebe..606a1c34992 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1beta4" const basePath = "https://sqladmin.googleapis.com/" const basePathTemplate = "https://sqladmin.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sqladmin.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go index 8b0dbc372e0..e8ef167f0be 100644 --- a/storage/v1/storage-gen.go +++ b/storage/v1/storage-gen.go @@ -100,7 +100,6 @@ const apiVersion = "v1" const basePath = "https://storage.googleapis.com/storage/v1/" const basePathTemplate = "https://storage.UNIVERSE_DOMAIN/storage/v1/" const mtlsBasePath = "https://storage.mtls.googleapis.com/storage/v1/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index 0a0f360d44f..8619975299e 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://storagetransfer.googleapis.com/" const basePathTemplate = "https://storagetransfer.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://storagetransfer.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/streetviewpublish/v1/streetviewpublish-gen.go b/streetviewpublish/v1/streetviewpublish-gen.go index 93b9d359d89..d5004eeec1e 100644 --- a/streetviewpublish/v1/streetviewpublish-gen.go +++ b/streetviewpublish/v1/streetviewpublish-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://streetviewpublish.googleapis.com/" const basePathTemplate = "https://streetviewpublish.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://streetviewpublish.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/sts/v1/sts-gen.go b/sts/v1/sts-gen.go index 0a40b408962..e0484c83755 100644 --- a/sts/v1/sts-gen.go +++ b/sts/v1/sts-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://sts.googleapis.com/" const basePathTemplate = "https://sts.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sts.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/sts/v1beta/sts-gen.go b/sts/v1beta/sts-gen.go index 3d7445ae7bc..928513f2d9d 100644 --- a/sts/v1beta/sts-gen.go +++ b/sts/v1beta/sts-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://sts.googleapis.com/" const basePathTemplate = "https://sts.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://sts.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/tagmanager/v1/tagmanager-gen.go b/tagmanager/v1/tagmanager-gen.go index 61acd3e1a2c..07c191b50ed 100644 --- a/tagmanager/v1/tagmanager-gen.go +++ b/tagmanager/v1/tagmanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://tagmanager.googleapis.com/" const basePathTemplate = "https://tagmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tagmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/tagmanager/v2/tagmanager-gen.go b/tagmanager/v2/tagmanager-gen.go index 1bd199c6ef4..ac816939c4c 100644 --- a/tagmanager/v2/tagmanager-gen.go +++ b/tagmanager/v2/tagmanager-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://tagmanager.googleapis.com/" const basePathTemplate = "https://tagmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tagmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/tasks/v1/tasks-gen.go b/tasks/v1/tasks-gen.go index e79900344a0..3be904f5b63 100644 --- a/tasks/v1/tasks-gen.go +++ b/tasks/v1/tasks-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://tasks.googleapis.com/" const basePathTemplate = "https://tasks.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tasks.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index 8af35496d7d..651238fb8db 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://testing.googleapis.com/" const basePathTemplate = "https://testing.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://testing.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index 60cbecd57ed..88c03531fd9 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1" const basePath = "https://texttospeech.googleapis.com/" const basePathTemplate = "https://texttospeech.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://texttospeech.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index 82499ce1798..57fe646e0b9 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1beta1" const basePath = "https://texttospeech.googleapis.com/" const basePathTemplate = "https://texttospeech.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://texttospeech.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go index 5ad746e973c..39604141d5d 100644 --- a/toolresults/v1beta3/toolresults-gen.go +++ b/toolresults/v1beta3/toolresults-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta3" const basePath = "https://toolresults.googleapis.com/" const basePathTemplate = "https://toolresults.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://toolresults.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/tpu/v1/tpu-gen.go b/tpu/v1/tpu-gen.go index ab5138dba87..6db78a8a67f 100644 --- a/tpu/v1/tpu-gen.go +++ b/tpu/v1/tpu-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://tpu.googleapis.com/" const basePathTemplate = "https://tpu.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tpu.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/tpu/v1alpha1/tpu-gen.go b/tpu/v1alpha1/tpu-gen.go index 3ac06261a76..bfebe568e70 100644 --- a/tpu/v1alpha1/tpu-gen.go +++ b/tpu/v1alpha1/tpu-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://tpu.googleapis.com/" const basePathTemplate = "https://tpu.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tpu.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/tpu/v2/tpu-gen.go b/tpu/v2/tpu-gen.go index e228a731891..48702de9a27 100644 --- a/tpu/v2/tpu-gen.go +++ b/tpu/v2/tpu-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://tpu.googleapis.com/" const basePathTemplate = "https://tpu.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tpu.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index 3c00893235a..78a9753dafc 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2alpha1" const basePath = "https://tpu.googleapis.com/" const basePathTemplate = "https://tpu.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://tpu.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/trafficdirector/v2/trafficdirector-gen.go b/trafficdirector/v2/trafficdirector-gen.go index 144b9ddcd68..a84b06b5acc 100644 --- a/trafficdirector/v2/trafficdirector-gen.go +++ b/trafficdirector/v2/trafficdirector-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://trafficdirector.googleapis.com/" const basePathTemplate = "https://trafficdirector.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://trafficdirector.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/trafficdirector/v3/trafficdirector-gen.go b/trafficdirector/v3/trafficdirector-gen.go index 225140cbda6..6a384dfb59b 100644 --- a/trafficdirector/v3/trafficdirector-gen.go +++ b/trafficdirector/v3/trafficdirector-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v3" const basePath = "https://trafficdirector.googleapis.com/" const basePathTemplate = "https://trafficdirector.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://trafficdirector.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/transcoder/v1/transcoder-gen.go b/transcoder/v1/transcoder-gen.go index 9680bae11a9..3450a446c8c 100644 --- a/transcoder/v1/transcoder-gen.go +++ b/transcoder/v1/transcoder-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://transcoder.googleapis.com/" const basePathTemplate = "https://transcoder.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://transcoder.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/translate/v2/translate-gen.go b/translate/v2/translate-gen.go index e9db61a82c9..fff318fe2fd 100644 --- a/translate/v2/translate-gen.go +++ b/translate/v2/translate-gen.go @@ -98,7 +98,6 @@ const apiName = "translate" const apiVersion = "v2" const basePath = "https://translation.googleapis.com/language/translate/" const basePathTemplate = "https://translation.UNIVERSE_DOMAIN/language/translate/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index 9f760b29f6e..76238a5685c 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v3" const basePath = "https://translation.googleapis.com/" const basePathTemplate = "https://translation.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://translation.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go index d5e3974f777..68cdaba596c 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v3beta1" const basePath = "https://translation.googleapis.com/" const basePathTemplate = "https://translation.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://translation.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/travelimpactmodel/v1/travelimpactmodel-gen.go b/travelimpactmodel/v1/travelimpactmodel-gen.go index a9b462070a6..76ed45557a8 100644 --- a/travelimpactmodel/v1/travelimpactmodel-gen.go +++ b/travelimpactmodel/v1/travelimpactmodel-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://travelimpactmodel.googleapis.com/" const basePathTemplate = "https://travelimpactmodel.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://travelimpactmodel.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/vault/v1/vault-gen.go b/vault/v1/vault-gen.go index a16256c4393..e65791c0694 100644 --- a/vault/v1/vault-gen.go +++ b/vault/v1/vault-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://vault.googleapis.com/" const basePathTemplate = "https://vault.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vault.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/verifiedaccess/v1/verifiedaccess-gen.go b/verifiedaccess/v1/verifiedaccess-gen.go index 95ae2a8de7b..31fc2092955 100644 --- a/verifiedaccess/v1/verifiedaccess-gen.go +++ b/verifiedaccess/v1/verifiedaccess-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://verifiedaccess.googleapis.com/" const basePathTemplate = "https://verifiedaccess.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://verifiedaccess.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/verifiedaccess/v2/verifiedaccess-gen.go b/verifiedaccess/v2/verifiedaccess-gen.go index bfbd4e63de7..db8d8e226c8 100644 --- a/verifiedaccess/v2/verifiedaccess-gen.go +++ b/verifiedaccess/v2/verifiedaccess-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v2" const basePath = "https://verifiedaccess.googleapis.com/" const basePathTemplate = "https://verifiedaccess.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://verifiedaccess.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/versionhistory/v1/versionhistory-gen.go b/versionhistory/v1/versionhistory-gen.go index 1113b14eb84..85889aecdb0 100644 --- a/versionhistory/v1/versionhistory-gen.go +++ b/versionhistory/v1/versionhistory-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://versionhistory.googleapis.com/" const basePathTemplate = "https://versionhistory.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://versionhistory.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go index 5af9b0a0132..0268df35000 100644 --- a/videointelligence/v1/videointelligence-gen.go +++ b/videointelligence/v1/videointelligence-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1" const basePath = "https://videointelligence.googleapis.com/" const basePathTemplate = "https://videointelligence.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://videointelligence.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/videointelligence/v1beta2/videointelligence-gen.go b/videointelligence/v1beta2/videointelligence-gen.go index f4c4bd6e6e0..247582fbe7d 100644 --- a/videointelligence/v1beta2/videointelligence-gen.go +++ b/videointelligence/v1beta2/videointelligence-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1beta2" const basePath = "https://videointelligence.googleapis.com/" const basePathTemplate = "https://videointelligence.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://videointelligence.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/videointelligence/v1p1beta1/videointelligence-gen.go b/videointelligence/v1p1beta1/videointelligence-gen.go index a36bf0b60c8..3793b2b8598 100644 --- a/videointelligence/v1p1beta1/videointelligence-gen.go +++ b/videointelligence/v1p1beta1/videointelligence-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1p1beta1" const basePath = "https://videointelligence.googleapis.com/" const basePathTemplate = "https://videointelligence.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://videointelligence.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/videointelligence/v1p2beta1/videointelligence-gen.go b/videointelligence/v1p2beta1/videointelligence-gen.go index 723e232442f..61ba342627b 100644 --- a/videointelligence/v1p2beta1/videointelligence-gen.go +++ b/videointelligence/v1p2beta1/videointelligence-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1p2beta1" const basePath = "https://videointelligence.googleapis.com/" const basePathTemplate = "https://videointelligence.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://videointelligence.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/videointelligence/v1p3beta1/videointelligence-gen.go b/videointelligence/v1p3beta1/videointelligence-gen.go index 6e2704454b1..4ed19029fee 100644 --- a/videointelligence/v1p3beta1/videointelligence-gen.go +++ b/videointelligence/v1p3beta1/videointelligence-gen.go @@ -94,7 +94,6 @@ const apiVersion = "v1p3beta1" const basePath = "https://videointelligence.googleapis.com/" const basePathTemplate = "https://videointelligence.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://videointelligence.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vision/v1/vision-gen.go b/vision/v1/vision-gen.go index f0a646cec2d..f189220228f 100644 --- a/vision/v1/vision-gen.go +++ b/vision/v1/vision-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1" const basePath = "https://vision.googleapis.com/" const basePathTemplate = "https://vision.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vision.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vision/v1p1beta1/vision-gen.go b/vision/v1p1beta1/vision-gen.go index 297d9021beb..343f10ada0f 100644 --- a/vision/v1p1beta1/vision-gen.go +++ b/vision/v1p1beta1/vision-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1p1beta1" const basePath = "https://vision.googleapis.com/" const basePathTemplate = "https://vision.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vision.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vision/v1p2beta1/vision-gen.go b/vision/v1p2beta1/vision-gen.go index 3bb9df53968..6bb44bbbd10 100644 --- a/vision/v1p2beta1/vision-gen.go +++ b/vision/v1p2beta1/vision-gen.go @@ -99,7 +99,6 @@ const apiVersion = "v1p2beta1" const basePath = "https://vision.googleapis.com/" const basePathTemplate = "https://vision.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vision.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vmmigration/v1/vmmigration-gen.go b/vmmigration/v1/vmmigration-gen.go index ad17c184a10..a7d1e6fb0d9 100644 --- a/vmmigration/v1/vmmigration-gen.go +++ b/vmmigration/v1/vmmigration-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://vmmigration.googleapis.com/" const basePathTemplate = "https://vmmigration.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vmmigration.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vmmigration/v1alpha1/vmmigration-gen.go b/vmmigration/v1alpha1/vmmigration-gen.go index f2990e5456b..a8edc8f9882 100644 --- a/vmmigration/v1alpha1/vmmigration-gen.go +++ b/vmmigration/v1alpha1/vmmigration-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha1" const basePath = "https://vmmigration.googleapis.com/" const basePathTemplate = "https://vmmigration.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vmmigration.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vmwareengine/v1/vmwareengine-gen.go b/vmwareengine/v1/vmwareengine-gen.go index 521fb6ca623..b6f3c980044 100644 --- a/vmwareengine/v1/vmwareengine-gen.go +++ b/vmwareengine/v1/vmwareengine-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://vmwareengine.googleapis.com/" const basePathTemplate = "https://vmwareengine.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vmwareengine.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vpcaccess/v1/vpcaccess-gen.go b/vpcaccess/v1/vpcaccess-gen.go index 2c34002e10d..92c135cc4d8 100644 --- a/vpcaccess/v1/vpcaccess-gen.go +++ b/vpcaccess/v1/vpcaccess-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://vpcaccess.googleapis.com/" const basePathTemplate = "https://vpcaccess.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vpcaccess.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/vpcaccess/v1beta1/vpcaccess-gen.go b/vpcaccess/v1beta1/vpcaccess-gen.go index e1262824047..ced669fd09a 100644 --- a/vpcaccess/v1beta1/vpcaccess-gen.go +++ b/vpcaccess/v1beta1/vpcaccess-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta1" const basePath = "https://vpcaccess.googleapis.com/" const basePathTemplate = "https://vpcaccess.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://vpcaccess.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/walletobjects/v1/walletobjects-gen.go b/walletobjects/v1/walletobjects-gen.go index fa1f5c1a206..5f79facc883 100644 --- a/walletobjects/v1/walletobjects-gen.go +++ b/walletobjects/v1/walletobjects-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://walletobjects.googleapis.com/" const basePathTemplate = "https://walletobjects.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://walletobjects.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/webfonts/v1/webfonts-gen.go b/webfonts/v1/webfonts-gen.go index d1a892fd054..1fde050ea1a 100644 --- a/webfonts/v1/webfonts-gen.go +++ b/webfonts/v1/webfonts-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://webfonts.googleapis.com/" const basePathTemplate = "https://webfonts.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://webfonts.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { diff --git a/webrisk/v1/webrisk-gen.go b/webrisk/v1/webrisk-gen.go index 959f7db8ef0..24c41559abd 100644 --- a/webrisk/v1/webrisk-gen.go +++ b/webrisk/v1/webrisk-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://webrisk.googleapis.com/" const basePathTemplate = "https://webrisk.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://webrisk.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/websecurityscanner/v1/websecurityscanner-gen.go b/websecurityscanner/v1/websecurityscanner-gen.go index 83e07775f95..11354d15f00 100644 --- a/websecurityscanner/v1/websecurityscanner-gen.go +++ b/websecurityscanner/v1/websecurityscanner-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://websecurityscanner.googleapis.com/" const basePathTemplate = "https://websecurityscanner.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://websecurityscanner.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/websecurityscanner/v1alpha/websecurityscanner-gen.go b/websecurityscanner/v1alpha/websecurityscanner-gen.go index 3015f2050f8..981e4c4d1f9 100644 --- a/websecurityscanner/v1alpha/websecurityscanner-gen.go +++ b/websecurityscanner/v1alpha/websecurityscanner-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1alpha" const basePath = "https://websecurityscanner.googleapis.com/" const basePathTemplate = "https://websecurityscanner.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://websecurityscanner.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/websecurityscanner/v1beta/websecurityscanner-gen.go b/websecurityscanner/v1beta/websecurityscanner-gen.go index cfbfc3674fc..bfa02b79af6 100644 --- a/websecurityscanner/v1beta/websecurityscanner-gen.go +++ b/websecurityscanner/v1beta/websecurityscanner-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://websecurityscanner.googleapis.com/" const basePathTemplate = "https://websecurityscanner.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://websecurityscanner.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index 2bae965270b..7dadacf796f 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://workflowexecutions.googleapis.com/" const basePathTemplate = "https://workflowexecutions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workflowexecutions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workflowexecutions/v1beta/workflowexecutions-gen.go b/workflowexecutions/v1beta/workflowexecutions-gen.go index 406684008df..b900a158e78 100644 --- a/workflowexecutions/v1beta/workflowexecutions-gen.go +++ b/workflowexecutions/v1beta/workflowexecutions-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://workflowexecutions.googleapis.com/" const basePathTemplate = "https://workflowexecutions.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workflowexecutions.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workflows/v1/workflows-gen.go b/workflows/v1/workflows-gen.go index 063d30f97d2..a8905b39fba 100644 --- a/workflows/v1/workflows-gen.go +++ b/workflows/v1/workflows-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://workflows.googleapis.com/" const basePathTemplate = "https://workflows.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workflows.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workflows/v1beta/workflows-gen.go b/workflows/v1beta/workflows-gen.go index d991e7d8d23..04d676057d7 100644 --- a/workflows/v1beta/workflows-gen.go +++ b/workflows/v1beta/workflows-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://workflows.googleapis.com/" const basePathTemplate = "https://workflows.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workflows.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index b0757e9d6ce..65627c6e419 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://workloadmanager.googleapis.com/" const basePathTemplate = "https://workloadmanager.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workloadmanager.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workspaceevents/v1/workspaceevents-gen.go b/workspaceevents/v1/workspaceevents-gen.go index 8b05da1c788..d42f1acbf22 100644 --- a/workspaceevents/v1/workspaceevents-gen.go +++ b/workspaceevents/v1/workspaceevents-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://workspaceevents.googleapis.com/" const basePathTemplate = "https://workspaceevents.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workspaceevents.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workstations/v1/workstations-gen.go b/workstations/v1/workstations-gen.go index ab312a95d86..b117dd74fb6 100644 --- a/workstations/v1/workstations-gen.go +++ b/workstations/v1/workstations-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://workstations.googleapis.com/" const basePathTemplate = "https://workstations.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workstations.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/workstations/v1beta/workstations-gen.go b/workstations/v1beta/workstations-gen.go index 98fd6591034..47a2fbd0d83 100644 --- a/workstations/v1beta/workstations-gen.go +++ b/workstations/v1beta/workstations-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1beta" const basePath = "https://workstations.googleapis.com/" const basePathTemplate = "https://workstations.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://workstations.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/youtube/v3/youtube-gen.go b/youtube/v3/youtube-gen.go index 18a5ee7bbd3..3210494ab36 100644 --- a/youtube/v3/youtube-gen.go +++ b/youtube/v3/youtube-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v3" const basePath = "https://youtube.googleapis.com/" const basePathTemplate = "https://youtube.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://youtube.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/youtubeanalytics/v2/youtubeanalytics-gen.go b/youtubeanalytics/v2/youtubeanalytics-gen.go index 489a3335391..6e7d9a9a6fb 100644 --- a/youtubeanalytics/v2/youtubeanalytics-gen.go +++ b/youtubeanalytics/v2/youtubeanalytics-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v2" const basePath = "https://youtubeanalytics.googleapis.com/" const basePathTemplate = "https://youtubeanalytics.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://youtubeanalytics.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( diff --git a/youtubereporting/v1/youtubereporting-gen.go b/youtubereporting/v1/youtubereporting-gen.go index e131ff5de11..e60546967d0 100644 --- a/youtubereporting/v1/youtubereporting-gen.go +++ b/youtubereporting/v1/youtubereporting-gen.go @@ -97,7 +97,6 @@ const apiVersion = "v1" const basePath = "https://youtubereporting.googleapis.com/" const basePathTemplate = "https://youtubereporting.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://youtubereporting.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( From 5328e1399281bcab06ebd1679ceab639508db83d Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 2 May 2024 15:26:45 -0600 Subject: [PATCH 5/6] add compute to skipNewAuthLibrary --- google-api-go-generator/gen.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/google-api-go-generator/gen.go b/google-api-go-generator/gen.go index c62840f97a8..9216cc38ad0 100644 --- a/google-api-go-generator/gen.go +++ b/google-api-go-generator/gen.go @@ -82,8 +82,11 @@ var skipAPIGeneration = map[string]bool{ // skipNewAuthLibrary is a set of APIs to not migrate to cloud.google.com/go/auth. var skipNewAuthLibrary = map[string]bool{ - "bigquery:v2": true, - "storage:v1": true, + "bigquery:v2": true, + "compute:alpha": true, + "compute:beta": true, + "compute:v1": true, + "storage:v1": true, } var apisToSplit = map[string]bool{ From 56f759962ced2ff6f5de0b6b41099579490bb665 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 6 May 2024 14:20:29 -0600 Subject: [PATCH 6/6] Regen all APIs 2 --- compute/v0.alpha/compute-gen.go | 1 - compute/v0.beta/compute-gen.go | 1 - compute/v1/compute-gen.go | 1 - config/v1/config-gen.go | 3 +- poly/v1/poly-gen.go | 1283 ++++++----------- .../v1alpha/realtimebidding-gen.go | 579 +++----- 6 files changed, 624 insertions(+), 1244 deletions(-) diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index 7d8198a2a65..3f7d0a7acf2 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -137,7 +137,6 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index 0bb46291906..b4fb1571db4 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -137,7 +137,6 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index d11ff26d44a..c3d8a4c5cf9 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -137,7 +137,6 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/config/v1/config-gen.go b/config/v1/config-gen.go index 588cbc804ea..eafef900492 100644 --- a/config/v1/config-gen.go +++ b/config/v1/config-gen.go @@ -92,7 +92,6 @@ const apiVersion = "v1" const basePath = "https://config.googleapis.com/" const basePathTemplate = "https://config.UNIVERSE_DOMAIN/" const mtlsBasePath = "https://config.mtls.googleapis.com/" -const defaultUniverseDomain = "googleapis.com" // OAuth2 scopes used by this API. const ( @@ -111,7 +110,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) - opts = append(opts, internaloption.WithDefaultUniverseDomain(defaultUniverseDomain)) + opts = append(opts, internaloption.EnableNewAuthLibrary()) client, endpoint, err := htransport.NewClient(ctx, opts...) if err != nil { return nil, err diff --git a/poly/v1/poly-gen.go b/poly/v1/poly-gen.go index b78e8d4816c..8716f9c92c2 100644 --- a/poly/v1/poly-gen.go +++ b/poly/v1/poly-gen.go @@ -187,112 +187,88 @@ type UsersLikedassetsService struct { s *Service } -// Asset: Represents and describes an asset in the Poly library. An -// asset is a 3D model or scene created using Tilt Brush -// (//www.tiltbrush.com), Blocks (//vr.google.com/blocks/), or any 3D -// program that produces a file that can be upload to Poly. +// Asset: Represents and describes an asset in the Poly library. An asset is a +// 3D model or scene created using Tilt Brush (//www.tiltbrush.com), Blocks +// (//vr.google.com/blocks/), or any 3D program that produces a file that can +// be upload to Poly. type Asset struct { - // AuthorName: The author's publicly visible name. Use this name when - // giving credit to the author. For more information, see Licensing + // AuthorName: The author's publicly visible name. Use this name when giving + // credit to the author. For more information, see Licensing // (/poly/discover/licensing). AuthorName string `json:"authorName,omitempty"` - - // CreateTime: For published assets, the time when the asset was - // published. For unpublished assets, the time when the asset was - // created. + // CreateTime: For published assets, the time when the asset was published. For + // unpublished assets, the time when the asset was created. CreateTime string `json:"createTime,omitempty"` - - // Description: The human-readable description, set by the asset's - // author. + // Description: The human-readable description, set by the asset's author. Description string `json:"description,omitempty"` - // DisplayName: The human-readable name, set by the asset's author. DisplayName string `json:"displayName,omitempty"` - - // Formats: A list of Formats where each format describes one - // representation of the asset. + // Formats: A list of Formats where each format describes one representation of + // the asset. Formats []*Format `json:"formats,omitempty"` - // IsCurated: Whether this asset has been curated by the Poly team. IsCurated bool `json:"isCurated,omitempty"` - - // License: The license under which the author has made the asset - // available for use, if any. + // License: The license under which the author has made the asset available for + // use, if any. // // Possible values: // "UNKNOWN" - Unknown license value. // "CREATIVE_COMMONS_BY" - Creative Commons CC-BY 3.0. // https://creativecommons.org/licenses/by/3.0/ - // "ALL_RIGHTS_RESERVED" - Unlicensed: All Rights Reserved by the - // author. Unlicensed assets are **not** returned by List Assets. + // "ALL_RIGHTS_RESERVED" - Unlicensed: All Rights Reserved by the author. + // Unlicensed assets are **not** returned by List Assets. License string `json:"license,omitempty"` - - // Metadata: Application-defined opaque metadata for this asset. This - // field is only returned when querying for the signed-in user's own - // assets, not for public assets. This string is limited to 1K chars. It - // is up to the creator of the asset to define the format for this - // string (for example, JSON). + // Metadata: Application-defined opaque metadata for this asset. This field is + // only returned when querying for the signed-in user's own assets, not for + // public assets. This string is limited to 1K chars. It is up to the creator + // of the asset to define the format for this string (for example, JSON). Metadata string `json:"metadata,omitempty"` - - // Name: The unique identifier for the asset in the form: - // `assets/{ASSET_ID}`. + // Name: The unique identifier for the asset in the form: `assets/{ASSET_ID}`. Name string `json:"name,omitempty"` - // PresentationParams: Hints for displaying the asset. Note that these // parameters are not immutable; the author of an asset may change them // post-publication. PresentationParams *PresentationParams `json:"presentationParams,omitempty"` - // RemixInfo: The remix info for the asset. RemixInfo *RemixInfo `json:"remixInfo,omitempty"` - // Thumbnail: The thumbnail image for the asset. Thumbnail *File `json:"thumbnail,omitempty"` - - // UpdateTime: The time when the asset was last modified. For published - // assets, whose contents are immutable, the update time changes only - // when metadata properties, such as visibility, are updated. + // UpdateTime: The time when the asset was last modified. For published assets, + // whose contents are immutable, the update time changes only when metadata + // properties, such as visibility, are updated. UpdateTime string `json:"updateTime,omitempty"` - // Visibility: The visibility of the asset and who can access it. // // Possible values: // "VISIBILITY_UNSPECIFIED" - Unknown (and invalid) visibility. - // "PRIVATE" - Access to the asset and its underlying files and - // resources is restricted to the author. **Authentication:** You must - // supply an OAuth token that corresponds to the author's account. - // "UNLISTED" - Access to the asset and its underlying files and - // resources is available to anyone with the asset's name. Unlisted - // assets are **not** returned by List Assets. - // "PUBLIC" - Access to the asset and its underlying files and - // resources is available to anyone. + // "PRIVATE" - Access to the asset and its underlying files and resources is + // restricted to the author. **Authentication:** You must supply an OAuth token + // that corresponds to the author's account. + // "UNLISTED" - Access to the asset and its underlying files and resources is + // available to anyone with the asset's name. Unlisted assets are **not** + // returned by List Assets. + // "PUBLIC" - Access to the asset and its underlying files and resources is + // available to anyone. Visibility string `json:"visibility,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. + // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "AuthorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "AuthorName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AuthorName") 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 *Asset) MarshalJSON() ([]byte, error) { type NoMethod Asset - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // AssetImportMessage: A message generated by the asset import process. @@ -301,358 +277,273 @@ type AssetImportMessage struct { // // Possible values: // "CODE_UNSPECIFIED" - Unknown error code. - // "NO_IMPORTABLE_FILE" - The asset import did not include any file - // that we can import (i.e. an OBJ file). - // "EMPTY_MODEL" - When generating the preview for the import, no - // geometry was found. - // "OBJ_PARSE_ERROR" - A problem was encountered while parsing the OBJ - // file. The converter makes a 'best effort' attempt to continue when - // encountering such issues. In some cases the resulting preview model - // may still be acceptable. The details can be found in the parse error - // message. - // "EXPIRED" - The importer was not able to import the model before - // the expiration time. - // "IMAGE_ERROR" - The importer encountered a problem reading an image - // file. - // "EXTRA_FILES_WITH_ARCHIVE" - Multiple files were encountered in - // addition to a ZIP archive. When uploading an archive only one file is - // permitted. - // "DEFAULT_MATERIALS" - Default materials are used in the model. This - // means that one or more faces is using default materials either - // because no usemtl statement was specified or because the requested - // material was not found due to a missing material file or bad material - // name. This does not cover the case of missing textures. - // "FATAL_ERROR" - The importer encountered a fatal error and was - // unable to import the model. - // "INVALID_ELEMENT_TYPE" - The import includes a file of an - // unsupported element type. The file path is specified. + // "NO_IMPORTABLE_FILE" - The asset import did not include any file that we + // can import (i.e. an OBJ file). + // "EMPTY_MODEL" - When generating the preview for the import, no geometry + // was found. + // "OBJ_PARSE_ERROR" - A problem was encountered while parsing the OBJ file. + // The converter makes a 'best effort' attempt to continue when encountering + // such issues. In some cases the resulting preview model may still be + // acceptable. The details can be found in the parse error message. + // "EXPIRED" - The importer was not able to import the model before the + // expiration time. + // "IMAGE_ERROR" - The importer encountered a problem reading an image file. + // "EXTRA_FILES_WITH_ARCHIVE" - Multiple files were encountered in addition + // to a ZIP archive. When uploading an archive only one file is permitted. + // "DEFAULT_MATERIALS" - Default materials are used in the model. This means + // that one or more faces is using default materials either because no usemtl + // statement was specified or because the requested material was not found due + // to a missing material file or bad material name. This does not cover the + // case of missing textures. + // "FATAL_ERROR" - The importer encountered a fatal error and was unable to + // import the model. + // "INVALID_ELEMENT_TYPE" - The import includes a file of an unsupported + // element type. The file path is specified. Code string `json:"code,omitempty"` - - // FilePath: An optional file path. Only present for those error codes - // that specify it. + // FilePath: An optional file path. Only present for those error codes that + // specify it. FilePath string `json:"filePath,omitempty"` - - // ImageError: An optional image error. Only present for - // INVALID_IMAGE_FILE. + // ImageError: An optional image error. Only present for INVALID_IMAGE_FILE. ImageError *ImageError `json:"imageError,omitempty"` - // ObjParseError: An optional OBJ parse error. Only present for // OBJ_PARSE_ERROR. ObjParseError *ObjParseError `json:"objParseError,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Code") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "Code") 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 *AssetImportMessage) MarshalJSON() ([]byte, error) { type NoMethod AssetImportMessage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// File: Represents a file in Poly, which can be a root, resource, or -// thumbnail file. +// File: Represents a file in Poly, which can be a root, resource, or thumbnail +// file. type File struct { // ContentType: The MIME content-type, such as `image/png`. For more // information, see MIME types - // (//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types - // ). + // (//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types). ContentType string `json:"contentType,omitempty"` - - // RelativePath: The path of the resource file relative to the root - // file. For root or thumbnail files, this is just the filename. + // RelativePath: The path of the resource file relative to the root file. For + // root or thumbnail files, this is just the filename. RelativePath string `json:"relativePath,omitempty"` - // Url: The URL where the file data can be retrieved. Url string `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "ContentType") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ContentType") 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 *File) MarshalJSON() ([]byte, error) { type NoMethod File - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// Format: The same asset can be represented in different formats, for -// example, a WaveFront .obj -// (//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its -// corresponding .mtl file or a Khronos glTF (//www.khronos.org/gltf) -// file with its corresponding .glb binary data. A format refers to a -// specific representation of an asset and contains all information -// needed to retrieve and describe this representation. +// Format: The same asset can be represented in different formats, for example, +// a WaveFront .obj (//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its +// corresponding .mtl file or a Khronos glTF (//www.khronos.org/gltf) file with +// its corresponding .glb binary data. A format refers to a specific +// representation of an asset and contains all information needed to retrieve +// and describe this representation. type Format struct { - // FormatComplexity: Complexity stats about this representation of the - // asset. + // FormatComplexity: Complexity stats about this representation of the asset. FormatComplexity *FormatComplexity `json:"formatComplexity,omitempty"` - // FormatType: A short string that identifies the format type of this - // representation. Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, - // and `TILT`. + // representation. Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and + // `TILT`. FormatType string `json:"formatType,omitempty"` - - // Resources: A list of dependencies of the root element. May include, - // but is not limited to, materials, textures, and shader programs. + // Resources: A list of dependencies of the root element. May include, but is + // not limited to, materials, textures, and shader programs. Resources []*File `json:"resources,omitempty"` - - // Root: The root of the file hierarchy. This will always be populated. - // For some format_types - such as `TILT`, which are self-contained - - // this is all of the data. Other types - such as `OBJ` - often - // reference other data elements. These are contained in the resources - // field. + // Root: The root of the file hierarchy. This will always be populated. For + // some format_types - such as `TILT`, which are self-contained - this is all + // of the data. Other types - such as `OBJ` - often reference other data + // elements. These are contained in the resources field. Root *File `json:"root,omitempty"` - // ForceSendFields is a list of field names (e.g. "FormatComplexity") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "FormatComplexity") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "FormatComplexity") 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 *Format) MarshalJSON() ([]byte, error) { type NoMethod Format - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // FormatComplexity: Information on the complexity of this Format. type FormatComplexity struct { - // LodHint: A non-negative integer that represents the level of detail - // (LOD) of this format relative to other formats of the same asset with - // the same format_type. This hint allows you to sort formats from the - // most-detailed (0) to least-detailed (integers greater than 0). + // LodHint: A non-negative integer that represents the level of detail (LOD) of + // this format relative to other formats of the same asset with the same + // format_type. This hint allows you to sort formats from the most-detailed (0) + // to least-detailed (integers greater than 0). LodHint int64 `json:"lodHint,omitempty"` - // TriangleCount: The estimated number of triangles. TriangleCount int64 `json:"triangleCount,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "LodHint") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "LodHint") 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. "LodHint") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "LodHint") 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 *FormatComplexity) MarshalJSON() ([]byte, error) { type NoMethod FormatComplexity - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // ImageError: A message resulting from reading an image file. type ImageError struct { - // Code: The type of image error encountered. Optional for older image - // errors. + // Code: The type of image error encountered. Optional for older image errors. // // Possible values: // "CODE_UNSPECIFIED" - Unknown error code. // "INVALID_IMAGE" - We were unable to read the image file. // "IMAGE_TOO_BIG" - The image size is too large. - // "WRONG_IMAGE_TYPE" - The image data does not match the expected - // MIME type of the image. + // "WRONG_IMAGE_TYPE" - The image data does not match the expected MIME type + // of the image. Code string `json:"code,omitempty"` - // FilePath: The file path in the import of the image that was rejected. FilePath string `json:"filePath,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Code") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "Code") 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 *ImageError) MarshalJSON() ([]byte, error) { type NoMethod ImageError - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // ListAssetsResponse: A response message from a request to list. type ListAssetsResponse struct { - // Assets: A list of assets that match the criteria specified in the - // request. + // Assets: A list of assets that match the criteria specified in the request. Assets []*Asset `json:"assets,omitempty"` - - // NextPageToken: The continuation token for retrieving the next page. - // If empty, indicates that there are no more pages. To get the next - // page, submit the same request specifying this value as the - // page_token. + // NextPageToken: The continuation token for retrieving the next page. If + // empty, indicates that there are no more pages. To get the next page, submit + // the same request specifying this value as the page_token. NextPageToken string `json:"nextPageToken,omitempty"` - - // TotalSize: The total number of assets in the list, without - // pagination. + // TotalSize: The total number of assets in the list, without pagination. TotalSize int64 `json:"totalSize,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. + // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Assets") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "Assets") 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. "Assets") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // 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 *ListAssetsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListAssetsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // ListLikedAssetsResponse: A response message from a request to list. type ListLikedAssetsResponse struct { - // Assets: A list of assets that match the criteria specified in the - // request. + // Assets: A list of assets that match the criteria specified in the request. Assets []*Asset `json:"assets,omitempty"` - - // NextPageToken: The continuation token for retrieving the next page. - // If empty, indicates that there are no more pages. To get the next - // page, submit the same request specifying this value as the - // page_token. + // NextPageToken: The continuation token for retrieving the next page. If + // empty, indicates that there are no more pages. To get the next page, submit + // the same request specifying this value as the page_token. NextPageToken string `json:"nextPageToken,omitempty"` - - // TotalSize: The total number of assets in the list, without - // pagination. + // TotalSize: The total number of assets in the list, without pagination. TotalSize int64 `json:"totalSize,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. + // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Assets") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "Assets") 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. "Assets") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // 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 *ListLikedAssetsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLikedAssetsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // ListUserAssetsResponse: A response message from a request to list. type ListUserAssetsResponse struct { - // NextPageToken: The continuation token for retrieving the next page. - // If empty, indicates that there are no more pages. To get the next - // page, submit the same request specifying this value as the - // page_token. + // NextPageToken: The continuation token for retrieving the next page. If + // empty, indicates that there are no more pages. To get the next page, submit + // the same request specifying this value as the page_token. NextPageToken string `json:"nextPageToken,omitempty"` - - // TotalSize: The total number of assets in the list, without - // pagination. + // TotalSize: The total number of assets in the list, without pagination. TotalSize int64 `json:"totalSize,omitempty"` - // UserAssets: A list of UserAssets matching the request. UserAssets []*UserAsset `json:"userAssets,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. + // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "NextPageToken") 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 *ListUserAssetsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListUserAssetsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // ObjParseError: Details of an error resulting from parsing an OBJ file @@ -662,187 +553,152 @@ type ObjParseError struct { // Possible values: // "CODE_UNSPECIFIED" - Unknown error code. // "INCONSISTENT_VERTEX_REFS" - Vertex references are specified in an - // inconsistent style for a face (e.g. some vertices specify texture - // vertices but some don't). + // inconsistent style for a face (e.g. some vertices specify texture vertices + // but some don't). // "INVALID_COMMAND" - The command is invalid. // "INVALID_NUMBER" - A invalid number was specified. // "INVALID_VERTEX_REF" - An invalid vertex reference was specified. // "MISSING_GEOMETRIC_VERTEX" - A vertex reference does not specify a // geometric vertex. // "MISSING_TOKEN" - An expected token was not found. - // "TOO_FEW_DIMENSIONS" - The vertex specified too few dimensions for - // its usage. + // "TOO_FEW_DIMENSIONS" - The vertex specified too few dimensions for its + // usage. // "TOO_FEW_VERTICES" - The face specified too few vertices. - // "TOO_MANY_DIMENSIONS" - The vertex specified too many dimensions - // for its usage. - // "UNSUPPORTED_COMMAND" - This command is a valid OBJ command but is - // not supported. This error is only generated for the first instance of - // such a command. + // "TOO_MANY_DIMENSIONS" - The vertex specified too many dimensions for its + // usage. + // "UNSUPPORTED_COMMAND" - This command is a valid OBJ command but is not + // supported. This error is only generated for the first instance of such a + // command. // "UNUSED_TOKENS" - This line ended with unparsed token characters. // "VERTEX_NOT_FOUND" - The specified vertex was not found. - // "NUMBER_OUT_OF_RANGE" - The specified number was too large or small - // for its usage. + // "NUMBER_OUT_OF_RANGE" - The specified number was too large or small for + // its usage. // "INVALID_VALUE" - The specified parameter value was not recognized. - // "INVALID_TEXTURE_OPTION" - The specified texture option is not - // valid. + // "INVALID_TEXTURE_OPTION" - The specified texture option is not valid. // "TOO_MANY_PROBLEMS" - The maximum number of problems to report was // reached. Parsing continues, but further problems will be ignored. // "MISSING_FILE_NAME" - An expected file name was not specified. // "FILE_NOT_FOUND" - The specified file was not found in the import. - // "UNKNOWN_MATERIAL" - The specified material was not found in any - // material definition in the import. - // "NO_MATERIAL_DEFINED" - Material parameters were specified before - // the first material definition. + // "UNKNOWN_MATERIAL" - The specified material was not found in any material + // definition in the import. + // "NO_MATERIAL_DEFINED" - Material parameters were specified before the + // first material definition. // "INVALID_SMOOTHING_GROUP" - The smoothing group is not valid. - // "MISSING_VERTEX_COLORS" - Vertex colors were specified for only - // some vertices of a face. - // "FILE_SUBSTITUTION" - A missing file was found at a different file - // path. - // "LINE_TOO_LONG" - A line in an OBJ or MTL file exceeded the maximum - // line length. - // "INVALID_FILE_PATH" - The file path was invalid. Only relative - // paths are supported. + // "MISSING_VERTEX_COLORS" - Vertex colors were specified for only some + // vertices of a face. + // "FILE_SUBSTITUTION" - A missing file was found at a different file path. + // "LINE_TOO_LONG" - A line in an OBJ or MTL file exceeded the maximum line + // length. + // "INVALID_FILE_PATH" - The file path was invalid. Only relative paths are + // supported. Code string `json:"code,omitempty"` - // EndIndex: The ending character index at which the problem was found. EndIndex int64 `json:"endIndex,omitempty"` - // FilePath: The file path in which the problem was found. FilePath string `json:"filePath,omitempty"` - - // Line: The text of the line. Note that this may be truncated if the - // line was very long. This may not include the error if it occurs after - // line truncation. + // Line: The text of the line. Note that this may be truncated if the line was + // very long. This may not include the error if it occurs after line + // truncation. Line string `json:"line,omitempty"` - // LineNumber: Line number at which the problem was found. LineNumber int64 `json:"lineNumber,omitempty"` - - // StartIndex: The starting character index at which the problem was - // found. + // StartIndex: The starting character index at which the problem was found. StartIndex int64 `json:"startIndex,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Code") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "Code") 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 *ObjParseError) MarshalJSON() ([]byte, error) { type NoMethod ObjParseError - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// PresentationParams: Hints for displaying the asset, based on -// information available when the asset was uploaded. +// PresentationParams: Hints for displaying the asset, based on information +// available when the asset was uploaded. type PresentationParams struct { - // BackgroundColor: A background color which could be used for - // displaying the 3D asset in a 'thumbnail' or 'palette' style view. - // Authors have the option to set this background color when publishing - // or editing their asset. This is represented as a six-digit - // hexademical triplet specifying the RGB components of the background - // color, e.g. #FF0000 for Red. + // BackgroundColor: A background color which could be used for displaying the + // 3D asset in a 'thumbnail' or 'palette' style view. Authors have the option + // to set this background color when publishing or editing their asset. This is + // represented as a six-digit hexademical triplet specifying the RGB components + // of the background color, e.g. #FF0000 for Red. BackgroundColor string `json:"backgroundColor,omitempty"` - - // ColorSpace: The materials' diffuse/albedo color. This does not apply - // to vertex colors or texture maps. + // ColorSpace: The materials' diffuse/albedo color. This does not apply to + // vertex colors or texture maps. // // Possible values: // "UNKNOWN" - Invalid color value. // "LINEAR" - Linear color values. Default. - // "GAMMA" - Colors should be converted to linear by assuming gamma = - // 2.0. + // "GAMMA" - Colors should be converted to linear by assuming gamma = 2.0. ColorSpace string `json:"colorSpace,omitempty"` - - // OrientingRotation: A rotation that should be applied to the object - // root to make it upright. More precisely, this quaternion transforms - // from "object space" (the space in which the object is defined) to - // "presentation space", a coordinate system where +Y is up, +X is - // right, -Z is forward. For example, if the object is the Eiffel Tower, - // in its local coordinate system the object might be laid out such that - // the base of the tower is on the YZ plane and the tip of the tower is - // towards positive X. In this case this quaternion would specify a - // rotation (of 90 degrees about the Z axis) such that in the - // presentation space the base of the tower is aligned with the XZ - // plane, and the tip of the tower lies towards +Y. This rotation is - // unrelated to the object's pose in the web preview, which is just a - // camera position setting and is *not* reflected in this rotation. - // Please note: this is applicable only to the gLTF. + // OrientingRotation: A rotation that should be applied to the object root to + // make it upright. More precisely, this quaternion transforms from "object + // space" (the space in which the object is defined) to "presentation space", a + // coordinate system where +Y is up, +X is right, -Z is forward. For example, + // if the object is the Eiffel Tower, in its local coordinate system the object + // might be laid out such that the base of the tower is on the YZ plane and the + // tip of the tower is towards positive X. In this case this quaternion would + // specify a rotation (of 90 degrees about the Z axis) such that in the + // presentation space the base of the tower is aligned with the XZ plane, and + // the tip of the tower lies towards +Y. This rotation is unrelated to the + // object's pose in the web preview, which is just a camera position setting + // and is *not* reflected in this rotation. Please note: this is applicable + // only to the gLTF. OrientingRotation *Quaternion `json:"orientingRotation,omitempty"` - // ForceSendFields is a list of field names (e.g. "BackgroundColor") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "BackgroundColor") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "BackgroundColor") 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 *PresentationParams) MarshalJSON() ([]byte, error) { type NoMethod PresentationParams - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// Quaternion: A Quaternion (//en.wikipedia.org/wiki/Quaternion). Please -// note: if in the response you see "w: 1" and nothing else this is the -// default value of [0, 0, 0, 1] where x,y, and z are 0. +// Quaternion: A Quaternion (//en.wikipedia.org/wiki/Quaternion). Please note: +// if in the response you see "w: 1" and nothing else this is the default value +// of [0, 0, 0, 1] where x,y, and z are 0. type Quaternion struct { // W: The scalar component. W float64 `json:"w,omitempty"` - // X: The x component. X float64 `json:"x,omitempty"` - // Y: The y component. Y float64 `json:"y,omitempty"` - // Z: The z component. Z float64 `json:"z,omitempty"` - - // ForceSendFields is a list of field names (e.g. "W") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "W") 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. "W") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "W") 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 *Quaternion) MarshalJSON() ([]byte, error) { type NoMethod Quaternion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } func (s *Quaternion) UnmarshalJSON(data []byte) error { @@ -865,108 +721,85 @@ func (s *Quaternion) UnmarshalJSON(data []byte) error { return nil } -// RemixInfo: Info about the sources of this asset (i.e. assets that -// were remixed to create this asset). +// RemixInfo: Info about the sources of this asset (i.e. assets that were +// remixed to create this asset). type RemixInfo struct { // SourceAsset: Resource ids for the sources of this remix, of the form: // `assets/{ASSET_ID}` SourceAsset []string `json:"sourceAsset,omitempty"` - // ForceSendFields is a list of field names (e.g. "SourceAsset") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "SourceAsset") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "SourceAsset") 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 *RemixInfo) MarshalJSON() ([]byte, error) { type NoMethod RemixInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// StartAssetImportResponse: A response message from a request to -// startImport. This is returned in the response field of the Operation. +// StartAssetImportResponse: A response message from a request to startImport. +// This is returned in the response field of the Operation. type StartAssetImportResponse struct { - // AssetId: The id of newly created asset. If this is empty when the - // operation is complete it means the import failed. Please refer to the + // AssetId: The id of newly created asset. If this is empty when the operation + // is complete it means the import failed. Please refer to the // assetImportMessages field to understand what went wrong. AssetId string `json:"assetId,omitempty"` - // AssetImportId: The id of the asset import. AssetImportId string `json:"assetImportId,omitempty"` - - // AssetImportMessages: The message from the asset import. This will - // contain any warnings (or - in the case of failure - errors) that - // occurred during import. + // AssetImportMessages: The message from the asset import. This will contain + // any warnings (or - in the case of failure - errors) that occurred during + // import. AssetImportMessages []*AssetImportMessage `json:"assetImportMessages,omitempty"` - // PublishUrl: The publish URL for the asset. PublishUrl string `json:"publishUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AssetId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "AssetId") 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. "AssetId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AssetId") 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 *StartAssetImportResponse) MarshalJSON() ([]byte, error) { type NoMethod StartAssetImportResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } // UserAsset: Data about the user's asset. type UserAsset struct { // Asset: An Asset. Asset *Asset `json:"asset,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Asset") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "Asset") 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. "Asset") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // 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 *UserAsset) MarshalJSON() ([]byte, error) { type NoMethod UserAsset - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// method id "poly.assets.get": - type AssetsGetCall struct { s *Service name string @@ -976,9 +809,9 @@ type AssetsGetCall struct { header_ http.Header } -// Get: Returns detailed information about an asset given its name. -// PRIVATE assets are returned only if the currently authenticated user -// (via OAuth token) is the author of the asset. +// Get: Returns detailed information about an asset given its name. PRIVATE +// assets are returned only if the currently authenticated user (via OAuth +// token) is the author of the asset. // // - name: An asset's name in the form `assets/{ASSET_ID}`. func (r *AssetsService) Get(name string) *AssetsGetCall { @@ -988,33 +821,29 @@ func (r *AssetsService) Get(name string) *AssetsGetCall { } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *AssetsGetCall) Fields(s ...googleapi.Field) *AssetsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. func (c *AssetsGetCall) IfNoneMatch(entityTag string) *AssetsGetCall { c.ifNoneMatch_ = entityTag return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *AssetsGetCall) Context(ctx context.Context) *AssetsGetCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *AssetsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -1023,12 +852,7 @@ func (c *AssetsGetCall) Header() http.Header { } func (c *AssetsGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } @@ -1049,12 +873,10 @@ func (c *AssetsGetCall) doRequest(alt string) (*http.Response, error) { } // Do executes the "poly.assets.get" call. -// Exactly one of *Asset or error will be non-nil. Any non-2xx status -// code is an error. Response headers are in either -// *Asset.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. +// Any non-2xx status code is an error. Response headers are in either +// *Asset.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 *AssetsGetCall) Do(opts ...googleapi.CallOption) (*Asset, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -1085,32 +907,7 @@ func (c *AssetsGetCall) Do(opts ...googleapi.CallOption) (*Asset, error) { return nil, err } return ret, nil - // { - // "description": "Returns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.", - // "flatPath": "v1/assets/{assetsId}", - // "httpMethod": "GET", - // "id": "poly.assets.get", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "Required. An asset's name in the form `assets/{ASSET_ID}`.", - // "location": "path", - // "pattern": "^assets/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v1/{+name}", - // "response": { - // "$ref": "Asset" - // } - // } - -} - -// method id "poly.assets.list": +} type AssetsListCall struct { s *Service @@ -1120,56 +917,55 @@ type AssetsListCall struct { header_ http.Header } -// List: Lists all public, remixable assets. These are assets with an -// access level of PUBLIC and published under the CC-By license. +// List: Lists all public, remixable assets. These are assets with an access +// level of PUBLIC and published under the CC-By license. func (r *AssetsService) List() *AssetsListCall { c := &AssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} return c } -// Category sets the optional parameter "category": Filter assets based -// on the specified category. Supported values are: `animals`, -// `architecture`, `art`, `food`, `nature`, `objects`, `people`, -// `scenes`, `technology`, and `transport`. +// Category sets the optional parameter "category": Filter assets based on the +// specified category. Supported values are: `animals`, `architecture`, `art`, +// `food`, `nature`, `objects`, `people`, `scenes`, `technology`, and +// `transport`. func (c *AssetsListCall) Category(category string) *AssetsListCall { c.urlParams_.Set("category", category) return c } -// Curated sets the optional parameter "curated": Return only assets -// that have been curated by the Poly team. +// Curated sets the optional parameter "curated": Return only assets that have +// been curated by the Poly team. func (c *AssetsListCall) Curated(curated bool) *AssetsListCall { c.urlParams_.Set("curated", fmt.Sprint(curated)) return c } -// Format sets the optional parameter "format": Return only assets with -// the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, -// `GLTF2`, `OBJ`, `TILT`. +// Format sets the optional parameter "format": Return only assets with the +// matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, +// `OBJ`, `TILT`. func (c *AssetsListCall) Format(format string) *AssetsListCall { c.urlParams_.Set("format", format) return c } -// Keywords sets the optional parameter "keywords": One or more search -// terms to be matched against all text that Poly has indexed for -// assets, which includes display_name, description, and tags. Multiple -// keywords should be separated by spaces. +// Keywords sets the optional parameter "keywords": One or more search terms to +// be matched against all text that Poly has indexed for assets, which includes +// display_name, description, and tags. Multiple keywords should be separated +// by spaces. func (c *AssetsListCall) Keywords(keywords string) *AssetsListCall { c.urlParams_.Set("keywords", keywords) return c } -// MaxComplexity sets the optional parameter "maxComplexity": Returns -// assets that are of the specified complexity or less. Defaults to -// COMPLEX. For example, a request for MEDIUM assets also includes -// SIMPLE assets. +// MaxComplexity sets the optional parameter "maxComplexity": Returns assets +// that are of the specified complexity or less. Defaults to COMPLEX. For +// example, a request for MEDIUM assets also includes SIMPLE assets. // // Possible values: // -// "COMPLEXITY_UNSPECIFIED" - No complexity specified. This is +// "COMPLEXITY_UNSPECIFIED" - No complexity specified. This is equivalent to // -// equivalent to omitting the filter. +// omitting the filter. // // "COMPLEX" - Highly-complex. // "MEDIUM" - Averagely-complex. @@ -1179,60 +975,56 @@ func (c *AssetsListCall) MaxComplexity(maxComplexity string) *AssetsListCall { return c } -// OrderBy sets the optional parameter "orderBy": Specifies an ordering -// for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. -// Defaults to `BEST`, which ranks assets based on a combination of -// popularity and other features. +// OrderBy sets the optional parameter "orderBy": Specifies an ordering for +// assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to +// `BEST`, which ranks assets based on a combination of popularity and other +// features. func (c *AssetsListCall) OrderBy(orderBy string) *AssetsListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of assets to be returned. This value must be between `1` and `100`. -// Defaults to `20`. +// PageSize sets the optional parameter "pageSize": The maximum number of +// assets to be returned. This value must be between `1` and `100`. Defaults to +// `20`. func (c *AssetsListCall) PageSize(pageSize int64) *AssetsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": Specifies a -// continuation token from a previous search whose results were split -// into multiple pages. To get the next page, submit the same request -// specifying the value from next_page_token. +// PageToken sets the optional parameter "pageToken": Specifies a continuation +// token from a previous search whose results were split into multiple pages. +// To get the next page, submit the same request specifying the value from +// next_page_token. func (c *AssetsListCall) PageToken(pageToken string) *AssetsListCall { c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *AssetsListCall) Fields(s ...googleapi.Field) *AssetsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. func (c *AssetsListCall) IfNoneMatch(entityTag string) *AssetsListCall { c.ifNoneMatch_ = entityTag return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *AssetsListCall) Context(ctx context.Context) *AssetsListCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *AssetsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -1241,12 +1033,7 @@ func (c *AssetsListCall) Header() http.Header { } func (c *AssetsListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } @@ -1264,12 +1051,11 @@ func (c *AssetsListCall) doRequest(alt string) (*http.Response, error) { } // Do executes the "poly.assets.list" call. -// Exactly one of *ListAssetsResponse or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *ListAssetsResponse.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. +// Any non-2xx status code is an error. Response headers are in either +// *ListAssetsResponse.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 *AssetsListCall) Do(opts ...googleapi.CallOption) (*ListAssetsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -1300,73 +1086,6 @@ func (c *AssetsListCall) Do(opts ...googleapi.CallOption) (*ListAssetsResponse, return nil, err } return ret, nil - // { - // "description": "Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.", - // "flatPath": "v1/assets", - // "httpMethod": "GET", - // "id": "poly.assets.list", - // "parameterOrder": [], - // "parameters": { - // "category": { - // "description": "Filter assets based on the specified category. Supported values are: `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`, `scenes`, `technology`, and `transport`.", - // "location": "query", - // "type": "string" - // }, - // "curated": { - // "description": "Return only assets that have been curated by the Poly team.", - // "location": "query", - // "type": "boolean" - // }, - // "format": { - // "description": "Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.", - // "location": "query", - // "type": "string" - // }, - // "keywords": { - // "description": "One or more search terms to be matched against all text that Poly has indexed for assets, which includes display_name, description, and tags. Multiple keywords should be separated by spaces.", - // "location": "query", - // "type": "string" - // }, - // "maxComplexity": { - // "description": "Returns assets that are of the specified complexity or less. Defaults to COMPLEX. For example, a request for MEDIUM assets also includes SIMPLE assets.", - // "enum": [ - // "COMPLEXITY_UNSPECIFIED", - // "COMPLEX", - // "MEDIUM", - // "SIMPLE" - // ], - // "enumDescriptions": [ - // "No complexity specified. This is equivalent to omitting the filter.", - // "Highly-complex.", - // "Averagely-complex.", - // "Simple." - // ], - // "location": "query", - // "type": "string" - // }, - // "orderBy": { - // "description": "Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of popularity and other features.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.", - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v1/assets", - // "response": { - // "$ref": "ListAssetsResponse" - // } - // } - } // Pages invokes f for each page of results. @@ -1374,7 +1093,7 @@ func (c *AssetsListCall) Do(opts ...googleapi.CallOption) (*ListAssetsResponse, // The provided context supersedes any context provided to the Context method. func (c *AssetsListCall) Pages(ctx context.Context, f func(*ListAssetsResponse) error) error { c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + defer c.PageToken(c.urlParams_.Get("pageToken")) for { x, err := c.Do() if err != nil { @@ -1390,8 +1109,6 @@ func (c *AssetsListCall) Pages(ctx context.Context, f func(*ListAssetsResponse) } } -// method id "poly.users.assets.list": - type UsersAssetsListCall struct { s *Service name string @@ -1402,63 +1119,60 @@ type UsersAssetsListCall struct { } // List: Lists assets authored by the given user. Only the value 'me', -// representing the currently-authenticated user, is supported. May -// include assets with an access level of PRIVATE or UNLISTED and assets -// which are All Rights Reserved for the currently-authenticated user. +// representing the currently-authenticated user, is supported. May include +// assets with an access level of PRIVATE or UNLISTED and assets which are All +// Rights Reserved for the currently-authenticated user. // // - name: A valid user id. Currently, only the special value 'me', -// representing the currently-authenticated user is supported. To use -// 'me', you must pass an OAuth token with the request. +// representing the currently-authenticated user is supported. To use 'me', +// you must pass an OAuth token with the request. func (r *UsersAssetsService) List(name string) *UsersAssetsListCall { c := &UsersAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Format sets the optional parameter "format": Return only assets with -// the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, -// `GLTF2`, `OBJ`, and `TILT`. +// Format sets the optional parameter "format": Return only assets with the +// matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, +// `OBJ`, and `TILT`. func (c *UsersAssetsListCall) Format(format string) *UsersAssetsListCall { c.urlParams_.Set("format", format) return c } -// OrderBy sets the optional parameter "orderBy": Specifies an ordering -// for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. -// Defaults to `BEST`, which ranks assets based on a combination of -// popularity and other features. +// OrderBy sets the optional parameter "orderBy": Specifies an ordering for +// assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to +// `BEST`, which ranks assets based on a combination of popularity and other +// features. func (c *UsersAssetsListCall) OrderBy(orderBy string) *UsersAssetsListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of assets to be returned. This value must be between `1` and `100`. -// Defaults to `20`. +// PageSize sets the optional parameter "pageSize": The maximum number of +// assets to be returned. This value must be between `1` and `100`. Defaults to +// `20`. func (c *UsersAssetsListCall) PageSize(pageSize int64) *UsersAssetsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": Specifies a -// continuation token from a previous search whose results were split -// into multiple pages. To get the next page, submit the same request -// specifying the value from next_page_token. +// PageToken sets the optional parameter "pageToken": Specifies a continuation +// token from a previous search whose results were split into multiple pages. +// To get the next page, submit the same request specifying the value from +// next_page_token. func (c *UsersAssetsListCall) PageToken(pageToken string) *UsersAssetsListCall { c.urlParams_.Set("pageToken", pageToken) return c } -// Visibility sets the optional parameter "visibility": The visibility -// of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED -// which returns all assets. +// Visibility sets the optional parameter "visibility": The visibility of the +// assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all +// assets. // // Possible values: // -// "VISIBILITY_UNSPECIFIED" - No visibility specified. Returns all -// -// assets. -// +// "VISIBILITY_UNSPECIFIED" - No visibility specified. Returns all assets. // "PUBLISHED" - Returns only published assets. // "PRIVATE" - Returns only private assets. func (c *UsersAssetsListCall) Visibility(visibility string) *UsersAssetsListCall { @@ -1467,33 +1181,29 @@ func (c *UsersAssetsListCall) Visibility(visibility string) *UsersAssetsListCall } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *UsersAssetsListCall) Fields(s ...googleapi.Field) *UsersAssetsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. func (c *UsersAssetsListCall) IfNoneMatch(entityTag string) *UsersAssetsListCall { c.ifNoneMatch_ = entityTag return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *UsersAssetsListCall) Context(ctx context.Context) *UsersAssetsListCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *UsersAssetsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -1502,12 +1212,7 @@ func (c *UsersAssetsListCall) Header() http.Header { } func (c *UsersAssetsListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } @@ -1528,12 +1233,11 @@ func (c *UsersAssetsListCall) doRequest(alt string) (*http.Response, error) { } // Do executes the "poly.users.assets.list" call. -// Exactly one of *ListUserAssetsResponse or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *ListUserAssetsResponse.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. +// Any non-2xx status code is an error. Response headers are in either +// *ListUserAssetsResponse.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 *UsersAssetsListCall) Do(opts ...googleapi.CallOption) (*ListUserAssetsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -1564,65 +1268,6 @@ func (c *UsersAssetsListCall) Do(opts ...googleapi.CallOption) (*ListUserAssetsR return nil, err } return ret, nil - // { - // "description": "Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.", - // "flatPath": "v1/users/{usersId}/assets", - // "httpMethod": "GET", - // "id": "poly.users.assets.list", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "format": { - // "description": "Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "A valid user id. Currently, only the special value 'me', representing the currently-authenticated user is supported. To use 'me', you must pass an OAuth token with the request.", - // "location": "path", - // "pattern": "^users/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "orderBy": { - // "description": "Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of popularity and other features.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.", - // "location": "query", - // "type": "string" - // }, - // "visibility": { - // "description": "The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all assets.", - // "enum": [ - // "VISIBILITY_UNSPECIFIED", - // "PUBLISHED", - // "PRIVATE" - // ], - // "enumDescriptions": [ - // "No visibility specified. Returns all assets.", - // "Returns only published assets.", - // "Returns only private assets." - // ], - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v1/{+name}/assets", - // "response": { - // "$ref": "ListUserAssetsResponse" - // } - // } - } // Pages invokes f for each page of results. @@ -1630,7 +1275,7 @@ func (c *UsersAssetsListCall) Do(opts ...googleapi.CallOption) (*ListUserAssetsR // The provided context supersedes any context provided to the Context method. func (c *UsersAssetsListCall) Pages(ctx context.Context, f func(*ListUserAssetsResponse) error) error { c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + defer c.PageToken(c.urlParams_.Get("pageToken")) for { x, err := c.Do() if err != nil { @@ -1646,8 +1291,6 @@ func (c *UsersAssetsListCall) Pages(ctx context.Context, f func(*ListUserAssetsR } } -// method id "poly.users.likedassets.list": - type UsersLikedassetsListCall struct { s *Service name string @@ -1658,80 +1301,76 @@ type UsersLikedassetsListCall struct { } // List: Lists assets that the user has liked. Only the value 'me', -// representing the currently-authenticated user, is supported. May -// include assets with an access level of UNLISTED. +// representing the currently-authenticated user, is supported. May include +// assets with an access level of UNLISTED. // // - name: A valid user id. Currently, only the special value 'me', -// representing the currently-authenticated user is supported. To use -// 'me', you must pass an OAuth token with the request. +// representing the currently-authenticated user is supported. To use 'me', +// you must pass an OAuth token with the request. func (r *UsersLikedassetsService) List(name string) *UsersLikedassetsListCall { c := &UsersLikedassetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Format sets the optional parameter "format": Return only assets with -// the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, -// `GLTF2`, `OBJ`, `TILT`. +// Format sets the optional parameter "format": Return only assets with the +// matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, +// `OBJ`, `TILT`. func (c *UsersLikedassetsListCall) Format(format string) *UsersLikedassetsListCall { c.urlParams_.Set("format", format) return c } -// OrderBy sets the optional parameter "orderBy": Specifies an ordering -// for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`, -// 'LIKED_TIME'. Defaults to `LIKED_TIME`, which ranks assets based on -// how recently they were liked. +// OrderBy sets the optional parameter "orderBy": Specifies an ordering for +// assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. +// Defaults to `LIKED_TIME`, which ranks assets based on how recently they were +// liked. func (c *UsersLikedassetsListCall) OrderBy(orderBy string) *UsersLikedassetsListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of assets to be returned. This value must be between `1` and `100`. -// Defaults to `20`. +// PageSize sets the optional parameter "pageSize": The maximum number of +// assets to be returned. This value must be between `1` and `100`. Defaults to +// `20`. func (c *UsersLikedassetsListCall) PageSize(pageSize int64) *UsersLikedassetsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": Specifies a -// continuation token from a previous search whose results were split -// into multiple pages. To get the next page, submit the same request -// specifying the value from next_page_token. +// PageToken sets the optional parameter "pageToken": Specifies a continuation +// token from a previous search whose results were split into multiple pages. +// To get the next page, submit the same request specifying the value from +// next_page_token. func (c *UsersLikedassetsListCall) PageToken(pageToken string) *UsersLikedassetsListCall { c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *UsersLikedassetsListCall) Fields(s ...googleapi.Field) *UsersLikedassetsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. func (c *UsersLikedassetsListCall) IfNoneMatch(entityTag string) *UsersLikedassetsListCall { c.ifNoneMatch_ = entityTag return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *UsersLikedassetsListCall) Context(ctx context.Context) *UsersLikedassetsListCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *UsersLikedassetsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -1740,12 +1379,7 @@ func (c *UsersLikedassetsListCall) Header() http.Header { } func (c *UsersLikedassetsListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } @@ -1766,12 +1400,11 @@ func (c *UsersLikedassetsListCall) doRequest(alt string) (*http.Response, error) } // Do executes the "poly.users.likedassets.list" call. -// Exactly one of *ListLikedAssetsResponse or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either +// Any non-2xx status code is an error. Response headers are in either // *ListLikedAssetsResponse.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. +// googleapi.IsNotModified to check whether the returned error was because +// http.StatusNotModified was returned. func (c *UsersLikedassetsListCall) Do(opts ...googleapi.CallOption) (*ListLikedAssetsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -1802,50 +1435,6 @@ func (c *UsersLikedassetsListCall) Do(opts ...googleapi.CallOption) (*ListLikedA return nil, err } return ret, nil - // { - // "description": "Lists assets that the user has liked. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of UNLISTED.", - // "flatPath": "v1/users/{usersId}/likedassets", - // "httpMethod": "GET", - // "id": "poly.users.likedassets.list", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "format": { - // "description": "Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "A valid user id. Currently, only the special value 'me', representing the currently-authenticated user is supported. To use 'me', you must pass an OAuth token with the request.", - // "location": "path", - // "pattern": "^users/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "orderBy": { - // "description": "Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which ranks assets based on how recently they were liked.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.", - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v1/{+name}/likedassets", - // "response": { - // "$ref": "ListLikedAssetsResponse" - // } - // } - } // Pages invokes f for each page of results. @@ -1853,7 +1442,7 @@ func (c *UsersLikedassetsListCall) Do(opts ...googleapi.CallOption) (*ListLikedA // The provided context supersedes any context provided to the Context method. func (c *UsersLikedassetsListCall) Pages(ctx context.Context, f func(*ListLikedAssetsResponse) error) error { c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + defer c.PageToken(c.urlParams_.Get("pageToken")) for { x, err := c.Do() if err != nil { diff --git a/realtimebidding/v1alpha/realtimebidding-gen.go b/realtimebidding/v1alpha/realtimebidding-gen.go index b13231b0f1e..20c2a16d7ea 100644 --- a/realtimebidding/v1alpha/realtimebidding-gen.go +++ b/realtimebidding/v1alpha/realtimebidding-gen.go @@ -175,218 +175,184 @@ type BiddersBiddingFunctionsService struct { s *Service } -// ActivateBiddingFunctionRequest: The request to activate a bidding -// function. +// ActivateBiddingFunctionRequest: The request to activate a bidding function. type ActivateBiddingFunctionRequest struct { } -// ArchiveBiddingFunctionRequest: A request to archive a bidding -// function. +// ArchiveBiddingFunctionRequest: A request to archive a bidding function. type ArchiveBiddingFunctionRequest struct { } // BiddingFunction: The bidding function to be executed as part of the // TURTLEDOVE simulation experiment bidding flow. type BiddingFunction struct { - // BiddingFunction: The raw Javascript source code of the bidding - // function. + // BiddingFunction: The raw Javascript source code of the bidding function. BiddingFunction string `json:"biddingFunction,omitempty"` - // Name: The name of the bidding function that must follow the pattern: - // `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}` - // . + // `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`. Name string `json:"name,omitempty"` - // State: Output only. The state of the bidding function. // // Possible values: // "STATE_UNSPECIFIED" - Default value that should not be used. - // "ACTIVE" - An active function. Only `ACTIVE` bidding functions or - // ad scoring functions are made available for the server-side - // TURTLEDOVE simulations. Every account is limited to 10 active bidding - // functions per account. - // "ARCHIVED" - A function that is no longer made available for - // invocation in a simulation and instead archived. An archived function - // can later be made active by activating the function through - // `ActivateBiddingFunction`. + // "ACTIVE" - An active function. Only `ACTIVE` bidding functions or ad + // scoring functions are made available for the server-side TURTLEDOVE + // simulations. Every account is limited to 10 active bidding functions per + // account. + // "ARCHIVED" - A function that is no longer made available for invocation in + // a simulation and instead archived. An archived function can later be made + // active by activating the function through `ActivateBiddingFunction`. State string `json:"state,omitempty"` - // Type: The type of the bidding function to be created. // // Possible values: - // "FUNCTION_TYPE_UNSPECIFIED" - Default value that should not be - // used. - // "TURTLEDOVE_SIMULATION_BIDDING_FUNCTION" - Bidding function that - // can be used by Authorized Buyers in the original TURTLEDOVE - // simulation. See documentation on the TURTLEDOVE simulation at - // https://developers.google.com/authorized-buyers/rtb/turtledove. The - // function takes in a Javascript object, `inputs`, that contains the - // following named fields: `openrtbContextualBidRequest` OR - // `googleContextualBidRequest`, `customContextualSignal`, - // `interestBasedBidData`, `interestGroupData`, and returns the bid - // price CPM. Example: ``` /* Returns a bid price CPM. * * @param - // {Object} inputs an object with the * following named fields: * - + // "FUNCTION_TYPE_UNSPECIFIED" - Default value that should not be used. + // "TURTLEDOVE_SIMULATION_BIDDING_FUNCTION" - Bidding function that can be + // used by Authorized Buyers in the original TURTLEDOVE simulation. See + // documentation on the TURTLEDOVE simulation at + // https://developers.google.com/authorized-buyers/rtb/turtledove. The function + // takes in a Javascript object, `inputs`, that contains the following named + // fields: `openrtbContextualBidRequest` OR `googleContextualBidRequest`, + // `customContextualSignal`, `interestBasedBidData`, `interestGroupData`, and + // returns the bid price CPM. Example: ``` /* Returns a bid price CPM. * * + // @param {Object} inputs an object with the * following named fields: * - // openrtbContextualBidRequest * OR googleContextualBidRequest * - - // customContextualSignal * - interestBasedBidData * - interestGroupData - // */ function biddingFunction(inputs) { ... return + // customContextualSignal * - interestBasedBidData * - interestGroupData */ + // function biddingFunction(inputs) { ... return // inputs.interestBasedBidData.cpm * // inputs.customContextualSignals.placementMultiplier; } ``` - // "FLEDGE_BIDDING_FUNCTION" - Buyer's interest group bidding function - // that can be used by Authorized Buyers in the FLEDGE simulation. See - // the FLEDGE explainer at + // "FLEDGE_BIDDING_FUNCTION" - Buyer's interest group bidding function that + // can be used by Authorized Buyers in the FLEDGE simulation. See the FLEDGE + // explainer at // https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding. - // The function takes one argument, `inputs`, that contains an object - // with the following named fields of the form: ``` { "interestGroup" : - // { "ad" : [ "buyerCreativeId": "...", # Ad creative ID "adData": { # - // JSON object } ], "userBiddingSignals": { . # JSON object } }, - // "auctionSignals": { "url": # string, "slotVisibility": # enum value, - // "slotDimensions": [ { "height": # number value "width": # number - // value } ] }, "perBuyerSignals": { # JSON object }, - // "trustedBiddingSignals": { # JSON object }, "browserSignals": { - // "recent_impression_ages_secs": [ # Array of integers. Not yet - // populated. ] } } ``` `interestGroup`: An object containing a list of - // `ad` objects, which contain the following named fields: - - // `buyerCreativeId`: The ad creative ID string. - `adData`: Any JSON - // value of the bidder's choosing to contain data associated with an ad - // provided in `BidResponse.ad.adslot.ad_data` for the Google Authorized - // Buyers protocol and `BidResponse.seatbid.bid.ext.ad_data` for the - // OpenRTB protocol. - `userBiddingSignals`: Any JSON value of the + // The function takes one argument, `inputs`, that contains an object with the + // following named fields of the form: ``` { "interestGroup" : { "ad" : [ + // "buyerCreativeId": "...", # Ad creative ID "adData": { # JSON object } ], + // "userBiddingSignals": { . # JSON object } }, "auctionSignals": { "url": # + // string, "slotVisibility": # enum value, "slotDimensions": [ { "height": # + // number value "width": # number value } ] }, "perBuyerSignals": { # JSON + // object }, "trustedBiddingSignals": { # JSON object }, "browserSignals": { + // "recent_impression_ages_secs": [ # Array of integers. Not yet populated. ] } + // } ``` `interestGroup`: An object containing a list of `ad` objects, which + // contain the following named fields: - `buyerCreativeId`: The ad creative ID + // string. - `adData`: Any JSON value of the bidder's choosing to contain data + // associated with an ad provided in `BidResponse.ad.adslot.ad_data` for the + // Google Authorized Buyers protocol and `BidResponse.seatbid.bid.ext.ad_data` + // for the OpenRTB protocol. - `userBiddingSignals`: Any JSON value of the // bidder's choosing containing interest group data that corresponds to - // user_bidding_signals (as in FLEDGE). This field will be populated - // from `BidResponse.interest_group_map.user_bidding_signals` for Google - // Authorized Buyers protocol and - // `BidResponse.ext.interest_group_map.user_bidding_signals` for the - // OpenRTB protocol. `auctionSignals`: Contains data from the seller. It - // corresponds to the auction signals data described in the FLEDGE - // proposal. It is an object containing the following named fields: - - // `url`: The string URL of the page with parameters removed. - - // `slotVisibility`: Enum of one of the following potential values: - - // NO_DETECTION = 0 - ABOVE_THE_FOLD = 1 - BELOW_THE_FOLD = 2 - - // `slotDimensions`: A list of objects containing containing width and + // user_bidding_signals (as in FLEDGE). This field will be populated from + // `BidResponse.interest_group_map.user_bidding_signals` for Google Authorized + // Buyers protocol and + // `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB + // protocol. `auctionSignals`: Contains data from the seller. It corresponds to + // the auction signals data described in the FLEDGE proposal. It is an object + // containing the following named fields: - `url`: The string URL of the page + // with parameters removed. - `slotVisibility`: Enum of one of the following + // potential values: - NO_DETECTION = 0 - ABOVE_THE_FOLD = 1 - BELOW_THE_FOLD = + // 2 - `slotDimensions`: A list of objects containing containing width and // height pairs in `width` and `height` fields, respectively, from - // `BidRequest.adslot.width` and `BidRequest.adslot.height` for the - // Google Authorized Buyers protocol and - // `BidRequest.imp.banner.format.w` and `BidRequest.imp.banner.format.h` - // for the OpenRTB protocol. `perBuyerSignals`: The contextual signals - // from the bid response that are populated in - // `BidResponse.interest_group_bidding.interest_group_buyers.per_buyer_si - // gnals` for the Google Authorized Buyers protocol and - // `BidResponse.ext.interest_group_bidding.interest_group_buyers.per_buye - // r_signals` for the OpenRTB protocol. These signals can be of any JSON - // format of your choosing, however, the buyer's domain name must match - // between: - the interest group response in - // `BidResponse.interest_group_map.buyer_domain` for the Google + // `BidRequest.adslot.width` and `BidRequest.adslot.height` for the Google + // Authorized Buyers protocol and `BidRequest.imp.banner.format.w` and + // `BidRequest.imp.banner.format.h` for the OpenRTB protocol. + // `perBuyerSignals`: The contextual signals from the bid response that are + // populated in + // `BidResponse.interest_group_bidding.interest_group_buyers.per_buyer_signals` + // for the Google Authorized Buyers protocol and + // `BidResponse.ext.interest_group_bidding.interest_group_buyers.per_buyer_signa + // ls` for the OpenRTB protocol. These signals can be of any JSON format of + // your choosing, however, the buyer's domain name must match between: - the + // interest group response in `BidResponse.interest_group_map.buyer_domain` for + // the Google Authorized Buyers protocol or in + // `BidResponse.ext.interest_group_map.buyer_domain` for the OpenRTB protocol. + // - the contextual response as a key to the map in + // `BidResponse.interest_group_bidding.interest_group_buyers` for the Google // Authorized Buyers protocol or in - // `BidResponse.ext.interest_group_map.buyer_domain` for the OpenRTB - // protocol. - the contextual response as a key to the map in - // `BidResponse.interest_group_bidding.interest_group_buyers` for the - // Google Authorized Buyers protocol or in - // `BidResponse.ext.interest_group_bidding.interest_group_buyers` for - // the OpenRTB protocol. In other words, there must be a match between - // the buyer domain of the contextual per_buyer_signals and the domain - // of an interest group. `trustedBiddingSignals`: The trusted bidding - // signals that corresponds to the trusted_bidding_signals in the FLEDGE - // proposal. It is provided in the interest group response as + // `BidResponse.ext.interest_group_bidding.interest_group_buyers` for the + // OpenRTB protocol. In other words, there must be a match between the buyer + // domain of the contextual per_buyer_signals and the domain of an interest + // group. `trustedBiddingSignals`: The trusted bidding signals that corresponds + // to the trusted_bidding_signals in the FLEDGE proposal. It is provided in the + // interest group response as // `BidResponse.interest_group_map.user_bidding_signals` for the Google // Authorized Buyers protocol and - // `BidResponse.ext.interest_group_map.user_bidding_signals` for the - // OpenRTB protocol. This field can be any JSON format of your choosing. - // `browserSignals`: An object of simulated browser-provider signals. It - // is an object with a single named field, - // `recent_impression_ages_secs`, that contains a list of estimated - // number value recent impression ages in seconds for a given interest - // group. `recent_impression_ages_secs` is not yet populated. The - // function returns the string creative ID of the selected ad, the bid - // price CPM, and (optionally) selected product IDs. In addition, the - // bidding function may populate an optional debug string that may be - // used for remote debugging and troubleshooting of a bidder-provided - // bidding function. The debug string should not contain a user - // identifier. The maximum length of the debug string is 200 bytes. This - // debug string is available in `BidResponseFeedback` + // `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB + // protocol. This field can be any JSON format of your choosing. + // `browserSignals`: An object of simulated browser-provider signals. It is an + // object with a single named field, `recent_impression_ages_secs`, that + // contains a list of estimated number value recent impression ages in seconds + // for a given interest group. `recent_impression_ages_secs` is not yet + // populated. The function returns the string creative ID of the selected ad, + // the bid price CPM, and (optionally) selected product IDs. In addition, the + // bidding function may populate an optional debug string that may be used for + // remote debugging and troubleshooting of a bidder-provided bidding function. + // The debug string should not contain a user identifier. The maximum length of + // the debug string is 200 bytes. This debug string is available in + // `BidResponseFeedback` // (https://developers.google.com/authorized-buyers/rtb/realtime-bidding-guide#bidresponsefeedback-object) // and `BidFeedback` // (https://developers.google.com/authorized-buyers/rtb/openrtb-guide#bidfeedback), - // for the Google protocol and OpenRTB protocol respectively. In - // addition, the debug string can be inserted into the creative HTML - // snippet through macro substitution if the following string is - // included in the snippet: “%%DEBUG_STRING%%”. Ensure the debug - // string complies with [Platform Program - // Policies](https://support.google.com/platformspolicy/answer/3013851). - // Sample Bidding Function: ``` function biddingFunction(inputs) { ... - // return { "buyerCreativeId": "ad_creative_id_1", "bidPriceCpm": 0.3, - // "productIds": ["product_id_1", "product_id_2", "product_id_3"] - // "debugString": "Bidding function executed successfully!" } } ``` + // for the Google protocol and OpenRTB protocol respectively. In addition, the + // debug string can be inserted into the creative HTML snippet through macro + // substitution if the following string is included in the snippet: + // “%%DEBUG_STRING%%”. Ensure the debug string complies with [Platform + // Program + // Policies](https://support.google.com/platformspolicy/answer/3013851). Sample + // Bidding Function: ``` function biddingFunction(inputs) { ... return { + // "buyerCreativeId": "ad_creative_id_1", "bidPriceCpm": 0.3, "productIds": + // ["product_id_1", "product_id_2", "product_id_3"] "debugString": "Bidding + // function executed successfully!" } } ``` Type string `json:"type,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. + // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BiddingFunction") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "BiddingFunction") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "BiddingFunction") 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 *BiddingFunction) MarshalJSON() ([]byte, error) { type NoMethod BiddingFunction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// ListBiddingFunctionsResponse: A response containing a list of a -// bidder's bidding functions. +// ListBiddingFunctionsResponse: A response containing a list of a bidder's +// bidding functions. type ListBiddingFunctionsResponse struct { // BiddingFunctions: A list of a bidder's bidding functions. BiddingFunctions []*BiddingFunction `json:"biddingFunctions,omitempty"` - - // NextPageToken: A token which can be passed to a subsequent call to - // the `ListBiddingFunctions` method to retrieve the next page of - // results in ListBiddingFunctionsRequest.pageToken. + // NextPageToken: A token which can be passed to a subsequent call to the + // `ListBiddingFunctions` method to retrieve the next page of results in + // ListBiddingFunctionsRequest.pageToken. NextPageToken string `json:"nextPageToken,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. + // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BiddingFunctions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // 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. "BiddingFunctions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "BiddingFunctions") 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 *ListBiddingFunctionsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListBiddingFunctionsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// method id "realtimebidding.bidders.biddingFunctions.activate": - type BiddersBiddingFunctionsActivateCall struct { s *Service name string @@ -396,13 +362,11 @@ type BiddersBiddingFunctionsActivateCall struct { header_ http.Header } -// Activate: Activates an existing bidding function. An activated -// function is available for invocation for the server-side TURTLEDOVE -// simulations. +// Activate: Activates an existing bidding function. An activated function is +// available for invocation for the server-side TURTLEDOVE simulations. // // - name: The name of the bidding function to activate. Format: -// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name} -// `. +// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`. func (r *BiddersBiddingFunctionsService) Activate(name string, activatebiddingfunctionrequest *ActivateBiddingFunctionRequest) *BiddersBiddingFunctionsActivateCall { c := &BiddersBiddingFunctionsActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -411,23 +375,21 @@ func (r *BiddersBiddingFunctionsService) Activate(name string, activatebiddingfu } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *BiddersBiddingFunctionsActivateCall) Fields(s ...googleapi.Field) *BiddersBiddingFunctionsActivateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *BiddersBiddingFunctionsActivateCall) Context(ctx context.Context) *BiddersBiddingFunctionsActivateCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *BiddersBiddingFunctionsActivateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -436,18 +398,12 @@ func (c *BiddersBiddingFunctionsActivateCall) Header() http.Header { } func (c *BiddersBiddingFunctionsActivateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil body, err := googleapi.WithoutDataWrapper.JSONReader(c.activatebiddingfunctionrequest) if err != nil { return nil, err } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:activate") @@ -464,12 +420,11 @@ func (c *BiddersBiddingFunctionsActivateCall) doRequest(alt string) (*http.Respo } // Do executes the "realtimebidding.bidders.biddingFunctions.activate" call. -// Exactly one of *BiddingFunction or error will be non-nil. Any non-2xx -// status code is an error. Response headers are in either -// *BiddingFunction.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. +// Any non-2xx status code is an error. Response headers are in either +// *BiddingFunction.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 *BiddersBiddingFunctionsActivateCall) Do(opts ...googleapi.CallOption) (*BiddingFunction, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -500,38 +455,7 @@ func (c *BiddersBiddingFunctionsActivateCall) Do(opts ...googleapi.CallOption) ( return nil, err } return ret, nil - // { - // "description": "Activates an existing bidding function. An activated function is available for invocation for the server-side TURTLEDOVE simulations.", - // "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions/{biddingFunctionsId}:activate", - // "httpMethod": "POST", - // "id": "realtimebidding.bidders.biddingFunctions.activate", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "Required. The name of the bidding function to activate. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`", - // "location": "path", - // "pattern": "^bidders/[^/]+/biddingFunctions/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v1alpha/{+name}:activate", - // "request": { - // "$ref": "ActivateBiddingFunctionRequest" - // }, - // "response": { - // "$ref": "BiddingFunction" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/realtime-bidding" - // ] - // } - -} - -// method id "realtimebidding.bidders.biddingFunctions.archive": +} type BiddersBiddingFunctionsArchiveCall struct { s *Service @@ -542,13 +466,12 @@ type BiddersBiddingFunctionsArchiveCall struct { header_ http.Header } -// Archive: Archives an existing bidding function. An archived function -// will not be available for function invocation for the server-side -// TURTLEDOVE simulations unless it is activated. +// Archive: Archives an existing bidding function. An archived function will +// not be available for function invocation for the server-side TURTLEDOVE +// simulations unless it is activated. // // - name: The name of the bidding function to archive. Format: -// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name} -// `. +// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`. func (r *BiddersBiddingFunctionsService) Archive(name string, archivebiddingfunctionrequest *ArchiveBiddingFunctionRequest) *BiddersBiddingFunctionsArchiveCall { c := &BiddersBiddingFunctionsArchiveCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -557,23 +480,21 @@ func (r *BiddersBiddingFunctionsService) Archive(name string, archivebiddingfunc } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *BiddersBiddingFunctionsArchiveCall) Fields(s ...googleapi.Field) *BiddersBiddingFunctionsArchiveCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *BiddersBiddingFunctionsArchiveCall) Context(ctx context.Context) *BiddersBiddingFunctionsArchiveCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *BiddersBiddingFunctionsArchiveCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -582,18 +503,12 @@ func (c *BiddersBiddingFunctionsArchiveCall) Header() http.Header { } func (c *BiddersBiddingFunctionsArchiveCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil body, err := googleapi.WithoutDataWrapper.JSONReader(c.archivebiddingfunctionrequest) if err != nil { return nil, err } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:archive") @@ -610,12 +525,11 @@ func (c *BiddersBiddingFunctionsArchiveCall) doRequest(alt string) (*http.Respon } // Do executes the "realtimebidding.bidders.biddingFunctions.archive" call. -// Exactly one of *BiddingFunction or error will be non-nil. Any non-2xx -// status code is an error. Response headers are in either -// *BiddingFunction.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. +// Any non-2xx status code is an error. Response headers are in either +// *BiddingFunction.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 *BiddersBiddingFunctionsArchiveCall) Do(opts ...googleapi.CallOption) (*BiddingFunction, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -646,38 +560,7 @@ func (c *BiddersBiddingFunctionsArchiveCall) Do(opts ...googleapi.CallOption) (* return nil, err } return ret, nil - // { - // "description": "Archives an existing bidding function. An archived function will not be available for function invocation for the server-side TURTLEDOVE simulations unless it is activated.", - // "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions/{biddingFunctionsId}:archive", - // "httpMethod": "POST", - // "id": "realtimebidding.bidders.biddingFunctions.archive", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "Required. The name of the bidding function to archive. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`", - // "location": "path", - // "pattern": "^bidders/[^/]+/biddingFunctions/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v1alpha/{+name}:archive", - // "request": { - // "$ref": "ArchiveBiddingFunctionRequest" - // }, - // "response": { - // "$ref": "BiddingFunction" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/realtime-bidding" - // ] - // } - -} - -// method id "realtimebidding.bidders.biddingFunctions.create": +} type BiddersBiddingFunctionsCreateCall struct { s *Service @@ -690,8 +573,8 @@ type BiddersBiddingFunctionsCreateCall struct { // Create: Creates a new bidding function. // -// - parent: The name of the bidder for which to create the bidding -// function. Format: `bidders/{bidderAccountId}`. +// - parent: The name of the bidder for which to create the bidding function. +// Format: `bidders/{bidderAccountId}`. func (r *BiddersBiddingFunctionsService) Create(parent string, biddingfunction *BiddingFunction) *BiddersBiddingFunctionsCreateCall { c := &BiddersBiddingFunctionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -700,23 +583,21 @@ func (r *BiddersBiddingFunctionsService) Create(parent string, biddingfunction * } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *BiddersBiddingFunctionsCreateCall) Fields(s ...googleapi.Field) *BiddersBiddingFunctionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *BiddersBiddingFunctionsCreateCall) Context(ctx context.Context) *BiddersBiddingFunctionsCreateCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *BiddersBiddingFunctionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -725,18 +606,12 @@ func (c *BiddersBiddingFunctionsCreateCall) Header() http.Header { } func (c *BiddersBiddingFunctionsCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil body, err := googleapi.WithoutDataWrapper.JSONReader(c.biddingfunction) if err != nil { return nil, err } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/biddingFunctions") @@ -753,12 +628,11 @@ func (c *BiddersBiddingFunctionsCreateCall) doRequest(alt string) (*http.Respons } // Do executes the "realtimebidding.bidders.biddingFunctions.create" call. -// Exactly one of *BiddingFunction or error will be non-nil. Any non-2xx -// status code is an error. Response headers are in either -// *BiddingFunction.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. +// Any non-2xx status code is an error. Response headers are in either +// *BiddingFunction.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 *BiddersBiddingFunctionsCreateCall) Do(opts ...googleapi.CallOption) (*BiddingFunction, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -789,38 +663,7 @@ func (c *BiddersBiddingFunctionsCreateCall) Do(opts ...googleapi.CallOption) (*B return nil, err } return ret, nil - // { - // "description": "Creates a new bidding function.", - // "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions", - // "httpMethod": "POST", - // "id": "realtimebidding.bidders.biddingFunctions.create", - // "parameterOrder": [ - // "parent" - // ], - // "parameters": { - // "parent": { - // "description": "Required. The name of the bidder for which to create the bidding function. Format: `bidders/{bidderAccountId}`", - // "location": "path", - // "pattern": "^bidders/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v1alpha/{+parent}/biddingFunctions", - // "request": { - // "$ref": "BiddingFunction" - // }, - // "response": { - // "$ref": "BiddingFunction" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/realtime-bidding" - // ] - // } - -} - -// method id "realtimebidding.bidders.biddingFunctions.list": +} type BiddersBiddingFunctionsListCall struct { s *Service @@ -831,27 +674,26 @@ type BiddersBiddingFunctionsListCall struct { header_ http.Header } -// List: Lists the bidding functions that a bidder currently has -// registered. +// List: Lists the bidding functions that a bidder currently has registered. // -// - parent: Name of the bidder whose bidding functions will be listed. -// Format: `bidders/{bidder_account_id}`. +// - parent: Name of the bidder whose bidding functions will be listed. Format: +// `bidders/{bidder_account_id}`. func (r *BiddersBiddingFunctionsService) List(parent string) *BiddersBiddingFunctionsListCall { c := &BiddersBiddingFunctionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of bidding functions to return. +// PageSize sets the optional parameter "pageSize": The maximum number of +// bidding functions to return. func (c *BiddersBiddingFunctionsListCall) PageSize(pageSize int64) *BiddersBiddingFunctionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": A token -// identifying a page of results the server should return. This value is -// received from a previous `ListBiddingFunctions` call in +// PageToken sets the optional parameter "pageToken": A token identifying a +// page of results the server should return. This value is received from a +// previous `ListBiddingFunctions` call in // ListBiddingFunctionsResponse.nextPageToken. func (c *BiddersBiddingFunctionsListCall) PageToken(pageToken string) *BiddersBiddingFunctionsListCall { c.urlParams_.Set("pageToken", pageToken) @@ -859,33 +701,29 @@ func (c *BiddersBiddingFunctionsListCall) PageToken(pageToken string) *BiddersBi } // Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. func (c *BiddersBiddingFunctionsListCall) Fields(s ...googleapi.Field) *BiddersBiddingFunctionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. func (c *BiddersBiddingFunctionsListCall) IfNoneMatch(entityTag string) *BiddersBiddingFunctionsListCall { c.ifNoneMatch_ = entityTag return c } -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. +// Context sets the context to be used in this call's Do method. func (c *BiddersBiddingFunctionsListCall) Context(ctx context.Context) *BiddersBiddingFunctionsListCall { c.ctx_ = ctx return c } -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. func (c *BiddersBiddingFunctionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) @@ -894,12 +732,7 @@ func (c *BiddersBiddingFunctionsListCall) Header() http.Header { } func (c *BiddersBiddingFunctionsListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } @@ -920,12 +753,11 @@ func (c *BiddersBiddingFunctionsListCall) doRequest(alt string) (*http.Response, } // Do executes the "realtimebidding.bidders.biddingFunctions.list" call. -// Exactly one of *ListBiddingFunctionsResponse or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *ListBiddingFunctionsResponse.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. +// Any non-2xx status code is an error. Response headers are in either +// *ListBiddingFunctionsResponse.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 *BiddersBiddingFunctionsListCall) Do(opts ...googleapi.CallOption) (*ListBiddingFunctionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") @@ -956,43 +788,6 @@ func (c *BiddersBiddingFunctionsListCall) Do(opts ...googleapi.CallOption) (*Lis return nil, err } return ret, nil - // { - // "description": "Lists the bidding functions that a bidder currently has registered.", - // "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions", - // "httpMethod": "GET", - // "id": "realtimebidding.bidders.biddingFunctions.list", - // "parameterOrder": [ - // "parent" - // ], - // "parameters": { - // "pageSize": { - // "description": "The maximum number of bidding functions to return.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "A token identifying a page of results the server should return. This value is received from a previous `ListBiddingFunctions` call in ListBiddingFunctionsResponse.nextPageToken.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. Name of the bidder whose bidding functions will be listed. Format: `bidders/{bidder_account_id}`", - // "location": "path", - // "pattern": "^bidders/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v1alpha/{+parent}/biddingFunctions", - // "response": { - // "$ref": "ListBiddingFunctionsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/realtime-bidding" - // ] - // } - } // Pages invokes f for each page of results. @@ -1000,7 +795,7 @@ func (c *BiddersBiddingFunctionsListCall) Do(opts ...googleapi.CallOption) (*Lis // The provided context supersedes any context provided to the Context method. func (c *BiddersBiddingFunctionsListCall) Pages(ctx context.Context, f func(*ListBiddingFunctionsResponse) error) error { c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + defer c.PageToken(c.urlParams_.Get("pageToken")) for { x, err := c.Do() if err != nil {