From 0bd21d793f75924e5a2d033c58e8aaef89cf8113 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Feb 2021 16:23:00 -0800 Subject: [PATCH] chore(all): auto-regenerate gapics (#3717) This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: https://github.com/googleapis/go-genproto/pull/535 Changes: feat(area120/tables): Added ListWorkspaces, GetWorkspace, BatchDeleteRows APIs. PiperOrigin-RevId: 358406243 Source-Link: https://github.com/googleapis/googleapis/commit/151bfbae10c02f51f07972097b3f72812738dcb9 feat(servicecontrol): Update the ruby_cloud_gapic_library rules for the libraries published to google-cloud-ruby to the form that works with build_gen (separate parameters for ruby_cloud_title and ruby_cloud_description). chore: Update Bazel-Ruby rules version. chore: Update build_gen version. PiperOrigin-RevId: 358357761 Source-Link: https://github.com/googleapis/googleapis/commit/959b0bcea3f542b8d6964c910b11fb847b12a5ad feat(dialogflow): add additional_bindings to Dialogflow v2 ListIntents API docs: update copyrights and session docs PiperOrigin-RevId: 358315519 Source-Link: https://github.com/googleapis/googleapis/commit/54020365f5a790dcff0bbcff5643adea2a199ccb feat(speech): Support Model Adaptation. PiperOrigin-RevId: 358182033 Source-Link: https://github.com/googleapis/googleapis/commit/56c65edc8b946c95fa7ea0e4458412d3a8219c83 fix(errorreporting): Fixes ruby gem build PiperOrigin-RevId: 358152223 Source-Link: https://github.com/googleapis/googleapis/commit/e13001be33d69042a9505e698f792587a804a5cf --- accessapproval/apiv1/doc.go | 2 +- analytics/admin/apiv1alpha/doc.go | 2 +- .../admin/apiv1alpha/gapic_metadata.json | 2 +- analytics/data/apiv1alpha/doc.go | 2 +- analytics/data/apiv1alpha/gapic_metadata.json | 2 +- appengine/apiv1/doc.go | 2 +- appengine/apiv1/gapic_metadata.json | 16 +- area120/tables/apiv1alpha1/doc.go | 3 +- .../tables/apiv1alpha1/gapic_metadata.json | 15 + area120/tables/apiv1alpha1/tables_client.go | 137 ++++++ .../apiv1alpha1/tables_client_example_test.go | 63 +++ artifactregistry/apiv1beta2/doc.go | 2 +- asset/apiv1/doc.go | 2 +- asset/apiv1p2beta1/doc.go | 2 +- asset/apiv1p5beta1/doc.go | 2 +- assuredworkloads/apiv1beta1/doc.go | 2 +- automl/apiv1/doc.go | 2 +- automl/apiv1/gapic_metadata.json | 2 +- automl/apiv1beta1/doc.go | 2 +- automl/apiv1beta1/gapic_metadata.json | 2 +- bigquery/connection/apiv1/doc.go | 2 +- bigquery/connection/apiv1beta1/doc.go | 2 +- bigquery/datatransfer/apiv1/doc.go | 2 +- bigquery/go.mod | 4 +- bigquery/go.sum | 8 +- bigquery/reservation/apiv1/doc.go | 2 +- bigquery/reservation/apiv1beta1/doc.go | 2 +- bigquery/storage/apiv1/doc.go | 2 +- bigquery/storage/apiv1/gapic_metadata.json | 2 +- bigquery/storage/apiv1alpha2/doc.go | 2 +- .../storage/apiv1alpha2/gapic_metadata.json | 2 +- bigquery/storage/apiv1beta1/doc.go | 2 +- .../storage/apiv1beta1/gapic_metadata.json | 2 +- bigquery/storage/apiv1beta2/doc.go | 2 +- .../storage/apiv1beta2/gapic_metadata.json | 4 +- bigtable/go.mod | 4 +- bigtable/go.sum | 8 +- billing/apiv1/doc.go | 2 +- billing/apiv1/gapic_metadata.json | 4 +- billing/budgets/apiv1/doc.go | 2 +- billing/budgets/apiv1/gapic_metadata.json | 2 +- billing/budgets/apiv1beta1/doc.go | 2 +- .../budgets/apiv1beta1/gapic_metadata.json | 2 +- binaryauthorization/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 2 +- channel/apiv1/doc.go | 2 +- channel/apiv1/gapic_metadata.json | 2 +- cloudbuild/apiv1/v2/doc.go | 2 +- cloudtasks/apiv2/doc.go | 2 +- cloudtasks/apiv2beta2/doc.go | 2 +- cloudtasks/apiv2beta3/doc.go | 2 +- container/apiv1/doc.go | 2 +- container/apiv1/gapic_metadata.json | 2 +- containeranalysis/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 2 +- datacatalog/apiv1/doc.go | 2 +- datacatalog/apiv1beta1/doc.go | 2 +- datacatalog/apiv1beta1/gapic_metadata.json | 4 +- datalabeling/apiv1beta1/doc.go | 2 +- dataproc/apiv1/doc.go | 2 +- dataproc/apiv1/gapic_metadata.json | 8 +- dataproc/apiv1beta2/doc.go | 2 +- dataproc/apiv1beta2/gapic_metadata.json | 8 +- dataqna/apiv1alpha/doc.go | 2 +- dataqna/apiv1alpha/gapic_metadata.json | 4 +- datastore/admin/apiv1/doc.go | 2 +- datastore/admin/apiv1/gapic_metadata.json | 2 +- datastore/go.mod | 4 +- datastore/go.sum | 8 +- debugger/apiv2/doc.go | 2 +- debugger/apiv2/gapic_metadata.json | 4 +- dialogflow/apiv2/doc.go | 2 +- dialogflow/apiv2/gapic_metadata.json | 14 +- dialogflow/cx/apiv3beta1/doc.go | 2 +- dialogflow/cx/apiv3beta1/gapic_metadata.json | 28 +- dlp/apiv2/doc.go | 2 +- documentai/apiv1beta3/doc.go | 2 +- documentai/apiv1beta3/gapic_metadata.json | 2 +- domains/apiv1beta1/doc.go | 2 +- errorreporting/apiv1beta1/doc.go | 2 +- errorreporting/apiv1beta1/gapic_metadata.json | 6 +- firestore/apiv1/admin/doc.go | 2 +- firestore/apiv1/admin/gapic_metadata.json | 2 +- firestore/apiv1/doc.go | 2 +- firestore/go.mod | 4 +- firestore/go.sum | 8 +- functions/apiv1/doc.go | 2 +- functions/apiv1/gapic_metadata.json | 2 +- gaming/apiv1/doc.go | 2 +- gaming/apiv1/gapic_metadata.json | 8 +- gaming/apiv1beta/doc.go | 2 +- gaming/apiv1beta/gapic_metadata.json | 8 +- gkehub/apiv1beta1/doc.go | 2 +- gkehub/apiv1beta1/gapic_metadata.json | 2 +- go.mod | 4 +- go.sum | 8 +- iam/credentials/apiv1/doc.go | 2 +- iam/credentials/apiv1/gapic_metadata.json | 2 +- internal/examples/fake/go.mod | 4 +- internal/examples/fake/go.sum | 8 +- internal/examples/mock/go.mod | 4 +- internal/examples/mock/go.sum | 8 +- internal/gapicgen/go.mod | 2 +- internal/gapicgen/go.sum | 4 +- internal/godocfx/go.sum | 8 +- iot/apiv1/doc.go | 2 +- iot/apiv1/gapic_metadata.json | 2 +- kms/apiv1/doc.go | 2 +- kms/apiv1/gapic_metadata.json | 2 +- language/apiv1/doc.go | 2 +- language/apiv1beta2/doc.go | 2 +- logging/apiv2/doc.go | 2 +- logging/apiv2/gapic_metadata.json | 4 +- logging/go.mod | 4 +- logging/go.sum | 8 +- longrunning/autogen/doc.go | 2 +- longrunning/autogen/gapic_metadata.json | 2 +- managedidentities/apiv1/doc.go | 2 +- mediatranslation/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 2 +- memcache/apiv1/doc.go | 2 +- memcache/apiv1/gapic_metadata.json | 2 +- memcache/apiv1beta2/doc.go | 2 +- memcache/apiv1beta2/gapic_metadata.json | 2 +- monitoring/apiv3/v2/doc.go | 2 +- monitoring/apiv3/v2/gapic_metadata.json | 12 +- monitoring/dashboard/apiv1/doc.go | 2 +- .../dashboard/apiv1/gapic_metadata.json | 2 +- networkconnectivity/apiv1alpha1/doc.go | 2 +- .../apiv1alpha1/gapic_metadata.json | 2 +- notebooks/apiv1beta1/doc.go | 2 +- notebooks/apiv1beta1/gapic_metadata.json | 2 +- orgpolicy/apiv2/doc.go | 2 +- osconfig/agentendpoint/apiv1/doc.go | 2 +- osconfig/agentendpoint/apiv1beta/doc.go | 2 +- osconfig/apiv1/doc.go | 2 +- osconfig/apiv1beta/doc.go | 2 +- oslogin/apiv1/doc.go | 2 +- oslogin/apiv1beta/doc.go | 2 +- phishingprotection/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 2 +- policytroubleshooter/apiv1/doc.go | 2 +- .../apiv1/gapic_metadata.json | 2 +- pubsub/apiv1/doc.go | 2 +- pubsub/apiv1/gapic_metadata.json | 6 +- pubsub/go.mod | 4 +- pubsub/go.sum | 8 +- pubsublite/apiv1/doc.go | 2 +- pubsublite/apiv1/gapic_metadata.json | 12 +- pubsublite/go.mod | 4 +- pubsublite/go.sum | 8 +- recaptchaenterprise/apiv1/doc.go | 2 +- recaptchaenterprise/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 2 +- recommendationengine/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 8 +- recommender/apiv1/doc.go | 2 +- recommender/apiv1beta1/doc.go | 2 +- redis/apiv1/doc.go | 2 +- redis/apiv1/gapic_metadata.json | 2 +- redis/apiv1beta1/doc.go | 2 +- redis/apiv1beta1/gapic_metadata.json | 2 +- resourcemanager/apiv2/doc.go | 2 +- resourcemanager/apiv2/gapic_metadata.json | 2 +- retail/apiv2/doc.go | 2 +- retail/apiv2/gapic_metadata.json | 8 +- scheduler/apiv1/doc.go | 2 +- scheduler/apiv1/gapic_metadata.json | 2 +- scheduler/apiv1beta1/doc.go | 2 +- scheduler/apiv1beta1/gapic_metadata.json | 2 +- secretmanager/apiv1/doc.go | 2 +- secretmanager/apiv1beta1/doc.go | 2 +- security/privateca/apiv1beta1/doc.go | 2 +- .../privateca/apiv1beta1/gapic_metadata.json | 2 +- securitycenter/apiv1/doc.go | 2 +- securitycenter/apiv1beta1/doc.go | 2 +- securitycenter/apiv1p1beta1/doc.go | 2 +- securitycenter/settings/apiv1beta1/doc.go | 2 +- .../settings/apiv1beta1/gapic_metadata.json | 2 +- servicecontrol/apiv1/doc.go | 2 +- servicecontrol/apiv1/gapic_metadata.json | 4 +- servicedirectory/apiv1/doc.go | 2 +- servicedirectory/apiv1/gapic_metadata.json | 4 +- servicedirectory/apiv1beta1/doc.go | 2 +- .../apiv1beta1/gapic_metadata.json | 4 +- servicemanagement/apiv1/doc.go | 2 +- servicemanagement/apiv1/gapic_metadata.json | 2 +- spanner/admin/database/apiv1/doc.go | 2 +- .../admin/database/apiv1/gapic_metadata.json | 2 +- spanner/admin/instance/apiv1/doc.go | 2 +- .../admin/instance/apiv1/gapic_metadata.json | 2 +- spanner/apiv1/doc.go | 2 +- spanner/go.mod | 4 +- spanner/go.sum | 8 +- speech/apiv1/doc.go | 2 +- speech/apiv1p1beta1/adaptation_client.go | 460 ++++++++++++++++++ .../adaptation_client_example_test.go | 241 +++++++++ speech/apiv1p1beta1/doc.go | 2 +- speech/apiv1p1beta1/gapic_metadata.json | 59 +++ storage/go.mod | 4 +- storage/go.sum | 8 +- talent/apiv4/doc.go | 2 +- talent/apiv4/gapic_metadata.json | 10 +- talent/apiv4beta1/doc.go | 2 +- talent/apiv4beta1/gapic_metadata.json | 14 +- texttospeech/apiv1/doc.go | 2 +- trace/apiv1/doc.go | 2 +- trace/apiv2/doc.go | 2 +- translate/apiv3/doc.go | 2 +- translate/apiv3/gapic_metadata.json | 2 +- video/transcoder/apiv1beta1/doc.go | 2 +- videointelligence/apiv1/doc.go | 2 +- videointelligence/apiv1beta2/doc.go | 2 +- vision/apiv1/doc.go | 2 +- vision/apiv1/gapic_metadata.json | 4 +- vision/apiv1p1beta1/doc.go | 2 +- vision/apiv1p1beta1/gapic_metadata.json | 2 +- webrisk/apiv1/doc.go | 2 +- webrisk/apiv1beta1/doc.go | 2 +- webrisk/apiv1beta1/gapic_metadata.json | 2 +- websecurityscanner/apiv1/doc.go | 2 +- workflows/apiv1beta/doc.go | 2 +- workflows/executions/apiv1beta/doc.go | 2 +- 223 files changed, 1323 insertions(+), 347 deletions(-) create mode 100644 speech/apiv1p1beta1/adaptation_client.go create mode 100644 speech/apiv1p1beta1/adaptation_client_example_test.go diff --git a/accessapproval/apiv1/doc.go b/accessapproval/apiv1/doc.go index f4f10010c6c2..8ec57351e66d 100644 --- a/accessapproval/apiv1/doc.go +++ b/accessapproval/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/analytics/admin/apiv1alpha/doc.go b/analytics/admin/apiv1alpha/doc.go index 7317c1f4373c..81af00309a7b 100644 --- a/analytics/admin/apiv1alpha/doc.go +++ b/analytics/admin/apiv1alpha/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/analytics/admin/apiv1alpha/gapic_metadata.json b/analytics/admin/apiv1alpha/gapic_metadata.json index 1b8296a070f8..287eacc1bfa4 100644 --- a/analytics/admin/apiv1alpha/gapic_metadata.json +++ b/analytics/admin/apiv1alpha/gapic_metadata.json @@ -8,7 +8,7 @@ "AnalyticsAdminService": { "clients": { "grpc": { - "libraryClient": "AnalyticsAdmin", + "libraryClient": "AnalyticsAdminClient", "rpcs": { "AuditUserLinks": { "methods": [ diff --git a/analytics/data/apiv1alpha/doc.go b/analytics/data/apiv1alpha/doc.go index 74176d474fba..985f18abcea5 100644 --- a/analytics/data/apiv1alpha/doc.go +++ b/analytics/data/apiv1alpha/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/analytics/data/apiv1alpha/gapic_metadata.json b/analytics/data/apiv1alpha/gapic_metadata.json index 6e940c0f270e..88df4f94f55f 100644 --- a/analytics/data/apiv1alpha/gapic_metadata.json +++ b/analytics/data/apiv1alpha/gapic_metadata.json @@ -8,7 +8,7 @@ "AlphaAnalyticsData": { "clients": { "grpc": { - "libraryClient": "AlphaAnalyticsData", + "libraryClient": "AlphaAnalyticsDataClient", "rpcs": { "BatchRunPivotReports": { "methods": [ diff --git a/appengine/apiv1/doc.go b/appengine/apiv1/doc.go index 2379645c84bb..7a0575936f83 100644 --- a/appengine/apiv1/doc.go +++ b/appengine/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/appengine/apiv1/gapic_metadata.json b/appengine/apiv1/gapic_metadata.json index 924e5223559f..c8dde65ebcc2 100644 --- a/appengine/apiv1/gapic_metadata.json +++ b/appengine/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "Applications": { "clients": { "grpc": { - "libraryClient": "Applications", + "libraryClient": "ApplicationsClient", "rpcs": { "CreateApplication": { "methods": [ @@ -37,7 +37,7 @@ "AuthorizedCertificates": { "clients": { "grpc": { - "libraryClient": "AuthorizedCertificates", + "libraryClient": "AuthorizedCertificatesClient", "rpcs": { "CreateAuthorizedCertificate": { "methods": [ @@ -71,7 +71,7 @@ "AuthorizedDomains": { "clients": { "grpc": { - "libraryClient": "AuthorizedDomains", + "libraryClient": "AuthorizedDomainsClient", "rpcs": { "ListAuthorizedDomains": { "methods": [ @@ -85,7 +85,7 @@ "DomainMappings": { "clients": { "grpc": { - "libraryClient": "DomainMappings", + "libraryClient": "DomainMappingsClient", "rpcs": { "CreateDomainMapping": { "methods": [ @@ -119,7 +119,7 @@ "Firewall": { "clients": { "grpc": { - "libraryClient": "Firewall", + "libraryClient": "FirewallClient", "rpcs": { "BatchUpdateIngressRules": { "methods": [ @@ -158,7 +158,7 @@ "Instances": { "clients": { "grpc": { - "libraryClient": "Instances", + "libraryClient": "InstancesClient", "rpcs": { "DebugInstance": { "methods": [ @@ -187,7 +187,7 @@ "Services": { "clients": { "grpc": { - "libraryClient": "Services", + "libraryClient": "ServicesClient", "rpcs": { "DeleteService": { "methods": [ @@ -216,7 +216,7 @@ "Versions": { "clients": { "grpc": { - "libraryClient": "Versions", + "libraryClient": "VersionsClient", "rpcs": { "CreateVersion": { "methods": [ diff --git a/area120/tables/apiv1alpha1/doc.go b/area120/tables/apiv1alpha1/doc.go index 9152c1117a1c..431f32de3842 100644 --- a/area120/tables/apiv1alpha1/doc.go +++ b/area120/tables/apiv1alpha1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) @@ -75,6 +75,7 @@ func DefaultAuthScopes() []string { "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/spreadsheets.readonly", + "https://www.googleapis.com/auth/tables", } } diff --git a/area120/tables/apiv1alpha1/gapic_metadata.json b/area120/tables/apiv1alpha1/gapic_metadata.json index 643898b54f0d..5e6200fc68e3 100644 --- a/area120/tables/apiv1alpha1/gapic_metadata.json +++ b/area120/tables/apiv1alpha1/gapic_metadata.json @@ -15,6 +15,11 @@ "BatchCreateRows" ] }, + "BatchDeleteRows": { + "methods": [ + "BatchDeleteRows" + ] + }, "BatchUpdateRows": { "methods": [ "BatchUpdateRows" @@ -40,6 +45,11 @@ "GetTable" ] }, + "GetWorkspace": { + "methods": [ + "GetWorkspace" + ] + }, "ListRows": { "methods": [ "ListRows" @@ -50,6 +60,11 @@ "ListTables" ] }, + "ListWorkspaces": { + "methods": [ + "ListWorkspaces" + ] + }, "UpdateRow": { "methods": [ "UpdateRow" diff --git a/area120/tables/apiv1alpha1/tables_client.go b/area120/tables/apiv1alpha1/tables_client.go index 8405d154e32d..629aa6bc01b1 100644 --- a/area120/tables/apiv1alpha1/tables_client.go +++ b/area120/tables/apiv1alpha1/tables_client.go @@ -40,6 +40,8 @@ var newClientHook clientHook type CallOptions struct { GetTable []gax.CallOption ListTables []gax.CallOption + GetWorkspace []gax.CallOption + ListWorkspaces []gax.CallOption GetRow []gax.CallOption ListRows []gax.CallOption CreateRow []gax.CallOption @@ -47,6 +49,7 @@ type CallOptions struct { UpdateRow []gax.CallOption BatchUpdateRows []gax.CallOption DeleteRow []gax.CallOption + BatchDeleteRows []gax.CallOption } func defaultClientOptions() []option.ClientOption { @@ -65,6 +68,8 @@ func defaultCallOptions() *CallOptions { return &CallOptions{ GetTable: []gax.CallOption{}, ListTables: []gax.CallOption{}, + GetWorkspace: []gax.CallOption{}, + ListWorkspaces: []gax.CallOption{}, GetRow: []gax.CallOption{}, ListRows: []gax.CallOption{}, CreateRow: []gax.CallOption{}, @@ -72,6 +77,7 @@ func defaultCallOptions() *CallOptions { UpdateRow: []gax.CallOption{}, BatchUpdateRows: []gax.CallOption{}, DeleteRow: []gax.CallOption{}, + BatchDeleteRows: []gax.CallOption{}, } } @@ -105,6 +111,10 @@ type Client struct { // // Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] // resources, named tables/*/rows/* +// +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultClientOptions() @@ -221,6 +231,68 @@ func (c *Client) ListTables(ctx context.Context, req *tablespb.ListTablesRequest return it } +// GetWorkspace gets a workspace. Returns NOT_FOUND if the workspace does not exist. +func (c *Client) GetWorkspace(ctx context.Context, req *tablespb.GetWorkspaceRequest, opts ...gax.CallOption) (*tablespb.Workspace, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.GetWorkspace[0:len(c.CallOptions.GetWorkspace):len(c.CallOptions.GetWorkspace)], opts...) + var resp *tablespb.Workspace + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.client.GetWorkspace(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// ListWorkspaces lists workspaces for the user. +func (c *Client) ListWorkspaces(ctx context.Context, req *tablespb.ListWorkspacesRequest, opts ...gax.CallOption) *WorkspaceIterator { + ctx = insertMetadata(ctx, c.xGoogMetadata) + opts = append(c.CallOptions.ListWorkspaces[0:len(c.CallOptions.ListWorkspaces):len(c.CallOptions.ListWorkspaces)], opts...) + it := &WorkspaceIterator{} + req = proto.Clone(req).(*tablespb.ListWorkspacesRequest) + it.InternalFetch = func(pageSize int, pageToken string) ([]*tablespb.Workspace, string, error) { + var resp *tablespb.ListWorkspacesResponse + req.PageToken = pageToken + if pageSize > math.MaxInt32 { + req.PageSize = math.MaxInt32 + } else { + req.PageSize = int32(pageSize) + } + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.client.ListWorkspaces(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, "", err + } + + it.Response = resp + return resp.GetWorkspaces(), resp.GetNextPageToken(), nil + } + fetch := func(pageSize int, pageToken string) (string, error) { + items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) + if err != nil { + return "", err + } + it.items = append(it.items, items...) + return nextPageToken, nil + } + it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() + return it +} + // GetRow gets a row. Returns NOT_FOUND if the row does not exist in the table. func (c *Client) GetRow(ctx context.Context, req *tablespb.GetRowRequest, opts ...gax.CallOption) (*tablespb.Row, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { @@ -390,6 +462,24 @@ func (c *Client) DeleteRow(ctx context.Context, req *tablespb.DeleteRowRequest, return err } +// BatchDeleteRows deletes multiple rows. +func (c *Client) BatchDeleteRows(ctx context.Context, req *tablespb.BatchDeleteRowsRequest, opts ...gax.CallOption) error { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.BatchDeleteRows[0:len(c.CallOptions.BatchDeleteRows):len(c.CallOptions.BatchDeleteRows)], opts...) + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + _, err = c.client.BatchDeleteRows(ctx, req, settings.GRPC...) + return err + }, opts...) + return err +} + // RowIterator manages a stream of *tablespb.Row. type RowIterator struct { items []*tablespb.Row @@ -483,3 +573,50 @@ func (it *TableIterator) takeBuf() interface{} { it.items = nil return b } + +// WorkspaceIterator manages a stream of *tablespb.Workspace. +type WorkspaceIterator struct { + items []*tablespb.Workspace + pageInfo *iterator.PageInfo + nextFunc func() error + + // Response is the raw response for the current page. + // It must be cast to the RPC response type. + // Calling Next() or InternalFetch() updates this value. + Response interface{} + + // InternalFetch is for use by the Google Cloud Libraries only. + // It is not part of the stable interface of this package. + // + // InternalFetch returns results from a single call to the underlying RPC. + // The number of results is no greater than pageSize. + // If there are no more results, nextPageToken is empty and err is nil. + InternalFetch func(pageSize int, pageToken string) (results []*tablespb.Workspace, nextPageToken string, err error) +} + +// PageInfo supports pagination. See the google.golang.org/api/iterator package for details. +func (it *WorkspaceIterator) PageInfo() *iterator.PageInfo { + return it.pageInfo +} + +// Next returns the next result. Its second return value is iterator.Done if there are no more +// results. Once Next returns Done, all subsequent calls will return Done. +func (it *WorkspaceIterator) Next() (*tablespb.Workspace, error) { + var item *tablespb.Workspace + if err := it.nextFunc(); err != nil { + return item, err + } + item = it.items[0] + it.items = it.items[1:] + return item, nil +} + +func (it *WorkspaceIterator) bufLen() int { + return len(it.items) +} + +func (it *WorkspaceIterator) takeBuf() interface{} { + b := it.items + it.items = nil + return b +} diff --git a/area120/tables/apiv1alpha1/tables_client_example_test.go b/area120/tables/apiv1alpha1/tables_client_example_test.go index 0168f60552b0..3f6762c85819 100644 --- a/area120/tables/apiv1alpha1/tables_client_example_test.go +++ b/area120/tables/apiv1alpha1/tables_client_example_test.go @@ -81,6 +81,53 @@ func ExampleClient_ListTables() { } } +func ExampleClient_GetWorkspace() { + // import tablespb "google.golang.org/genproto/googleapis/area120/tables/v1alpha1" + + ctx := context.Background() + c, err := tables.NewClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &tablespb.GetWorkspaceRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.GetWorkspace(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleClient_ListWorkspaces() { + // import tablespb "google.golang.org/genproto/googleapis/area120/tables/v1alpha1" + // import "google.golang.org/api/iterator" + + ctx := context.Background() + c, err := tables.NewClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &tablespb.ListWorkspacesRequest{ + // TODO: Fill request struct fields. + } + it := c.ListWorkspaces(ctx, req) + for { + resp, err := it.Next() + if err == iterator.Done { + break + } + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp + } +} + func ExampleClient_GetRow() { // import tablespb "google.golang.org/genproto/googleapis/area120/tables/v1alpha1" @@ -223,3 +270,19 @@ func ExampleClient_DeleteRow() { // TODO: Handle error. } } + +func ExampleClient_BatchDeleteRows() { + ctx := context.Background() + c, err := tables.NewClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &tablespb.BatchDeleteRowsRequest{ + // TODO: Fill request struct fields. + } + err = c.BatchDeleteRows(ctx, req) + if err != nil { + // TODO: Handle error. + } +} diff --git a/artifactregistry/apiv1beta2/doc.go b/artifactregistry/apiv1beta2/doc.go index e7745df7784f..8faa517a8003 100644 --- a/artifactregistry/apiv1beta2/doc.go +++ b/artifactregistry/apiv1beta2/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/asset/apiv1/doc.go b/asset/apiv1/doc.go index 87b913a521da..2c60df6caa2c 100644 --- a/asset/apiv1/doc.go +++ b/asset/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/asset/apiv1p2beta1/doc.go b/asset/apiv1p2beta1/doc.go index 2261b3031b54..49e3fa9fc9c4 100644 --- a/asset/apiv1p2beta1/doc.go +++ b/asset/apiv1p2beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/asset/apiv1p5beta1/doc.go b/asset/apiv1p5beta1/doc.go index 8e78ea5e819b..1b1ff6f60520 100644 --- a/asset/apiv1p5beta1/doc.go +++ b/asset/apiv1p5beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/assuredworkloads/apiv1beta1/doc.go b/assuredworkloads/apiv1beta1/doc.go index 095641553487..3b34e79202aa 100644 --- a/assuredworkloads/apiv1beta1/doc.go +++ b/assuredworkloads/apiv1beta1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/automl/apiv1/doc.go b/automl/apiv1/doc.go index 10e53e1663bf..5e1eb595227b 100644 --- a/automl/apiv1/doc.go +++ b/automl/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/automl/apiv1/gapic_metadata.json b/automl/apiv1/gapic_metadata.json index c0e63ce8ee0c..e31b1eb209b6 100644 --- a/automl/apiv1/gapic_metadata.json +++ b/automl/apiv1/gapic_metadata.json @@ -107,7 +107,7 @@ "PredictionService": { "clients": { "grpc": { - "libraryClient": "Prediction", + "libraryClient": "PredictionClient", "rpcs": { "BatchPredict": { "methods": [ diff --git a/automl/apiv1beta1/doc.go b/automl/apiv1beta1/doc.go index 9897d94de50a..c9c4586d8bc2 100644 --- a/automl/apiv1beta1/doc.go +++ b/automl/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/automl/apiv1beta1/gapic_metadata.json b/automl/apiv1beta1/gapic_metadata.json index 51614257bb21..d7f1ce28366e 100644 --- a/automl/apiv1beta1/gapic_metadata.json +++ b/automl/apiv1beta1/gapic_metadata.json @@ -137,7 +137,7 @@ "PredictionService": { "clients": { "grpc": { - "libraryClient": "Prediction", + "libraryClient": "PredictionClient", "rpcs": { "BatchPredict": { "methods": [ diff --git a/bigquery/connection/apiv1/doc.go b/bigquery/connection/apiv1/doc.go index 63e2bd865ac4..6a576f85b41a 100644 --- a/bigquery/connection/apiv1/doc.go +++ b/bigquery/connection/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/connection/apiv1beta1/doc.go b/bigquery/connection/apiv1beta1/doc.go index 6350a64392ca..0154a76ecaa9 100644 --- a/bigquery/connection/apiv1beta1/doc.go +++ b/bigquery/connection/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/datatransfer/apiv1/doc.go b/bigquery/datatransfer/apiv1/doc.go index ca70a04d4210..46f3145f9f5a 100644 --- a/bigquery/datatransfer/apiv1/doc.go +++ b/bigquery/datatransfer/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/go.mod b/bigquery/go.mod index 5e8308ce2631..b50bf28496be 100644 --- a/bigquery/go.mod +++ b/bigquery/go.mod @@ -10,9 +10,9 @@ require ( github.com/googleapis/gax-go/v2 v2.0.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 ) diff --git a/bigquery/go.sum b/bigquery/go.sum index 68f4ee7a50fc..8ba8a2171692 100644 --- a/bigquery/go.sum +++ b/bigquery/go.sum @@ -366,8 +366,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -540,8 +540,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/bigquery/reservation/apiv1/doc.go b/bigquery/reservation/apiv1/doc.go index 00169697f47e..7ddd0ff5d79a 100644 --- a/bigquery/reservation/apiv1/doc.go +++ b/bigquery/reservation/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/reservation/apiv1beta1/doc.go b/bigquery/reservation/apiv1beta1/doc.go index 4afd523df66e..e283035fa494 100644 --- a/bigquery/reservation/apiv1beta1/doc.go +++ b/bigquery/reservation/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/storage/apiv1/doc.go b/bigquery/storage/apiv1/doc.go index f8e23343ac25..06066ff32ba4 100644 --- a/bigquery/storage/apiv1/doc.go +++ b/bigquery/storage/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/storage/apiv1/gapic_metadata.json b/bigquery/storage/apiv1/gapic_metadata.json index 3a6ac90540f7..2c9099af3682 100644 --- a/bigquery/storage/apiv1/gapic_metadata.json +++ b/bigquery/storage/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "BigQueryRead": { "clients": { "grpc": { - "libraryClient": "BigQueryRead", + "libraryClient": "BigQueryReadClient", "rpcs": { "CreateReadSession": { "methods": [ diff --git a/bigquery/storage/apiv1alpha2/doc.go b/bigquery/storage/apiv1alpha2/doc.go index ce02c1f0bc7a..76ab0992f430 100644 --- a/bigquery/storage/apiv1alpha2/doc.go +++ b/bigquery/storage/apiv1alpha2/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/storage/apiv1alpha2/gapic_metadata.json b/bigquery/storage/apiv1alpha2/gapic_metadata.json index ce1db3d1fd64..516255151114 100644 --- a/bigquery/storage/apiv1alpha2/gapic_metadata.json +++ b/bigquery/storage/apiv1alpha2/gapic_metadata.json @@ -8,7 +8,7 @@ "BigQueryWrite": { "clients": { "grpc": { - "libraryClient": "BigQueryWrite", + "libraryClient": "BigQueryWriteClient", "rpcs": { "AppendRows": { "methods": [ diff --git a/bigquery/storage/apiv1beta1/doc.go b/bigquery/storage/apiv1beta1/doc.go index a594bd19038b..944dde86c670 100644 --- a/bigquery/storage/apiv1beta1/doc.go +++ b/bigquery/storage/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/storage/apiv1beta1/gapic_metadata.json b/bigquery/storage/apiv1beta1/gapic_metadata.json index 4fd5df7d7c89..95235bc516a5 100644 --- a/bigquery/storage/apiv1beta1/gapic_metadata.json +++ b/bigquery/storage/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "BigQueryStorage": { "clients": { "grpc": { - "libraryClient": "BigQueryStorage", + "libraryClient": "BigQueryStorageClient", "rpcs": { "BatchCreateReadSessionStreams": { "methods": [ diff --git a/bigquery/storage/apiv1beta2/doc.go b/bigquery/storage/apiv1beta2/doc.go index 628422b36548..1223f6ddfc62 100644 --- a/bigquery/storage/apiv1beta2/doc.go +++ b/bigquery/storage/apiv1beta2/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/bigquery/storage/apiv1beta2/gapic_metadata.json b/bigquery/storage/apiv1beta2/gapic_metadata.json index de3f41f6fb9a..13e265e06a73 100644 --- a/bigquery/storage/apiv1beta2/gapic_metadata.json +++ b/bigquery/storage/apiv1beta2/gapic_metadata.json @@ -8,7 +8,7 @@ "BigQueryRead": { "clients": { "grpc": { - "libraryClient": "BigQueryRead", + "libraryClient": "BigQueryReadClient", "rpcs": { "CreateReadSession": { "methods": [ @@ -32,7 +32,7 @@ "BigQueryWrite": { "clients": { "grpc": { - "libraryClient": "BigQueryWrite", + "libraryClient": "BigQueryWriteClient", "rpcs": { "AppendRows": { "methods": [ diff --git a/bigtable/go.mod b/bigtable/go.mod index 96b8ef171ddc..25f877c29be0 100644 --- a/bigtable/go.mod +++ b/bigtable/go.mod @@ -10,10 +10,10 @@ require ( github.com/googleapis/gax-go/v2 v2.0.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 google.golang.org/protobuf v1.25.0 rsc.io/binaryregexp v0.2.0 diff --git a/bigtable/go.sum b/bigtable/go.sum index 52ccc4972e08..35cfd8ee8a83 100644 --- a/bigtable/go.sum +++ b/bigtable/go.sum @@ -373,8 +373,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -552,8 +552,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/billing/apiv1/doc.go b/billing/apiv1/doc.go index 0b8f15989113..d226d266aba3 100644 --- a/billing/apiv1/doc.go +++ b/billing/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/billing/apiv1/gapic_metadata.json b/billing/apiv1/gapic_metadata.json index 48cbcd7c4a40..b5571d8762f5 100644 --- a/billing/apiv1/gapic_metadata.json +++ b/billing/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudBilling": { "clients": { "grpc": { - "libraryClient": "CloudBilling", + "libraryClient": "CloudBillingClient", "rpcs": { "CreateBillingAccount": { "methods": [ @@ -67,7 +67,7 @@ "CloudCatalog": { "clients": { "grpc": { - "libraryClient": "CloudCatalog", + "libraryClient": "CloudCatalogClient", "rpcs": { "ListServices": { "methods": [ diff --git a/billing/budgets/apiv1/doc.go b/billing/budgets/apiv1/doc.go index 213341778522..c29d43e34438 100644 --- a/billing/budgets/apiv1/doc.go +++ b/billing/budgets/apiv1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/billing/budgets/apiv1/gapic_metadata.json b/billing/budgets/apiv1/gapic_metadata.json index 98405d13534f..71de553dd86c 100644 --- a/billing/budgets/apiv1/gapic_metadata.json +++ b/billing/budgets/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "BudgetService": { "clients": { "grpc": { - "libraryClient": "Budget", + "libraryClient": "BudgetClient", "rpcs": { "CreateBudget": { "methods": [ diff --git a/billing/budgets/apiv1beta1/doc.go b/billing/budgets/apiv1beta1/doc.go index a6ff5329fbde..f2f5f28e3430 100644 --- a/billing/budgets/apiv1beta1/doc.go +++ b/billing/budgets/apiv1beta1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/billing/budgets/apiv1beta1/gapic_metadata.json b/billing/budgets/apiv1beta1/gapic_metadata.json index e8d9d322bbf0..912efba0ed83 100644 --- a/billing/budgets/apiv1beta1/gapic_metadata.json +++ b/billing/budgets/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "BudgetService": { "clients": { "grpc": { - "libraryClient": "Budget", + "libraryClient": "BudgetClient", "rpcs": { "CreateBudget": { "methods": [ diff --git a/binaryauthorization/apiv1beta1/doc.go b/binaryauthorization/apiv1beta1/doc.go index d6a39bdbdaf2..2d990408b964 100644 --- a/binaryauthorization/apiv1beta1/doc.go +++ b/binaryauthorization/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/binaryauthorization/apiv1beta1/gapic_metadata.json b/binaryauthorization/apiv1beta1/gapic_metadata.json index 8248bc08acc4..fb591a2cbb15 100644 --- a/binaryauthorization/apiv1beta1/gapic_metadata.json +++ b/binaryauthorization/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "BinauthzManagementServiceV1Beta1": { "clients": { "grpc": { - "libraryClient": "BinauthzManagementServiceV1Beta1", + "libraryClient": "BinauthzManagementServiceV1Beta1Client", "rpcs": { "CreateAttestor": { "methods": [ diff --git a/channel/apiv1/doc.go b/channel/apiv1/doc.go index 9da376069acc..7dbbb672ae09 100644 --- a/channel/apiv1/doc.go +++ b/channel/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/channel/apiv1/gapic_metadata.json b/channel/apiv1/gapic_metadata.json index 9c5e70f6012e..dd9624511090 100644 --- a/channel/apiv1/gapic_metadata.json +++ b/channel/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudChannelService": { "clients": { "grpc": { - "libraryClient": "CloudChannel", + "libraryClient": "CloudChannelClient", "rpcs": { "ActivateEntitlement": { "methods": [ diff --git a/cloudbuild/apiv1/v2/doc.go b/cloudbuild/apiv1/v2/doc.go index 950eee6418c3..b6ce17b1a7e9 100644 --- a/cloudbuild/apiv1/v2/doc.go +++ b/cloudbuild/apiv1/v2/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/cloudtasks/apiv2/doc.go b/cloudtasks/apiv2/doc.go index 101e5d60cdab..c9a3a06d302c 100644 --- a/cloudtasks/apiv2/doc.go +++ b/cloudtasks/apiv2/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/cloudtasks/apiv2beta2/doc.go b/cloudtasks/apiv2beta2/doc.go index a6d0a97131f2..1b4843f506a3 100644 --- a/cloudtasks/apiv2beta2/doc.go +++ b/cloudtasks/apiv2beta2/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/cloudtasks/apiv2beta3/doc.go b/cloudtasks/apiv2beta3/doc.go index 4c3890e89c68..514d11f9a6b5 100644 --- a/cloudtasks/apiv2beta3/doc.go +++ b/cloudtasks/apiv2beta3/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/container/apiv1/doc.go b/container/apiv1/doc.go index 622153c28456..5d001f6f6dca 100644 --- a/container/apiv1/doc.go +++ b/container/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/container/apiv1/gapic_metadata.json b/container/apiv1/gapic_metadata.json index 1ee69cfb5fdc..7cdf466eea3b 100644 --- a/container/apiv1/gapic_metadata.json +++ b/container/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "ClusterManager": { "clients": { "grpc": { - "libraryClient": "ClusterManager", + "libraryClient": "ClusterManagerClient", "rpcs": { "CancelOperation": { "methods": [ diff --git a/containeranalysis/apiv1beta1/doc.go b/containeranalysis/apiv1beta1/doc.go index 7eaea2baf007..1b8945ea84de 100644 --- a/containeranalysis/apiv1beta1/doc.go +++ b/containeranalysis/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/containeranalysis/apiv1beta1/gapic_metadata.json b/containeranalysis/apiv1beta1/gapic_metadata.json index 56837139f975..a6ea786a1c56 100644 --- a/containeranalysis/apiv1beta1/gapic_metadata.json +++ b/containeranalysis/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "GrafeasV1Beta1": { "clients": { "grpc": { - "libraryClient": "GrafeasV1Beta1", + "libraryClient": "GrafeasV1Beta1Client", "rpcs": { "BatchCreateNotes": { "methods": [ diff --git a/datacatalog/apiv1/doc.go b/datacatalog/apiv1/doc.go index 9bf4e4700779..f42fcbb88bc5 100644 --- a/datacatalog/apiv1/doc.go +++ b/datacatalog/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/datacatalog/apiv1beta1/doc.go b/datacatalog/apiv1beta1/doc.go index 33a050c90a75..60b1f5a5c60c 100644 --- a/datacatalog/apiv1beta1/doc.go +++ b/datacatalog/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/datacatalog/apiv1beta1/gapic_metadata.json b/datacatalog/apiv1beta1/gapic_metadata.json index ce503d29e56f..7d06dd470a03 100644 --- a/datacatalog/apiv1beta1/gapic_metadata.json +++ b/datacatalog/apiv1beta1/gapic_metadata.json @@ -152,7 +152,7 @@ "PolicyTagManager": { "clients": { "grpc": { - "libraryClient": "PolicyTagManager", + "libraryClient": "PolicyTagManagerClient", "rpcs": { "CreatePolicyTag": { "methods": [ @@ -226,7 +226,7 @@ "PolicyTagManagerSerialization": { "clients": { "grpc": { - "libraryClient": "PolicyTagManagerSerialization", + "libraryClient": "PolicyTagManagerSerializationClient", "rpcs": { "ExportTaxonomies": { "methods": [ diff --git a/datalabeling/apiv1beta1/doc.go b/datalabeling/apiv1beta1/doc.go index fbf9f932002b..de0d591fe1e1 100644 --- a/datalabeling/apiv1beta1/doc.go +++ b/datalabeling/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dataproc/apiv1/doc.go b/dataproc/apiv1/doc.go index 555cac3863ef..bfe9ddbb1f55 100644 --- a/dataproc/apiv1/doc.go +++ b/dataproc/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dataproc/apiv1/gapic_metadata.json b/dataproc/apiv1/gapic_metadata.json index 2b822b9984f8..5d0de83acf70 100644 --- a/dataproc/apiv1/gapic_metadata.json +++ b/dataproc/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "AutoscalingPolicyService": { "clients": { "grpc": { - "libraryClient": "AutoscalingPolicy", + "libraryClient": "AutoscalingPolicyClient", "rpcs": { "CreateAutoscalingPolicy": { "methods": [ @@ -42,7 +42,7 @@ "ClusterController": { "clients": { "grpc": { - "libraryClient": "ClusterController", + "libraryClient": "ClusterControllerClient", "rpcs": { "CreateCluster": { "methods": [ @@ -81,7 +81,7 @@ "JobController": { "clients": { "grpc": { - "libraryClient": "JobController", + "libraryClient": "JobControllerClient", "rpcs": { "CancelJob": { "methods": [ @@ -125,7 +125,7 @@ "WorkflowTemplateService": { "clients": { "grpc": { - "libraryClient": "WorkflowTemplate", + "libraryClient": "WorkflowTemplateClient", "rpcs": { "CreateWorkflowTemplate": { "methods": [ diff --git a/dataproc/apiv1beta2/doc.go b/dataproc/apiv1beta2/doc.go index 90edc675bfa6..4d1af7535623 100644 --- a/dataproc/apiv1beta2/doc.go +++ b/dataproc/apiv1beta2/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dataproc/apiv1beta2/gapic_metadata.json b/dataproc/apiv1beta2/gapic_metadata.json index 16fc863c5dc7..2669636f437b 100644 --- a/dataproc/apiv1beta2/gapic_metadata.json +++ b/dataproc/apiv1beta2/gapic_metadata.json @@ -8,7 +8,7 @@ "AutoscalingPolicyService": { "clients": { "grpc": { - "libraryClient": "AutoscalingPolicy", + "libraryClient": "AutoscalingPolicyClient", "rpcs": { "CreateAutoscalingPolicy": { "methods": [ @@ -42,7 +42,7 @@ "ClusterController": { "clients": { "grpc": { - "libraryClient": "ClusterController", + "libraryClient": "ClusterControllerClient", "rpcs": { "CreateCluster": { "methods": [ @@ -81,7 +81,7 @@ "JobController": { "clients": { "grpc": { - "libraryClient": "JobController", + "libraryClient": "JobControllerClient", "rpcs": { "CancelJob": { "methods": [ @@ -125,7 +125,7 @@ "WorkflowTemplateService": { "clients": { "grpc": { - "libraryClient": "WorkflowTemplate", + "libraryClient": "WorkflowTemplateClient", "rpcs": { "CreateWorkflowTemplate": { "methods": [ diff --git a/dataqna/apiv1alpha/doc.go b/dataqna/apiv1alpha/doc.go index e4a7b0f9482a..1421062825b8 100644 --- a/dataqna/apiv1alpha/doc.go +++ b/dataqna/apiv1alpha/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dataqna/apiv1alpha/gapic_metadata.json b/dataqna/apiv1alpha/gapic_metadata.json index cc957080bf15..5ed6988e3fa2 100644 --- a/dataqna/apiv1alpha/gapic_metadata.json +++ b/dataqna/apiv1alpha/gapic_metadata.json @@ -8,7 +8,7 @@ "AutoSuggestionService": { "clients": { "grpc": { - "libraryClient": "AutoSuggestion", + "libraryClient": "AutoSuggestionClient", "rpcs": { "SuggestQueries": { "methods": [ @@ -22,7 +22,7 @@ "QuestionService": { "clients": { "grpc": { - "libraryClient": "Question", + "libraryClient": "QuestionClient", "rpcs": { "CreateQuestion": { "methods": [ diff --git a/datastore/admin/apiv1/doc.go b/datastore/admin/apiv1/doc.go index fa5c93ddd862..38246a2b4cd8 100644 --- a/datastore/admin/apiv1/doc.go +++ b/datastore/admin/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/datastore/admin/apiv1/gapic_metadata.json b/datastore/admin/apiv1/gapic_metadata.json index 4f0e6ccc6d2b..981a91a27fc4 100644 --- a/datastore/admin/apiv1/gapic_metadata.json +++ b/datastore/admin/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "DatastoreAdmin": { "clients": { "grpc": { - "libraryClient": "DatastoreAdmin", + "libraryClient": "DatastoreAdminClient", "rpcs": { "ExportEntities": { "methods": [ diff --git a/datastore/go.mod b/datastore/go.mod index dec35a037783..b4c03c312f25 100644 --- a/datastore/go.mod +++ b/datastore/go.mod @@ -9,10 +9,10 @@ require ( github.com/googleapis/gax-go/v2 v2.0.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 google.golang.org/protobuf v1.25.0 ) diff --git a/datastore/go.sum b/datastore/go.sum index 0ce7512237b6..aedf7eb6d4ef 100644 --- a/datastore/go.sum +++ b/datastore/go.sum @@ -368,8 +368,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -546,8 +546,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/debugger/apiv2/doc.go b/debugger/apiv2/doc.go index 365188372948..a329deab6aa4 100644 --- a/debugger/apiv2/doc.go +++ b/debugger/apiv2/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/debugger/apiv2/gapic_metadata.json b/debugger/apiv2/gapic_metadata.json index d771a9428215..e0790b9e7f7a 100644 --- a/debugger/apiv2/gapic_metadata.json +++ b/debugger/apiv2/gapic_metadata.json @@ -8,7 +8,7 @@ "Controller2": { "clients": { "grpc": { - "libraryClient": "Controller2", + "libraryClient": "Controller2Client", "rpcs": { "ListActiveBreakpoints": { "methods": [ @@ -32,7 +32,7 @@ "Debugger2": { "clients": { "grpc": { - "libraryClient": "Debugger2", + "libraryClient": "Debugger2Client", "rpcs": { "DeleteBreakpoint": { "methods": [ diff --git a/dialogflow/apiv2/doc.go b/dialogflow/apiv2/doc.go index 24ffc675c390..ec34503ada28 100644 --- a/dialogflow/apiv2/doc.go +++ b/dialogflow/apiv2/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dialogflow/apiv2/gapic_metadata.json b/dialogflow/apiv2/gapic_metadata.json index 586408e260dd..3359b6dcc6d1 100644 --- a/dialogflow/apiv2/gapic_metadata.json +++ b/dialogflow/apiv2/gapic_metadata.json @@ -8,7 +8,7 @@ "Agents": { "clients": { "grpc": { - "libraryClient": "Agents", + "libraryClient": "AgentsClient", "rpcs": { "DeleteAgent": { "methods": [ @@ -62,7 +62,7 @@ "Contexts": { "clients": { "grpc": { - "libraryClient": "Contexts", + "libraryClient": "ContextsClient", "rpcs": { "CreateContext": { "methods": [ @@ -101,7 +101,7 @@ "EntityTypes": { "clients": { "grpc": { - "libraryClient": "EntityTypes", + "libraryClient": "EntityTypesClient", "rpcs": { "BatchCreateEntities": { "methods": [ @@ -160,7 +160,7 @@ "Environments": { "clients": { "grpc": { - "libraryClient": "Environments", + "libraryClient": "EnvironmentsClient", "rpcs": { "ListEnvironments": { "methods": [ @@ -174,7 +174,7 @@ "Intents": { "clients": { "grpc": { - "libraryClient": "Intents", + "libraryClient": "IntentsClient", "rpcs": { "BatchDeleteIntents": { "methods": [ @@ -218,7 +218,7 @@ "SessionEntityTypes": { "clients": { "grpc": { - "libraryClient": "SessionEntityTypes", + "libraryClient": "SessionEntityTypesClient", "rpcs": { "CreateSessionEntityType": { "methods": [ @@ -252,7 +252,7 @@ "Sessions": { "clients": { "grpc": { - "libraryClient": "Sessions", + "libraryClient": "SessionsClient", "rpcs": { "DetectIntent": { "methods": [ diff --git a/dialogflow/cx/apiv3beta1/doc.go b/dialogflow/cx/apiv3beta1/doc.go index 4317a10b32c4..edbba904b766 100644 --- a/dialogflow/cx/apiv3beta1/doc.go +++ b/dialogflow/cx/apiv3beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dialogflow/cx/apiv3beta1/gapic_metadata.json b/dialogflow/cx/apiv3beta1/gapic_metadata.json index 418501f2771a..920828fed022 100644 --- a/dialogflow/cx/apiv3beta1/gapic_metadata.json +++ b/dialogflow/cx/apiv3beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "Agents": { "clients": { "grpc": { - "libraryClient": "Agents", + "libraryClient": "AgentsClient", "rpcs": { "CreateAgent": { "methods": [ @@ -62,7 +62,7 @@ "EntityTypes": { "clients": { "grpc": { - "libraryClient": "EntityTypes", + "libraryClient": "EntityTypesClient", "rpcs": { "CreateEntityType": { "methods": [ @@ -96,7 +96,7 @@ "Environments": { "clients": { "grpc": { - "libraryClient": "Environments", + "libraryClient": "EnvironmentsClient", "rpcs": { "CreateEnvironment": { "methods": [ @@ -135,7 +135,7 @@ "Experiments": { "clients": { "grpc": { - "libraryClient": "Experiments", + "libraryClient": "ExperimentsClient", "rpcs": { "CreateExperiment": { "methods": [ @@ -179,7 +179,7 @@ "Flows": { "clients": { "grpc": { - "libraryClient": "Flows", + "libraryClient": "FlowsClient", "rpcs": { "CreateFlow": { "methods": [ @@ -228,7 +228,7 @@ "Intents": { "clients": { "grpc": { - "libraryClient": "Intents", + "libraryClient": "IntentsClient", "rpcs": { "CreateIntent": { "methods": [ @@ -262,7 +262,7 @@ "Pages": { "clients": { "grpc": { - "libraryClient": "Pages", + "libraryClient": "PagesClient", "rpcs": { "CreatePage": { "methods": [ @@ -296,7 +296,7 @@ "SecuritySettingsService": { "clients": { "grpc": { - "libraryClient": "SecuritySettings", + "libraryClient": "SecuritySettingsClient", "rpcs": { "CreateSecuritySettings": { "methods": [ @@ -330,7 +330,7 @@ "SessionEntityTypes": { "clients": { "grpc": { - "libraryClient": "SessionEntityTypes", + "libraryClient": "SessionEntityTypesClient", "rpcs": { "CreateSessionEntityType": { "methods": [ @@ -364,7 +364,7 @@ "Sessions": { "clients": { "grpc": { - "libraryClient": "Sessions", + "libraryClient": "SessionsClient", "rpcs": { "DetectIntent": { "methods": [ @@ -393,7 +393,7 @@ "TestCases": { "clients": { "grpc": { - "libraryClient": "TestCases", + "libraryClient": "TestCasesClient", "rpcs": { "BatchDeleteTestCases": { "methods": [ @@ -457,7 +457,7 @@ "TransitionRouteGroups": { "clients": { "grpc": { - "libraryClient": "TransitionRouteGroups", + "libraryClient": "TransitionRouteGroupsClient", "rpcs": { "CreateTransitionRouteGroup": { "methods": [ @@ -491,7 +491,7 @@ "Versions": { "clients": { "grpc": { - "libraryClient": "Versions", + "libraryClient": "VersionsClient", "rpcs": { "CreateVersion": { "methods": [ @@ -530,7 +530,7 @@ "Webhooks": { "clients": { "grpc": { - "libraryClient": "Webhooks", + "libraryClient": "WebhooksClient", "rpcs": { "CreateWebhook": { "methods": [ diff --git a/dlp/apiv2/doc.go b/dlp/apiv2/doc.go index 683edf529337..71236cfe254d 100644 --- a/dlp/apiv2/doc.go +++ b/dlp/apiv2/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/documentai/apiv1beta3/doc.go b/documentai/apiv1beta3/doc.go index 044e8006b1c5..2ca682c7133c 100644 --- a/documentai/apiv1beta3/doc.go +++ b/documentai/apiv1beta3/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/documentai/apiv1beta3/gapic_metadata.json b/documentai/apiv1beta3/gapic_metadata.json index d1305ed3db01..9c32e875fd59 100644 --- a/documentai/apiv1beta3/gapic_metadata.json +++ b/documentai/apiv1beta3/gapic_metadata.json @@ -8,7 +8,7 @@ "DocumentProcessorService": { "clients": { "grpc": { - "libraryClient": "DocumentProcessor", + "libraryClient": "DocumentProcessorClient", "rpcs": { "BatchProcessDocuments": { "methods": [ diff --git a/domains/apiv1beta1/doc.go b/domains/apiv1beta1/doc.go index 1769ee4b53d2..d924c2abfaff 100644 --- a/domains/apiv1beta1/doc.go +++ b/domains/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/errorreporting/apiv1beta1/doc.go b/errorreporting/apiv1beta1/doc.go index 8b41eedcd2da..3d29f35cedda 100644 --- a/errorreporting/apiv1beta1/doc.go +++ b/errorreporting/apiv1beta1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/errorreporting/apiv1beta1/gapic_metadata.json b/errorreporting/apiv1beta1/gapic_metadata.json index 0391a05c283f..8e6727a953a6 100644 --- a/errorreporting/apiv1beta1/gapic_metadata.json +++ b/errorreporting/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "ErrorGroupService": { "clients": { "grpc": { - "libraryClient": "ErrorGroup", + "libraryClient": "ErrorGroupClient", "rpcs": { "GetGroup": { "methods": [ @@ -27,7 +27,7 @@ "ErrorStatsService": { "clients": { "grpc": { - "libraryClient": "ErrorStats", + "libraryClient": "ErrorStatsClient", "rpcs": { "DeleteEvents": { "methods": [ @@ -51,7 +51,7 @@ "ReportErrorsService": { "clients": { "grpc": { - "libraryClient": "ReportErrors", + "libraryClient": "ReportErrorsClient", "rpcs": { "ReportErrorEvent": { "methods": [ diff --git a/firestore/apiv1/admin/doc.go b/firestore/apiv1/admin/doc.go index bf461b9da281..75a525e6e4c2 100644 --- a/firestore/apiv1/admin/doc.go +++ b/firestore/apiv1/admin/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/firestore/apiv1/admin/gapic_metadata.json b/firestore/apiv1/admin/gapic_metadata.json index 4f782424fb57..9cb25c1be647 100644 --- a/firestore/apiv1/admin/gapic_metadata.json +++ b/firestore/apiv1/admin/gapic_metadata.json @@ -8,7 +8,7 @@ "FirestoreAdmin": { "clients": { "grpc": { - "libraryClient": "FirestoreAdmin", + "libraryClient": "FirestoreAdminClient", "rpcs": { "CreateIndex": { "methods": [ diff --git a/firestore/apiv1/doc.go b/firestore/apiv1/doc.go index e161af9508e5..c3e092a31078 100644 --- a/firestore/apiv1/doc.go +++ b/firestore/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/firestore/go.mod b/firestore/go.mod index 6f6b93b89228..fe836350d8c2 100644 --- a/firestore/go.mod +++ b/firestore/go.mod @@ -9,9 +9,9 @@ require ( github.com/googleapis/gax-go/v2 v2.0.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 ) diff --git a/firestore/go.sum b/firestore/go.sum index 34b64d05611b..61ebcce5c788 100644 --- a/firestore/go.sum +++ b/firestore/go.sum @@ -369,8 +369,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -518,8 +518,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/functions/apiv1/doc.go b/functions/apiv1/doc.go index 91210c118bdd..27a18c801fd9 100644 --- a/functions/apiv1/doc.go +++ b/functions/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/functions/apiv1/gapic_metadata.json b/functions/apiv1/gapic_metadata.json index 65579b0d706d..176b9f45521a 100644 --- a/functions/apiv1/gapic_metadata.json +++ b/functions/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudFunctionsService": { "clients": { "grpc": { - "libraryClient": "CloudFunctions", + "libraryClient": "CloudFunctionsClient", "rpcs": { "CallFunction": { "methods": [ diff --git a/gaming/apiv1/doc.go b/gaming/apiv1/doc.go index 2a50f1718130..bfd7033fbd25 100644 --- a/gaming/apiv1/doc.go +++ b/gaming/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/gaming/apiv1/gapic_metadata.json b/gaming/apiv1/gapic_metadata.json index 9b9e2bf9c7f8..a7aa70f78b60 100644 --- a/gaming/apiv1/gapic_metadata.json +++ b/gaming/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "GameServerClustersService": { "clients": { "grpc": { - "libraryClient": "GameServerClusters", + "libraryClient": "GameServerClustersClient", "rpcs": { "CreateGameServerCluster": { "methods": [ @@ -57,7 +57,7 @@ "GameServerConfigsService": { "clients": { "grpc": { - "libraryClient": "GameServerConfigs", + "libraryClient": "GameServerConfigsClient", "rpcs": { "CreateGameServerConfig": { "methods": [ @@ -86,7 +86,7 @@ "GameServerDeploymentsService": { "clients": { "grpc": { - "libraryClient": "GameServerDeployments", + "libraryClient": "GameServerDeploymentsClient", "rpcs": { "CreateGameServerDeployment": { "methods": [ @@ -140,7 +140,7 @@ "RealmsService": { "clients": { "grpc": { - "libraryClient": "Realms", + "libraryClient": "RealmsClient", "rpcs": { "CreateRealm": { "methods": [ diff --git a/gaming/apiv1beta/doc.go b/gaming/apiv1beta/doc.go index fc6a4836d1c6..7a5d03dc9dc5 100644 --- a/gaming/apiv1beta/doc.go +++ b/gaming/apiv1beta/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/gaming/apiv1beta/gapic_metadata.json b/gaming/apiv1beta/gapic_metadata.json index 8d04ca158c77..110a8289a841 100644 --- a/gaming/apiv1beta/gapic_metadata.json +++ b/gaming/apiv1beta/gapic_metadata.json @@ -8,7 +8,7 @@ "GameServerClustersService": { "clients": { "grpc": { - "libraryClient": "GameServerClusters", + "libraryClient": "GameServerClustersClient", "rpcs": { "CreateGameServerCluster": { "methods": [ @@ -57,7 +57,7 @@ "GameServerConfigsService": { "clients": { "grpc": { - "libraryClient": "GameServerConfigs", + "libraryClient": "GameServerConfigsClient", "rpcs": { "CreateGameServerConfig": { "methods": [ @@ -86,7 +86,7 @@ "GameServerDeploymentsService": { "clients": { "grpc": { - "libraryClient": "GameServerDeployments", + "libraryClient": "GameServerDeploymentsClient", "rpcs": { "CreateGameServerDeployment": { "methods": [ @@ -140,7 +140,7 @@ "RealmsService": { "clients": { "grpc": { - "libraryClient": "Realms", + "libraryClient": "RealmsClient", "rpcs": { "CreateRealm": { "methods": [ diff --git a/gkehub/apiv1beta1/doc.go b/gkehub/apiv1beta1/doc.go index 1ad1ac0e82d7..20020910f73c 100644 --- a/gkehub/apiv1beta1/doc.go +++ b/gkehub/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/gkehub/apiv1beta1/gapic_metadata.json b/gkehub/apiv1beta1/gapic_metadata.json index f4ac1f2a0343..21ff5f263f93 100644 --- a/gkehub/apiv1beta1/gapic_metadata.json +++ b/gkehub/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "GkeHubMembershipService": { "clients": { "grpc": { - "libraryClient": "GkeHubMembership", + "libraryClient": "GkeHubMembershipClient", "rpcs": { "CreateMembership": { "methods": [ diff --git a/go.mod b/go.mod index 51b7b957cab1..182a8e7aad37 100644 --- a/go.mod +++ b/go.mod @@ -16,10 +16,10 @@ require ( golang.org/x/mod v0.4.1 // indirect golang.org/x/net v0.0.0-20210119194325-5f4716e94777 golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/text v0.3.5 golang.org/x/tools v0.1.0 google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 ) diff --git a/go.sum b/go.sum index c6a59454bbd2..39f44782d699 100644 --- a/go.sum +++ b/go.sum @@ -307,8 +307,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -435,8 +435,8 @@ google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/iam/credentials/apiv1/doc.go b/iam/credentials/apiv1/doc.go index afc3b60aa491..b384081438ac 100644 --- a/iam/credentials/apiv1/doc.go +++ b/iam/credentials/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/iam/credentials/apiv1/gapic_metadata.json b/iam/credentials/apiv1/gapic_metadata.json index ca3d48c47278..7e1edb5bfd23 100644 --- a/iam/credentials/apiv1/gapic_metadata.json +++ b/iam/credentials/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "IAMCredentials": { "clients": { "grpc": { - "libraryClient": "IamCredentials", + "libraryClient": "IamCredentialsClient", "rpcs": { "GenerateAccessToken": { "methods": [ diff --git a/internal/examples/fake/go.mod b/internal/examples/fake/go.mod index c1195fe11148..cf6a832be939 100644 --- a/internal/examples/fake/go.mod +++ b/internal/examples/fake/go.mod @@ -6,8 +6,8 @@ require ( cloud.google.com/go v0.74.0 golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.34.0 ) diff --git a/internal/examples/fake/go.sum b/internal/examples/fake/go.sum index 6c3d6c53ba20..d1209e6564e1 100644 --- a/internal/examples/fake/go.sum +++ b/internal/examples/fake/go.sum @@ -269,8 +269,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3 h1:kzM6+9dur93BcC2kVlYl34cHU golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad h1:MCsdmFSdEd4UEa5TKS5JztCRHK/WtvNei1edOj5RSRo= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -400,8 +400,8 @@ google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/internal/examples/mock/go.mod b/internal/examples/mock/go.mod index a07b748bdf52..279fe532c814 100644 --- a/internal/examples/mock/go.mod +++ b/internal/examples/mock/go.mod @@ -7,9 +7,9 @@ require ( github.com/google/go-cmp v0.5.4 // indirect github.com/googleapis/gax-go/v2 v2.0.5 golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/text v0.3.4 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.34.0 // indirect ) diff --git a/internal/examples/mock/go.sum b/internal/examples/mock/go.sum index 6ae0fdd633de..7b6033e5dbaf 100644 --- a/internal/examples/mock/go.sum +++ b/internal/examples/mock/go.sum @@ -59,8 +59,8 @@ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -82,8 +82,8 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= diff --git a/internal/gapicgen/go.mod b/internal/gapicgen/go.mod index e58f26caf653..da0b41501aba 100644 --- a/internal/gapicgen/go.mod +++ b/internal/gapicgen/go.mod @@ -14,7 +14,7 @@ require ( golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 golang.org/x/sync v0.0.0-20201207232520-09787c993a3a - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/text v0.3.4 // indirect google.golang.org/appengine v1.6.7 // indirect gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect diff --git a/internal/gapicgen/go.sum b/internal/gapicgen/go.sum index 60e17f59ebef..8fa743aaddd3 100644 --- a/internal/gapicgen/go.sum +++ b/internal/gapicgen/go.sum @@ -301,8 +301,8 @@ golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/internal/godocfx/go.sum b/internal/godocfx/go.sum index 155312d8a9a3..c9412536e14b 100644 --- a/internal/godocfx/go.sum +++ b/internal/godocfx/go.sum @@ -211,8 +211,8 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= @@ -302,8 +302,8 @@ google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7Fc google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200827165113-ac2560b5e952/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/iot/apiv1/doc.go b/iot/apiv1/doc.go index 526d043f0a0b..0d6f7b30397f 100644 --- a/iot/apiv1/doc.go +++ b/iot/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/iot/apiv1/gapic_metadata.json b/iot/apiv1/gapic_metadata.json index a5b6da93c2b4..75dfb965b17b 100644 --- a/iot/apiv1/gapic_metadata.json +++ b/iot/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "DeviceManager": { "clients": { "grpc": { - "libraryClient": "DeviceManager", + "libraryClient": "DeviceManagerClient", "rpcs": { "BindDeviceToGateway": { "methods": [ diff --git a/kms/apiv1/doc.go b/kms/apiv1/doc.go index 9209bc1777fe..929082c8b2b9 100644 --- a/kms/apiv1/doc.go +++ b/kms/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/kms/apiv1/gapic_metadata.json b/kms/apiv1/gapic_metadata.json index 12324f1c1639..c6de93860b24 100644 --- a/kms/apiv1/gapic_metadata.json +++ b/kms/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "KeyManagementService": { "clients": { "grpc": { - "libraryClient": "KeyManagement", + "libraryClient": "KeyManagementClient", "rpcs": { "AsymmetricDecrypt": { "methods": [ diff --git a/language/apiv1/doc.go b/language/apiv1/doc.go index bfa8345ede45..63026b6271df 100644 --- a/language/apiv1/doc.go +++ b/language/apiv1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/language/apiv1beta2/doc.go b/language/apiv1beta2/doc.go index 8a2d48d430e3..dab40052c34e 100644 --- a/language/apiv1beta2/doc.go +++ b/language/apiv1beta2/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/logging/apiv2/doc.go b/logging/apiv2/doc.go index c1e27822b8ef..6cd661b2421f 100644 --- a/logging/apiv2/doc.go +++ b/logging/apiv2/doc.go @@ -51,7 +51,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/logging/apiv2/gapic_metadata.json b/logging/apiv2/gapic_metadata.json index 0f5eb68272bf..9636e5a0ceda 100644 --- a/logging/apiv2/gapic_metadata.json +++ b/logging/apiv2/gapic_metadata.json @@ -8,7 +8,7 @@ "ConfigServiceV2": { "clients": { "grpc": { - "libraryClient": "Config", + "libraryClient": "ConfigClient", "rpcs": { "CreateBucket": { "methods": [ @@ -171,7 +171,7 @@ "MetricsServiceV2": { "clients": { "grpc": { - "libraryClient": "Metrics", + "libraryClient": "MetricsClient", "rpcs": { "CreateLogMetric": { "methods": [ diff --git a/logging/go.mod b/logging/go.mod index 135c56be700b..cd5b79b46280 100644 --- a/logging/go.mod +++ b/logging/go.mod @@ -11,9 +11,9 @@ require ( go.opencensus.io v0.22.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 ) diff --git a/logging/go.sum b/logging/go.sum index efe821c7a8e6..5d7be20c0124 100644 --- a/logging/go.sum +++ b/logging/go.sum @@ -376,8 +376,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -525,8 +525,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/longrunning/autogen/doc.go b/longrunning/autogen/doc.go index ccc03fe5f187..1d6e6834667c 100644 --- a/longrunning/autogen/doc.go +++ b/longrunning/autogen/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/longrunning/autogen/gapic_metadata.json b/longrunning/autogen/gapic_metadata.json index aafb85a03a11..eff1271b207c 100644 --- a/longrunning/autogen/gapic_metadata.json +++ b/longrunning/autogen/gapic_metadata.json @@ -8,7 +8,7 @@ "Operations": { "clients": { "grpc": { - "libraryClient": "Operations", + "libraryClient": "OperationsClient", "rpcs": { "CancelOperation": { "methods": [ diff --git a/managedidentities/apiv1/doc.go b/managedidentities/apiv1/doc.go index e225401c5b36..a085f75e21a3 100644 --- a/managedidentities/apiv1/doc.go +++ b/managedidentities/apiv1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/mediatranslation/apiv1beta1/doc.go b/mediatranslation/apiv1beta1/doc.go index 56155af96c38..5b03b8ab9109 100644 --- a/mediatranslation/apiv1beta1/doc.go +++ b/mediatranslation/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/mediatranslation/apiv1beta1/gapic_metadata.json b/mediatranslation/apiv1beta1/gapic_metadata.json index d61a65f0d98c..8ce9729bf44f 100644 --- a/mediatranslation/apiv1beta1/gapic_metadata.json +++ b/mediatranslation/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "SpeechTranslationService": { "clients": { "grpc": { - "libraryClient": "SpeechTranslation", + "libraryClient": "SpeechTranslationClient", "rpcs": { "StreamingTranslateSpeech": { "methods": [ diff --git a/memcache/apiv1/doc.go b/memcache/apiv1/doc.go index 8c7c63192d56..cab85646ff4c 100644 --- a/memcache/apiv1/doc.go +++ b/memcache/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/memcache/apiv1/gapic_metadata.json b/memcache/apiv1/gapic_metadata.json index a975d4bf203c..5ceb74dbd7fe 100644 --- a/memcache/apiv1/gapic_metadata.json +++ b/memcache/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudMemcache": { "clients": { "grpc": { - "libraryClient": "CloudMemcache", + "libraryClient": "CloudMemcacheClient", "rpcs": { "ApplyParameters": { "methods": [ diff --git a/memcache/apiv1beta2/doc.go b/memcache/apiv1beta2/doc.go index 40d7880c70ab..a1e18b226e77 100644 --- a/memcache/apiv1beta2/doc.go +++ b/memcache/apiv1beta2/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/memcache/apiv1beta2/gapic_metadata.json b/memcache/apiv1beta2/gapic_metadata.json index 6600d49cd667..6efa801fe86b 100644 --- a/memcache/apiv1beta2/gapic_metadata.json +++ b/memcache/apiv1beta2/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudMemcache": { "clients": { "grpc": { - "libraryClient": "CloudMemcache", + "libraryClient": "CloudMemcacheClient", "rpcs": { "ApplyParameters": { "methods": [ diff --git a/monitoring/apiv3/v2/doc.go b/monitoring/apiv3/v2/doc.go index 24663a0894c2..394c40e61c4e 100644 --- a/monitoring/apiv3/v2/doc.go +++ b/monitoring/apiv3/v2/doc.go @@ -53,7 +53,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/monitoring/apiv3/v2/gapic_metadata.json b/monitoring/apiv3/v2/gapic_metadata.json index bf5b2c6d9f0b..2216feafc98b 100644 --- a/monitoring/apiv3/v2/gapic_metadata.json +++ b/monitoring/apiv3/v2/gapic_metadata.json @@ -8,7 +8,7 @@ "AlertPolicyService": { "clients": { "grpc": { - "libraryClient": "AlertPolicy", + "libraryClient": "AlertPolicyClient", "rpcs": { "CreateAlertPolicy": { "methods": [ @@ -42,7 +42,7 @@ "GroupService": { "clients": { "grpc": { - "libraryClient": "Group", + "libraryClient": "GroupClient", "rpcs": { "CreateGroup": { "methods": [ @@ -81,7 +81,7 @@ "MetricService": { "clients": { "grpc": { - "libraryClient": "Metric", + "libraryClient": "MetricClient", "rpcs": { "CreateMetricDescriptor": { "methods": [ @@ -130,7 +130,7 @@ "NotificationChannelService": { "clients": { "grpc": { - "libraryClient": "NotificationChannel", + "libraryClient": "NotificationChannelClient", "rpcs": { "CreateNotificationChannel": { "methods": [ @@ -189,7 +189,7 @@ "ServiceMonitoringService": { "clients": { "grpc": { - "libraryClient": "ServiceMonitoring", + "libraryClient": "ServiceMonitoringClient", "rpcs": { "CreateService": { "methods": [ @@ -248,7 +248,7 @@ "UptimeCheckService": { "clients": { "grpc": { - "libraryClient": "UptimeCheck", + "libraryClient": "UptimeCheckClient", "rpcs": { "CreateUptimeCheckConfig": { "methods": [ diff --git a/monitoring/dashboard/apiv1/doc.go b/monitoring/dashboard/apiv1/doc.go index aeb6cb2eeb3c..2beb66fd24e0 100644 --- a/monitoring/dashboard/apiv1/doc.go +++ b/monitoring/dashboard/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/monitoring/dashboard/apiv1/gapic_metadata.json b/monitoring/dashboard/apiv1/gapic_metadata.json index 630637634196..28ca5eb4c1ce 100644 --- a/monitoring/dashboard/apiv1/gapic_metadata.json +++ b/monitoring/dashboard/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "DashboardsService": { "clients": { "grpc": { - "libraryClient": "Dashboards", + "libraryClient": "DashboardsClient", "rpcs": { "CreateDashboard": { "methods": [ diff --git a/networkconnectivity/apiv1alpha1/doc.go b/networkconnectivity/apiv1alpha1/doc.go index b6ca6e991287..be80238b8d37 100644 --- a/networkconnectivity/apiv1alpha1/doc.go +++ b/networkconnectivity/apiv1alpha1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/networkconnectivity/apiv1alpha1/gapic_metadata.json b/networkconnectivity/apiv1alpha1/gapic_metadata.json index cd4c04a60773..500541cde0f5 100644 --- a/networkconnectivity/apiv1alpha1/gapic_metadata.json +++ b/networkconnectivity/apiv1alpha1/gapic_metadata.json @@ -8,7 +8,7 @@ "HubService": { "clients": { "grpc": { - "libraryClient": "Hub", + "libraryClient": "HubClient", "rpcs": { "CreateHub": { "methods": [ diff --git a/notebooks/apiv1beta1/doc.go b/notebooks/apiv1beta1/doc.go index 6751f6d10fa8..8a2c0bad3a32 100644 --- a/notebooks/apiv1beta1/doc.go +++ b/notebooks/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/notebooks/apiv1beta1/gapic_metadata.json b/notebooks/apiv1beta1/gapic_metadata.json index 0f205f84a867..a344cd6d96b3 100644 --- a/notebooks/apiv1beta1/gapic_metadata.json +++ b/notebooks/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "NotebookService": { "clients": { "grpc": { - "libraryClient": "Notebook", + "libraryClient": "NotebookClient", "rpcs": { "CreateEnvironment": { "methods": [ diff --git a/orgpolicy/apiv2/doc.go b/orgpolicy/apiv2/doc.go index e68e9be563dd..92a6ef34c626 100644 --- a/orgpolicy/apiv2/doc.go +++ b/orgpolicy/apiv2/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/osconfig/agentendpoint/apiv1/doc.go b/osconfig/agentendpoint/apiv1/doc.go index f4ecee14cdff..946d39ea7608 100644 --- a/osconfig/agentendpoint/apiv1/doc.go +++ b/osconfig/agentendpoint/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/osconfig/agentendpoint/apiv1beta/doc.go b/osconfig/agentendpoint/apiv1beta/doc.go index e7c0a5f384b1..e655385f25a1 100644 --- a/osconfig/agentendpoint/apiv1beta/doc.go +++ b/osconfig/agentendpoint/apiv1beta/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/osconfig/apiv1/doc.go b/osconfig/apiv1/doc.go index 67b4ad950bfc..a8b8f14ad0b4 100644 --- a/osconfig/apiv1/doc.go +++ b/osconfig/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/osconfig/apiv1beta/doc.go b/osconfig/apiv1beta/doc.go index c8ba82733c68..1d2e975f3e2e 100644 --- a/osconfig/apiv1beta/doc.go +++ b/osconfig/apiv1beta/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/oslogin/apiv1/doc.go b/oslogin/apiv1/doc.go index b91e3dfc37fd..cbab25a04b5a 100644 --- a/oslogin/apiv1/doc.go +++ b/oslogin/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/oslogin/apiv1beta/doc.go b/oslogin/apiv1beta/doc.go index cae370590395..f10c6408f77b 100644 --- a/oslogin/apiv1beta/doc.go +++ b/oslogin/apiv1beta/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/phishingprotection/apiv1beta1/doc.go b/phishingprotection/apiv1beta1/doc.go index 1bcd0e0f69e5..746c6a9999af 100644 --- a/phishingprotection/apiv1beta1/doc.go +++ b/phishingprotection/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/phishingprotection/apiv1beta1/gapic_metadata.json b/phishingprotection/apiv1beta1/gapic_metadata.json index 671122f50173..fafe97d9d874 100644 --- a/phishingprotection/apiv1beta1/gapic_metadata.json +++ b/phishingprotection/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "PhishingProtectionServiceV1Beta1": { "clients": { "grpc": { - "libraryClient": "PhishingProtectionServiceV1Beta1", + "libraryClient": "PhishingProtectionServiceV1Beta1Client", "rpcs": { "ReportPhishing": { "methods": [ diff --git a/policytroubleshooter/apiv1/doc.go b/policytroubleshooter/apiv1/doc.go index fb7d5339e5d7..714e3979ab61 100644 --- a/policytroubleshooter/apiv1/doc.go +++ b/policytroubleshooter/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/policytroubleshooter/apiv1/gapic_metadata.json b/policytroubleshooter/apiv1/gapic_metadata.json index fadc6dfef2f6..d2e85d113643 100644 --- a/policytroubleshooter/apiv1/gapic_metadata.json +++ b/policytroubleshooter/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "IamChecker": { "clients": { "grpc": { - "libraryClient": "IamChecker", + "libraryClient": "IamCheckerClient", "rpcs": { "TroubleshootIamPolicy": { "methods": [ diff --git a/pubsub/apiv1/doc.go b/pubsub/apiv1/doc.go index c35f5b597f96..03d2af27cf24 100644 --- a/pubsub/apiv1/doc.go +++ b/pubsub/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/pubsub/apiv1/gapic_metadata.json b/pubsub/apiv1/gapic_metadata.json index e39d1e892555..d72116ab09c8 100644 --- a/pubsub/apiv1/gapic_metadata.json +++ b/pubsub/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "Publisher": { "clients": { "grpc": { - "libraryClient": "Publisher", + "libraryClient": "PublisherClient", "rpcs": { "CreateTopic": { "methods": [ @@ -62,7 +62,7 @@ "SchemaService": { "clients": { "grpc": { - "libraryClient": "Schema", + "libraryClient": "SchemaClient", "rpcs": { "CreateSchema": { "methods": [ @@ -101,7 +101,7 @@ "Subscriber": { "clients": { "grpc": { - "libraryClient": "Subscriber", + "libraryClient": "SubscriberClient", "rpcs": { "Acknowledge": { "methods": [ diff --git a/pubsub/go.mod b/pubsub/go.mod index 920748de9a2f..651668a1b30e 100644 --- a/pubsub/go.mod +++ b/pubsub/go.mod @@ -11,10 +11,10 @@ require ( golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 golang.org/x/sync v0.0.0-20201207232520-09787c993a3a - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 ) diff --git a/pubsub/go.sum b/pubsub/go.sum index 01af8cd9ca15..ca3524a6d1eb 100644 --- a/pubsub/go.sum +++ b/pubsub/go.sum @@ -317,8 +317,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -456,8 +456,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/pubsublite/apiv1/doc.go b/pubsublite/apiv1/doc.go index b9c8ccf7e714..97597c5625a6 100644 --- a/pubsublite/apiv1/doc.go +++ b/pubsublite/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/pubsublite/apiv1/gapic_metadata.json b/pubsublite/apiv1/gapic_metadata.json index 8545d75bd142..68d508729efe 100644 --- a/pubsublite/apiv1/gapic_metadata.json +++ b/pubsublite/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "AdminService": { "clients": { "grpc": { - "libraryClient": "Admin", + "libraryClient": "AdminClient", "rpcs": { "CreateSubscription": { "methods": [ @@ -77,7 +77,7 @@ "CursorService": { "clients": { "grpc": { - "libraryClient": "Cursor", + "libraryClient": "CursorClient", "rpcs": { "CommitCursor": { "methods": [ @@ -101,7 +101,7 @@ "PartitionAssignmentService": { "clients": { "grpc": { - "libraryClient": "PartitionAssignment", + "libraryClient": "PartitionAssignmentClient", "rpcs": { "AssignPartitions": { "methods": [ @@ -115,7 +115,7 @@ "PublisherService": { "clients": { "grpc": { - "libraryClient": "Publisher", + "libraryClient": "PublisherClient", "rpcs": { "Publish": { "methods": [ @@ -129,7 +129,7 @@ "SubscriberService": { "clients": { "grpc": { - "libraryClient": "Subscriber", + "libraryClient": "SubscriberClient", "rpcs": { "Subscribe": { "methods": [ @@ -143,7 +143,7 @@ "TopicStatsService": { "clients": { "grpc": { - "libraryClient": "TopicStats", + "libraryClient": "TopicStatsClient", "rpcs": { "ComputeHeadCursor": { "methods": [ diff --git a/pubsublite/go.mod b/pubsublite/go.mod index 62ac1fdace36..92f3632f8ecb 100644 --- a/pubsublite/go.mod +++ b/pubsublite/go.mod @@ -12,11 +12,11 @@ require ( golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect golang.org/x/sync v0.0.0-20201207232520-09787c993a3a - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 google.golang.org/protobuf v1.25.0 ) diff --git a/pubsublite/go.sum b/pubsublite/go.sum index 0ede1851eb0e..b344ce5f8e44 100644 --- a/pubsublite/go.sum +++ b/pubsublite/go.sum @@ -270,8 +270,8 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -403,8 +403,8 @@ google.golang.org/genproto v0.0.0-20201209185603-f92720507ed4/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/recaptchaenterprise/apiv1/doc.go b/recaptchaenterprise/apiv1/doc.go index 946f5f9a6077..571f50716f87 100644 --- a/recaptchaenterprise/apiv1/doc.go +++ b/recaptchaenterprise/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/recaptchaenterprise/apiv1beta1/doc.go b/recaptchaenterprise/apiv1beta1/doc.go index 119c988c228d..19927f89b6f2 100644 --- a/recaptchaenterprise/apiv1beta1/doc.go +++ b/recaptchaenterprise/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/recaptchaenterprise/apiv1beta1/gapic_metadata.json b/recaptchaenterprise/apiv1beta1/gapic_metadata.json index e9001e9c9f12..18538c3a3a17 100644 --- a/recaptchaenterprise/apiv1beta1/gapic_metadata.json +++ b/recaptchaenterprise/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "RecaptchaEnterpriseServiceV1Beta1": { "clients": { "grpc": { - "libraryClient": "RecaptchaEnterpriseServiceV1Beta1", + "libraryClient": "RecaptchaEnterpriseServiceV1Beta1Client", "rpcs": { "AnnotateAssessment": { "methods": [ diff --git a/recommendationengine/apiv1beta1/doc.go b/recommendationengine/apiv1beta1/doc.go index 4d57b2d59b5f..cdac97a03c45 100644 --- a/recommendationengine/apiv1beta1/doc.go +++ b/recommendationengine/apiv1beta1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/recommendationengine/apiv1beta1/gapic_metadata.json b/recommendationengine/apiv1beta1/gapic_metadata.json index aa91647fa61c..e91056c9da7e 100644 --- a/recommendationengine/apiv1beta1/gapic_metadata.json +++ b/recommendationengine/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "CatalogService": { "clients": { "grpc": { - "libraryClient": "Catalog", + "libraryClient": "CatalogClient", "rpcs": { "CreateCatalogItem": { "methods": [ @@ -47,7 +47,7 @@ "PredictionApiKeyRegistry": { "clients": { "grpc": { - "libraryClient": "PredictionApiKeyRegistry", + "libraryClient": "PredictionApiKeyRegistryClient", "rpcs": { "CreatePredictionApiKeyRegistration": { "methods": [ @@ -71,7 +71,7 @@ "PredictionService": { "clients": { "grpc": { - "libraryClient": "Prediction", + "libraryClient": "PredictionClient", "rpcs": { "Predict": { "methods": [ @@ -85,7 +85,7 @@ "UserEventService": { "clients": { "grpc": { - "libraryClient": "UserEvent", + "libraryClient": "UserEventClient", "rpcs": { "CollectUserEvent": { "methods": [ diff --git a/recommender/apiv1/doc.go b/recommender/apiv1/doc.go index 84d8afe829a7..afff4209de90 100644 --- a/recommender/apiv1/doc.go +++ b/recommender/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/recommender/apiv1beta1/doc.go b/recommender/apiv1beta1/doc.go index f514b0a40a51..667fe2fe23b7 100644 --- a/recommender/apiv1beta1/doc.go +++ b/recommender/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/redis/apiv1/doc.go b/redis/apiv1/doc.go index 921bbaf8e484..c41f2ac28e6e 100644 --- a/redis/apiv1/doc.go +++ b/redis/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/redis/apiv1/gapic_metadata.json b/redis/apiv1/gapic_metadata.json index fa910acebfa0..3898343a3c48 100644 --- a/redis/apiv1/gapic_metadata.json +++ b/redis/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudRedis": { "clients": { "grpc": { - "libraryClient": "CloudRedis", + "libraryClient": "CloudRedisClient", "rpcs": { "CreateInstance": { "methods": [ diff --git a/redis/apiv1beta1/doc.go b/redis/apiv1beta1/doc.go index 212e99d587c9..6eca9d70b10c 100644 --- a/redis/apiv1beta1/doc.go +++ b/redis/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/redis/apiv1beta1/gapic_metadata.json b/redis/apiv1beta1/gapic_metadata.json index 75a82a21b25f..a7d95307cec0 100644 --- a/redis/apiv1beta1/gapic_metadata.json +++ b/redis/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudRedis": { "clients": { "grpc": { - "libraryClient": "CloudRedis", + "libraryClient": "CloudRedisClient", "rpcs": { "CreateInstance": { "methods": [ diff --git a/resourcemanager/apiv2/doc.go b/resourcemanager/apiv2/doc.go index bf40e878c8d4..c969aa23a4ff 100644 --- a/resourcemanager/apiv2/doc.go +++ b/resourcemanager/apiv2/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/resourcemanager/apiv2/gapic_metadata.json b/resourcemanager/apiv2/gapic_metadata.json index 0489b6c13a21..6f709286f1f4 100644 --- a/resourcemanager/apiv2/gapic_metadata.json +++ b/resourcemanager/apiv2/gapic_metadata.json @@ -8,7 +8,7 @@ "Folders": { "clients": { "grpc": { - "libraryClient": "Folders", + "libraryClient": "FoldersClient", "rpcs": { "CreateFolder": { "methods": [ diff --git a/retail/apiv2/doc.go b/retail/apiv2/doc.go index c593315ef74c..79bcfcc947d1 100644 --- a/retail/apiv2/doc.go +++ b/retail/apiv2/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/retail/apiv2/gapic_metadata.json b/retail/apiv2/gapic_metadata.json index c8c9d06fdeb6..946693b2fc64 100644 --- a/retail/apiv2/gapic_metadata.json +++ b/retail/apiv2/gapic_metadata.json @@ -8,7 +8,7 @@ "CatalogService": { "clients": { "grpc": { - "libraryClient": "Catalog", + "libraryClient": "CatalogClient", "rpcs": { "ListCatalogs": { "methods": [ @@ -27,7 +27,7 @@ "PredictionService": { "clients": { "grpc": { - "libraryClient": "Prediction", + "libraryClient": "PredictionClient", "rpcs": { "Predict": { "methods": [ @@ -41,7 +41,7 @@ "ProductService": { "clients": { "grpc": { - "libraryClient": "Product", + "libraryClient": "ProductClient", "rpcs": { "CreateProduct": { "methods": [ @@ -75,7 +75,7 @@ "UserEventService": { "clients": { "grpc": { - "libraryClient": "UserEvent", + "libraryClient": "UserEventClient", "rpcs": { "CollectUserEvent": { "methods": [ diff --git a/scheduler/apiv1/doc.go b/scheduler/apiv1/doc.go index 5ee55ca295b1..61b1b8dbda98 100644 --- a/scheduler/apiv1/doc.go +++ b/scheduler/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/scheduler/apiv1/gapic_metadata.json b/scheduler/apiv1/gapic_metadata.json index ca3c344ffcb7..d0dd864d7eed 100644 --- a/scheduler/apiv1/gapic_metadata.json +++ b/scheduler/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudScheduler": { "clients": { "grpc": { - "libraryClient": "CloudScheduler", + "libraryClient": "CloudSchedulerClient", "rpcs": { "CreateJob": { "methods": [ diff --git a/scheduler/apiv1beta1/doc.go b/scheduler/apiv1beta1/doc.go index 902672e1d472..60cca207b408 100644 --- a/scheduler/apiv1beta1/doc.go +++ b/scheduler/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/scheduler/apiv1beta1/gapic_metadata.json b/scheduler/apiv1beta1/gapic_metadata.json index c86e7889513b..0af02b964f97 100644 --- a/scheduler/apiv1beta1/gapic_metadata.json +++ b/scheduler/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "CloudScheduler": { "clients": { "grpc": { - "libraryClient": "CloudScheduler", + "libraryClient": "CloudSchedulerClient", "rpcs": { "CreateJob": { "methods": [ diff --git a/secretmanager/apiv1/doc.go b/secretmanager/apiv1/doc.go index f50b38c54380..b8e0b4ab88c0 100644 --- a/secretmanager/apiv1/doc.go +++ b/secretmanager/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/secretmanager/apiv1beta1/doc.go b/secretmanager/apiv1beta1/doc.go index c524cd24aeeb..6a265fbdf0a9 100644 --- a/secretmanager/apiv1beta1/doc.go +++ b/secretmanager/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/security/privateca/apiv1beta1/doc.go b/security/privateca/apiv1beta1/doc.go index 0caf8df5f5c8..3fffd34dba9c 100644 --- a/security/privateca/apiv1beta1/doc.go +++ b/security/privateca/apiv1beta1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/security/privateca/apiv1beta1/gapic_metadata.json b/security/privateca/apiv1beta1/gapic_metadata.json index 979a07d40ca7..d6c24e8707a5 100644 --- a/security/privateca/apiv1beta1/gapic_metadata.json +++ b/security/privateca/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "CertificateAuthorityService": { "clients": { "grpc": { - "libraryClient": "CertificateAuthority", + "libraryClient": "CertificateAuthorityClient", "rpcs": { "ActivateCertificateAuthority": { "methods": [ diff --git a/securitycenter/apiv1/doc.go b/securitycenter/apiv1/doc.go index 7609892146a6..8fef0c3e6955 100644 --- a/securitycenter/apiv1/doc.go +++ b/securitycenter/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/securitycenter/apiv1beta1/doc.go b/securitycenter/apiv1beta1/doc.go index 5f22fc0ebbfb..ee068d25eeb3 100644 --- a/securitycenter/apiv1beta1/doc.go +++ b/securitycenter/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/securitycenter/apiv1p1beta1/doc.go b/securitycenter/apiv1p1beta1/doc.go index 262e46991058..83d982dd9475 100644 --- a/securitycenter/apiv1p1beta1/doc.go +++ b/securitycenter/apiv1p1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/securitycenter/settings/apiv1beta1/doc.go b/securitycenter/settings/apiv1beta1/doc.go index ff7fa027e182..64f19ed72a15 100644 --- a/securitycenter/settings/apiv1beta1/doc.go +++ b/securitycenter/settings/apiv1beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/securitycenter/settings/apiv1beta1/gapic_metadata.json b/securitycenter/settings/apiv1beta1/gapic_metadata.json index dd74a981cabe..ef3a6db6dc74 100644 --- a/securitycenter/settings/apiv1beta1/gapic_metadata.json +++ b/securitycenter/settings/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "SecurityCenterSettingsService": { "clients": { "grpc": { - "libraryClient": "SecurityCenterSettings", + "libraryClient": "SecurityCenterSettingsClient", "rpcs": { "BatchCalculateEffectiveSettings": { "methods": [ diff --git a/servicecontrol/apiv1/doc.go b/servicecontrol/apiv1/doc.go index 05f697d55196..47a83cb10a68 100644 --- a/servicecontrol/apiv1/doc.go +++ b/servicecontrol/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/servicecontrol/apiv1/gapic_metadata.json b/servicecontrol/apiv1/gapic_metadata.json index 6bfc32bd688a..6ae772250050 100644 --- a/servicecontrol/apiv1/gapic_metadata.json +++ b/servicecontrol/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "QuotaController": { "clients": { "grpc": { - "libraryClient": "QuotaController", + "libraryClient": "QuotaControllerClient", "rpcs": { "AllocateQuota": { "methods": [ @@ -22,7 +22,7 @@ "ServiceController": { "clients": { "grpc": { - "libraryClient": "ServiceController", + "libraryClient": "ServiceControllerClient", "rpcs": { "Check": { "methods": [ diff --git a/servicedirectory/apiv1/doc.go b/servicedirectory/apiv1/doc.go index 5ada9e9bec77..1b6f94b07435 100644 --- a/servicedirectory/apiv1/doc.go +++ b/servicedirectory/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/servicedirectory/apiv1/gapic_metadata.json b/servicedirectory/apiv1/gapic_metadata.json index eab1b0e45de8..0cfd6fd3345d 100644 --- a/servicedirectory/apiv1/gapic_metadata.json +++ b/servicedirectory/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "LookupService": { "clients": { "grpc": { - "libraryClient": "Lookup", + "libraryClient": "LookupClient", "rpcs": { "ResolveService": { "methods": [ @@ -22,7 +22,7 @@ "RegistrationService": { "clients": { "grpc": { - "libraryClient": "Registration", + "libraryClient": "RegistrationClient", "rpcs": { "CreateEndpoint": { "methods": [ diff --git a/servicedirectory/apiv1beta1/doc.go b/servicedirectory/apiv1beta1/doc.go index 34b36e8cd554..e65d33fc66b6 100644 --- a/servicedirectory/apiv1beta1/doc.go +++ b/servicedirectory/apiv1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/servicedirectory/apiv1beta1/gapic_metadata.json b/servicedirectory/apiv1beta1/gapic_metadata.json index 2746c73f7de3..13f4d2fec391 100644 --- a/servicedirectory/apiv1beta1/gapic_metadata.json +++ b/servicedirectory/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "LookupService": { "clients": { "grpc": { - "libraryClient": "Lookup", + "libraryClient": "LookupClient", "rpcs": { "ResolveService": { "methods": [ @@ -22,7 +22,7 @@ "RegistrationService": { "clients": { "grpc": { - "libraryClient": "Registration", + "libraryClient": "RegistrationClient", "rpcs": { "CreateEndpoint": { "methods": [ diff --git a/servicemanagement/apiv1/doc.go b/servicemanagement/apiv1/doc.go index 1ea7c39f7205..1fcb4ec67b03 100644 --- a/servicemanagement/apiv1/doc.go +++ b/servicemanagement/apiv1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/servicemanagement/apiv1/gapic_metadata.json b/servicemanagement/apiv1/gapic_metadata.json index 6f7b4e8ca861..76ab2fcdbc3f 100644 --- a/servicemanagement/apiv1/gapic_metadata.json +++ b/servicemanagement/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "ServiceManager": { "clients": { "grpc": { - "libraryClient": "ServiceManager", + "libraryClient": "ServiceManagerClient", "rpcs": { "CreateService": { "methods": [ diff --git a/spanner/admin/database/apiv1/doc.go b/spanner/admin/database/apiv1/doc.go index a8c0e94fbe9f..b20191524e9e 100644 --- a/spanner/admin/database/apiv1/doc.go +++ b/spanner/admin/database/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/spanner/admin/database/apiv1/gapic_metadata.json b/spanner/admin/database/apiv1/gapic_metadata.json index 66ac9e17d89f..e99be310982a 100644 --- a/spanner/admin/database/apiv1/gapic_metadata.json +++ b/spanner/admin/database/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "DatabaseAdmin": { "clients": { "grpc": { - "libraryClient": "DatabaseAdmin", + "libraryClient": "DatabaseAdminClient", "rpcs": { "CreateBackup": { "methods": [ diff --git a/spanner/admin/instance/apiv1/doc.go b/spanner/admin/instance/apiv1/doc.go index a2170c8497be..d2c00bc332ee 100644 --- a/spanner/admin/instance/apiv1/doc.go +++ b/spanner/admin/instance/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/spanner/admin/instance/apiv1/gapic_metadata.json b/spanner/admin/instance/apiv1/gapic_metadata.json index f9a9b3d85a01..641de7334ae9 100644 --- a/spanner/admin/instance/apiv1/gapic_metadata.json +++ b/spanner/admin/instance/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "InstanceAdmin": { "clients": { "grpc": { - "libraryClient": "InstanceAdmin", + "libraryClient": "InstanceAdminClient", "rpcs": { "CreateInstance": { "methods": [ diff --git a/spanner/apiv1/doc.go b/spanner/apiv1/doc.go index 08831d26062d..176d494e8f2a 100644 --- a/spanner/apiv1/doc.go +++ b/spanner/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/spanner/go.mod b/spanner/go.mod index 2a6b37592f5f..e23808f42787 100644 --- a/spanner/go.mod +++ b/spanner/go.mod @@ -10,11 +10,11 @@ require ( go.opencensus.io v0.22.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 google.golang.org/protobuf v1.25.0 ) diff --git a/spanner/go.sum b/spanner/go.sum index d624c93da75f..c9429f50e840 100644 --- a/spanner/go.sum +++ b/spanner/go.sum @@ -368,8 +368,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -516,8 +516,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/speech/apiv1/doc.go b/speech/apiv1/doc.go index 09c17dc2ae92..e27e6a2555a1 100644 --- a/speech/apiv1/doc.go +++ b/speech/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/speech/apiv1p1beta1/adaptation_client.go b/speech/apiv1p1beta1/adaptation_client.go new file mode 100644 index 000000000000..94dbdccfeeac --- /dev/null +++ b/speech/apiv1p1beta1/adaptation_client.go @@ -0,0 +1,460 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go_gapic. DO NOT EDIT. + +package speech + +import ( + "context" + "fmt" + "math" + "net/url" + + "github.com/golang/protobuf/proto" + gax "github.com/googleapis/gax-go/v2" + "google.golang.org/api/iterator" + "google.golang.org/api/option" + "google.golang.org/api/option/internaloption" + gtransport "google.golang.org/api/transport/grpc" + speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + "google.golang.org/grpc" + "google.golang.org/grpc/metadata" +) + +var newAdaptationClientHook clientHook + +// AdaptationCallOptions contains the retry settings for each method of AdaptationClient. +type AdaptationCallOptions struct { + CreatePhraseSet []gax.CallOption + GetPhraseSet []gax.CallOption + ListPhraseSet []gax.CallOption + UpdatePhraseSet []gax.CallOption + DeletePhraseSet []gax.CallOption + CreateCustomClass []gax.CallOption + GetCustomClass []gax.CallOption + ListCustomClasses []gax.CallOption + UpdateCustomClass []gax.CallOption + DeleteCustomClass []gax.CallOption +} + +func defaultAdaptationClientOptions() []option.ClientOption { + return []option.ClientOption{ + internaloption.WithDefaultEndpoint("speech.googleapis.com:443"), + internaloption.WithDefaultMTLSEndpoint("speech.mtls.googleapis.com:443"), + internaloption.WithDefaultAudience("https://speech.googleapis.com/"), + internaloption.WithDefaultScopes(DefaultAuthScopes()...), + option.WithGRPCDialOption(grpc.WithDisableServiceConfig()), + option.WithGRPCDialOption(grpc.WithDefaultCallOptions( + grpc.MaxCallRecvMsgSize(math.MaxInt32))), + } +} + +func defaultAdaptationCallOptions() *AdaptationCallOptions { + return &AdaptationCallOptions{ + CreatePhraseSet: []gax.CallOption{}, + GetPhraseSet: []gax.CallOption{}, + ListPhraseSet: []gax.CallOption{}, + UpdatePhraseSet: []gax.CallOption{}, + DeletePhraseSet: []gax.CallOption{}, + CreateCustomClass: []gax.CallOption{}, + GetCustomClass: []gax.CallOption{}, + ListCustomClasses: []gax.CallOption{}, + UpdateCustomClass: []gax.CallOption{}, + DeleteCustomClass: []gax.CallOption{}, + } +} + +// AdaptationClient is a client for interacting with Cloud Speech-to-Text API. +// +// Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. +type AdaptationClient struct { + // Connection pool of gRPC connections to the service. + connPool gtransport.ConnPool + + // flag to opt out of default deadlines via GOOGLE_API_GO_EXPERIMENTAL_DISABLE_DEFAULT_DEADLINE + disableDeadlines bool + + // The gRPC API client. + adaptationClient speechpb.AdaptationClient + + // The call options for this service. + CallOptions *AdaptationCallOptions + + // The x-goog-* metadata to be sent with each request. + xGoogMetadata metadata.MD +} + +// NewAdaptationClient creates a new adaptation client. +// +// Service that implements Google Cloud Speech Adaptation API. +func NewAdaptationClient(ctx context.Context, opts ...option.ClientOption) (*AdaptationClient, error) { + clientOpts := defaultAdaptationClientOptions() + + if newAdaptationClientHook != nil { + hookOpts, err := newAdaptationClientHook(ctx, clientHookParams{}) + if err != nil { + return nil, err + } + clientOpts = append(clientOpts, hookOpts...) + } + + disableDeadlines, err := checkDisableDeadlines() + if err != nil { + return nil, err + } + + connPool, err := gtransport.DialPool(ctx, append(clientOpts, opts...)...) + if err != nil { + return nil, err + } + c := &AdaptationClient{ + connPool: connPool, + disableDeadlines: disableDeadlines, + CallOptions: defaultAdaptationCallOptions(), + + adaptationClient: speechpb.NewAdaptationClient(connPool), + } + c.setGoogleClientInfo() + + return c, nil +} + +// Connection returns a connection to the API service. +// +// Deprecated. +func (c *AdaptationClient) Connection() *grpc.ClientConn { + return c.connPool.Conn() +} + +// Close closes the connection to the API service. The user should invoke this when +// the client is no longer required. +func (c *AdaptationClient) Close() error { + return c.connPool.Close() +} + +// setGoogleClientInfo sets the name and version of the application in +// the `x-goog-api-client` header passed on each request. Intended for +// use by Google-written clients. +func (c *AdaptationClient) setGoogleClientInfo(keyval ...string) { + kv := append([]string{"gl-go", versionGo()}, keyval...) + kv = append(kv, "gapic", versionClient, "gax", gax.Version, "grpc", grpc.Version) + c.xGoogMetadata = metadata.Pairs("x-goog-api-client", gax.XGoogHeader(kv...)) +} + +// CreatePhraseSet create a set of phrase hints. Each item in the set can be a single word or +// a multi-word phrase. The items in the PhraseSet are favored by the +// recognition model when you send a call that includes the PhraseSet. +func (c *AdaptationClient) CreatePhraseSet(ctx context.Context, req *speechpb.CreatePhraseSetRequest, opts ...gax.CallOption) (*speechpb.PhraseSet, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.CreatePhraseSet[0:len(c.CallOptions.CreatePhraseSet):len(c.CallOptions.CreatePhraseSet)], opts...) + var resp *speechpb.PhraseSet + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.CreatePhraseSet(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// GetPhraseSet get a phrase set. +func (c *AdaptationClient) GetPhraseSet(ctx context.Context, req *speechpb.GetPhraseSetRequest, opts ...gax.CallOption) (*speechpb.PhraseSet, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.GetPhraseSet[0:len(c.CallOptions.GetPhraseSet):len(c.CallOptions.GetPhraseSet)], opts...) + var resp *speechpb.PhraseSet + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.GetPhraseSet(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// ListPhraseSet list phrase sets. +func (c *AdaptationClient) ListPhraseSet(ctx context.Context, req *speechpb.ListPhraseSetRequest, opts ...gax.CallOption) *PhraseSetIterator { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.ListPhraseSet[0:len(c.CallOptions.ListPhraseSet):len(c.CallOptions.ListPhraseSet)], opts...) + it := &PhraseSetIterator{} + req = proto.Clone(req).(*speechpb.ListPhraseSetRequest) + it.InternalFetch = func(pageSize int, pageToken string) ([]*speechpb.PhraseSet, string, error) { + var resp *speechpb.ListPhraseSetResponse + req.PageToken = pageToken + if pageSize > math.MaxInt32 { + req.PageSize = math.MaxInt32 + } else { + req.PageSize = int32(pageSize) + } + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.ListPhraseSet(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, "", err + } + + it.Response = resp + return resp.GetPhraseSets(), resp.GetNextPageToken(), nil + } + fetch := func(pageSize int, pageToken string) (string, error) { + items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) + if err != nil { + return "", err + } + it.items = append(it.items, items...) + return nextPageToken, nil + } + it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() + return it +} + +// UpdatePhraseSet update a phrase set. +func (c *AdaptationClient) UpdatePhraseSet(ctx context.Context, req *speechpb.UpdatePhraseSetRequest, opts ...gax.CallOption) (*speechpb.PhraseSet, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "phrase_set.name", url.QueryEscape(req.GetPhraseSet().GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.UpdatePhraseSet[0:len(c.CallOptions.UpdatePhraseSet):len(c.CallOptions.UpdatePhraseSet)], opts...) + var resp *speechpb.PhraseSet + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.UpdatePhraseSet(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// DeletePhraseSet delete a phrase set. +func (c *AdaptationClient) DeletePhraseSet(ctx context.Context, req *speechpb.DeletePhraseSetRequest, opts ...gax.CallOption) error { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.DeletePhraseSet[0:len(c.CallOptions.DeletePhraseSet):len(c.CallOptions.DeletePhraseSet)], opts...) + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + _, err = c.adaptationClient.DeletePhraseSet(ctx, req, settings.GRPC...) + return err + }, opts...) + return err +} + +// CreateCustomClass create a custom class. +func (c *AdaptationClient) CreateCustomClass(ctx context.Context, req *speechpb.CreateCustomClassRequest, opts ...gax.CallOption) (*speechpb.CustomClass, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.CreateCustomClass[0:len(c.CallOptions.CreateCustomClass):len(c.CallOptions.CreateCustomClass)], opts...) + var resp *speechpb.CustomClass + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.CreateCustomClass(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// GetCustomClass get a custom class. +func (c *AdaptationClient) GetCustomClass(ctx context.Context, req *speechpb.GetCustomClassRequest, opts ...gax.CallOption) (*speechpb.CustomClass, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.GetCustomClass[0:len(c.CallOptions.GetCustomClass):len(c.CallOptions.GetCustomClass)], opts...) + var resp *speechpb.CustomClass + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.GetCustomClass(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// ListCustomClasses list custom classes. +func (c *AdaptationClient) ListCustomClasses(ctx context.Context, req *speechpb.ListCustomClassesRequest, opts ...gax.CallOption) *CustomClassIterator { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.ListCustomClasses[0:len(c.CallOptions.ListCustomClasses):len(c.CallOptions.ListCustomClasses)], opts...) + it := &CustomClassIterator{} + req = proto.Clone(req).(*speechpb.ListCustomClassesRequest) + it.InternalFetch = func(pageSize int, pageToken string) ([]*speechpb.CustomClass, string, error) { + var resp *speechpb.ListCustomClassesResponse + req.PageToken = pageToken + if pageSize > math.MaxInt32 { + req.PageSize = math.MaxInt32 + } else { + req.PageSize = int32(pageSize) + } + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.ListCustomClasses(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, "", err + } + + it.Response = resp + return resp.GetCustomClasses(), resp.GetNextPageToken(), nil + } + fetch := func(pageSize int, pageToken string) (string, error) { + items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) + if err != nil { + return "", err + } + it.items = append(it.items, items...) + return nextPageToken, nil + } + it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() + return it +} + +// UpdateCustomClass update a custom class. +func (c *AdaptationClient) UpdateCustomClass(ctx context.Context, req *speechpb.UpdateCustomClassRequest, opts ...gax.CallOption) (*speechpb.CustomClass, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "custom_class.name", url.QueryEscape(req.GetCustomClass().GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.UpdateCustomClass[0:len(c.CallOptions.UpdateCustomClass):len(c.CallOptions.UpdateCustomClass)], opts...) + var resp *speechpb.CustomClass + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.adaptationClient.UpdateCustomClass(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + +// DeleteCustomClass delete a custom class. +func (c *AdaptationClient) DeleteCustomClass(ctx context.Context, req *speechpb.DeleteCustomClassRequest, opts ...gax.CallOption) error { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.DeleteCustomClass[0:len(c.CallOptions.DeleteCustomClass):len(c.CallOptions.DeleteCustomClass)], opts...) + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + _, err = c.adaptationClient.DeleteCustomClass(ctx, req, settings.GRPC...) + return err + }, opts...) + return err +} + +// CustomClassIterator manages a stream of *speechpb.CustomClass. +type CustomClassIterator struct { + items []*speechpb.CustomClass + pageInfo *iterator.PageInfo + nextFunc func() error + + // Response is the raw response for the current page. + // It must be cast to the RPC response type. + // Calling Next() or InternalFetch() updates this value. + Response interface{} + + // InternalFetch is for use by the Google Cloud Libraries only. + // It is not part of the stable interface of this package. + // + // InternalFetch returns results from a single call to the underlying RPC. + // The number of results is no greater than pageSize. + // If there are no more results, nextPageToken is empty and err is nil. + InternalFetch func(pageSize int, pageToken string) (results []*speechpb.CustomClass, nextPageToken string, err error) +} + +// PageInfo supports pagination. See the google.golang.org/api/iterator package for details. +func (it *CustomClassIterator) PageInfo() *iterator.PageInfo { + return it.pageInfo +} + +// Next returns the next result. Its second return value is iterator.Done if there are no more +// results. Once Next returns Done, all subsequent calls will return Done. +func (it *CustomClassIterator) Next() (*speechpb.CustomClass, error) { + var item *speechpb.CustomClass + if err := it.nextFunc(); err != nil { + return item, err + } + item = it.items[0] + it.items = it.items[1:] + return item, nil +} + +func (it *CustomClassIterator) bufLen() int { + return len(it.items) +} + +func (it *CustomClassIterator) takeBuf() interface{} { + b := it.items + it.items = nil + return b +} + +// PhraseSetIterator manages a stream of *speechpb.PhraseSet. +type PhraseSetIterator struct { + items []*speechpb.PhraseSet + pageInfo *iterator.PageInfo + nextFunc func() error + + // Response is the raw response for the current page. + // It must be cast to the RPC response type. + // Calling Next() or InternalFetch() updates this value. + Response interface{} + + // InternalFetch is for use by the Google Cloud Libraries only. + // It is not part of the stable interface of this package. + // + // InternalFetch returns results from a single call to the underlying RPC. + // The number of results is no greater than pageSize. + // If there are no more results, nextPageToken is empty and err is nil. + InternalFetch func(pageSize int, pageToken string) (results []*speechpb.PhraseSet, nextPageToken string, err error) +} + +// PageInfo supports pagination. See the google.golang.org/api/iterator package for details. +func (it *PhraseSetIterator) PageInfo() *iterator.PageInfo { + return it.pageInfo +} + +// Next returns the next result. Its second return value is iterator.Done if there are no more +// results. Once Next returns Done, all subsequent calls will return Done. +func (it *PhraseSetIterator) Next() (*speechpb.PhraseSet, error) { + var item *speechpb.PhraseSet + if err := it.nextFunc(); err != nil { + return item, err + } + item = it.items[0] + it.items = it.items[1:] + return item, nil +} + +func (it *PhraseSetIterator) bufLen() int { + return len(it.items) +} + +func (it *PhraseSetIterator) takeBuf() interface{} { + b := it.items + it.items = nil + return b +} diff --git a/speech/apiv1p1beta1/adaptation_client_example_test.go b/speech/apiv1p1beta1/adaptation_client_example_test.go new file mode 100644 index 000000000000..8fd678320cbd --- /dev/null +++ b/speech/apiv1p1beta1/adaptation_client_example_test.go @@ -0,0 +1,241 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go_gapic. DO NOT EDIT. + +package speech_test + +import ( + "context" + + speech "cloud.google.com/go/speech/apiv1p1beta1" + "google.golang.org/api/iterator" + speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" +) + +func ExampleNewAdaptationClient() { + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + // TODO: Use client. + _ = c +} + +func ExampleAdaptationClient_CreatePhraseSet() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.CreatePhraseSetRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.CreatePhraseSet(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleAdaptationClient_GetPhraseSet() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.GetPhraseSetRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.GetPhraseSet(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleAdaptationClient_ListPhraseSet() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + // import "google.golang.org/api/iterator" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.ListPhraseSetRequest{ + // TODO: Fill request struct fields. + } + it := c.ListPhraseSet(ctx, req) + for { + resp, err := it.Next() + if err == iterator.Done { + break + } + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp + } +} + +func ExampleAdaptationClient_UpdatePhraseSet() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.UpdatePhraseSetRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.UpdatePhraseSet(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleAdaptationClient_DeletePhraseSet() { + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.DeletePhraseSetRequest{ + // TODO: Fill request struct fields. + } + err = c.DeletePhraseSet(ctx, req) + if err != nil { + // TODO: Handle error. + } +} + +func ExampleAdaptationClient_CreateCustomClass() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.CreateCustomClassRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.CreateCustomClass(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleAdaptationClient_GetCustomClass() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.GetCustomClassRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.GetCustomClass(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleAdaptationClient_ListCustomClasses() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + // import "google.golang.org/api/iterator" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.ListCustomClassesRequest{ + // TODO: Fill request struct fields. + } + it := c.ListCustomClasses(ctx, req) + for { + resp, err := it.Next() + if err == iterator.Done { + break + } + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp + } +} + +func ExampleAdaptationClient_UpdateCustomClass() { + // import speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" + + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.UpdateCustomClassRequest{ + // TODO: Fill request struct fields. + } + resp, err := c.UpdateCustomClass(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +func ExampleAdaptationClient_DeleteCustomClass() { + ctx := context.Background() + c, err := speech.NewAdaptationClient(ctx) + if err != nil { + // TODO: Handle error. + } + + req := &speechpb.DeleteCustomClassRequest{ + // TODO: Fill request struct fields. + } + err = c.DeleteCustomClass(ctx, req) + if err != nil { + // TODO: Handle error. + } +} diff --git a/speech/apiv1p1beta1/doc.go b/speech/apiv1p1beta1/doc.go index d0efccfd03ea..feac1fda28a4 100644 --- a/speech/apiv1p1beta1/doc.go +++ b/speech/apiv1p1beta1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/speech/apiv1p1beta1/gapic_metadata.json b/speech/apiv1p1beta1/gapic_metadata.json index 9f2a628aff0f..37520a28aee8 100644 --- a/speech/apiv1p1beta1/gapic_metadata.json +++ b/speech/apiv1p1beta1/gapic_metadata.json @@ -5,6 +5,65 @@ "protoPackage": "google.cloud.speech.v1p1beta1", "libraryPackage": "cloud.google.com/go/speech/apiv1p1beta1", "services": { + "Adaptation": { + "clients": { + "grpc": { + "libraryClient": "AdaptationClient", + "rpcs": { + "CreateCustomClass": { + "methods": [ + "CreateCustomClass" + ] + }, + "CreatePhraseSet": { + "methods": [ + "CreatePhraseSet" + ] + }, + "DeleteCustomClass": { + "methods": [ + "DeleteCustomClass" + ] + }, + "DeletePhraseSet": { + "methods": [ + "DeletePhraseSet" + ] + }, + "GetCustomClass": { + "methods": [ + "GetCustomClass" + ] + }, + "GetPhraseSet": { + "methods": [ + "GetPhraseSet" + ] + }, + "ListCustomClasses": { + "methods": [ + "ListCustomClasses" + ] + }, + "ListPhraseSet": { + "methods": [ + "ListPhraseSet" + ] + }, + "UpdateCustomClass": { + "methods": [ + "UpdateCustomClass" + ] + }, + "UpdatePhraseSet": { + "methods": [ + "UpdatePhraseSet" + ] + } + } + } + } + }, "Speech": { "clients": { "grpc": { diff --git a/storage/go.mod b/storage/go.mod index 2330cda4f000..e960f9e48b9f 100644 --- a/storage/go.mod +++ b/storage/go.mod @@ -9,9 +9,9 @@ require ( github.com/googleapis/gax-go/v2 v2.0.5 golang.org/x/mod v0.4.1 // indirect golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 - golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect + golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 // indirect golang.org/x/tools v0.1.0 // indirect google.golang.org/api v0.40.0 - google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 + google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b google.golang.org/grpc v1.35.0 ) diff --git a/storage/go.sum b/storage/go.sum index f7f97f3827c5..b6de433f8aed 100644 --- a/storage/go.sum +++ b/storage/go.sum @@ -356,8 +356,8 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b h1:lAZ0/chPUDWwjqosYR0X4M490zQhMsiJ4K3DbA7o+3g= -golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1 h1:mDSj8NPponP6fRpRDblAGl5bpSHjPulHtk5lGl0gLSY= +golang.org/x/sys v0.0.0-20210219172841-57ea560cfca1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -501,8 +501,8 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 h1:Px6YyLaNKEo5eoniIBAv6Es0jbvyEmSYqOac64iS2Rs= -google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b h1:zTeTu5p/EXQSqNJboHUw32wdNFYQTT9vSc+ibSpCoLk= +google.golang.org/genproto v0.0.0-20210219173056-d891e3cb3b5b/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/talent/apiv4/doc.go b/talent/apiv4/doc.go index 158573d1ad87..3de7c262152a 100644 --- a/talent/apiv4/doc.go +++ b/talent/apiv4/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/talent/apiv4/gapic_metadata.json b/talent/apiv4/gapic_metadata.json index 86ef9dd8e64d..864dcdd90bdd 100644 --- a/talent/apiv4/gapic_metadata.json +++ b/talent/apiv4/gapic_metadata.json @@ -8,7 +8,7 @@ "CompanyService": { "clients": { "grpc": { - "libraryClient": "Company", + "libraryClient": "CompanyClient", "rpcs": { "CreateCompany": { "methods": [ @@ -42,7 +42,7 @@ "Completion": { "clients": { "grpc": { - "libraryClient": "Completion", + "libraryClient": "CompletionClient", "rpcs": { "CompleteQuery": { "methods": [ @@ -56,7 +56,7 @@ "EventService": { "clients": { "grpc": { - "libraryClient": "Event", + "libraryClient": "EventClient", "rpcs": { "CreateClientEvent": { "methods": [ @@ -70,7 +70,7 @@ "JobService": { "clients": { "grpc": { - "libraryClient": "Job", + "libraryClient": "JobClient", "rpcs": { "BatchCreateJobs": { "methods": [ @@ -129,7 +129,7 @@ "TenantService": { "clients": { "grpc": { - "libraryClient": "Tenant", + "libraryClient": "TenantClient", "rpcs": { "CreateTenant": { "methods": [ diff --git a/talent/apiv4beta1/doc.go b/talent/apiv4beta1/doc.go index fa5fa4053963..126b99d52d02 100644 --- a/talent/apiv4beta1/doc.go +++ b/talent/apiv4beta1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/talent/apiv4beta1/gapic_metadata.json b/talent/apiv4beta1/gapic_metadata.json index 3e66c5a4cc13..5bfc350233b6 100644 --- a/talent/apiv4beta1/gapic_metadata.json +++ b/talent/apiv4beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "ApplicationService": { "clients": { "grpc": { - "libraryClient": "Application", + "libraryClient": "ApplicationClient", "rpcs": { "CreateApplication": { "methods": [ @@ -42,7 +42,7 @@ "CompanyService": { "clients": { "grpc": { - "libraryClient": "Company", + "libraryClient": "CompanyClient", "rpcs": { "CreateCompany": { "methods": [ @@ -76,7 +76,7 @@ "Completion": { "clients": { "grpc": { - "libraryClient": "Completion", + "libraryClient": "CompletionClient", "rpcs": { "CompleteQuery": { "methods": [ @@ -90,7 +90,7 @@ "EventService": { "clients": { "grpc": { - "libraryClient": "Event", + "libraryClient": "EventClient", "rpcs": { "CreateClientEvent": { "methods": [ @@ -104,7 +104,7 @@ "JobService": { "clients": { "grpc": { - "libraryClient": "Job", + "libraryClient": "JobClient", "rpcs": { "BatchCreateJobs": { "methods": [ @@ -163,7 +163,7 @@ "ProfileService": { "clients": { "grpc": { - "libraryClient": "Profile", + "libraryClient": "ProfileClient", "rpcs": { "CreateProfile": { "methods": [ @@ -202,7 +202,7 @@ "TenantService": { "clients": { "grpc": { - "libraryClient": "Tenant", + "libraryClient": "TenantClient", "rpcs": { "CreateTenant": { "methods": [ diff --git a/texttospeech/apiv1/doc.go b/texttospeech/apiv1/doc.go index aee0c3b9c718..45fe63cc72f0 100644 --- a/texttospeech/apiv1/doc.go +++ b/texttospeech/apiv1/doc.go @@ -49,7 +49,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/trace/apiv1/doc.go b/trace/apiv1/doc.go index b3feee8bc314..cfce3ad5c48d 100644 --- a/trace/apiv1/doc.go +++ b/trace/apiv1/doc.go @@ -52,7 +52,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/trace/apiv2/doc.go b/trace/apiv2/doc.go index b221c36f6aa0..e74b9efc5d78 100644 --- a/trace/apiv2/doc.go +++ b/trace/apiv2/doc.go @@ -52,7 +52,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/translate/apiv3/doc.go b/translate/apiv3/doc.go index 5e3de753f349..cac2f2c040b5 100644 --- a/translate/apiv3/doc.go +++ b/translate/apiv3/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/translate/apiv3/gapic_metadata.json b/translate/apiv3/gapic_metadata.json index 82a0cf2ac638..cc792ac4728c 100644 --- a/translate/apiv3/gapic_metadata.json +++ b/translate/apiv3/gapic_metadata.json @@ -8,7 +8,7 @@ "TranslationService": { "clients": { "grpc": { - "libraryClient": "Translation", + "libraryClient": "TranslationClient", "rpcs": { "BatchTranslateText": { "methods": [ diff --git a/video/transcoder/apiv1beta1/doc.go b/video/transcoder/apiv1beta1/doc.go index 17bf387209b1..bf570a748b29 100644 --- a/video/transcoder/apiv1beta1/doc.go +++ b/video/transcoder/apiv1beta1/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/videointelligence/apiv1/doc.go b/videointelligence/apiv1/doc.go index b2d56ff5998a..49aeadbd0d04 100644 --- a/videointelligence/apiv1/doc.go +++ b/videointelligence/apiv1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/videointelligence/apiv1beta2/doc.go b/videointelligence/apiv1beta2/doc.go index 1b634260d47a..e3c254852121 100644 --- a/videointelligence/apiv1beta2/doc.go +++ b/videointelligence/apiv1beta2/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/vision/apiv1/doc.go b/vision/apiv1/doc.go index 97eafa2b14e8..7922cfbe2b41 100644 --- a/vision/apiv1/doc.go +++ b/vision/apiv1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/vision/apiv1/gapic_metadata.json b/vision/apiv1/gapic_metadata.json index efefbda39e1d..98867fffb093 100644 --- a/vision/apiv1/gapic_metadata.json +++ b/vision/apiv1/gapic_metadata.json @@ -8,7 +8,7 @@ "ImageAnnotator": { "clients": { "grpc": { - "libraryClient": "ImageAnnotator", + "libraryClient": "ImageAnnotatorClient", "rpcs": { "AsyncBatchAnnotateFiles": { "methods": [ @@ -37,7 +37,7 @@ "ProductSearch": { "clients": { "grpc": { - "libraryClient": "ProductSearch", + "libraryClient": "ProductSearchClient", "rpcs": { "AddProductToProductSet": { "methods": [ diff --git a/vision/apiv1p1beta1/doc.go b/vision/apiv1p1beta1/doc.go index c9c4c28f7d67..9d8e5b90e920 100644 --- a/vision/apiv1p1beta1/doc.go +++ b/vision/apiv1p1beta1/doc.go @@ -50,7 +50,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/vision/apiv1p1beta1/gapic_metadata.json b/vision/apiv1p1beta1/gapic_metadata.json index be15a3c1e065..04778b0b3e36 100644 --- a/vision/apiv1p1beta1/gapic_metadata.json +++ b/vision/apiv1p1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "ImageAnnotator": { "clients": { "grpc": { - "libraryClient": "ImageAnnotator", + "libraryClient": "ImageAnnotatorClient", "rpcs": { "BatchAnnotateImages": { "methods": [ diff --git a/webrisk/apiv1/doc.go b/webrisk/apiv1/doc.go index 71dfd054341e..a766a09645db 100644 --- a/webrisk/apiv1/doc.go +++ b/webrisk/apiv1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/webrisk/apiv1beta1/doc.go b/webrisk/apiv1beta1/doc.go index c8674023ad68..aa4182dadbea 100644 --- a/webrisk/apiv1beta1/doc.go +++ b/webrisk/apiv1beta1/doc.go @@ -46,7 +46,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/webrisk/apiv1beta1/gapic_metadata.json b/webrisk/apiv1beta1/gapic_metadata.json index 56a75f5f69a4..75941f478c87 100644 --- a/webrisk/apiv1beta1/gapic_metadata.json +++ b/webrisk/apiv1beta1/gapic_metadata.json @@ -8,7 +8,7 @@ "WebRiskServiceV1Beta1": { "clients": { "grpc": { - "libraryClient": "WebRiskServiceV1Beta1", + "libraryClient": "WebRiskServiceV1Beta1Client", "rpcs": { "ComputeThreatListDiff": { "methods": [ diff --git a/websecurityscanner/apiv1/doc.go b/websecurityscanner/apiv1/doc.go index f8dd498af414..7a7f59749976 100644 --- a/websecurityscanner/apiv1/doc.go +++ b/websecurityscanner/apiv1/doc.go @@ -48,7 +48,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/workflows/apiv1beta/doc.go b/workflows/apiv1beta/doc.go index 83b6573dd4fb..d0a91e7b1f89 100644 --- a/workflows/apiv1beta/doc.go +++ b/workflows/apiv1beta/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/workflows/executions/apiv1beta/doc.go b/workflows/executions/apiv1beta/doc.go index 9c46791f4a4b..8d45e25c8391 100644 --- a/workflows/executions/apiv1beta/doc.go +++ b/workflows/executions/apiv1beta/doc.go @@ -44,7 +44,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210218" +const versionClient = "20210219" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx)