diff --git a/go.mod b/go.mod index def48f27..94de2309 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( cloud.google.com/go/datastore v1.9.0 - cloud.google.com/go/secretmanager v1.8.0 + cloud.google.com/go/secretmanager v1.9.0 github.com/gin-gonic/gin v1.8.1 github.com/go-redis/redis/v8 v8.11.5 github.com/go-sql-driver/mysql v1.6.0 @@ -14,7 +14,8 @@ require ( require ( cloud.google.com/go v0.105.0 // indirect - cloud.google.com/go/compute v1.10.0 // indirect + cloud.google.com/go/compute v1.12.1 // indirect + cloud.google.com/go/compute/metadata v0.2.1 // indirect cloud.google.com/go/iam v0.6.0 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect @@ -42,9 +43,9 @@ require ( golang.org/x/net v0.0.0-20221014081412-f15817d10f9b // indirect golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 // indirect golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect - golang.org/x/text v0.3.8 // indirect + golang.org/x/text v0.4.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.100.0 // indirect + google.golang.org/api v0.102.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c // indirect google.golang.org/grpc v1.50.1 // indirect diff --git a/go.sum b/go.sum index 3eb8e04f..d1c4ae16 100644 --- a/go.sum +++ b/go.sum @@ -1,15 +1,17 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.105.0 h1:DNtEKRBAAzeS4KyIory52wWHuClNaXJ5x1F7xa4q+5Y= cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= -cloud.google.com/go/compute v1.10.0 h1:aoLIYaA1fX3ywihqpBk2APQKOo20nXsp1GEZQbx5Jk4= -cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= +cloud.google.com/go/compute v1.12.1 h1:gKVJMEyqV5c/UnpzjjQbo3Rjvvqpr9B1DFSbJC4OXr0= +cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute/metadata v0.2.1 h1:efOwf5ymceDhK6PKMnnrTHP4pppY5L22mle96M1yP48= +cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/datastore v1.9.0 h1:s3Gy1QRIwKxcMCCwJJq/4c64VjROZu6tq1DC632hZuo= cloud.google.com/go/datastore v1.9.0/go.mod h1:yKk5PbPPCtuObGXNWvpQGEyWe+kiMQlTnpMjtltPNTc= cloud.google.com/go/iam v0.6.0 h1:nsqQC88kT5Iwlm4MeNGTpfMWddp6NB/UOLFTH6m1QfQ= cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= cloud.google.com/go/longrunning v0.1.1 h1:y50CXG4j0+qvEukslYFBCrzaXX0qpFbBzc3PchSu/LE= -cloud.google.com/go/secretmanager v1.8.0 h1:4wYWL2t10q+xUtFFS0QuWlqwQguMrwC6FDpjtMM6cUI= -cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= +cloud.google.com/go/secretmanager v1.9.0 h1:xE6uXljAC1kCR8iadt9+/blg1fvSbmenlsDN4fT9gqw= +cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= @@ -161,8 +163,8 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= +golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -171,8 +173,8 @@ golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -google.golang.org/api v0.100.0 h1:LGUYIrbW9pzYQQ8NWXlaIVkgnfubVBZbMFb9P8TK374= -google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= +google.golang.org/api v0.102.0 h1:JxJl2qQ85fRMPNvlZY/enexbxpCjLwGhZUtgfGeQ51I= +google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= diff --git a/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.go b/vendor/cloud.google.com/go/compute/internal/version.go similarity index 60% rename from vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.go rename to vendor/cloud.google.com/go/compute/internal/version.go index d10ad665..5ac4a843 100644 --- a/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.go +++ b/vendor/cloud.google.com/go/compute/internal/version.go @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,12 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Package field_mask aliases all exported identifiers in -// package "google.golang.org/protobuf/types/known/fieldmaskpb". -package field_mask +package internal -import "google.golang.org/protobuf/types/known/fieldmaskpb" - -type FieldMask = fieldmaskpb.FieldMask - -var File_google_protobuf_field_mask_proto = fieldmaskpb.File_google_protobuf_field_mask_proto +// Version is the current tagged release of the library. +const Version = "1.12.1" diff --git a/vendor/cloud.google.com/go/compute/metadata/CHANGES.md b/vendor/cloud.google.com/go/compute/metadata/CHANGES.md new file mode 100644 index 00000000..8631b6d6 --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/CHANGES.md @@ -0,0 +1,5 @@ +# Changes + +## [0.1.0] (2022-10-26) + +Initial release of metadata being it's own module. diff --git a/vendor/cloud.google.com/go/compute/metadata/LICENSE b/vendor/cloud.google.com/go/compute/metadata/LICENSE new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/vendor/cloud.google.com/go/compute/metadata/README.md b/vendor/cloud.google.com/go/compute/metadata/README.md new file mode 100644 index 00000000..f940fb2c --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/README.md @@ -0,0 +1,27 @@ +# Compute API + +[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/compute.svg)](https://pkg.go.dev/cloud.google.com/go/compute/metadata) + +This is a utility library for communicating with Google Cloud metadata service +on Google Cloud. + +## Install + +```bash +go get cloud.google.com/go/compute/metadata +``` + +## Go Version Support + +See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported) +section in the root directory's README. + +## Contributing + +Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md) +document for details. + +Please note that this project is released with a Contributor Code of Conduct. +By participating in this project you agree to abide by its terms. See +[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md#contributor-code-of-conduct) +for more information. diff --git a/vendor/cloud.google.com/go/compute/metadata/tidyfix.go b/vendor/cloud.google.com/go/compute/metadata/tidyfix.go new file mode 100644 index 00000000..4cef4850 --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/tidyfix.go @@ -0,0 +1,23 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// This file, and the {{.RootMod}} import, won't actually become part of +// the resultant binary. +//go:build modhack +// +build modhack + +package metadata + +// Necessary for safely adding multi-module repo. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository +import _ "cloud.google.com/go/compute/internal" diff --git a/vendor/cloud.google.com/go/secretmanager/apiv1/doc.go b/vendor/cloud.google.com/go/secretmanager/apiv1/doc.go index b0943175..4087b585 100644 --- a/vendor/cloud.google.com/go/secretmanager/apiv1/doc.go +++ b/vendor/cloud.google.com/go/secretmanager/apiv1/doc.go @@ -58,7 +58,7 @@ // // req := &secretmanagerpb.ListSecretsRequest{ // // TODO: Fill request struct fields. -// // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/secretmanager/v1#ListSecretsRequest. +// // See https://pkg.go.dev/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb#ListSecretsRequest. // } // it := c.ListSecrets(ctx, req) // for { diff --git a/vendor/cloud.google.com/go/secretmanager/apiv1/secret_manager_client.go b/vendor/cloud.google.com/go/secretmanager/apiv1/secret_manager_client.go index 79fc9ebf..b08ed1c3 100644 --- a/vendor/cloud.google.com/go/secretmanager/apiv1/secret_manager_client.go +++ b/vendor/cloud.google.com/go/secretmanager/apiv1/secret_manager_client.go @@ -23,12 +23,12 @@ import ( "net/url" "time" + secretmanagerpb "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" "google.golang.org/api/option/internaloption" gtransport "google.golang.org/api/transport/grpc" - secretmanagerpb "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" iampb "google.golang.org/genproto/googleapis/iam/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/resources.pb.go b/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/resources.pb.go index d8c4db05..6c3cbc33 100644 --- a/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/resources.pb.go +++ b/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/resources.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.12.2 +// protoc v3.21.5 // source: google/cloud/secretmanager/v1/resources.proto package secretmanagerpb @@ -24,11 +24,11 @@ import ( reflect "reflect" sync "sync" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -115,7 +115,7 @@ type Secret struct { // The replication policy cannot be changed after the Secret has been created. Replication *Replication `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"` // Output only. The time at which the [Secret][google.cloud.secretmanager.v1.Secret] was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The labels assigned to this Secret. // // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding @@ -210,7 +210,7 @@ func (x *Secret) GetReplication() *Replication { return nil } -func (x *Secret) GetCreateTime() *timestamp.Timestamp { +func (x *Secret) GetCreateTime() *timestamppb.Timestamp { if x != nil { return x.CreateTime } @@ -238,14 +238,14 @@ func (m *Secret) GetExpiration() isSecret_Expiration { return nil } -func (x *Secret) GetExpireTime() *timestamp.Timestamp { +func (x *Secret) GetExpireTime() *timestamppb.Timestamp { if x, ok := x.GetExpiration().(*Secret_ExpireTime); ok { return x.ExpireTime } return nil } -func (x *Secret) GetTtl() *duration.Duration { +func (x *Secret) GetTtl() *durationpb.Duration { if x, ok := x.GetExpiration().(*Secret_Ttl); ok { return x.Ttl } @@ -280,12 +280,12 @@ type isSecret_Expiration interface { type Secret_ExpireTime struct { // Optional. Timestamp in UTC when the [Secret][google.cloud.secretmanager.v1.Secret] is scheduled to expire. This is // always provided on output, regardless of what was sent on input. - ExpireTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3,oneof"` + ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3,oneof"` } type Secret_Ttl struct { // Input only. The TTL for the [Secret][google.cloud.secretmanager.v1.Secret]. - Ttl *duration.Duration `protobuf:"bytes,7,opt,name=ttl,proto3,oneof"` + Ttl *durationpb.Duration `protobuf:"bytes,7,opt,name=ttl,proto3,oneof"` } func (*Secret_ExpireTime) isSecret_Expiration() {} @@ -305,11 +305,11 @@ type SecretVersion struct { // are incremented for each subsequent version of the secret. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time this [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was destroyed. // Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] is // [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED]. - DestroyTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=destroy_time,json=destroyTime,proto3" json:"destroy_time,omitempty"` + DestroyTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=destroy_time,json=destroyTime,proto3" json:"destroy_time,omitempty"` // Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. State SecretVersion_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.secretmanager.v1.SecretVersion_State" json:"state,omitempty"` // The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. @@ -361,14 +361,14 @@ func (x *SecretVersion) GetName() string { return "" } -func (x *SecretVersion) GetCreateTime() *timestamp.Timestamp { +func (x *SecretVersion) GetCreateTime() *timestamppb.Timestamp { if x != nil { return x.CreateTime } return nil } -func (x *SecretVersion) GetDestroyTime() *timestamp.Timestamp { +func (x *SecretVersion) GetDestroyTime() *timestamppb.Timestamp { if x != nil { return x.DestroyTime } @@ -759,14 +759,14 @@ type Rotation struct { // years). // // [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time] MUST be set if [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period] is set. - NextRotationTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=next_rotation_time,json=nextRotationTime,proto3" json:"next_rotation_time,omitempty"` + NextRotationTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=next_rotation_time,json=nextRotationTime,proto3" json:"next_rotation_time,omitempty"` // Input only. The Duration between rotation notifications. Must be in seconds // and at least 3600s (1h) and at most 3153600000s (100 years). // // If [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period] is set, [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time] must be set. // [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time] will be advanced by this period when the service // automatically sends rotation notifications. - RotationPeriod *duration.Duration `protobuf:"bytes,2,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"` + RotationPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"` } func (x *Rotation) Reset() { @@ -801,14 +801,14 @@ func (*Rotation) Descriptor() ([]byte, []int) { return file_google_cloud_secretmanager_v1_resources_proto_rawDescGZIP(), []int{7} } -func (x *Rotation) GetNextRotationTime() *timestamp.Timestamp { +func (x *Rotation) GetNextRotationTime() *timestamppb.Timestamp { if x != nil { return x.NextRotationTime } return nil } -func (x *Rotation) GetRotationPeriod() *duration.Duration { +func (x *Rotation) GetRotationPeriod() *durationpb.Duration { if x != nil { return x.RotationPeriod } @@ -1500,8 +1500,8 @@ var file_google_cloud_secretmanager_v1_resources_proto_goTypes = []interface{}{ (*ReplicationStatus_AutomaticStatus)(nil), // 15: google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus (*ReplicationStatus_UserManagedStatus)(nil), // 16: google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus (*ReplicationStatus_UserManagedStatus_ReplicaStatus)(nil), // 17: google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus - (*timestamp.Timestamp)(nil), // 18: google.protobuf.Timestamp - (*duration.Duration)(nil), // 19: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 19: google.protobuf.Duration } var file_google_cloud_secretmanager_v1_resources_proto_depIdxs = []int32{ 3, // 0: google.cloud.secretmanager.v1.Secret.replication:type_name -> google.cloud.secretmanager.v1.Replication diff --git a/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/service.pb.go b/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/service.pb.go index cf5019b1..47d75bdb 100644 --- a/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/service.pb.go +++ b/vendor/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb/service.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.12.2 +// protoc v3.21.5 // source: google/cloud/secretmanager/v1/service.proto package secretmanagerpb @@ -25,15 +25,15 @@ import ( reflect "reflect" sync "sync" - empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + emptypb "google.golang.org/protobuf/types/known/emptypb" + fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const ( @@ -592,7 +592,7 @@ type UpdateSecretRequest struct { // Required. [Secret][google.cloud.secretmanager.v1.Secret] with updated field values. Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Required. Specifies the fields to be updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateSecretRequest) Reset() { @@ -634,7 +634,7 @@ func (x *UpdateSecretRequest) GetSecret() *Secret { return nil } -func (x *UpdateSecretRequest) GetUpdateMask() *field_mask.FieldMask { +func (x *UpdateSecretRequest) GetUpdateMask() *fieldmaskpb.FieldMask { if x != nil { return x.UpdateMask } @@ -1384,11 +1384,11 @@ var file_google_cloud_secretmanager_v1_service_proto_goTypes = []interface{}{ (*Secret)(nil), // 15: google.cloud.secretmanager.v1.Secret (*SecretPayload)(nil), // 16: google.cloud.secretmanager.v1.SecretPayload (*SecretVersion)(nil), // 17: google.cloud.secretmanager.v1.SecretVersion - (*field_mask.FieldMask)(nil), // 18: google.protobuf.FieldMask + (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask (*v1.SetIamPolicyRequest)(nil), // 19: google.iam.v1.SetIamPolicyRequest (*v1.GetIamPolicyRequest)(nil), // 20: google.iam.v1.GetIamPolicyRequest (*v1.TestIamPermissionsRequest)(nil), // 21: google.iam.v1.TestIamPermissionsRequest - (*empty.Empty)(nil), // 22: google.protobuf.Empty + (*emptypb.Empty)(nil), // 22: google.protobuf.Empty (*v1.Policy)(nil), // 23: google.iam.v1.Policy (*v1.TestIamPermissionsResponse)(nil), // 24: google.iam.v1.TestIamPermissionsResponse } @@ -1669,7 +1669,7 @@ type SecretManagerServiceClient interface { // Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret]. UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*Secret, error) // Deletes a [Secret][google.cloud.secretmanager.v1.Secret]. - DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret // data. ListSecretVersions(ctx context.Context, in *ListSecretVersionsRequest, opts ...grpc.CallOption) (*ListSecretVersionsResponse, error) @@ -1771,8 +1771,8 @@ func (c *secretManagerServiceClient) UpdateSecret(ctx context.Context, in *Updat return out, nil } -func (c *secretManagerServiceClient) DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) +func (c *secretManagerServiceClient) DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/google.cloud.secretmanager.v1.SecretManagerService/DeleteSecret", in, out, opts...) if err != nil { return nil, err @@ -1875,7 +1875,7 @@ type SecretManagerServiceServer interface { // Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret]. UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) // Deletes a [Secret][google.cloud.secretmanager.v1.Secret]. - DeleteSecret(context.Context, *DeleteSecretRequest) (*empty.Empty, error) + DeleteSecret(context.Context, *DeleteSecretRequest) (*emptypb.Empty, error) // Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret // data. ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error) @@ -1943,7 +1943,7 @@ func (*UnimplementedSecretManagerServiceServer) GetSecret(context.Context, *GetS func (*UnimplementedSecretManagerServiceServer) UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSecret not implemented") } -func (*UnimplementedSecretManagerServiceServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*empty.Empty, error) { +func (*UnimplementedSecretManagerServiceServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSecret not implemented") } func (*UnimplementedSecretManagerServiceServer) ListSecretVersions(context.Context, *ListSecretVersionsRequest) (*ListSecretVersionsResponse, error) { diff --git a/vendor/cloud.google.com/go/secretmanager/internal/version.go b/vendor/cloud.google.com/go/secretmanager/internal/version.go index 0ad9373b..37e23cdd 100644 --- a/vendor/cloud.google.com/go/secretmanager/internal/version.go +++ b/vendor/cloud.google.com/go/secretmanager/internal/version.go @@ -15,4 +15,4 @@ package internal // Version is the current tagged release of the library. -const Version = "1.8.0" +const Version = "1.9.0" diff --git a/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go b/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go deleted file mode 100644 index 16686a65..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go +++ /dev/null @@ -1,62 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: github.com/golang/protobuf/ptypes/empty/empty.proto - -package empty - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" -) - -// Symbols defined in public import of google/protobuf/empty.proto. - -type Empty = emptypb.Empty - -var File_github_com_golang_protobuf_ptypes_empty_empty_proto protoreflect.FileDescriptor - -var file_github_com_golang_protobuf_ptypes_empty_empty_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, - 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x3b, 0x65, 0x6d, - 0x70, 0x74, 0x79, 0x50, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_github_com_golang_protobuf_ptypes_empty_empty_proto_goTypes = []interface{}{} -var file_github_com_golang_protobuf_ptypes_empty_empty_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_github_com_golang_protobuf_ptypes_empty_empty_proto_init() } -func file_github_com_golang_protobuf_ptypes_empty_empty_proto_init() { - if File_github_com_golang_protobuf_ptypes_empty_empty_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_golang_protobuf_ptypes_empty_empty_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_github_com_golang_protobuf_ptypes_empty_empty_proto_goTypes, - DependencyIndexes: file_github_com_golang_protobuf_ptypes_empty_empty_proto_depIdxs, - }.Build() - File_github_com_golang_protobuf_ptypes_empty_empty_proto = out.File - file_github_com_golang_protobuf_ptypes_empty_empty_proto_rawDesc = nil - file_github_com_golang_protobuf_ptypes_empty_empty_proto_goTypes = nil - file_github_com_golang_protobuf_ptypes_empty_empty_proto_depIdxs = nil -} diff --git a/vendor/golang.org/x/text/internal/language/lookup.go b/vendor/golang.org/x/text/internal/language/lookup.go index 9309dc27..231b4fbd 100644 --- a/vendor/golang.org/x/text/internal/language/lookup.go +++ b/vendor/golang.org/x/text/internal/language/lookup.go @@ -50,7 +50,7 @@ func (id Language) Canonicalize() (Language, AliasType) { return normLang(id) } -// mapLang returns the mapped langID of id according to mapping m. +// normLang returns the mapped langID of id according to mapping m. func normLang(id Language) (Language, AliasType) { k := sort.Search(len(AliasMap), func(i int) bool { return AliasMap[i].From >= uint16(id) diff --git a/vendor/golang.org/x/text/language/go1_1.go b/vendor/golang.org/x/text/language/go1_1.go deleted file mode 100644 index c7435583..00000000 --- a/vendor/golang.org/x/text/language/go1_1.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2013 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.2 -// +build !go1.2 - -package language - -import "sort" - -func sortStable(s sort.Interface) { - ss := stableSort{ - s: s, - pos: make([]int, s.Len()), - } - for i := range ss.pos { - ss.pos[i] = i - } - sort.Sort(&ss) -} - -type stableSort struct { - s sort.Interface - pos []int -} - -func (s *stableSort) Len() int { - return len(s.pos) -} - -func (s *stableSort) Less(i, j int) bool { - return s.s.Less(i, j) || !s.s.Less(j, i) && s.pos[i] < s.pos[j] -} - -func (s *stableSort) Swap(i, j int) { - s.s.Swap(i, j) - s.pos[i], s.pos[j] = s.pos[j], s.pos[i] -} diff --git a/vendor/golang.org/x/text/language/go1_2.go b/vendor/golang.org/x/text/language/go1_2.go deleted file mode 100644 index 77aaaa29..00000000 --- a/vendor/golang.org/x/text/language/go1_2.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2013 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.2 -// +build go1.2 - -package language - -import "sort" - -var sortStable = sort.Stable diff --git a/vendor/golang.org/x/text/language/parse.go b/vendor/golang.org/x/text/language/parse.go index b982d9e4..4d57222e 100644 --- a/vendor/golang.org/x/text/language/parse.go +++ b/vendor/golang.org/x/text/language/parse.go @@ -6,6 +6,7 @@ package language import ( "errors" + "sort" "strconv" "strings" @@ -206,7 +207,7 @@ func ParseAcceptLanguage(s string) (tag []Tag, q []float32, err error) { tag = append(tag, t) q = append(q, float32(w)) } - sortStable(&tagSort{tag, q}) + sort.Stable(&tagSort{tag, q}) return tag, q, nil } diff --git a/vendor/google.golang.org/api/internal/version.go b/vendor/google.golang.org/api/internal/version.go index 5b053932..9e416e92 100644 --- a/vendor/google.golang.org/api/internal/version.go +++ b/vendor/google.golang.org/api/internal/version.go @@ -5,4 +5,4 @@ package internal // Version is the current tagged release of the library. -const Version = "0.100.0" +const Version = "0.102.0" diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/secretmanager/v1/alias.go b/vendor/google.golang.org/genproto/googleapis/cloud/secretmanager/v1/alias.go deleted file mode 100644 index a9a3eff2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/secretmanager/v1/alias.go +++ /dev/null @@ -1,279 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by aliasgen. DO NOT EDIT. - -// Package secretmanager aliases all exported identifiers in package -// "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb". -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb. -// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md -// for more details. -package secretmanager - -import ( - src "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb" - grpc "google.golang.org/grpc" -) - -// Deprecated: Please use consts in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -const ( - SecretVersion_DESTROYED = src.SecretVersion_DESTROYED - SecretVersion_DISABLED = src.SecretVersion_DISABLED - SecretVersion_ENABLED = src.SecretVersion_ENABLED - SecretVersion_STATE_UNSPECIFIED = src.SecretVersion_STATE_UNSPECIFIED -) - -// Deprecated: Please use vars in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -var ( - File_google_cloud_secretmanager_v1_resources_proto = src.File_google_cloud_secretmanager_v1_resources_proto - File_google_cloud_secretmanager_v1_service_proto = src.File_google_cloud_secretmanager_v1_service_proto - SecretVersion_State_name = src.SecretVersion_State_name - SecretVersion_State_value = src.SecretVersion_State_value -) - -// Request message for -// [SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type AccessSecretVersionRequest = src.AccessSecretVersionRequest - -// Response message for -// [SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type AccessSecretVersionResponse = src.AccessSecretVersionResponse - -// Request message for -// [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type AddSecretVersionRequest = src.AddSecretVersionRequest - -// Request message for -// [SecretManagerService.CreateSecret][google.cloud.secretmanager.v1.SecretManagerService.CreateSecret]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type CreateSecretRequest = src.CreateSecretRequest - -// Configuration for encrypting secret payloads using customer-managed -// encryption keys (CMEK). -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type CustomerManagedEncryption = src.CustomerManagedEncryption - -// Describes the status of customer-managed encryption. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type CustomerManagedEncryptionStatus = src.CustomerManagedEncryptionStatus - -// Request message for -// [SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type DeleteSecretRequest = src.DeleteSecretRequest - -// Request message for -// [SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type DestroySecretVersionRequest = src.DestroySecretVersionRequest - -// Request message for -// [SecretManagerService.DisableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type DisableSecretVersionRequest = src.DisableSecretVersionRequest - -// Request message for -// [SecretManagerService.EnableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type EnableSecretVersionRequest = src.EnableSecretVersionRequest - -// Request message for -// [SecretManagerService.GetSecret][google.cloud.secretmanager.v1.SecretManagerService.GetSecret]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type GetSecretRequest = src.GetSecretRequest - -// Request message for -// [SecretManagerService.GetSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type GetSecretVersionRequest = src.GetSecretVersionRequest - -// Request message for -// [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ListSecretVersionsRequest = src.ListSecretVersionsRequest - -// Response message for -// [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ListSecretVersionsResponse = src.ListSecretVersionsResponse - -// Request message for -// [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ListSecretsRequest = src.ListSecretsRequest - -// Response message for -// [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ListSecretsResponse = src.ListSecretsResponse - -// A policy that defines the replication and encryption configuration of data. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Replication = src.Replication - -// The replication status of a -// [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ReplicationStatus = src.ReplicationStatus -type ReplicationStatus_Automatic = src.ReplicationStatus_Automatic - -// The replication status of a -// [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] using automatic -// replication. Only populated if the parent -// [Secret][google.cloud.secretmanager.v1.Secret] has an automatic replication -// policy. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ReplicationStatus_AutomaticStatus = src.ReplicationStatus_AutomaticStatus -type ReplicationStatus_UserManaged = src.ReplicationStatus_UserManaged - -// The replication status of a -// [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] using -// user-managed replication. Only populated if the parent -// [Secret][google.cloud.secretmanager.v1.Secret] has a user-managed -// replication policy. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ReplicationStatus_UserManagedStatus = src.ReplicationStatus_UserManagedStatus - -// Describes the status of a user-managed replica for the -// [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type ReplicationStatus_UserManagedStatus_ReplicaStatus = src.ReplicationStatus_UserManagedStatus_ReplicaStatus - -// A replication policy that replicates the -// [Secret][google.cloud.secretmanager.v1.Secret] payload without any -// restrictions. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Replication_Automatic = src.Replication_Automatic -type Replication_Automatic_ = src.Replication_Automatic_ - -// A replication policy that replicates the -// [Secret][google.cloud.secretmanager.v1.Secret] payload into the locations -// specified in [Secret.replication.user_managed.replicas][] -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Replication_UserManaged = src.Replication_UserManaged -type Replication_UserManaged_ = src.Replication_UserManaged_ - -// Represents a Replica for this -// [Secret][google.cloud.secretmanager.v1.Secret]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Replication_UserManaged_Replica = src.Replication_UserManaged_Replica - -// The rotation time and period for a -// [Secret][google.cloud.secretmanager.v1.Secret]. At next_rotation_time, -// Secret Manager will send a Pub/Sub notification to the topics configured on -// the Secret. [Secret.topics][google.cloud.secretmanager.v1.Secret.topics] -// must be set to configure rotation. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Rotation = src.Rotation - -// A [Secret][google.cloud.secretmanager.v1.Secret] is a logical secret whose -// value and versions can be accessed. A -// [Secret][google.cloud.secretmanager.v1.Secret] is made up of zero or more -// [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] that represent -// the secret data. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Secret = src.Secret - -// SecretManagerServiceClient is the client API for SecretManagerService -// service. For semantics around ctx use and closing/ending streaming RPCs, -// please refer to -// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type SecretManagerServiceClient = src.SecretManagerServiceClient - -// SecretManagerServiceServer is the server API for SecretManagerService -// service. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type SecretManagerServiceServer = src.SecretManagerServiceServer - -// A secret payload resource in the Secret Manager API. This contains the -// sensitive secret payload that is associated with a -// [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type SecretPayload = src.SecretPayload - -// A secret version resource in the Secret Manager API. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type SecretVersion = src.SecretVersion - -// The state of a -// [SecretVersion][google.cloud.secretmanager.v1.SecretVersion], indicating if -// it can be accessed. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type SecretVersion_State = src.SecretVersion_State -type Secret_ExpireTime = src.Secret_ExpireTime -type Secret_Ttl = src.Secret_Ttl - -// A Pub/Sub topic which Secret Manager will publish to when control plane -// events occur on this secret. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type Topic = src.Topic - -// UnimplementedSecretManagerServiceServer can be embedded to have forward -// compatible implementations. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type UnimplementedSecretManagerServiceServer = src.UnimplementedSecretManagerServiceServer - -// Request message for -// [SecretManagerService.UpdateSecret][google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret]. -// -// Deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -type UpdateSecretRequest = src.UpdateSecretRequest - -// Deprecated: Please use funcs in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -func NewSecretManagerServiceClient(cc grpc.ClientConnInterface) SecretManagerServiceClient { - return src.NewSecretManagerServiceClient(cc) -} - -// Deprecated: Please use funcs in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb -func RegisterSecretManagerServiceServer(s *grpc.Server, srv SecretManagerServiceServer) { - src.RegisterSecretManagerServiceServer(s, srv) -} diff --git a/vendor/modules.txt b/vendor/modules.txt index 5c1762d7..d38652bf 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -5,8 +5,11 @@ cloud.google.com/go/internal cloud.google.com/go/internal/fields cloud.google.com/go/internal/trace cloud.google.com/go/internal/version -# cloud.google.com/go/compute v1.10.0 -## explicit; go 1.17 +# cloud.google.com/go/compute v1.12.1 +## explicit; go 1.19 +cloud.google.com/go/compute/internal +# cloud.google.com/go/compute/metadata v0.2.1 +## explicit; go 1.19 cloud.google.com/go/compute/metadata # cloud.google.com/go/datastore v1.9.0 ## explicit; go 1.19 @@ -16,7 +19,7 @@ cloud.google.com/go/datastore/internal/gaepb # cloud.google.com/go/iam v0.6.0 ## explicit; go 1.19 cloud.google.com/go/iam -# cloud.google.com/go/secretmanager v1.8.0 +# cloud.google.com/go/secretmanager v1.9.0 ## explicit; go 1.19 cloud.google.com/go/secretmanager/apiv1 cloud.google.com/go/secretmanager/apiv1/secretmanagerpb @@ -84,7 +87,6 @@ github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration -github.com/golang/protobuf/ptypes/empty github.com/golang/protobuf/ptypes/timestamp github.com/golang/protobuf/ptypes/wrappers # github.com/google/go-cmp v0.5.9 @@ -181,7 +183,7 @@ golang.org/x/oauth2/jwt golang.org/x/sys/cpu golang.org/x/sys/internal/unsafeheader golang.org/x/sys/unix -# golang.org/x/text v0.3.8 +# golang.org/x/text v0.4.0 ## explicit; go 1.17 golang.org/x/text/internal/language golang.org/x/text/internal/language/compact @@ -195,7 +197,7 @@ golang.org/x/text/unicode/norm ## explicit; go 1.17 golang.org/x/xerrors golang.org/x/xerrors/internal -# google.golang.org/api v0.100.0 +# google.golang.org/api v0.102.0 ## explicit; go 1.19 google.golang.org/api/googleapi google.golang.org/api/googleapi/transport @@ -228,7 +230,6 @@ google.golang.org/appengine/urlfetch # google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c ## explicit; go 1.19 google.golang.org/genproto/googleapis/api/annotations -google.golang.org/genproto/googleapis/cloud/secretmanager/v1 google.golang.org/genproto/googleapis/datastore/v1 google.golang.org/genproto/googleapis/iam/v1 google.golang.org/genproto/googleapis/rpc/code @@ -236,7 +237,6 @@ google.golang.org/genproto/googleapis/rpc/errdetails google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/type/expr google.golang.org/genproto/googleapis/type/latlng -google.golang.org/genproto/protobuf/field_mask # google.golang.org/grpc v1.50.1 ## explicit; go 1.17 google.golang.org/grpc