diff --git a/bigquery/go.mod b/bigquery/go.mod index 210f51a4617..9141dcbbc9f 100644 --- a/bigquery/go.mod +++ b/bigquery/go.mod @@ -14,7 +14,7 @@ require ( golang.org/x/sync v0.0.0-20210220032951-036812b2e83c golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/bigquery/go.sum b/bigquery/go.sum index 89c3e4e6f2f..bdb0935af79 100644 --- a/bigquery/go.sum +++ b/bigquery/go.sum @@ -554,8 +554,9 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/gapic_metadata.json b/bigquery/reservation/apiv1/gapic_metadata.json index 2a5451be566..af74246e8a4 100644 --- a/bigquery/reservation/apiv1/gapic_metadata.json +++ b/bigquery/reservation/apiv1/gapic_metadata.json @@ -95,6 +95,11 @@ "SplitCapacityCommitment" ] }, + "UpdateAssignment": { + "methods": [ + "UpdateAssignment" + ] + }, "UpdateBiReservation": { "methods": [ "UpdateBiReservation" diff --git a/bigquery/reservation/apiv1/reservation_client.go b/bigquery/reservation/apiv1/reservation_client.go index 8092af7b463..d654cc295f4 100644 --- a/bigquery/reservation/apiv1/reservation_client.go +++ b/bigquery/reservation/apiv1/reservation_client.go @@ -57,6 +57,7 @@ type CallOptions struct { SearchAssignments []gax.CallOption SearchAllAssignments []gax.CallOption MoveAssignment []gax.CallOption + UpdateAssignment []gax.CallOption GetBiReservation []gax.CallOption UpdateBiReservation []gax.CallOption } @@ -192,6 +193,7 @@ func defaultCallOptions() *CallOptions { }, SearchAllAssignments: []gax.CallOption{}, MoveAssignment: []gax.CallOption{}, + UpdateAssignment: []gax.CallOption{}, GetBiReservation: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ @@ -231,6 +233,7 @@ type internalClient interface { SearchAssignments(context.Context, *reservationpb.SearchAssignmentsRequest, ...gax.CallOption) *AssignmentIterator SearchAllAssignments(context.Context, *reservationpb.SearchAllAssignmentsRequest, ...gax.CallOption) *AssignmentIterator MoveAssignment(context.Context, *reservationpb.MoveAssignmentRequest, ...gax.CallOption) (*reservationpb.Assignment, error) + UpdateAssignment(context.Context, *reservationpb.UpdateAssignmentRequest, ...gax.CallOption) (*reservationpb.Assignment, error) GetBiReservation(context.Context, *reservationpb.GetBiReservationRequest, ...gax.CallOption) (*reservationpb.BiReservation, error) UpdateBiReservation(context.Context, *reservationpb.UpdateBiReservationRequest, ...gax.CallOption) (*reservationpb.BiReservation, error) } @@ -350,7 +353,7 @@ func (c *Client) UpdateCapacityCommitment(ctx context.Context, req *reservationp // // For example, in order to downgrade from 10000 slots to 8000, you might // split a 10000 capacity commitment into commitments of 2000 and 8000. Then, -// you would change the plan of the first one to FLEX and then delete it. +// you delete the first one after the commitment end time passes. func (c *Client) SplitCapacityCommitment(ctx context.Context, req *reservationpb.SplitCapacityCommitmentRequest, opts ...gax.CallOption) (*reservationpb.SplitCapacityCommitmentResponse, error) { return c.internalClient.SplitCapacityCommitment(ctx, req, opts...) } @@ -454,8 +457,8 @@ func (c *Client) DeleteAssignment(ctx context.Context, req *reservationpb.Delete return c.internalClient.DeleteAssignment(ctx, req, opts...) } -// SearchAssignments deprecated: Looks up assignments for a specified resource for a particular region. -// If the request is about a project: +// SearchAssignments deprecated: Looks up assignments for a specified resource for a particular +// region. If the request is about a project: // // Assignments created on the project will be returned if they exist. // @@ -524,6 +527,13 @@ func (c *Client) MoveAssignment(ctx context.Context, req *reservationpb.MoveAssi return c.internalClient.MoveAssignment(ctx, req, opts...) } +// UpdateAssignment updates an existing assignment. +// +// Only the priority field can be updated. +func (c *Client) UpdateAssignment(ctx context.Context, req *reservationpb.UpdateAssignmentRequest, opts ...gax.CallOption) (*reservationpb.Assignment, error) { + return c.internalClient.UpdateAssignment(ctx, req, opts...) +} + // GetBiReservation retrieves a BI reservation. func (c *Client) GetBiReservation(ctx context.Context, req *reservationpb.GetBiReservationRequest, opts ...gax.CallOption) (*reservationpb.BiReservation, error) { return c.internalClient.GetBiReservation(ctx, req, opts...) @@ -1134,6 +1144,23 @@ func (c *gRPCClient) MoveAssignment(ctx context.Context, req *reservationpb.Move return resp, nil } +func (c *gRPCClient) UpdateAssignment(ctx context.Context, req *reservationpb.UpdateAssignmentRequest, opts ...gax.CallOption) (*reservationpb.Assignment, error) { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "assignment.name", url.QueryEscape(req.GetAssignment().GetName()))) + + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append((*c.CallOptions).UpdateAssignment[0:len((*c.CallOptions).UpdateAssignment):len((*c.CallOptions).UpdateAssignment)], opts...) + var resp *reservationpb.Assignment + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.client.UpdateAssignment(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err + } + return resp, nil +} + func (c *gRPCClient) GetBiReservation(ctx context.Context, req *reservationpb.GetBiReservationRequest, opts ...gax.CallOption) (*reservationpb.BiReservation, error) { if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { cctx, cancel := context.WithTimeout(ctx, 300000*time.Millisecond) diff --git a/bigquery/reservation/apiv1/reservation_client_example_test.go b/bigquery/reservation/apiv1/reservation_client_example_test.go index 8c5cbba72db..24b06efcd59 100644 --- a/bigquery/reservation/apiv1/reservation_client_example_test.go +++ b/bigquery/reservation/apiv1/reservation_client_example_test.go @@ -420,6 +420,26 @@ func ExampleClient_MoveAssignment() { _ = resp } +func ExampleClient_UpdateAssignment() { + ctx := context.Background() + c, err := reservation.NewClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &reservationpb.UpdateAssignmentRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1#UpdateAssignmentRequest. + } + resp, err := c.UpdateAssignment(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + func ExampleClient_GetBiReservation() { ctx := context.Background() c, err := reservation.NewClient(ctx) diff --git a/compute/apiv1/firewall_policies_client.go b/compute/apiv1/firewall_policies_client.go index 889ab893f2f..63b6d7f74a6 100644 --- a/compute/apiv1/firewall_policies_client.go +++ b/compute/apiv1/firewall_policies_client.go @@ -749,9 +749,7 @@ func (c *firewallPoliciesRESTClient) Insert(ctx context.Context, req *computepb. baseUrl.Path += fmt.Sprintf("/compute/v1/locations/global/firewallPolicies") params := url.Values{} - if req != nil && req.ParentId != nil { - params.Add("parentId", fmt.Sprintf("%v", req.GetParentId())) - } + params.Add("parentId", fmt.Sprintf("%v", req.GetParentId())) if req != nil && req.RequestId != nil { params.Add("requestId", fmt.Sprintf("%v", req.GetRequestId())) } diff --git a/compute/go.mod b/compute/go.mod index 291160c03b7..7503f7fd2d9 100644 --- a/compute/go.mod +++ b/compute/go.mod @@ -7,7 +7,7 @@ require ( github.com/google/go-cmp v0.5.7 github.com/googleapis/gax-go/v2 v2.3.0 google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/compute/go.sum b/compute/go.sum index 654bcb17cee..b8ad7c69995 100644 --- a/compute/go.sum +++ b/compute/go.sum @@ -538,8 +538,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/datacatalog/go.mod b/datacatalog/go.mod index 6cee31af0f8..5a2697e7869 100644 --- a/datacatalog/go.mod +++ b/datacatalog/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/googleapis/gax-go/v2 v2.3.0 google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/datacatalog/go.sum b/datacatalog/go.sum index 3ef386f55ae..9723436c237 100644 --- a/datacatalog/go.sum +++ b/datacatalog/go.sum @@ -539,8 +539,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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 9c5b2fd06ed..44bc897874f 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/go.sum b/go.sum index 57b1b9abdb6..bebcf78d500 100644 --- a/go.sum +++ b/go.sum @@ -552,8 +552,9 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/generated/snippets/go.mod b/internal/generated/snippets/go.mod index 6f7078b48a6..1cae20d6e4b 100644 --- a/internal/generated/snippets/go.mod +++ b/internal/generated/snippets/go.mod @@ -114,7 +114,7 @@ require ( cloud.google.com/go/workflows v1.1.0 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 ) replace cloud.google.com/go/storagetransfer => ../../../storagetransfer diff --git a/internal/generated/snippets/go.sum b/internal/generated/snippets/go.sum index f781d963725..7f01a19250e 100644 --- a/internal/generated/snippets/go.sum +++ b/internal/generated/snippets/go.sum @@ -190,9 +190,9 @@ google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEc google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json index 5288245c21e..e20b78044c4 100644 --- a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json +++ b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/secretmanager/apiv1", - "version": "1.3.0", + "version": "1.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/secretmanager/apiv1beta1/snippet_metadata.google.cloud.secrets.v1beta1.json b/internal/generated/snippets/secretmanager/apiv1beta1/snippet_metadata.google.cloud.secrets.v1beta1.json new file mode 100644 index 00000000000..dd3a52c3e83 --- /dev/null +++ b/internal/generated/snippets/secretmanager/apiv1beta1/snippet_metadata.google.cloud.secrets.v1beta1.json @@ -0,0 +1,704 @@ +{ + "clientLibrary": { + "name": "cloud.google.com/go/secretmanager/apiv1beta1", + "version": "1.4.0", + "language": "GO", + "apis": [ + { + "id": "google.cloud.secrets.v1beta1", + "version": "v1beta1" + } + ] + }, + "snippets": [ + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_AccessSecretVersion_sync", + "title": "secretmanager AccessSecretVersion Sample", + "description": "AccessSecretVersion accesses a SecretVersion. This call returns the secret data.\n\nprojects/*/secrets/*/versions/latest is an alias to the latest\nSecretVersion.", + "file": "Client/AccessSecretVersion/main.go", + "language": "GO", + "clientMethod": { + "shortName": "AccessSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.Client.AccessSecretVersion", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.AccessSecretVersionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.AccessSecretVersionResponse", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "AccessSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.AccessSecretVersion", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_AddSecretVersion_sync", + "title": "secretmanager AddSecretVersion Sample", + "description": "AddSecretVersion creates a new SecretVersion containing secret data and attaches\nit to an existing Secret.", + "file": "Client/AddSecretVersion/main.go", + "language": "GO", + "clientMethod": { + "shortName": "AddSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.Client.AddSecretVersion", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.AddSecretVersionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.SecretVersion", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "AddSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_CreateSecret_sync", + "title": "secretmanager CreateSecret Sample", + "description": "CreateSecret creates a new Secret containing no SecretVersions.", + "file": "Client/CreateSecret/main.go", + "language": "GO", + "clientMethod": { + "shortName": "CreateSecret", + "fullName": "google.cloud.secrets.v1beta1.Client.CreateSecret", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.CreateSecretRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.Secret", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "CreateSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_DeleteSecret_sync", + "title": "secretmanager DeleteSecret Sample", + "description": "DeleteSecret deletes a Secret.", + "file": "Client/DeleteSecret/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DeleteSecret", + "fullName": "google.cloud.secrets.v1beta1.Client.DeleteSecret", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.DeleteSecretRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "DeleteSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DeleteSecret", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 45, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_DestroySecretVersion_sync", + "title": "secretmanager DestroySecretVersion Sample", + "description": "DestroySecretVersion destroys a SecretVersion.\n\nSets the state of the SecretVersion to\nDESTROYED and irrevocably destroys the\nsecret data.", + "file": "Client/DestroySecretVersion/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DestroySecretVersion", + "fullName": "google.cloud.secrets.v1beta1.Client.DestroySecretVersion", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.DestroySecretVersionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.SecretVersion", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "DestroySecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DestroySecretVersion", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_DisableSecretVersion_sync", + "title": "secretmanager DisableSecretVersion Sample", + "description": "DisableSecretVersion disables a SecretVersion.\n\nSets the state of the SecretVersion to\nDISABLED.", + "file": "Client/DisableSecretVersion/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DisableSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.Client.DisableSecretVersion", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.DisableSecretVersionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.SecretVersion", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "DisableSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DisableSecretVersion", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_EnableSecretVersion_sync", + "title": "secretmanager EnableSecretVersion Sample", + "description": "EnableSecretVersion enables a SecretVersion.\n\nSets the state of the SecretVersion to\nENABLED.", + "file": "Client/EnableSecretVersion/main.go", + "language": "GO", + "clientMethod": { + "shortName": "EnableSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.Client.EnableSecretVersion", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.EnableSecretVersionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.SecretVersion", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "EnableSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.EnableSecretVersion", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_GetIamPolicy_sync", + "title": "secretmanager GetIamPolicy Sample", + "description": "GetIamPolicy gets the access control policy for a secret.\nReturns empty policy if the secret exists and does not have a policy set.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.secrets.v1beta1.Client.GetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.GetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetIamPolicy", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_GetSecret_sync", + "title": "secretmanager GetSecret Sample", + "description": "GetSecret gets metadata for a given Secret.", + "file": "Client/GetSecret/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetSecret", + "fullName": "google.cloud.secrets.v1beta1.Client.GetSecret", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.GetSecretRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.Secret", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "GetSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetSecret", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_GetSecretVersion_sync", + "title": "secretmanager GetSecretVersion Sample", + "description": "GetSecretVersion gets metadata for a SecretVersion.\n\nprojects/*/secrets/*/versions/latest is an alias to the latest\nSecretVersion.", + "file": "Client/GetSecretVersion/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.Client.GetSecretVersion", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.GetSecretVersionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.SecretVersion", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "GetSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetSecretVersion", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_ListSecretVersions_sync", + "title": "secretmanager ListSecretVersions Sample", + "description": "ListSecretVersions lists SecretVersions. This call does not return secret\ndata.", + "file": "Client/ListSecretVersions/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListSecretVersions", + "fullName": "google.cloud.secrets.v1beta1.Client.ListSecretVersions", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.ListSecretVersionsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "SecretVersionIterator", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "ListSecretVersions", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_ListSecrets_sync", + "title": "secretmanager ListSecrets Sample", + "description": "ListSecrets lists Secrets.", + "file": "Client/ListSecrets/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListSecrets", + "fullName": "google.cloud.secrets.v1beta1.Client.ListSecrets", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.ListSecretsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "SecretIterator", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "ListSecrets", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_SetIamPolicy_sync", + "title": "secretmanager SetIamPolicy Sample", + "description": "SetIamPolicy sets the access control policy on the specified secret. Replaces any\nexisting policy.\n\nPermissions on SecretVersions are enforced according\nto the policy set on the associated Secret.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.secrets.v1beta1.Client.SetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.SetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.SetIamPolicy", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_TestIamPermissions_sync", + "title": "secretmanager TestIamPermissions Sample", + "description": "TestIamPermissions returns permissions that a caller has for the specified secret.\nIf the secret does not exist, this call returns an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay “fail open” without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", + "clientMethod": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.secrets.v1beta1.Client.TestIamPermissions", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.TestIamPermissionsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.TestIamPermissionsResponse", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.TestIamPermissions", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "secretmanager_v1beta1_generated_SecretManagerService_UpdateSecret_sync", + "title": "secretmanager UpdateSecret Sample", + "description": "UpdateSecret updates metadata of an existing Secret.", + "file": "Client/UpdateSecret/main.go", + "language": "GO", + "clientMethod": { + "shortName": "UpdateSecret", + "fullName": "google.cloud.secrets.v1beta1.Client.UpdateSecret", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "secretmanagerpb.UpdateSecretRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "secretmanagerpb.Secret", + "client": { + "shortName": "Client", + "fullName": "google.cloud.secrets.v1beta1.Client" + }, + "method": { + "shortName": "UpdateSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.UpdateSecret", + "service": { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + } + ] +} \ No newline at end of file diff --git a/internal/godocfx/go.sum b/internal/godocfx/go.sum index fc4cb891f9c..26eaf3715dd 100644 --- a/internal/godocfx/go.sum +++ b/internal/godocfx/go.sum @@ -244,8 +244,9 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/monitoring/go.mod b/monitoring/go.mod index 5189806c1d8..e8e08515cc5 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.3.0 google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/monitoring/go.sum b/monitoring/go.sum index 3ef386f55ae..9723436c237 100644 --- a/monitoring/go.sum +++ b/monitoring/go.sum @@ -539,8 +539,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/go.mod b/pubsublite/go.mod index cb44312b762..05e2d202105 100644 --- a/pubsublite/go.mod +++ b/pubsublite/go.mod @@ -12,7 +12,7 @@ require ( golang.org/x/sync v0.0.0-20210220032951-036812b2e83c golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/pubsublite/go.sum b/pubsublite/go.sum index 1f85afb4b36..6b1192d240a 100644 --- a/pubsublite/go.sum +++ b/pubsublite/go.sum @@ -552,8 +552,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/securitycenter/go.mod b/securitycenter/go.mod index a5b0ea4b86d..0dd3374deb7 100644 --- a/securitycenter/go.mod +++ b/securitycenter/go.mod @@ -7,7 +7,7 @@ require ( github.com/golang/protobuf v1.5.2 github.com/googleapis/gax-go/v2 v2.3.0 google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/securitycenter/go.sum b/securitycenter/go.sum index 3ef386f55ae..9723436c237 100644 --- a/securitycenter/go.sum +++ b/securitycenter/go.sum @@ -539,8 +539,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/servicedirectory/go.mod b/servicedirectory/go.mod index e588e08fef8..f6963c6cb25 100644 --- a/servicedirectory/go.mod +++ b/servicedirectory/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/googleapis/gax-go/v2 v2.3.0 google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/servicedirectory/go.sum b/servicedirectory/go.sum index 3ef386f55ae..9723436c237 100644 --- a/servicedirectory/go.sum +++ b/servicedirectory/go.sum @@ -539,8 +539,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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/go.mod b/speech/go.mod index 7c2d105fe7a..af5f0fd3f7a 100644 --- a/speech/go.mod +++ b/speech/go.mod @@ -7,7 +7,7 @@ require ( github.com/golang/protobuf v1.5.2 github.com/googleapis/gax-go/v2 v2.3.0 google.golang.org/api v0.74.0 - google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac + google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 google.golang.org/grpc v1.45.0 google.golang.org/protobuf v1.28.0 ) diff --git a/speech/go.sum b/speech/go.sum index 3ef386f55ae..9723436c237 100644 --- a/speech/go.sum +++ b/speech/go.sum @@ -539,8 +539,9 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac h1:qSNTkEN+L2mvWcLgJOR+8bdHX9rN/IdU3A1Ghpfb1Rg= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= 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=