diff --git a/assuredworkloads/apiv1beta1/doc.go b/assuredworkloads/apiv1beta1/doc.go index 62f22097970..3cbbf0b8867 100644 --- a/assuredworkloads/apiv1beta1/doc.go +++ b/assuredworkloads/apiv1beta1/doc.go @@ -89,7 +89,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/assuredworkloads/go.mod b/assuredworkloads/go.mod index e65c28f295c..563047a3fba 100644 --- a/assuredworkloads/go.mod +++ b/assuredworkloads/go.mod @@ -6,7 +6,7 @@ require ( cloud.google.com/go v0.93.3 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/assuredworkloads/go.sum b/assuredworkloads/go.sum index 5bfcfa190f2..1b4153b521f 100644 --- a/assuredworkloads/go.sum +++ b/assuredworkloads/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 h1:XosVttQUxX8erNhEruTu053/VchgYuksoS9Bj/OITjU= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/cloudbuild/apiv1/v2/doc.go b/cloudbuild/apiv1/v2/doc.go index 3675b3ae92b..93d1bb51e52 100644 --- a/cloudbuild/apiv1/v2/doc.go +++ b/cloudbuild/apiv1/v2/doc.go @@ -89,7 +89,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/cloudbuild/go.mod b/cloudbuild/go.mod index 7e6302be4ed..85ba9ea84db 100644 --- a/cloudbuild/go.mod +++ b/cloudbuild/go.mod @@ -7,7 +7,7 @@ require ( github.com/golang/protobuf v1.5.2 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/cloudbuild/go.sum b/cloudbuild/go.sum index 5bfcfa190f2..1b4153b521f 100644 --- a/cloudbuild/go.sum +++ b/cloudbuild/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 h1:XosVttQUxX8erNhEruTu053/VchgYuksoS9Bj/OITjU= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/dialogflow/cx/apiv3/agents_client.go b/dialogflow/cx/apiv3/agents_client.go index 60e24a644e7..7141e01ee34 100644 --- a/dialogflow/cx/apiv3/agents_client.go +++ b/dialogflow/cx/apiv3/agents_client.go @@ -262,6 +262,14 @@ func (c *AgentsClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgentReq } // ExportAgent exports the specified agent to a binary file. +// 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: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// +// response: ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } diff --git a/dialogflow/cx/apiv3/doc.go b/dialogflow/cx/apiv3/doc.go index 193a3204e2e..b22f4f23393 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 = "20210824" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/dialogflow/cx/apiv3/test_cases_client.go b/dialogflow/cx/apiv3/test_cases_client.go index 620435ef55b..680ac2c8828 100644 --- a/dialogflow/cx/apiv3/test_cases_client.go +++ b/dialogflow/cx/apiv3/test_cases_client.go @@ -295,6 +295,13 @@ func (c *TestCasesClient) UpdateTestCase(ctx context.Context, req *cxpb.UpdateTe } // RunTestCase kicks off a test case run. +// 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: RunTestCaseMetadata +// +// response: RunTestCaseResponse func (c *TestCasesClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { return c.internalClient.RunTestCase(ctx, req, opts...) } diff --git a/dialogflow/go.mod b/dialogflow/go.mod index 019d9f65065..109c7dd8867 100644 --- a/dialogflow/go.mod +++ b/dialogflow/go.mod @@ -7,7 +7,7 @@ require ( github.com/golang/protobuf v1.5.2 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210824181836-a4879c3d0e89 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/dialogflow/go.sum b/dialogflow/go.sum index 027daca831a..1b4153b521f 100644 --- a/dialogflow/go.sum +++ b/dialogflow/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210824181836-a4879c3d0e89 h1:x1dY+qZWu7fKPOOo4mM9kMcUfVVlDvHreE17KGDho00= -google.golang.org/genproto v0.0.0-20210824181836-a4879c3d0e89/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/gkehub/apiv1beta1/doc.go b/gkehub/apiv1beta1/doc.go index d451f299205..4e85b5453a0 100644 --- a/gkehub/apiv1beta1/doc.go +++ b/gkehub/apiv1beta1/doc.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. // Package gkehub is an auto-generated package for the -// GKE Hub. +// GKE Hub API. // // NOTE: This package is in beta. It is not stable, and may be subject to changes. // @@ -90,7 +90,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/gkehub/apiv1beta1/gke_hub_membership_client.go b/gkehub/apiv1beta1/gke_hub_membership_client.go index d84c6e6eba5..aa44b82c63f 100644 --- a/gkehub/apiv1beta1/gke_hub_membership_client.go +++ b/gkehub/apiv1beta1/gke_hub_membership_client.go @@ -158,7 +158,7 @@ func defaultGkeHubMembershipCallOptions() *GkeHubMembershipCallOptions { } } -// internalGkeHubMembershipClient is an interface that defines the methods availaible from GKE Hub. +// internalGkeHubMembershipClient is an interface that defines the methods availaible from GKE Hub API. type internalGkeHubMembershipClient interface { Close() error setGoogleClientInfo(...string) @@ -176,11 +176,17 @@ type internalGkeHubMembershipClient interface { GenerateExclusivityManifest(context.Context, *gkehubpb.GenerateExclusivityManifestRequest, ...gax.CallOption) (*gkehubpb.GenerateExclusivityManifestResponse, error) } -// GkeHubMembershipClient is a client for interacting with GKE Hub. +// GkeHubMembershipClient is a client for interacting with GKE Hub API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// GKE Hub CRUD API for the Membership resource. -// The Membership service is currently only available in the global location. +// The GKE Hub MembershipService handles the registration of many Kubernetes +// clusters to Google Cloud, represented with the Membership resource. +// +// GKE Hub is currently only available in the global region. +// +// Membership management may be non-trivial: it is recommended to use one +// of the Google-provided client libraries or tools where possible when working +// with Membership resources. type GkeHubMembershipClient struct { // The internal transport-dependent client. internalClient internalGkeHubMembershipClient @@ -226,7 +232,11 @@ func (c *GkeHubMembershipClient) GetMembership(ctx context.Context, req *gkehubp return c.internalClient.GetMembership(ctx, req, opts...) } -// CreateMembership adds a new Membership. +// CreateMembership creates a new Membership. +// +// This is currently only supported for GKE clusters on Google Cloud. +// To register other clusters, follow the instructions at +// https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster (at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster). func (c *GkeHubMembershipClient) CreateMembership(ctx context.Context, req *gkehubpb.CreateMembershipRequest, opts ...gax.CallOption) (*CreateMembershipOperation, error) { return c.internalClient.CreateMembership(ctx, req, opts...) } @@ -238,6 +248,10 @@ func (c *GkeHubMembershipClient) CreateMembershipOperation(name string) *CreateM } // DeleteMembership removes a Membership. +// +// This is currently only supported for GKE clusters on Google Cloud. +// To unregister other clusters, follow the instructions at +// https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster (at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster). func (c *GkeHubMembershipClient) DeleteMembership(ctx context.Context, req *gkehubpb.DeleteMembershipRequest, opts ...gax.CallOption) (*DeleteMembershipOperation, error) { return c.internalClient.DeleteMembership(ctx, req, opts...) } @@ -260,6 +274,9 @@ func (c *GkeHubMembershipClient) UpdateMembershipOperation(name string) *UpdateM } // GenerateConnectManifest generates the manifest for deployment of the GKE connect agent. +// +// This method is used internally by Google-provided libraries. +// Most clients should not need to call this method directly. func (c *GkeHubMembershipClient) GenerateConnectManifest(ctx context.Context, req *gkehubpb.GenerateConnectManifestRequest, opts ...gax.CallOption) (*gkehubpb.GenerateConnectManifestResponse, error) { return c.internalClient.GenerateConnectManifest(ctx, req, opts...) } @@ -286,7 +303,7 @@ func (c *GkeHubMembershipClient) GenerateExclusivityManifest(ctx context.Context return c.internalClient.GenerateExclusivityManifest(ctx, req, opts...) } -// gkeHubMembershipGRPCClient is a client for interacting with GKE Hub over gRPC transport. +// gkeHubMembershipGRPCClient is a client for interacting with GKE Hub API over gRPC transport. // // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. type gkeHubMembershipGRPCClient struct { @@ -314,8 +331,14 @@ type gkeHubMembershipGRPCClient struct { // NewGkeHubMembershipClient creates a new gke hub membership service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// GKE Hub CRUD API for the Membership resource. -// The Membership service is currently only available in the global location. +// The GKE Hub MembershipService handles the registration of many Kubernetes +// clusters to Google Cloud, represented with the Membership resource. +// +// GKE Hub is currently only available in the global region. +// +// Membership management may be non-trivial: it is recommended to use one +// of the Google-provided client libraries or tools where possible when working +// with Membership resources. func NewGkeHubMembershipClient(ctx context.Context, opts ...option.ClientOption) (*GkeHubMembershipClient, error) { clientOpts := defaultGkeHubMembershipGRPCClientOptions() if newGkeHubMembershipClientHook != nil { diff --git a/gkehub/go.mod b/gkehub/go.mod index 3c5e80fe5e0..86f32b69360 100644 --- a/gkehub/go.mod +++ b/gkehub/go.mod @@ -6,7 +6,7 @@ require ( cloud.google.com/go v0.93.3 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/gkehub/go.sum b/gkehub/go.sum index 5bfcfa190f2..1b4153b521f 100644 --- a/gkehub/go.sum +++ b/gkehub/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 h1:XosVttQUxX8erNhEruTu053/VchgYuksoS9Bj/OITjU= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/go.mod b/go.mod index 09f7a101ce0..9c52480baa9 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( go.opencensus.io v0.23.0 golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/go.sum b/go.sum index 8bd55c8afb8..3bbcf90d7cd 100644 --- a/go.sum +++ b/go.sum @@ -475,8 +475,8 @@ google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda h1:iT5uhT54PtbqUsWddv/nnEWdE5e/MTr+Nv3vjxlBP1A= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/.repo-metadata-full.json b/internal/.repo-metadata-full.json index 308f593b116..cff84f5453f 100644 --- a/internal/.repo-metadata-full.json +++ b/internal/.repo-metadata-full.json @@ -404,15 +404,6 @@ "release_level": "ga", "library_type": "" }, - "cloud.google.com/go/dataproc/apiv1beta2": { - "distribution_name": "cloud.google.com/go/dataproc/apiv1beta2", - "description": "Cloud Dataproc API", - "language": "Go", - "client_library_type": "generated", - "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/dataproc/latest/apiv1beta2", - "release_level": "beta", - "library_type": "" - }, "cloud.google.com/go/dataqna/apiv1alpha": { "distribution_name": "cloud.google.com/go/dataqna/apiv1alpha", "description": "Data QnA API", @@ -631,7 +622,7 @@ }, "cloud.google.com/go/gkehub/apiv1beta1": { "distribution_name": "cloud.google.com/go/gkehub/apiv1beta1", - "description": "GKE Hub", + "description": "GKE Hub API", "language": "Go", "client_library_type": "generated", "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/gkehub/latest/apiv1beta1", diff --git a/internal/generated/snippets/go.mod b/internal/generated/snippets/go.mod index 04c4c127df4..614776d892a 100644 --- a/internal/generated/snippets/go.mod +++ b/internal/generated/snippets/go.mod @@ -119,7 +119,7 @@ require ( cloud.google.com/go/websecurityscanner v0.1.0 cloud.google.com/go/workflows v0.1.0 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 ) replace cloud.google.com/go/storagetransfer => ../../../storagetransfer diff --git a/internal/generated/snippets/go.sum b/internal/generated/snippets/go.sum index 94fc42b6d65..f26e0af67dd 100644 --- a/internal/generated/snippets/go.sum +++ b/internal/generated/snippets/go.sum @@ -141,8 +141,9 @@ google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEY google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210824181836-a4879c3d0e89/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda h1:iT5uhT54PtbqUsWddv/nnEWdE5e/MTr+Nv3vjxlBP1A= google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/godocfx/go.sum b/internal/godocfx/go.sum index 6814773bf46..82b91560c57 100644 --- a/internal/godocfx/go.sum +++ b/internal/godocfx/go.sum @@ -298,8 +298,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-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda h1:iT5uhT54PtbqUsWddv/nnEWdE5e/MTr+Nv3vjxlBP1A= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/monitoring/apiv3/v2/alert_policy_client.go b/monitoring/apiv3/v2/alert_policy_client.go index 8425e6239ed..033983a100d 100644 --- a/monitoring/apiv3/v2/alert_policy_client.go +++ b/monitoring/apiv3/v2/alert_policy_client.go @@ -64,7 +64,6 @@ func defaultAlertPolicyCallOptions() *AlertPolicyCallOptions { ListAlertPolicies: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -76,7 +75,6 @@ func defaultAlertPolicyCallOptions() *AlertPolicyCallOptions { GetAlertPolicy: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -89,7 +87,6 @@ func defaultAlertPolicyCallOptions() *AlertPolicyCallOptions { DeleteAlertPolicy: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, diff --git a/monitoring/apiv3/v2/doc.go b/monitoring/apiv3/v2/doc.go index f9da0ff59d5..1fd09ea3a7a 100644 --- a/monitoring/apiv3/v2/doc.go +++ b/monitoring/apiv3/v2/doc.go @@ -22,7 +22,7 @@ // individual method pages. The table entries below are presented in // alphabetical order, not in order of common use. For explanations of the // concepts found in the table entries, read the Cloud Monitoring -// documentation (at /monitoring/docs). +// documentation (at https://cloud.google.com/monitoring/docs). // // Example usage // @@ -95,7 +95,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/monitoring/apiv3/v2/group_client.go b/monitoring/apiv3/v2/group_client.go index 58b2910fe7e..5f8a1f381ad 100644 --- a/monitoring/apiv3/v2/group_client.go +++ b/monitoring/apiv3/v2/group_client.go @@ -66,7 +66,6 @@ func defaultGroupCallOptions() *GroupCallOptions { ListGroups: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -78,7 +77,6 @@ func defaultGroupCallOptions() *GroupCallOptions { GetGroup: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -91,7 +89,6 @@ func defaultGroupCallOptions() *GroupCallOptions { UpdateGroup: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -103,7 +100,6 @@ func defaultGroupCallOptions() *GroupCallOptions { DeleteGroup: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -115,7 +111,6 @@ func defaultGroupCallOptions() *GroupCallOptions { ListGroupMembers: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -395,7 +390,7 @@ func (c *groupGRPCClient) CreateGroup(ctx context.Context, req *monitoringpb.Cre func (c *groupGRPCClient) UpdateGroup(ctx context.Context, req *monitoringpb.UpdateGroupRequest, opts ...gax.CallOption) (*monitoringpb.Group, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 180000*time.Millisecond) defer cancel() ctx = cctx } diff --git a/monitoring/apiv3/v2/metric_client.go b/monitoring/apiv3/v2/metric_client.go index 4d805ea9f16..7acc31c9a1a 100644 --- a/monitoring/apiv3/v2/metric_client.go +++ b/monitoring/apiv3/v2/metric_client.go @@ -69,7 +69,6 @@ func defaultMetricCallOptions() *MetricCallOptions { ListMonitoredResourceDescriptors: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -81,7 +80,6 @@ func defaultMetricCallOptions() *MetricCallOptions { GetMonitoredResourceDescriptor: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -93,7 +91,6 @@ func defaultMetricCallOptions() *MetricCallOptions { ListMetricDescriptors: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -105,7 +102,6 @@ func defaultMetricCallOptions() *MetricCallOptions { GetMetricDescriptor: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -118,7 +114,6 @@ func defaultMetricCallOptions() *MetricCallOptions { DeleteMetricDescriptor: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -130,7 +125,6 @@ func defaultMetricCallOptions() *MetricCallOptions { ListTimeSeries: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, diff --git a/monitoring/apiv3/v2/notification_channel_client.go b/monitoring/apiv3/v2/notification_channel_client.go index 231eb4e9178..f6ec34b3f7e 100644 --- a/monitoring/apiv3/v2/notification_channel_client.go +++ b/monitoring/apiv3/v2/notification_channel_client.go @@ -69,7 +69,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { ListNotificationChannelDescriptors: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -81,7 +80,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { GetNotificationChannelDescriptor: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -93,7 +91,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { ListNotificationChannels: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -105,7 +102,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { GetNotificationChannel: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -119,7 +115,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { DeleteNotificationChannel: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -132,7 +127,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { GetNotificationChannelVerificationCode: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -144,7 +138,6 @@ func defaultNotificationChannelCallOptions() *NotificationChannelCallOptions { VerifyNotificationChannel: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, diff --git a/monitoring/apiv3/v2/service_monitoring_client.go b/monitoring/apiv3/v2/service_monitoring_client.go index 41617c25d58..407588663cc 100644 --- a/monitoring/apiv3/v2/service_monitoring_client.go +++ b/monitoring/apiv3/v2/service_monitoring_client.go @@ -70,7 +70,6 @@ func defaultServiceMonitoringCallOptions() *ServiceMonitoringCallOptions { GetService: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -82,7 +81,6 @@ func defaultServiceMonitoringCallOptions() *ServiceMonitoringCallOptions { ListServices: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -95,7 +93,6 @@ func defaultServiceMonitoringCallOptions() *ServiceMonitoringCallOptions { DeleteService: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -108,7 +105,6 @@ func defaultServiceMonitoringCallOptions() *ServiceMonitoringCallOptions { GetServiceLevelObjective: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -120,7 +116,6 @@ func defaultServiceMonitoringCallOptions() *ServiceMonitoringCallOptions { ListServiceLevelObjectives: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -133,7 +128,6 @@ func defaultServiceMonitoringCallOptions() *ServiceMonitoringCallOptions { DeleteServiceLevelObjective: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, diff --git a/monitoring/apiv3/v2/uptime_check_client.go b/monitoring/apiv3/v2/uptime_check_client.go index db8df05baef..2d84a282d95 100644 --- a/monitoring/apiv3/v2/uptime_check_client.go +++ b/monitoring/apiv3/v2/uptime_check_client.go @@ -65,7 +65,6 @@ func defaultUptimeCheckCallOptions() *UptimeCheckCallOptions { ListUptimeCheckConfigs: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -77,7 +76,6 @@ func defaultUptimeCheckCallOptions() *UptimeCheckCallOptions { GetUptimeCheckConfig: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -91,7 +89,6 @@ func defaultUptimeCheckCallOptions() *UptimeCheckCallOptions { DeleteUptimeCheckConfig: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, @@ -103,7 +100,6 @@ func defaultUptimeCheckCallOptions() *UptimeCheckCallOptions { ListUptimeCheckIps: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ - codes.DeadlineExceeded, codes.Unavailable, }, gax.Backoff{ Initial: 100 * time.Millisecond, diff --git a/monitoring/dashboard/apiv1/doc.go b/monitoring/dashboard/apiv1/doc.go index e319766ed7d..1c3be1960bf 100644 --- a/monitoring/dashboard/apiv1/doc.go +++ b/monitoring/dashboard/apiv1/doc.go @@ -89,7 +89,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/monitoring/go.mod b/monitoring/go.mod index 8f5eeb38fd6..aaf7ec14c71 100644 --- a/monitoring/go.mod +++ b/monitoring/go.mod @@ -7,7 +7,7 @@ require ( github.com/golang/protobuf v1.5.2 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/monitoring/go.sum b/monitoring/go.sum index 5bfcfa190f2..1b4153b521f 100644 --- a/monitoring/go.sum +++ b/monitoring/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 h1:XosVttQUxX8erNhEruTu053/VchgYuksoS9Bj/OITjU= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/retail/apiv2/catalog_client.go b/retail/apiv2/catalog_client.go index c7df654bf66..c7afcbe812d 100644 --- a/retail/apiv2/catalog_client.go +++ b/retail/apiv2/catalog_client.go @@ -67,7 +67,7 @@ func defaultCatalogCallOptions() *CatalogCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -79,7 +79,7 @@ func defaultCatalogCallOptions() *CatalogCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -91,7 +91,7 @@ func defaultCatalogCallOptions() *CatalogCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -103,7 +103,7 @@ func defaultCatalogCallOptions() *CatalogCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -347,7 +347,7 @@ func (c *catalogGRPCClient) ListCatalogs(ctx context.Context, req *retailpb.List func (c *catalogGRPCClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateCatalogRequest, opts ...gax.CallOption) (*retailpb.Catalog, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } @@ -368,7 +368,7 @@ func (c *catalogGRPCClient) UpdateCatalog(ctx context.Context, req *retailpb.Upd func (c *catalogGRPCClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } @@ -385,7 +385,7 @@ func (c *catalogGRPCClient) SetDefaultBranch(ctx context.Context, req *retailpb. func (c *catalogGRPCClient) GetDefaultBranch(ctx context.Context, req *retailpb.GetDefaultBranchRequest, opts ...gax.CallOption) (*retailpb.GetDefaultBranchResponse, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } diff --git a/retail/apiv2/completion_client.go b/retail/apiv2/completion_client.go index 603941a5950..d3004f55c8d 100644 --- a/retail/apiv2/completion_client.go +++ b/retail/apiv2/completion_client.go @@ -66,7 +66,7 @@ func defaultCompletionCallOptions() *CompletionCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -78,7 +78,7 @@ func defaultCompletionCallOptions() *CompletionCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -267,7 +267,7 @@ func (c *completionGRPCClient) Close() error { func (c *completionGRPCClient) CompleteQuery(ctx context.Context, req *retailpb.CompleteQueryRequest, opts ...gax.CallOption) (*retailpb.CompleteQueryResponse, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } @@ -288,7 +288,7 @@ func (c *completionGRPCClient) CompleteQuery(ctx context.Context, req *retailpb. func (c *completionGRPCClient) ImportCompletionData(ctx context.Context, req *retailpb.ImportCompletionDataRequest, opts ...gax.CallOption) (*ImportCompletionDataOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } diff --git a/retail/apiv2/doc.go b/retail/apiv2/doc.go index 6c30e9ff9b3..008d2a9a3f8 100644 --- a/retail/apiv2/doc.go +++ b/retail/apiv2/doc.go @@ -92,7 +92,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/retail/apiv2/prediction_client.go b/retail/apiv2/prediction_client.go index 6e0f384adcc..ce62e3d04e2 100644 --- a/retail/apiv2/prediction_client.go +++ b/retail/apiv2/prediction_client.go @@ -62,7 +62,7 @@ func defaultPredictionCallOptions() *PredictionCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -199,7 +199,7 @@ func (c *predictionGRPCClient) Close() error { func (c *predictionGRPCClient) Predict(ctx context.Context, req *retailpb.PredictRequest, opts ...gax.CallOption) (*retailpb.PredictResponse, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } diff --git a/retail/apiv2/product_client.go b/retail/apiv2/product_client.go index 86cdf5c0d03..c0378657737 100644 --- a/retail/apiv2/product_client.go +++ b/retail/apiv2/product_client.go @@ -75,7 +75,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -87,7 +87,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -99,7 +99,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -111,7 +111,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -123,7 +123,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -135,7 +135,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 300000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -147,7 +147,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -159,7 +159,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -171,7 +171,7 @@ func defaultProductCallOptions() *ProductCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -480,7 +480,7 @@ func (c *productGRPCClient) Close() error { func (c *productGRPCClient) CreateProduct(ctx context.Context, req *retailpb.CreateProductRequest, opts ...gax.CallOption) (*retailpb.Product, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -501,7 +501,7 @@ func (c *productGRPCClient) CreateProduct(ctx context.Context, req *retailpb.Cre func (c *productGRPCClient) GetProduct(ctx context.Context, req *retailpb.GetProductRequest, opts ...gax.CallOption) (*retailpb.Product, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -566,7 +566,7 @@ func (c *productGRPCClient) ListProducts(ctx context.Context, req *retailpb.List func (c *productGRPCClient) UpdateProduct(ctx context.Context, req *retailpb.UpdateProductRequest, opts ...gax.CallOption) (*retailpb.Product, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -587,7 +587,7 @@ func (c *productGRPCClient) UpdateProduct(ctx context.Context, req *retailpb.Upd func (c *productGRPCClient) DeleteProduct(ctx context.Context, req *retailpb.DeleteProductRequest, opts ...gax.CallOption) error { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -604,7 +604,7 @@ func (c *productGRPCClient) DeleteProduct(ctx context.Context, req *retailpb.Del func (c *productGRPCClient) ImportProducts(ctx context.Context, req *retailpb.ImportProductsRequest, opts ...gax.CallOption) (*ImportProductsOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 300000*time.Millisecond) defer cancel() ctx = cctx } @@ -627,7 +627,7 @@ func (c *productGRPCClient) ImportProducts(ctx context.Context, req *retailpb.Im func (c *productGRPCClient) SetInventory(ctx context.Context, req *retailpb.SetInventoryRequest, opts ...gax.CallOption) (*SetInventoryOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -650,7 +650,7 @@ func (c *productGRPCClient) SetInventory(ctx context.Context, req *retailpb.SetI func (c *productGRPCClient) AddFulfillmentPlaces(ctx context.Context, req *retailpb.AddFulfillmentPlacesRequest, opts ...gax.CallOption) (*AddFulfillmentPlacesOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -673,7 +673,7 @@ func (c *productGRPCClient) AddFulfillmentPlaces(ctx context.Context, req *retai func (c *productGRPCClient) RemoveFulfillmentPlaces(ctx context.Context, req *retailpb.RemoveFulfillmentPlacesRequest, opts ...gax.CallOption) (*RemoveFulfillmentPlacesOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } diff --git a/retail/apiv2/search_client.go b/retail/apiv2/search_client.go index 87666f73391..cc6162a10fa 100644 --- a/retail/apiv2/search_client.go +++ b/retail/apiv2/search_client.go @@ -64,7 +64,7 @@ func defaultSearchCallOptions() *SearchCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), diff --git a/retail/apiv2/user_event_client.go b/retail/apiv2/user_event_client.go index b4cc464f4f6..4b12bc22c02 100644 --- a/retail/apiv2/user_event_client.go +++ b/retail/apiv2/user_event_client.go @@ -70,7 +70,7 @@ func defaultUserEventCallOptions() *UserEventCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -82,7 +82,7 @@ func defaultUserEventCallOptions() *UserEventCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -94,7 +94,7 @@ func defaultUserEventCallOptions() *UserEventCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 30000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -106,7 +106,7 @@ func defaultUserEventCallOptions() *UserEventCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 300000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -118,7 +118,7 @@ func defaultUserEventCallOptions() *UserEventCallOptions { codes.DeadlineExceeded, }, gax.Backoff{ Initial: 100 * time.Millisecond, - Max: 60000 * time.Millisecond, + Max: 5000 * time.Millisecond, Multiplier: 1.30, }) }), @@ -340,7 +340,7 @@ func (c *userEventGRPCClient) Close() error { func (c *userEventGRPCClient) WriteUserEvent(ctx context.Context, req *retailpb.WriteUserEventRequest, opts ...gax.CallOption) (*retailpb.UserEvent, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } @@ -361,7 +361,7 @@ func (c *userEventGRPCClient) WriteUserEvent(ctx context.Context, req *retailpb. func (c *userEventGRPCClient) CollectUserEvent(ctx context.Context, req *retailpb.CollectUserEventRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } @@ -382,7 +382,7 @@ func (c *userEventGRPCClient) CollectUserEvent(ctx context.Context, req *retailp func (c *userEventGRPCClient) PurgeUserEvents(ctx context.Context, req *retailpb.PurgeUserEventsRequest, opts ...gax.CallOption) (*PurgeUserEventsOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 30000*time.Millisecond) defer cancel() ctx = cctx } @@ -405,7 +405,7 @@ func (c *userEventGRPCClient) PurgeUserEvents(ctx context.Context, req *retailpb func (c *userEventGRPCClient) ImportUserEvents(ctx context.Context, req *retailpb.ImportUserEventsRequest, opts ...gax.CallOption) (*ImportUserEventsOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 300000*time.Millisecond) defer cancel() ctx = cctx } @@ -428,7 +428,7 @@ func (c *userEventGRPCClient) ImportUserEvents(ctx context.Context, req *retailp func (c *userEventGRPCClient) RejoinUserEvents(ctx context.Context, req *retailpb.RejoinUserEventsRequest, opts ...gax.CallOption) (*RejoinUserEventsOperation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { - cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + cctx, cancel := context.WithTimeout(ctx, 5000*time.Millisecond) defer cancel() ctx = cctx } diff --git a/retail/go.mod b/retail/go.mod index 1eb37a91214..eeea6b14832 100644 --- a/retail/go.mod +++ b/retail/go.mod @@ -6,7 +6,7 @@ require ( cloud.google.com/go v0.93.3 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/retail/go.sum b/retail/go.sum index 5bfcfa190f2..1b4153b521f 100644 --- a/retail/go.sum +++ b/retail/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 h1:XosVttQUxX8erNhEruTu053/VchgYuksoS9Bj/OITjU= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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/workflows/executions/apiv1beta/doc.go b/workflows/executions/apiv1beta/doc.go index 8632b7c2671..f3f02ace67e 100644 --- a/workflows/executions/apiv1beta/doc.go +++ b/workflows/executions/apiv1beta/doc.go @@ -92,7 +92,7 @@ import ( type clientHookParams struct{} type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error) -const versionClient = "20210821" +const versionClient = "20210827" func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { out, _ := metadata.FromOutgoingContext(ctx) diff --git a/workflows/go.mod b/workflows/go.mod index 8c4af5687be..bdd92c37eb0 100644 --- a/workflows/go.mod +++ b/workflows/go.mod @@ -6,7 +6,7 @@ require ( cloud.google.com/go v0.93.3 github.com/googleapis/gax-go/v2 v2.0.5 google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 + google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 google.golang.org/grpc v1.40.0 google.golang.org/protobuf v1.27.1 ) diff --git a/workflows/go.sum b/workflows/go.sum index 5bfcfa190f2..1b4153b521f 100644 --- a/workflows/go.sum +++ b/workflows/go.sum @@ -474,8 +474,8 @@ google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 h1:XosVttQUxX8erNhEruTu053/VchgYuksoS9Bj/OITjU= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06 h1:Ogdiaj9EMVKYHnDsESxwlTr/k5eqCdwoQVJEcdg0NbE= +google.golang.org/genproto v0.0.0-20210827211047-25e5f791fe06/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= 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=