From 45c70e31e12ae5bb9ad9644648eb154ff5c033df Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 31 Jan 2023 10:19:47 -0800 Subject: [PATCH] chore(all): auto-regenerate gapics (#7318) This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: https://github.com/googleapis/go-genproto/pull/968 Changes: chore(billing): reformat protos PiperOrigin-RevId: 504926695 Source-Link: https://github.com/googleapis/googleapis/commit/d8e1dade751c6ecb6025dc196c2ca29dd938310b feat(networkconnectivity): Update Hub API PiperOrigin-RevId: 504700327 Source-Link: https://github.com/googleapis/googleapis/commit/91b494f124b2f88e70a7e89aa6457ba53423b595 feat(documentai): added advanced_ocr_options field in OcrConfig PiperOrigin-RevId: 504600937 Source-Link: https://github.com/googleapis/googleapis/commit/91bee517fba624f73584e72c3daaa04ef87c368f chore(lifesciences): reformat protos PiperOrigin-RevId: 504406094 Source-Link: https://github.com/googleapis/googleapis/commit/f2f7edc9e58504b571673b18413a029508400ab0 Co-authored-by: Chris Smith --- billing/apiv1/billingpb/cloud_billing.pb.go | 28 +- billing/go.mod | 2 +- billing/go.sum | 4 +- .../apiv1beta3/documentaipb/document_io.pb.go | 46 +- documentai/go.mod | 2 +- documentai/go.sum | 4 +- go.mod | 2 +- go.sum | 4 +- ...t_metadata.google.cloud.aiplatform.v1.json | 2 +- ...adata.google.cloud.aiplatform.v1beta1.json | 2 +- ...tadata.google.analytics.admin.v1alpha.json | 2 +- ...ippet_metadata.google.cloud.automl.v1.json | 2 +- ..._metadata.google.cloud.automl.v1beta1.json | 2 +- ...ppet_metadata.google.cloud.billing.v1.json | 2 +- ...adata.google.cloud.billing.budgets.v1.json | 2 +- ....google.cloud.billing.budgets.v1beta1.json | 2 +- ...ta.google.cloud.certificatemanager.v1.json | 2 +- ...ppet_metadata.google.cloud.compute.v1.json | 2 +- .../snippet_metadata.google.container.v1.json | 2 +- ..._metadata.google.cloud.datacatalog.v1.json | 2 +- ...data.google.cloud.datacatalog.v1beta1.json | 2 +- ...a.google.cloud.datacatalog.lineage.v1.json | 2 +- ...pet_metadata.google.cloud.dataproc.v1.json | 2 +- ...t_metadata.google.cloud.dialogflow.v2.json | 2 +- ...adata.google.cloud.dialogflow.v2beta1.json | 2 +- ...etadata.google.cloud.dialogflow.cx.v3.json | 2 +- ...ta.google.cloud.dialogflow.cx.v3beta1.json | 2 +- ...t_metadata.google.cloud.documentai.v1.json | 2 +- ...adata.google.cloud.documentai.v1beta3.json | 2 +- internal/generated/snippets/go.mod | 2 +- internal/generated/snippets/go.sum | 3 +- ...data.google.cloud.lifesciences.v2beta.json | 2 +- ...data.google.maps.addressvalidation.v1.json | 2 +- ...ippet_metadata.google.maps.routing.v2.json | 2 +- ...a.google.cloud.networkconnectivity.v1.json | 1088 ++++++++++++++++- ...et_metadata.google.cloud.orgpolicy.v2.json | 2 +- .../snippet_metadata.google.cloud.run.v2.json | 2 +- ...metadata.google.api.servicecontrol.v1.json | 2 +- ...ippet_metadata.google.cloud.speech.v1.json | 2 +- ...etadata.google.cloud.speech.v1p1beta1.json | 2 +- ...ippet_metadata.google.cloud.speech.v2.json | 2 +- ...etadata.google.devtools.cloudtrace.v1.json | 2 +- ...etadata.google.devtools.cloudtrace.v2.json | 2 +- internal/godocfx/go.mod | 2 +- internal/godocfx/go.sum | 4 +- .../apiv2beta/lifesciencespb/workflows.pb.go | 72 +- .../workflows_service_v2_beta_client.go | 16 +- lifesciences/go.mod | 4 +- lifesciences/go.sum | 8 +- networkconnectivity/go.mod | 4 +- networkconnectivity/go.sum | 8 +- 51 files changed, 1202 insertions(+), 165 deletions(-) diff --git a/billing/apiv1/billingpb/cloud_billing.pb.go b/billing/apiv1/billingpb/cloud_billing.pb.go index c8e735d2f3c0..d3b8722a9e36 100644 --- a/billing/apiv1/billingpb/cloud_billing.pb.go +++ b/billing/apiv1/billingpb/cloud_billing.pb.go @@ -50,14 +50,15 @@ type BillingAccount struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Output only. The resource name of the billing account. The resource name has the form - // `billingAccounts/{billing_account_id}`. For example, + // Output only. The resource name of the billing account. The resource name + // has the form `billingAccounts/{billing_account_id}`. For example, // `billingAccounts/012345-567890-ABCDEF` would be the resource name for // billing account `012345-567890-ABCDEF`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. True if the billing account is open, and will therefore be charged for any - // usage on associated projects. False if the billing account is closed, and - // therefore projects associated with it will be unable to use paid services. + // Output only. True if the billing account is open, and will therefore be + // charged for any usage on associated projects. False if the billing account + // is closed, and therefore projects associated with it will be unable to use + // paid services. Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"` // The display name given to the billing account, such as `My Billing // Account`. This name is displayed in the Google Cloud Console. @@ -223,8 +224,8 @@ type GetBillingAccountRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Required. The resource name of the billing account to retrieve. For example, - // `billingAccounts/012345-567890-ABCDEF`. + // Required. The resource name of the billing account to retrieve. For + // example, `billingAccounts/012345-567890-ABCDEF`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } @@ -462,7 +463,8 @@ type UpdateBillingAccountRequest struct { // Required. The name of the billing account resource to be updated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The billing account resource to replace the resource on the server. + // Required. The billing account resource to replace the resource on the + // server. Account *BillingAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The update mask applied to the resource. // Only "display_name" is currently supported. @@ -528,8 +530,9 @@ type ListProjectBillingInfoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Required. The resource name of the billing account associated with the projects that - // you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + // Required. The resource name of the billing account associated with the + // projects that you want to list. For example, + // `billingAccounts/012345-567890-ABCDEF`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Requested page size. The maximum page size is 100; this is also the // default. @@ -710,8 +713,9 @@ type UpdateProjectBillingInfoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Required. The resource name of the project associated with the billing information - // that you want to update. For example, `projects/tokyo-rain-123`. + // Required. The resource name of the project associated with the billing + // information that you want to update. For example, + // `projects/tokyo-rain-123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new billing information for the project. Read-only fields are ignored; // thus, you can leave empty all fields except `billing_account_name`. diff --git a/billing/go.mod b/billing/go.mod index 265dd5d70d22..98c09ce97f62 100644 --- a/billing/go.mod +++ b/billing/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/googleapis/gax-go/v2 v2.7.0 google.golang.org/api v0.108.0 - google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197 + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 ) diff --git a/billing/go.sum b/billing/go.sum index 3b2c82b224b9..0ab37048e9b7 100644 --- a/billing/go.sum +++ b/billing/go.sum @@ -105,8 +105,8 @@ google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197 h1:BwjeHhu4HS48EZmu1nS7flldBIDPC3qn+HqaSQ1K4x8= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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/documentai/apiv1beta3/documentaipb/document_io.pb.go b/documentai/apiv1beta3/documentaipb/document_io.pb.go index 1bbc0b6e2e72..fec8faa6c826 100644 --- a/documentai/apiv1beta3/documentaipb/document_io.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_io.pb.go @@ -418,6 +418,8 @@ type OcrConfig struct { // Enables special handling for PDFs with existing text information. Results // in better text extraction quality in such PDF inputs. EnableNativePdfParsing bool `protobuf:"varint,3,opt,name=enable_native_pdf_parsing,json=enableNativePdfParsing,proto3" json:"enable_native_pdf_parsing,omitempty"` + // A list of advanced OCR options to further fine-tune OCR behavior. + AdvancedOcrOptions []string `protobuf:"bytes,5,rep,name=advanced_ocr_options,json=advancedOcrOptions,proto3" json:"advanced_ocr_options,omitempty"` } func (x *OcrConfig) Reset() { @@ -459,6 +461,13 @@ func (x *OcrConfig) GetEnableNativePdfParsing() bool { return false } +func (x *OcrConfig) GetAdvancedOcrOptions() []string { + if x != nil { + return x.AdvancedOcrOptions + } + return nil +} + // The configuration used when outputting documents. type DocumentOutputConfig_GcsOutputConfig struct { state protoimpl.MessageState @@ -656,27 +665,30 @@ var file_google_cloud_documentai_v1beta3_document_io_proto_rawDesc = []byte{ 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x73, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x42, - 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, + 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x78, 0x0a, 0x09, 0x4f, 0x63, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x64, 0x66, 0x5f, 0x70, 0x61, 0x72, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x64, 0x66, 0x50, - 0x61, 0x72, 0x73, 0x69, 0x6e, 0x67, 0x42, 0xec, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, 0x63, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x42, 0x0f, - 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, - 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, - 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x33, 0x3b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0xaa, 0x02, 0x1f, 0x47, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x6f, 0x63, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x33, 0xca, 0x02, - 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x6f, - 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, - 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, - 0x3a, 0x3a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x3a, 0x3a, 0x56, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x72, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, + 0x65, 0x64, 0x5f, 0x6f, 0x63, 0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4f, 0x63, + 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xec, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x6f, + 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x42, 0x0f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6f, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, + 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x33, 0x3b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x69, 0xaa, 0x02, + 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x6f, + 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x33, + 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, + 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x33, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, + 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/documentai/go.mod b/documentai/go.mod index 5e059c209590..b932cf453e42 100644 --- a/documentai/go.mod +++ b/documentai/go.mod @@ -6,7 +6,7 @@ require ( cloud.google.com/go/longrunning v0.3.0 github.com/googleapis/gax-go/v2 v2.7.0 google.golang.org/api v0.108.0 - google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197 + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 ) diff --git a/documentai/go.sum b/documentai/go.sum index 160f3d0b7e2a..1c0cfee85c39 100644 --- a/documentai/go.sum +++ b/documentai/go.sum @@ -105,8 +105,8 @@ google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197 h1:BwjeHhu4HS48EZmu1nS7flldBIDPC3qn+HqaSQ1K4x8= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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/go.mod b/go.mod index 5545b4411f9a..befffad797f0 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 google.golang.org/api v0.108.0 - google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 ) diff --git a/go.sum b/go.sum index 03ca34323f87..ecf5b9b279da 100644 --- a/go.sum +++ b/go.sum @@ -119,8 +119,8 @@ google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa h1:qQPhfbPO23fwm/9lQr91L1u62Zo6cm+zI+slZT+uf+o= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json index 1ce8a9ff32cb..549b8030fb80 100644 --- a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json +++ b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1", - "version": "1.30.0", + "version": "1.33.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json index f6dcadc1e52b..7c12ce909d11 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json +++ b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1beta1", - "version": "1.30.0", + "version": "1.33.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json index cef0f10c1bc0..7b47183390b0 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/analytics/admin/apiv1alpha", - "version": "0.13.0", + "version": "0.16.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json index f93f39929dbb..ba986fa13322 100644 --- a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json +++ b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1", - "version": "1.9.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json index d6267731086f..cc83a253fe6b 100644 --- a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json +++ b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1beta1", - "version": "1.9.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json index d62596d15217..9b3fa53c11a9 100644 --- a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json +++ b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/apiv1", - "version": "1.9.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json index 02d27f15c65d..f33054a55eed 100644 --- a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json +++ b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1", - "version": "1.9.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json index bbba711de510..1e1d56d883c5 100644 --- a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json +++ b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1beta1", - "version": "1.9.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json index 9480ffb84a7c..91e1fa116b04 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json +++ b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/certificatemanager/apiv1", - "version": "1.5.0", + "version": "1.1.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json index fa08b47179b5..1f55bc4bfb53 100644 --- a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json +++ b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/compute/apiv1", - "version": "1.15.1", + "version": "1.18.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json index 21e738870272..9e6c6b1c77bc 100644 --- a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json +++ b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/container/apiv1", - "version": "1.10.0", + "version": "1.13.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json index 67b4fc0d5ba4..4016885cf5cd 100644 --- a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json +++ b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1", - "version": "1.10.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json index d073a8253938..b169e7884dfc 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json +++ b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1beta1", - "version": "1.10.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json index b7e83ba643d0..5718b7101600 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/lineage/apiv1", - "version": "1.10.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json index 6ca8a2e39dee..6700ec7313d8 100644 --- a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json +++ b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataproc/apiv1", - "version": "1.9.0", + "version": "1.12.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json index 621f628ea83f..3abbd78a7fd9 100644 --- a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json +++ b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2", - "version": "1.23.0", + "version": "1.26.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json index 8f9390d6994a..635e062e222a 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json +++ b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2beta1", - "version": "1.23.0", + "version": "1.26.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json index d44bf9468168..9c74270ba713 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3", - "version": "1.23.0", + "version": "1.26.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json index 1905841b6c7d..6b1f06cd41c7 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3beta1", - "version": "1.23.0", + "version": "1.26.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json index 227f68502742..7dbb80f29413 100644 --- a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json +++ b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1", - "version": "1.14.0", + "version": "1.6.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json index 40dd0c4244b4..8620a621f285 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json +++ b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1beta3", - "version": "1.14.0", + "version": "1.6.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/go.mod b/internal/generated/snippets/go.mod index f71b9602bcb2..8e1e9b25c888 100644 --- a/internal/generated/snippets/go.mod +++ b/internal/generated/snippets/go.mod @@ -124,7 +124,7 @@ require ( cloud.google.com/go/workflows v1.9.0 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect google.golang.org/api v0.108.0 - google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa ) require ( diff --git a/internal/generated/snippets/go.sum b/internal/generated/snippets/go.sum index 28f5f35bc9c5..5f91c0753169 100644 --- a/internal/generated/snippets/go.sum +++ b/internal/generated/snippets/go.sum @@ -359,8 +359,9 @@ google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa h1:qQPhfbPO23fwm/9lQr91L1u62Zo6cm+zI+slZT+uf+o= google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json index 0fcac87db137..bd104bde0551 100644 --- a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json +++ b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json @@ -243,7 +243,7 @@ { "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_RunPipeline_sync", "title": "lifesciences RunPipeline Sample", - "description": "RunPipeline runs a pipeline. The returned Operation’s [metadata]\n[google.longrunning.Operation.metadata] field will contain a\ngoogle.cloud.lifesciences.v2beta.Metadata object describing the status\nof the pipeline execution. The\nresponse field will contain a\ngoogle.cloud.lifesciences.v2beta.RunPipelineResponse object if the\npipeline completes successfully.\n\nNote: Before you can use this method, the Life Sciences Service Agent\nmust have access to your project. This is done automatically when the\nCloud Life Sciences API is first enabled, but if you delete this permission\nyou must disable and re-enable the API to grant the Life Sciences\nService Agent the required permissions.\nAuthorization requires the following Google\nIAM (at https: //cloud.google.com/iam/) permission: \n\n\tlifesciences.workflows.run", + "description": "RunPipeline runs a pipeline. The returned Operation’s [metadata]\n[google.longrunning.Operation.metadata] field will contain a\ngoogle.cloud.lifesciences.v2beta.Metadata\nobject describing the status of the pipeline execution. The\nresponse field will contain a\ngoogle.cloud.lifesciences.v2beta.RunPipelineResponse\nobject if the pipeline completes successfully.\n\nNote: Before you can use this method, the Life Sciences Service Agent\nmust have access to your project. This is done automatically when the\nCloud Life Sciences API is first enabled, but if you delete this permission\nyou must disable and re-enable the API to grant the Life Sciences\nService Agent the required permissions.\nAuthorization requires the following Google\nIAM (at https: //cloud.google.com/iam/) permission: \n\n\tlifesciences.workflows.run", "file": "WorkflowsServiceV2BetaClient/RunPipeline/main.go", "language": "GO", "clientMethod": { diff --git a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json index 03b2fda41852..c3a5af8f3be8 100644 --- a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json +++ b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/addressvalidation/apiv1", - "version": "0.2.0", + "version": "0.5.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json index 8b25199a60e9..c54d37801079 100644 --- a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json +++ b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/routing/apiv2", - "version": "0.2.0", + "version": "0.5.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json index 6c0a941cd1d6..4fd846c2de25 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json @@ -11,10 +11,55 @@ ] }, "snippets": [ + { + "regionTag": "networkconnectivity_v1_generated_HubService_CancelOperation_sync", + "title": "networkconnectivity CancelOperation Sample", + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/CancelOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "CancelOperation", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.CancelOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.CancelOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "CancelOperation", + "fullName": "google.cloud.networkconnectivity.v1.HubService.CancelOperation", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 52, + "type": "FULL" + } + ] + }, { "regionTag": "networkconnectivity_v1_generated_HubService_CreateHub_sync", "title": "networkconnectivity CreateHub Sample", - "description": "CreateHub creates a new hub in the specified project.", + "description": "CreateHub creates a new Network Connectivity Center hub in the specified project.", "file": "HubClient/CreateHub/main.go", "language": "GO", "clientMethod": { @@ -60,7 +105,7 @@ { "regionTag": "networkconnectivity_v1_generated_HubService_CreateSpoke_sync", "title": "networkconnectivity CreateSpoke Sample", - "description": "CreateSpoke creates a spoke in the specified project and location.", + "description": "CreateSpoke creates a Network Connectivity Center spoke.", "file": "HubClient/CreateSpoke/main.go", "language": "GO", "clientMethod": { @@ -106,7 +151,7 @@ { "regionTag": "networkconnectivity_v1_generated_HubService_DeleteHub_sync", "title": "networkconnectivity DeleteHub Sample", - "description": "DeleteHub deletes the specified hub.", + "description": "DeleteHub deletes a Network Connectivity Center hub.", "file": "HubClient/DeleteHub/main.go", "language": "GO", "clientMethod": { @@ -149,10 +194,55 @@ } ] }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteOperation_sync", + "title": "networkconnectivity DeleteOperation Sample", + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/DeleteOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DeleteOperation", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.DeleteOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.DeleteOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "DeleteOperation", + "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteOperation", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 52, + "type": "FULL" + } + ] + }, { "regionTag": "networkconnectivity_v1_generated_HubService_DeleteSpoke_sync", "title": "networkconnectivity DeleteSpoke Sample", - "description": "DeleteSpoke deletes the specified spoke.", + "description": "DeleteSpoke deletes a Network Connectivity Center spoke.", "file": "HubClient/DeleteSpoke/main.go", "language": "GO", "clientMethod": { @@ -198,7 +288,7 @@ { "regionTag": "networkconnectivity_v1_generated_HubService_GetHub_sync", "title": "networkconnectivity GetHub Sample", - "description": "GetHub gets details about the specified hub.", + "description": "GetHub gets details about a Network Connectivity Center hub.", "file": "HubClient/GetHub/main.go", "language": "GO", "clientMethod": { @@ -241,10 +331,148 @@ } ] }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_GetIamPolicy_sync", + "title": "networkconnectivity GetIamPolicy Sample", + "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.", + "file": "HubClient/GetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.GetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetIamPolicy", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_GetLocation_sync", + "title": "networkconnectivity GetLocation Sample", + "description": "GetLocation gets information about a location.", + "file": "HubClient/GetLocation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetLocation", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetLocation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "locationpb.GetLocationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "locationpb.Location", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "GetLocation", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetLocation", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_GetOperation_sync", + "title": "networkconnectivity GetOperation Sample", + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/GetOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetOperation", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.GetOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "longrunningpb.Operation", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "GetOperation", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetOperation", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, { "regionTag": "networkconnectivity_v1_generated_HubService_GetSpoke_sync", "title": "networkconnectivity GetSpoke Sample", - "description": "GetSpoke gets details about the specified spoke.", + "description": "GetSpoke gets details about a Network Connectivity Center spoke.", "file": "HubClient/GetSpoke/main.go", "language": "GO", "clientMethod": { @@ -290,7 +518,7 @@ { "regionTag": "networkconnectivity_v1_generated_HubService_ListHubs_sync", "title": "networkconnectivity ListHubs Sample", - "description": "ListHubs lists hubs in a given project.", + "description": "ListHubs lists the Network Connectivity Center hubs associated with a given project.", "file": "HubClient/ListHubs/main.go", "language": "GO", "clientMethod": { @@ -334,21 +562,21 @@ ] }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListSpokes_sync", - "title": "networkconnectivity ListSpokes Sample", - "description": "ListSpokes lists the spokes in the specified project and location.", - "file": "HubClient/ListSpokes/main.go", + "regionTag": "networkconnectivity_v1_generated_HubService_ListLocations_sync", + "title": "networkconnectivity ListLocations Sample", + "description": "ListLocations lists information about the supported locations for this service.", + "file": "HubClient/ListLocations/main.go", "language": "GO", "clientMethod": { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListSpokes", + "shortName": "ListLocations", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListLocations", "parameters": [ { "type": "context.Context", "name": "ctx" }, { - "type": "networkconnectivitypb.ListSpokesRequest", + "type": "locationpb.ListLocationsRequest", "name": "req" }, { @@ -356,14 +584,14 @@ "name": "opts" } ], - "resultType": "SpokeIterator", + "resultType": "LocationIterator", "client": { "shortName": "HubClient", "fullName": "google.cloud.networkconnectivity.v1.HubClient" }, "method": { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListSpokes", + "shortName": "ListLocations", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListLocations", "service": { "shortName": "HubService", "fullName": "google.cloud.networkconnectivity.v1.HubService" @@ -374,27 +602,27 @@ "segments": [ { "start": 18, - "end": 60, + "end": 61, "type": "FULL" } ] }, { - "regionTag": "networkconnectivity_v1_generated_HubService_UpdateHub_sync", - "title": "networkconnectivity UpdateHub Sample", - "description": "UpdateHub updates the description and/or labels of the specified hub.", - "file": "HubClient/UpdateHub/main.go", + "regionTag": "networkconnectivity_v1_generated_HubService_ListOperations_sync", + "title": "networkconnectivity ListOperations Sample", + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "HubClient/ListOperations/main.go", "language": "GO", "clientMethod": { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateHub", + "shortName": "ListOperations", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListOperations", "parameters": [ { "type": "context.Context", "name": "ctx" }, { - "type": "networkconnectivitypb.UpdateHubRequest", + "type": "longrunningpb.ListOperationsRequest", "name": "req" }, { @@ -402,14 +630,14 @@ "name": "opts" } ], - "resultType": "UpdateHubOperation", + "resultType": "OperationIterator", "client": { "shortName": "HubClient", "fullName": "google.cloud.networkconnectivity.v1.HubClient" }, "method": { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateHub", + "shortName": "ListOperations", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListOperations", "service": { "shortName": "HubService", "fullName": "google.cloud.networkconnectivity.v1.HubService" @@ -420,27 +648,27 @@ "segments": [ { "start": 18, - "end": 58, + "end": 61, "type": "FULL" } ] }, { - "regionTag": "networkconnectivity_v1_generated_HubService_UpdateSpoke_sync", - "title": "networkconnectivity UpdateSpoke Sample", - "description": "UpdateSpoke updates the parameters of the specified spoke.", - "file": "HubClient/UpdateSpoke/main.go", + "regionTag": "networkconnectivity_v1_generated_HubService_ListSpokes_sync", + "title": "networkconnectivity ListSpokes Sample", + "description": "ListSpokes lists the Network Connectivity Center spokes in a specified project and\nlocation.", + "file": "HubClient/ListSpokes/main.go", "language": "GO", "clientMethod": { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateSpoke", + "shortName": "ListSpokes", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListSpokes", "parameters": [ { "type": "context.Context", "name": "ctx" }, { - "type": "networkconnectivitypb.UpdateSpokeRequest", + "type": "networkconnectivitypb.ListSpokesRequest", "name": "req" }, { @@ -448,14 +676,14 @@ "name": "opts" } ], - "resultType": "UpdateSpokeOperation", + "resultType": "SpokeIterator", "client": { "shortName": "HubClient", "fullName": "google.cloud.networkconnectivity.v1.HubClient" }, "method": { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateSpoke", + "shortName": "ListSpokes", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListSpokes", "service": { "shortName": "HubService", "fullName": "google.cloud.networkconnectivity.v1.HubService" @@ -466,7 +694,787 @@ "segments": [ { "start": 18, - "end": 58, + "end": 60, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_SetIamPolicy_sync", + "title": "networkconnectivity SetIamPolicy Sample", + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED\nerrors.", + "file": "HubClient/SetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.SetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.SetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.HubService.SetIamPolicy", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_TestIamPermissions_sync", + "title": "networkconnectivity TestIamPermissions Sample", + "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may “fail open” without warning.", + "file": "HubClient/TestIamPermissions/main.go", + "language": "GO", + "clientMethod": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.TestIamPermissions", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.TestIamPermissionsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.TestIamPermissionsResponse", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.networkconnectivity.v1.HubService.TestIamPermissions", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateHub_sync", + "title": "networkconnectivity UpdateHub Sample", + "description": "UpdateHub updates the description and/or labels of a Network Connectivity Center\nhub.", + "file": "HubClient/UpdateHub/main.go", + "language": "GO", + "clientMethod": { + "shortName": "UpdateHub", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateHub", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "networkconnectivitypb.UpdateHubRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "UpdateHubOperation", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "UpdateHub", + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateHub", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 58, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateSpoke_sync", + "title": "networkconnectivity UpdateSpoke Sample", + "description": "UpdateSpoke updates the parameters of a Network Connectivity Center spoke.", + "file": "HubClient/UpdateSpoke/main.go", + "language": "GO", + "clientMethod": { + "shortName": "UpdateSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateSpoke", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "networkconnectivitypb.UpdateSpokeRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "UpdateSpokeOperation", + "client": { + "shortName": "HubClient", + "fullName": "google.cloud.networkconnectivity.v1.HubClient" + }, + "method": { + "shortName": "UpdateSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateSpoke", + "service": { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 58, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_CancelOperation_sync", + "title": "networkconnectivity CancelOperation Sample", + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/CancelOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "CancelOperation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.CancelOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.CancelOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "CancelOperation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.CancelOperation", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 52, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync", + "title": "networkconnectivity CreatePolicyBasedRoute Sample", + "description": "CreatePolicyBasedRoute creates a new PolicyBasedRoute in a given project and location.", + "file": "PolicyBasedRoutingClient/CreatePolicyBasedRoute/main.go", + "language": "GO", + "clientMethod": { + "shortName": "CreatePolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.CreatePolicyBasedRoute", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "networkconnectivitypb.CreatePolicyBasedRouteRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "CreatePolicyBasedRouteOperation", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "CreatePolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.CreatePolicyBasedRoute", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 58, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_DeleteOperation_sync", + "title": "networkconnectivity DeleteOperation Sample", + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/DeleteOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DeleteOperation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.DeleteOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.DeleteOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "DeleteOperation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.DeleteOperation", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 52, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync", + "title": "networkconnectivity DeletePolicyBasedRoute Sample", + "description": "DeletePolicyBasedRoute deletes a single PolicyBasedRoute.", + "file": "PolicyBasedRoutingClient/DeletePolicyBasedRoute/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DeletePolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.DeletePolicyBasedRoute", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "networkconnectivitypb.DeletePolicyBasedRouteRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "DeletePolicyBasedRouteOperation", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "DeletePolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.DeletePolicyBasedRoute", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 56, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetIamPolicy_sync", + "title": "networkconnectivity GetIamPolicy Sample", + "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.", + "file": "PolicyBasedRoutingClient/GetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.GetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetIamPolicy", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetLocation_sync", + "title": "networkconnectivity GetLocation Sample", + "description": "GetLocation gets information about a location.", + "file": "PolicyBasedRoutingClient/GetLocation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetLocation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetLocation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "locationpb.GetLocationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "locationpb.Location", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "GetLocation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetLocation", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetOperation_sync", + "title": "networkconnectivity GetOperation Sample", + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/GetOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetOperation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.GetOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "longrunningpb.Operation", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "GetOperation", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetOperation", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync", + "title": "networkconnectivity GetPolicyBasedRoute Sample", + "description": "GetPolicyBasedRoute gets details of a single PolicyBasedRoute.", + "file": "PolicyBasedRoutingClient/GetPolicyBasedRoute/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetPolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetPolicyBasedRoute", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "networkconnectivitypb.GetPolicyBasedRouteRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "networkconnectivitypb.PolicyBasedRoute", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "GetPolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetPolicyBasedRoute", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 53, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListLocations_sync", + "title": "networkconnectivity ListLocations Sample", + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PolicyBasedRoutingClient/ListLocations/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListLocations", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.ListLocations", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "locationpb.ListLocationsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "LocationIterator", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "ListLocations", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListLocations", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 61, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListOperations_sync", + "title": "networkconnectivity ListOperations Sample", + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/ListOperations/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListOperations", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.ListOperations", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.ListOperationsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "OperationIterator", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "ListOperations", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListOperations", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 61, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync", + "title": "networkconnectivity ListPolicyBasedRoutes Sample", + "description": "ListPolicyBasedRoutes lists PolicyBasedRoutes in a given project and location.", + "file": "PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListPolicyBasedRoutes", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.ListPolicyBasedRoutes", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "networkconnectivitypb.ListPolicyBasedRoutesRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "PolicyBasedRouteIterator", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "ListPolicyBasedRoutes", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 60, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_SetIamPolicy_sync", + "title": "networkconnectivity SetIamPolicy Sample", + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED\nerrors.", + "file": "PolicyBasedRoutingClient/SetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.SetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.SetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.SetIamPolicy", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_TestIamPermissions_sync", + "title": "networkconnectivity TestIamPermissions Sample", + "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may “fail open” without warning.", + "file": "PolicyBasedRoutingClient/TestIamPermissions/main.go", + "language": "GO", + "clientMethod": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.TestIamPermissions", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.TestIamPermissionsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.TestIamPermissionsResponse", + "client": { + "shortName": "PolicyBasedRoutingClient", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" + }, + "method": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.TestIamPermissions", + "service": { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, "type": "FULL" } ] diff --git a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json index e741e465e5db..2a210704f324 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json +++ b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orgpolicy/apiv2", - "version": "1.6.0", + "version": "1.9.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json index db2a1a5ae79a..0375d19684b4 100644 --- a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json +++ b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/run/apiv2", - "version": "0.5.0", + "version": "0.8.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json index 3fac7f4b40cc..467c84c8139c 100644 --- a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json +++ b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicecontrol/apiv1", - "version": "1.6.0", + "version": "1.9.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json index 264d0e1a4461..b6cf3c8b0454 100644 --- a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json +++ b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1", - "version": "1.12.0", + "version": "1.14.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json index 98f3b343cc63..5a3181685ae4 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json +++ b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1p1beta1", - "version": "1.12.0", + "version": "1.14.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json index 9964a9e08161..0ef3d392b0e4 100644 --- a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json +++ b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv2", - "version": "1.12.0", + "version": "1.14.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json index cedf937e94aa..06400198a4da 100644 --- a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json +++ b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv1", - "version": "1.5.0", + "version": "1.8.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json index 256332867107..c6791fb76b02 100644 --- a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json +++ b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv2", - "version": "1.5.0", + "version": "1.8.0", "language": "GO", "apis": [ { diff --git a/internal/godocfx/go.mod b/internal/godocfx/go.mod index ab9133dd5b81..9e6627ae18c1 100644 --- a/internal/godocfx/go.mod +++ b/internal/godocfx/go.mod @@ -32,7 +32,7 @@ require ( golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.108.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa // indirect + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa // indirect google.golang.org/grpc v1.51.0 // indirect google.golang.org/protobuf v1.28.1 // indirect ) diff --git a/internal/godocfx/go.sum b/internal/godocfx/go.sum index 841815808559..3472a145fe80 100644 --- a/internal/godocfx/go.sum +++ b/internal/godocfx/go.sum @@ -660,8 +660,8 @@ google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZV google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa h1:qQPhfbPO23fwm/9lQr91L1u62Zo6cm+zI+slZT+uf+o= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go index 4e3967922a85..cd36fd030808 100644 --- a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go +++ b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go @@ -279,9 +279,9 @@ type Action struct { // must contain only upper and lowercase alphanumeric characters and hyphens // and cannot start with a hyphen. ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` - // Required. The URI to pull the container image from. Note that all images referenced - // by actions in the pipeline are pulled before the first action runs. If - // multiple actions reference the same image, it is only pulled once, + // Required. The URI to pull the container image from. Note that all images + // referenced by actions in the pipeline are pulled before the first action + // runs. If multiple actions reference the same image, it is only pulled once, // ensuring that the same image is used for all actions in a single pipeline. // // The image URI can be either a complete host and image specification (e.g., @@ -292,7 +292,8 @@ type Action struct { // If the specified image is not public, the service account specified for // the Virtual Machine must have access to pull the images from GCR, or // appropriate credentials must be specified in the - // [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field. + // [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] + // field. ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` // If specified, overrides the `CMD` specified in the container. If the // container also has an `ENTRYPOINT` the values are used as entrypoint @@ -302,7 +303,8 @@ type Action struct { // If specified, overrides the `ENTRYPOINT` specified in the container. Entrypoint string `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` // The environment to pass into the container. This environment is merged - // with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] + // with values specified in the + // [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] // message, overwriting any duplicate values. // // In addition to the values passed here, a few other values are @@ -320,8 +322,8 @@ type Action struct { Environment map[string]string `protobuf:"bytes,5,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The encrypted environment to pass into the container. This environment is // merged with values specified in the - // [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any - // duplicate values. + // [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] + // message, overwriting any duplicate values. // // The secret must decrypt to a JSON-encoded dictionary where key-value pairs // serve as environment variable names and their values. The decoded @@ -795,11 +797,11 @@ type VirtualMachine struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Required. The machine type of the virtual machine to create. Must be the short name - // of a standard machine type (such as "n1-standard-1") or a custom machine - // type (such as "custom-1-4096", where "1" indicates the number of vCPUs and - // "4096" indicates the memory in MB). See - // [Creating an instance with a custom machine + // Required. The machine type of the virtual machine to create. Must be the + // short name of a standard machine type (such as "n1-standard-1") or a custom + // machine type (such as "custom-1-4096", where "1" indicates the number of + // vCPUs and "4096" indicates the memory in MB). See [Creating an instance + // with a custom machine // type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) // for more specifications on creating a custom machine type. MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` @@ -1879,52 +1881,62 @@ type isEvent_Details interface { } type Event_Delayed struct { - // See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent]. + // See + // [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent]. Delayed *DelayedEvent `protobuf:"bytes,17,opt,name=delayed,proto3,oneof"` } type Event_WorkerAssigned struct { - // See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent]. + // See + // [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent]. WorkerAssigned *WorkerAssignedEvent `protobuf:"bytes,18,opt,name=worker_assigned,json=workerAssigned,proto3,oneof"` } type Event_WorkerReleased struct { - // See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent]. + // See + // [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent]. WorkerReleased *WorkerReleasedEvent `protobuf:"bytes,19,opt,name=worker_released,json=workerReleased,proto3,oneof"` } type Event_PullStarted struct { - // See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent]. + // See + // [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent]. PullStarted *PullStartedEvent `protobuf:"bytes,20,opt,name=pull_started,json=pullStarted,proto3,oneof"` } type Event_PullStopped struct { - // See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent]. + // See + // [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent]. PullStopped *PullStoppedEvent `protobuf:"bytes,21,opt,name=pull_stopped,json=pullStopped,proto3,oneof"` } type Event_ContainerStarted struct { - // See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent]. + // See + // [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent]. ContainerStarted *ContainerStartedEvent `protobuf:"bytes,22,opt,name=container_started,json=containerStarted,proto3,oneof"` } type Event_ContainerStopped struct { - // See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent]. + // See + // [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent]. ContainerStopped *ContainerStoppedEvent `protobuf:"bytes,23,opt,name=container_stopped,json=containerStopped,proto3,oneof"` } type Event_ContainerKilled struct { - // See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent]. + // See + // [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent]. ContainerKilled *ContainerKilledEvent `protobuf:"bytes,24,opt,name=container_killed,json=containerKilled,proto3,oneof"` } type Event_UnexpectedExitStatus struct { - // See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent]. + // See + // [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent]. UnexpectedExitStatus *UnexpectedExitStatusEvent `protobuf:"bytes,25,opt,name=unexpected_exit_status,json=unexpectedExitStatus,proto3,oneof"` } type Event_Failed struct { - // See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent]. + // See + // [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent]. Failed *FailedEvent `protobuf:"bytes,26,opt,name=failed,proto3,oneof"` } @@ -3531,11 +3543,11 @@ const _ = grpc.SupportPackageIsVersion6 type WorkflowsServiceV2BetaClient interface { // Runs a pipeline. The returned Operation's [metadata] // [google.longrunning.Operation.metadata] field will contain a - // [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status - // of the pipeline execution. The + // [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] + // object describing the status of the pipeline execution. The // [response][google.longrunning.Operation.response] field will contain a - // [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the - // pipeline completes successfully. + // [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] + // object if the pipeline completes successfully. // // **Note:** Before you can use this method, the *Life Sciences Service Agent* // must have access to your project. This is done automatically when the @@ -3570,11 +3582,11 @@ func (c *workflowsServiceV2BetaClient) RunPipeline(ctx context.Context, in *RunP type WorkflowsServiceV2BetaServer interface { // Runs a pipeline. The returned Operation's [metadata] // [google.longrunning.Operation.metadata] field will contain a - // [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status - // of the pipeline execution. The + // [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] + // object describing the status of the pipeline execution. The // [response][google.longrunning.Operation.response] field will contain a - // [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the - // pipeline completes successfully. + // [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] + // object if the pipeline completes successfully. // // **Note:** Before you can use this method, the *Life Sciences Service Agent* // must have access to your project. This is done automatically when the diff --git a/lifesciences/apiv2beta/workflows_service_v2_beta_client.go b/lifesciences/apiv2beta/workflows_service_v2_beta_client.go index ac59e4918094..1fae9db202a1 100644 --- a/lifesciences/apiv2beta/workflows_service_v2_beta_client.go +++ b/lifesciences/apiv2beta/workflows_service_v2_beta_client.go @@ -147,11 +147,11 @@ func (c *WorkflowsServiceV2BetaClient) Connection() *grpc.ClientConn { // RunPipeline runs a pipeline. The returned Operation’s [metadata] // [google.longrunning.Operation.metadata] field will contain a -// google.cloud.lifesciences.v2beta.Metadata object describing the status -// of the pipeline execution. The +// google.cloud.lifesciences.v2beta.Metadata +// object describing the status of the pipeline execution. The // response field will contain a -// google.cloud.lifesciences.v2beta.RunPipelineResponse object if the -// pipeline completes successfully. +// google.cloud.lifesciences.v2beta.RunPipelineResponse +// object if the pipeline completes successfully. // // Note: Before you can use this method, the Life Sciences Service Agent // must have access to your project. This is done automatically when the @@ -568,11 +568,11 @@ func (c *workflowsServiceV2BetaGRPCClient) ListOperations(ctx context.Context, r // RunPipeline runs a pipeline. The returned Operation’s [metadata] // [google.longrunning.Operation.metadata] field will contain a -// google.cloud.lifesciences.v2beta.Metadata object describing the status -// of the pipeline execution. The +// google.cloud.lifesciences.v2beta.Metadata +// object describing the status of the pipeline execution. The // response field will contain a -// google.cloud.lifesciences.v2beta.RunPipelineResponse object if the -// pipeline completes successfully. +// google.cloud.lifesciences.v2beta.RunPipelineResponse +// object if the pipeline completes successfully. // // Note: Before you can use this method, the Life Sciences Service Agent // must have access to your project. This is done automatically when the diff --git a/lifesciences/go.mod b/lifesciences/go.mod index 1ebf216c8ca5..7777b35e9d51 100644 --- a/lifesciences/go.mod +++ b/lifesciences/go.mod @@ -5,8 +5,8 @@ go 1.19 require ( cloud.google.com/go/longrunning v0.3.0 github.com/googleapis/gax-go/v2 v2.7.0 - google.golang.org/api v0.106.0 - google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f + google.golang.org/api v0.108.0 + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 ) diff --git a/lifesciences/go.sum b/lifesciences/go.sum index b629d3d5cb73..1c0cfee85c39 100644 --- a/lifesciences/go.sum +++ b/lifesciences/go.sum @@ -96,8 +96,8 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.106.0 h1:ffmW0faWCwKkpbbtvlY/K/8fUl+JKvNS5CVzRoyfCv8= -google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.108.0 h1:WVBc/faN0DkKtR43Q/7+tPny9ZoLZdIiAyG5Q9vFClg= +google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= 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= @@ -105,8 +105,8 @@ google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f h1:BWUVssLB0HVOSY78gIdvk1dTVYtT1y8SBWtPYuTJ/6w= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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/networkconnectivity/go.mod b/networkconnectivity/go.mod index 32e198457f64..1cb7701d49e7 100644 --- a/networkconnectivity/go.mod +++ b/networkconnectivity/go.mod @@ -5,8 +5,8 @@ go 1.19 require ( cloud.google.com/go/longrunning v0.3.0 github.com/googleapis/gax-go/v2 v2.7.0 - google.golang.org/api v0.106.0 - google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f + google.golang.org/api v0.108.0 + google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 ) diff --git a/networkconnectivity/go.sum b/networkconnectivity/go.sum index 299518b5132c..7aa0ecbd052c 100644 --- a/networkconnectivity/go.sum +++ b/networkconnectivity/go.sum @@ -98,8 +98,8 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.106.0 h1:ffmW0faWCwKkpbbtvlY/K/8fUl+JKvNS5CVzRoyfCv8= -google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.108.0 h1:WVBc/faN0DkKtR43Q/7+tPny9ZoLZdIiAyG5Q9vFClg= +google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= 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= @@ -107,8 +107,8 @@ google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f h1:BWUVssLB0HVOSY78gIdvk1dTVYtT1y8SBWtPYuTJ/6w= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa h1:GZXdWYIKckxQE2EcLHLvF+KLF+bIwoxGdMUxTZizueg= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 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=