From 35929f7a8fce19dc137423ed56fcce9e16c3a729 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 30 Jun 2022 15:13:08 +0000 Subject: [PATCH] chore(all): auto-regenerate gapics This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: https://github.com/googleapis/go-genproto/pull/843 Changes: docs(dataflow): corrected the Dataflow job name regex PiperOrigin-RevId: 458015583 Source-Link: https://github.com/googleapis/googleapis/commit/9b7d76e0c78a092a47985137b5af55e549b7ad1f docs(dialogflow/cx): clarify descriptions of the AdvancedSettings and WebhookRequest data types PiperOrigin-RevId: 458000126 Source-Link: https://github.com/googleapis/googleapis/commit/c425ac6db94418da95465842a747eefdca28d6fb --- ...t_metadata.google.cloud.aiplatform.v1.json | 2 +- ...adata.google.cloud.aiplatform.v1beta1.json | 2 +- ...tadata.google.analytics.admin.v1alpha.json | 2 +- ...tadata.google.area120.tables.v1alpha1.json | 2 +- ...nippet_metadata.google.cloud.asset.v1.json | 2 +- ...metadata.google.cloud.asset.v1p2beta1.json | 2 +- ...metadata.google.cloud.asset.v1p5beta1.json | 2 +- ...data.google.cloud.assuredworkloads.v1.json | 2 +- ...google.cloud.assuredworkloads.v1beta1.json | 2 +- ...ippet_metadata.google.cloud.automl.v1.json | 2 +- ..._metadata.google.cloud.automl.v1beta1.json | 2 +- ...a.google.cloud.binaryauthorization.v1.json | 2 +- ...gle.cloud.binaryauthorization.v1beta1.json | 2 +- ...ppet_metadata.google.cloud.channel.v1.json | 2 +- ...nippet_metadata.google.cloud.tasks.v2.json | 2 +- ...t_metadata.google.cloud.tasks.v2beta2.json | 2 +- ...t_metadata.google.cloud.tasks.v2beta3.json | 2 +- .../snippet_metadata.grafeas.v1beta1.json | 2 +- ...ppet_metadata.google.dataflow.v1beta3.json | 2 +- ...pet_metadata.google.cloud.dataplex.v1.json | 2 +- ...metadata.google.cloud.dataqna.v1alpha.json | 2 +- ...t_metadata.google.cloud.datastream.v1.json | 2 +- ...data.google.cloud.datastream.v1alpha1.json | 2 +- ...t_metadata.google.cloud.dialogflow.v2.json | 2 +- ...etadata.google.cloud.dialogflow.cx.v3.json | 2 +- ...ta.google.cloud.dialogflow.cx.v3beta1.json | 2 +- ...metadata.google.cloud.domains.v1beta1.json | 2 +- .../FunctionClient/CreateFunction/main.go | 53 ++ .../FunctionClient/DeleteFunction/main.go | 51 ++ .../GenerateDownloadUrl/main.go | 48 ++ .../FunctionClient/GenerateUploadUrl/main.go | 48 ++ .../FunctionClient/GetFunction/main.go | 48 ++ .../FunctionClient/GetIamPolicy/main.go | 48 ++ .../FunctionClient/GetOperation/main.go | 48 ++ .../FunctionClient/ListFunctions/main.go | 55 ++ .../FunctionClient/ListLocations/main.go | 55 ++ .../FunctionClient/ListOperations/main.go | 55 ++ .../FunctionClient/ListRuntimes/main.go | 48 ++ .../FunctionClient/SetIamPolicy/main.go | 48 ++ .../FunctionClient/TestIamPermissions/main.go | 48 ++ .../FunctionClient/UpdateFunction/main.go | 53 ++ ...etadata.google.cloud.functions.v2beta.json | 659 ++++++++++++++++++ ...ippet_metadata.google.cloud.gaming.v1.json | 2 +- ...t_metadata.google.cloud.gaming.v1beta.json | 2 +- ..._metadata.google.cloud.gkehub.v1beta1.json | 2 +- 45 files changed, 1395 insertions(+), 30 deletions(-) create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/CreateFunction/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/DeleteFunction/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateDownloadUrl/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateUploadUrl/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/GetFunction/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/GetIamPolicy/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/GetOperation/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/ListRuntimes/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/SetIamPolicy/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/TestIamPermissions/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/FunctionClient/UpdateFunction/main.go create mode 100644 internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json 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 09250bfce1ed..f5d3258c2243 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.13.0", + "version": "1.14.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 60ebabb209dc..f0c738d83aea 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.13.0", + "version": "1.14.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 277da07c9dc3..21e2b994c690 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.7.0", + "version": "0.8.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json index 5dd943164da9..1efd0e1510eb 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/area120/tables/apiv1alpha1", - "version": "0.3.0", + "version": "0.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json index 8fde67a0fb5c..6e9c45b009ce 100644 --- a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json +++ b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1", - "version": "1.2.0", + "version": "1.3.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json index e3354494fec8..615ded181537 100644 --- a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json +++ b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p2beta1", - "version": "1.2.0", + "version": "1.3.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json index 0e9d90a38f6a..6858b3205f02 100644 --- a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json +++ b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p5beta1", - "version": "1.2.0", + "version": "1.3.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json index 61aae2969b87..d000b2691174 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1", - "version": "0.6.0", + "version": "1.0.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json index 9594f4f221c7..f9d3e434944b 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1beta1", - "version": "0.6.0", + "version": "1.0.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 fedc1614d6dc..06116a759dbf 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.3.0", + "version": "1.4.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 57ee54d87653..527c804edf23 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.3.0", + "version": "1.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json index 49ada652cf7d..9b5cfdf6ce60 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1", - "version": "0.6.0", + "version": "1.0.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json index e45eb718090c..e6d1fba3c261 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1beta1", - "version": "0.6.0", + "version": "1.0.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json index 695574b831e3..14a0787e82aa 100644 --- a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json +++ b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/channel/apiv1", - "version": "1.6.0", + "version": "1.7.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json index 316fd312464a..f731f5ec60e2 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json +++ b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2", - "version": "1.3.0", + "version": "1.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json index 5cdd9081819f..98ec9725379a 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta2", - "version": "1.3.0", + "version": "1.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json index 15178911287e..2f9f7099e07d 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta3", - "version": "1.3.0", + "version": "1.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.grafeas.v1beta1.json b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.grafeas.v1beta1.json index 5a972f65017d..be9e3ef9a871 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.grafeas.v1beta1.json +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.grafeas.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/containeranalysis/apiv1beta1", - "version": "0.3.0", + "version": "0.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json index b0e567f10f9d..9512d3ff28a7 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json +++ b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataflow/apiv1beta3", - "version": "0.4.0", + "version": "0.5.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json index 2fd2d5583398..2eb2c7a36870 100644 --- a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json +++ b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataplex/apiv1", - "version": "0.4.0", + "version": "1.0.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json index 4a8c01963645..939f5d42c5be 100644 --- a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json +++ b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataqna/apiv1alpha", - "version": "0.3.0", + "version": "0.4.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json index 56e45519ed7d..6ac950c6ad98 100644 --- a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json +++ b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1", - "version": "0.5.0", + "version": "1.0.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json index 64dd9c1cd331..a4bc289d157e 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json +++ b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1alpha1", - "version": "0.5.0", + "version": "1.0.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 68c250ca9cd2..95b4dd6c83b4 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.10.0", + "version": "1.11.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 77b5e04e14d1..f179a79c3ecc 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.10.0", + "version": "1.11.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 47100a57d86a..6377fbadf833 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.10.0", + "version": "1.11.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json index 105978a96265..166a3b4e318e 100644 --- a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json +++ b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/domains/apiv1beta1", - "version": "0.4.0", + "version": "0.5.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/CreateFunction/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/CreateFunction/main.go new file mode 100644 index 000000000000..7f4f07b48fe3 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/CreateFunction/main.go @@ -0,0 +1,53 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_CreateFunction_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.CreateFunctionRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#CreateFunctionRequest. + } + op, err := c.CreateFunction(ctx, req) + if err != nil { + // TODO: Handle error. + } + + resp, err := op.Wait(ctx) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_CreateFunction_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/DeleteFunction/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/DeleteFunction/main.go new file mode 100644 index 000000000000..ee33d3f5361e --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/DeleteFunction/main.go @@ -0,0 +1,51 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_DeleteFunction_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.DeleteFunctionRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#DeleteFunctionRequest. + } + op, err := c.DeleteFunction(ctx, req) + if err != nil { + // TODO: Handle error. + } + + err = op.Wait(ctx) + if err != nil { + // TODO: Handle error. + } +} + +// [END cloudfunctions_v2beta_generated_FunctionService_DeleteFunction_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateDownloadUrl/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateDownloadUrl/main.go new file mode 100644 index 000000000000..2998627a53fa --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateDownloadUrl/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_GenerateDownloadUrl_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.GenerateDownloadUrlRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#GenerateDownloadUrlRequest. + } + resp, err := c.GenerateDownloadUrl(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_GenerateDownloadUrl_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateUploadUrl/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateUploadUrl/main.go new file mode 100644 index 000000000000..834901db91f7 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GenerateUploadUrl/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_GenerateUploadUrl_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.GenerateUploadUrlRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#GenerateUploadUrlRequest. + } + resp, err := c.GenerateUploadUrl(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_GenerateUploadUrl_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetFunction/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetFunction/main.go new file mode 100644 index 000000000000..4fb27577a55d --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetFunction/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_GetFunction_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.GetFunctionRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#GetFunctionRequest. + } + resp, err := c.GetFunction(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_GetFunction_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetIamPolicy/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetIamPolicy/main.go new file mode 100644 index 000000000000..fbb351202c16 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetIamPolicy/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_GetIamPolicy_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + iampb "google.golang.org/genproto/googleapis/iam/v1" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &iampb.GetIamPolicyRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/iam/v1#GetIamPolicyRequest. + } + resp, err := c.GetIamPolicy(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_GetIamPolicy_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetOperation/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetOperation/main.go new file mode 100644 index 000000000000..0e693581dd52 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/GetOperation/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_GetOperation_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + longrunningpb "google.golang.org/genproto/googleapis/longrunning" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &longrunningpb.GetOperationRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/longrunning#GetOperationRequest. + } + resp, err := c.GetOperation(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_GetOperation_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go new file mode 100644 index 000000000000..60a42b68502a --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go @@ -0,0 +1,55 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_ListFunctions_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + "google.golang.org/api/iterator" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.ListFunctionsRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#ListFunctionsRequest. + } + it := c.ListFunctions(ctx, req) + for { + resp, err := it.Next() + if err == iterator.Done { + break + } + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp + } +} + +// [END cloudfunctions_v2beta_generated_FunctionService_ListFunctions_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go new file mode 100644 index 000000000000..7fa7fbb4b5c9 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go @@ -0,0 +1,55 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_ListLocations_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + "google.golang.org/api/iterator" + locationpb "google.golang.org/genproto/googleapis/cloud/location" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &locationpb.ListLocationsRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest. + } + it := c.ListLocations(ctx, req) + for { + resp, err := it.Next() + if err == iterator.Done { + break + } + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp + } +} + +// [END cloudfunctions_v2beta_generated_FunctionService_ListLocations_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go new file mode 100644 index 000000000000..576f401b836e --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go @@ -0,0 +1,55 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_ListOperations_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + "google.golang.org/api/iterator" + longrunningpb "google.golang.org/genproto/googleapis/longrunning" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &longrunningpb.ListOperationsRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/longrunning#ListOperationsRequest. + } + it := c.ListOperations(ctx, req) + for { + resp, err := it.Next() + if err == iterator.Done { + break + } + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp + } +} + +// [END cloudfunctions_v2beta_generated_FunctionService_ListOperations_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListRuntimes/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListRuntimes/main.go new file mode 100644 index 000000000000..7d74867ae808 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListRuntimes/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_ListRuntimes_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.ListRuntimesRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#ListRuntimesRequest. + } + resp, err := c.ListRuntimes(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_ListRuntimes_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/SetIamPolicy/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/SetIamPolicy/main.go new file mode 100644 index 000000000000..98682c412754 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/SetIamPolicy/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_SetIamPolicy_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + iampb "google.golang.org/genproto/googleapis/iam/v1" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &iampb.SetIamPolicyRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/iam/v1#SetIamPolicyRequest. + } + resp, err := c.SetIamPolicy(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_SetIamPolicy_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/TestIamPermissions/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/TestIamPermissions/main.go new file mode 100644 index 000000000000..24070fccd2ca --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/TestIamPermissions/main.go @@ -0,0 +1,48 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_TestIamPermissions_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + iampb "google.golang.org/genproto/googleapis/iam/v1" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &iampb.TestIamPermissionsRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/iam/v1#TestIamPermissionsRequest. + } + resp, err := c.TestIamPermissions(ctx, req) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_TestIamPermissions_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/UpdateFunction/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/UpdateFunction/main.go new file mode 100644 index 000000000000..1aaa8cc57a98 --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/UpdateFunction/main.go @@ -0,0 +1,53 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by cloud.google.com/go/internal/gapicgen/gensnippets. DO NOT EDIT. + +// [START cloudfunctions_v2beta_generated_FunctionService_UpdateFunction_sync] + +package main + +import ( + "context" + + functions "cloud.google.com/go/functions/apiv2beta" + functionspb "google.golang.org/genproto/googleapis/cloud/functions/v2beta" +) + +func main() { + ctx := context.Background() + c, err := functions.NewFunctionClient(ctx) + if err != nil { + // TODO: Handle error. + } + defer c.Close() + + req := &functionspb.UpdateFunctionRequest{ + // TODO: Fill request struct fields. + // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/functions/v2beta#UpdateFunctionRequest. + } + op, err := c.UpdateFunction(ctx, req) + if err != nil { + // TODO: Handle error. + } + + resp, err := op.Wait(ctx) + if err != nil { + // TODO: Handle error. + } + // TODO: Use resp. + _ = resp +} + +// [END cloudfunctions_v2beta_generated_FunctionService_UpdateFunction_sync] diff --git a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json new file mode 100644 index 000000000000..581f348f6d3b --- /dev/null +++ b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json @@ -0,0 +1,659 @@ +{ + "clientLibrary": { + "name": "cloud.google.com/go/functions/apiv2beta", + "version": "1.4.0", + "language": "GO", + "apis": [ + { + "id": "google.cloud.functions.v2beta", + "version": "v2beta" + } + ] + }, + "snippets": [ + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_CreateFunction_sync", + "title": "cloudfunctions CreateFunction Sample", + "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\nALREADY_EXISTS error.", + "file": "FunctionClient/CreateFunction/main.go", + "language": "GO", + "clientMethod": { + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v2beta.FunctionClient.CreateFunction", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.CreateFunctionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "CreateFunctionOperation", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.CreateFunction", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 52, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_DeleteFunction_sync", + "title": "cloudfunctions DeleteFunction Sample", + "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", + "file": "FunctionClient/DeleteFunction/main.go", + "language": "GO", + "clientMethod": { + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v2beta.FunctionClient.DeleteFunction", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.DeleteFunctionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "DeleteFunctionOperation", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.DeleteFunction", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 50, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GenerateDownloadUrl_sync", + "title": "cloudfunctions GenerateDownloadUrl Sample", + "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\n30 minutes of generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls (at https: //cloud.google.com/storage/docs/access-control/signed-urls)", + "file": "FunctionClient/GenerateDownloadUrl/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v2beta.FunctionClient.GenerateDownloadUrl", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.GenerateDownloadUrlRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "functionspb.GenerateDownloadUrlResponse", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GenerateUploadUrl_sync", + "title": "cloudfunctions GenerateUploadUrl Sample", + "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls (at https: //cloud.google.com/storage/docs/access-control/signed-urls).\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n Source file type should be a zip file.\n\n No credentials should be attached - the signed URLs provide access to the\n target bucket using internal service identity; if credentials were\n attached, the identity from the credentials would be used, but that\n identity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, these two headers need to be specified: \n\n content-type: application/zip\n\nAnd this header SHOULD NOT be specified: \n\n Authorization: Bearer YOUR_TOKEN", + "file": "FunctionClient/GenerateUploadUrl/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GenerateUploadUrl", + "fullName": "google.cloud.functions.v2beta.FunctionClient.GenerateUploadUrl", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.GenerateUploadUrlRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "functionspb.GenerateUploadUrlResponse", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "GenerateUploadUrl", + "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetFunction_sync", + "title": "cloudfunctions GetFunction Sample", + "description": "GetFunction returns a function with the given name from the requested project.", + "file": "FunctionClient/GetFunction/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetFunction", + "fullName": "google.cloud.functions.v2beta.FunctionClient.GetFunction", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.GetFunctionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "functionspb.Function", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "GetFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.GetFunction", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetIamPolicy_sync", + "title": "cloudfunctions 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": "FunctionClient/GetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.functions.v2beta.FunctionClient.GetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.GetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.functions.v2beta.FunctionService.GetIamPolicy", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetOperation_sync", + "title": "cloudfunctions GetOperation Sample", + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FunctionClient/GetOperation/main.go", + "language": "GO", + "clientMethod": { + "shortName": "GetOperation", + "fullName": "google.cloud.functions.v2beta.FunctionClient.GetOperation", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.GetOperationRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "longrunningpb.Operation", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "GetOperation", + "fullName": "google.cloud.functions.v2beta.FunctionService.GetOperation", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListFunctions_sync", + "title": "cloudfunctions ListFunctions Sample", + "description": "ListFunctions returns a list of functions that belong to the requested project.", + "file": "FunctionClient/ListFunctions/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v2beta.FunctionClient.ListFunctions", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.ListFunctionsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "FunctionIterator", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v2beta.FunctionService.ListFunctions", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListLocations_sync", + "title": "cloudfunctions ListLocations Sample", + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FunctionClient/ListLocations/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListLocations", + "fullName": "google.cloud.functions.v2beta.FunctionClient.ListLocations", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "locationpb.ListLocationsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "LocationIterator", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "ListLocations", + "fullName": "google.cloud.functions.v2beta.FunctionService.ListLocations", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListOperations_sync", + "title": "cloudfunctions ListOperations Sample", + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FunctionClient/ListOperations/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListOperations", + "fullName": "google.cloud.functions.v2beta.FunctionClient.ListOperations", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "longrunningpb.ListOperationsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "OperationIterator", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "ListOperations", + "fullName": "google.cloud.functions.v2beta.FunctionService.ListOperations", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 54, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListRuntimes_sync", + "title": "cloudfunctions ListRuntimes Sample", + "description": "ListRuntimes returns a list of runtimes that are supported for the requested project.", + "file": "FunctionClient/ListRuntimes/main.go", + "language": "GO", + "clientMethod": { + "shortName": "ListRuntimes", + "fullName": "google.cloud.functions.v2beta.FunctionClient.ListRuntimes", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.ListRuntimesRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "functionspb.ListRuntimesResponse", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "ListRuntimes", + "fullName": "google.cloud.functions.v2beta.FunctionService.ListRuntimes", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_SetIamPolicy_sync", + "title": "cloudfunctions 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": "FunctionClient/SetIamPolicy/main.go", + "language": "GO", + "clientMethod": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.functions.v2beta.FunctionClient.SetIamPolicy", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.SetIamPolicyRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.Policy", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.functions.v2beta.FunctionService.SetIamPolicy", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_TestIamPermissions_sync", + "title": "cloudfunctions 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": "FunctionClient/TestIamPermissions/main.go", + "language": "GO", + "clientMethod": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.functions.v2beta.FunctionClient.TestIamPermissions", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "iampb.TestIamPermissionsRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "iampb.TestIamPermissionsResponse", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.functions.v2beta.FunctionService.TestIamPermissions", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 47, + "type": "FULL" + } + ] + }, + { + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_UpdateFunction_sync", + "title": "cloudfunctions UpdateFunction Sample", + "description": "UpdateFunction updates existing function.", + "file": "FunctionClient/UpdateFunction/main.go", + "language": "GO", + "clientMethod": { + "shortName": "UpdateFunction", + "fullName": "google.cloud.functions.v2beta.FunctionClient.UpdateFunction", + "parameters": [ + { + "type": "context.Context", + "name": "ctx" + }, + { + "type": "functionspb.UpdateFunctionRequest", + "name": "req" + }, + { + "type": "...gax.CallOption", + "name": "opts" + } + ], + "resultType": "UpdateFunctionOperation", + "client": { + "shortName": "FunctionClient", + "fullName": "google.cloud.functions.v2beta.FunctionClient" + }, + "method": { + "shortName": "UpdateFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.UpdateFunction", + "service": { + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 18, + "end": 52, + "type": "FULL" + } + ] + } + ] +} \ No newline at end of file diff --git a/internal/generated/snippets/gaming/apiv1/snippet_metadata.google.cloud.gaming.v1.json b/internal/generated/snippets/gaming/apiv1/snippet_metadata.google.cloud.gaming.v1.json index b7a89b1daf29..92735b4c70dd 100644 --- a/internal/generated/snippets/gaming/apiv1/snippet_metadata.google.cloud.gaming.v1.json +++ b/internal/generated/snippets/gaming/apiv1/snippet_metadata.google.cloud.gaming.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gaming/apiv1", - "version": "1.2.0", + "version": "1.3.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gaming/apiv1beta/snippet_metadata.google.cloud.gaming.v1beta.json b/internal/generated/snippets/gaming/apiv1beta/snippet_metadata.google.cloud.gaming.v1beta.json index dd576b908e9a..8bdb65b1c843 100644 --- a/internal/generated/snippets/gaming/apiv1beta/snippet_metadata.google.cloud.gaming.v1beta.json +++ b/internal/generated/snippets/gaming/apiv1beta/snippet_metadata.google.cloud.gaming.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gaming/apiv1beta", - "version": "1.2.0", + "version": "1.3.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json index 1cd2d24af052..8dfa9241b159 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json +++ b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkehub/apiv1beta1", - "version": "0.7.0", + "version": "0.8.0", "language": "GO", "apis": [ {