From c46530b7e2674d60fb568c8d36a47d869d5cfc81 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 4 Dec 2021 00:13:46 +0000 Subject: [PATCH] chore(all): auto-regenerate gapics 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/728 Changes: feat(dialogflow/cx): added support for custom content types docs: reformat comments PiperOrigin-RevId: 414026488 Source-Link: https://github.com/googleapis/googleapis/commit/26ab5dd2398319e815f6d293a792d79ade3064f5 fix!(compute): handle GCP enum name start with uppercase IPProtocol (#691) Source-Link: https://github.com/googleapis/googleapis/commit/ae8950ff5cecd46eb3ee70c025d2be649d0cd111 --- compute/apiv1/doc.go | 2 +- dialogflow/cx/apiv3/doc.go | 2 +- dialogflow/cx/apiv3/versions_client.go | 9 +++------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/compute/apiv1/doc.go b/compute/apiv1/doc.go index 44cb11ca6178..7a8915366812 100644 --- a/compute/apiv1/doc.go +++ b/compute/apiv1/doc.go @@ -91,7 +91,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20211203" +const versionClient = "20211204" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dialogflow/cx/apiv3/doc.go b/dialogflow/cx/apiv3/doc.go index be50fbb5caa0..acff14eee0f6 100644 --- a/dialogflow/cx/apiv3/doc.go +++ b/dialogflow/cx/apiv3/doc.go @@ -91,7 +91,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20211118" +const versionClient = "20211204" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dialogflow/cx/apiv3/versions_client.go b/dialogflow/cx/apiv3/versions_client.go index d3a1557630ae..d21a5b72d48e 100644 --- a/dialogflow/cx/apiv3/versions_client.go +++ b/dialogflow/cx/apiv3/versions_client.go @@ -201,8 +201,7 @@ func (c *VersionsClient) Connection() *grpc.ClientConn { return c.internalClient.Connection() } -// ListVersions returns the list of all versions in the specified -// Flow. +// ListVersions returns the list of all versions in the specified Flow. func (c *VersionsClient) ListVersions(ctx context.Context, req *cxpb.ListVersionsRequest, opts ...gax.CallOption) *VersionIterator { return c.internalClient.ListVersions(ctx, req, opts...) } @@ -212,15 +211,13 @@ func (c *VersionsClient) GetVersion(ctx context.Context, req *cxpb.GetVersionReq return c.internalClient.GetVersion(ctx, req, opts...) } -// CreateVersion creates a Version in the specified -// Flow. +// CreateVersion creates a Version in the specified Flow. // // This method is a long-running // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: CreateVersionOperationMetadata // // response: Version func (c *VersionsClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) {