chore(all): auto-regenerate gapics (#4972)
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/696
Changes:
docs(clouddms): Fix NOT_STARTED state documentation in MigrationJob resource
PiperOrigin-RevId: 402280922
Source-Link: https://github.com/googleapis/googleapis/commit/ae3a4a281d8f35d2327328e95da9dc9146716ae2
feat(securitycenter): Added vulnerability field to the finding feat: Added type field to the resource which is surfaced in NotificationMessage
PiperOrigin-RevId: 401787368
Source-Link: https://github.com/googleapis/googleapis/commit/a7a3440103e7821aae4a3531756f2ad22a270e77
diff --git a/clouddms/apiv1/doc.go b/clouddms/apiv1/doc.go
index dac19cc..21b4a7c 100644
--- a/clouddms/apiv1/doc.go
+++ b/clouddms/apiv1/doc.go
@@ -91,7 +91,7 @@
type clientHookParams struct{}
type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error)
-const versionClient = "20210921"
+const versionClient = "20211011"
func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context {
out, _ := metadata.FromOutgoingContext(ctx)
diff --git a/clouddms/go.mod b/clouddms/go.mod
index 49f2a7a..3e8af07 100644
--- a/clouddms/go.mod
+++ b/clouddms/go.mod
@@ -6,7 +6,7 @@
cloud.google.com/go v0.97.0
github.com/googleapis/gax-go/v2 v2.1.1
google.golang.org/api v0.58.0
- google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0
+ google.golang.org/genproto v0.0.0-20211008145708-270636b82663
google.golang.org/grpc v1.40.0
google.golang.org/protobuf v1.27.1
)
diff --git a/clouddms/go.sum b/clouddms/go.sum
index 3fd8b5f..e873bf3 100644
--- a/clouddms/go.sum
+++ b/clouddms/go.sum
@@ -492,8 +492,9 @@
google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0 h1:5Tbluzus3QxoAJx4IefGt1W0HQZW4nuMrVk684jI74Q=
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
+google.golang.org/genproto v0.0.0-20211008145708-270636b82663 h1:33YYJanAOLxgS7pGjzC1IUrFLpwN//bbgtnKYikOmQU=
+google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ApproveRollout/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ApproveRollout/main.go
new file mode 100644
index 0000000..33f5e0a
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ApproveRollout/main.go
@@ -0,0 +1,48 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_ApproveRollout_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.ApproveRolloutRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#ApproveRolloutRequest.
+ }
+ resp, err := c.ApproveRollout(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_ApproveRollout_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateDeliveryPipeline/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateDeliveryPipeline/main.go
new file mode 100644
index 0000000..0bcb043
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateDeliveryPipeline/main.go
@@ -0,0 +1,53 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_CreateDeliveryPipeline_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.CreateDeliveryPipelineRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#CreateDeliveryPipelineRequest.
+ }
+ op, err := c.CreateDeliveryPipeline(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ resp, err := op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_CreateDeliveryPipeline_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateRelease/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateRelease/main.go
new file mode 100644
index 0000000..64f4fed
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateRelease/main.go
@@ -0,0 +1,53 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_CreateRelease_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.CreateReleaseRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#CreateReleaseRequest.
+ }
+ op, err := c.CreateRelease(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ resp, err := op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_CreateRelease_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateRollout/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateRollout/main.go
new file mode 100644
index 0000000..4257663
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateRollout/main.go
@@ -0,0 +1,53 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_CreateRollout_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.CreateRolloutRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#CreateRolloutRequest.
+ }
+ op, err := c.CreateRollout(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ resp, err := op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_CreateRollout_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateTarget/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateTarget/main.go
new file mode 100644
index 0000000..e14c331
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/CreateTarget/main.go
@@ -0,0 +1,53 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_CreateTarget_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.CreateTargetRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#CreateTargetRequest.
+ }
+ op, err := c.CreateTarget(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ resp, err := op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_CreateTarget_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/DeleteDeliveryPipeline/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/DeleteDeliveryPipeline/main.go
new file mode 100644
index 0000000..571cafe
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/DeleteDeliveryPipeline/main.go
@@ -0,0 +1,51 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_DeleteDeliveryPipeline_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.DeleteDeliveryPipelineRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#DeleteDeliveryPipelineRequest.
+ }
+ op, err := c.DeleteDeliveryPipeline(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ err = op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_DeleteDeliveryPipeline_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/DeleteTarget/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/DeleteTarget/main.go
new file mode 100644
index 0000000..2d5b6dc
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/DeleteTarget/main.go
@@ -0,0 +1,51 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_DeleteTarget_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.DeleteTargetRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#DeleteTargetRequest.
+ }
+ op, err := c.DeleteTarget(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ err = op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_DeleteTarget_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetConfig/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetConfig/main.go
new file mode 100644
index 0000000..4bde6f7
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetConfig/main.go
@@ -0,0 +1,48 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_GetConfig_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.GetConfigRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#GetConfigRequest.
+ }
+ resp, err := c.GetConfig(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_GetConfig_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetDeliveryPipeline/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetDeliveryPipeline/main.go
new file mode 100644
index 0000000..1ca65cb
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetDeliveryPipeline/main.go
@@ -0,0 +1,48 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_GetDeliveryPipeline_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.GetDeliveryPipelineRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#GetDeliveryPipelineRequest.
+ }
+ resp, err := c.GetDeliveryPipeline(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_GetDeliveryPipeline_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetRelease/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetRelease/main.go
new file mode 100644
index 0000000..e059573
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetRelease/main.go
@@ -0,0 +1,48 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_GetRelease_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.GetReleaseRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#GetReleaseRequest.
+ }
+ resp, err := c.GetRelease(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_GetRelease_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetRollout/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetRollout/main.go
new file mode 100644
index 0000000..41ffa7e
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetRollout/main.go
@@ -0,0 +1,48 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_GetRollout_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.GetRolloutRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#GetRolloutRequest.
+ }
+ resp, err := c.GetRollout(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_GetRollout_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetTarget/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetTarget/main.go
new file mode 100644
index 0000000..e998add
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/GetTarget/main.go
@@ -0,0 +1,48 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_GetTarget_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.GetTargetRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#GetTargetRequest.
+ }
+ resp, err := c.GetTarget(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_GetTarget_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go
new file mode 100644
index 0000000..75925c1
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go
@@ -0,0 +1,55 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_ListDeliveryPipelines_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ "google.golang.org/api/iterator"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.ListDeliveryPipelinesRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#ListDeliveryPipelinesRequest.
+ }
+ it := c.ListDeliveryPipelines(ctx, req)
+ for {
+ resp, err := it.Next()
+ if err == iterator.Done {
+ break
+ }
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+ }
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_ListDeliveryPipelines_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go
new file mode 100644
index 0000000..7916244
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go
@@ -0,0 +1,55 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_ListReleases_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ "google.golang.org/api/iterator"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.ListReleasesRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#ListReleasesRequest.
+ }
+ it := c.ListReleases(ctx, req)
+ for {
+ resp, err := it.Next()
+ if err == iterator.Done {
+ break
+ }
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+ }
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_ListReleases_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go
new file mode 100644
index 0000000..2eb2a5f
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go
@@ -0,0 +1,55 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_ListRollouts_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ "google.golang.org/api/iterator"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.ListRolloutsRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#ListRolloutsRequest.
+ }
+ it := c.ListRollouts(ctx, req)
+ for {
+ resp, err := it.Next()
+ if err == iterator.Done {
+ break
+ }
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+ }
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_ListRollouts_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go
new file mode 100644
index 0000000..6160e87
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go
@@ -0,0 +1,55 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_ListTargets_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ "google.golang.org/api/iterator"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.ListTargetsRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#ListTargetsRequest.
+ }
+ it := c.ListTargets(ctx, req)
+ for {
+ resp, err := it.Next()
+ if err == iterator.Done {
+ break
+ }
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+ }
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_ListTargets_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/UpdateDeliveryPipeline/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/UpdateDeliveryPipeline/main.go
new file mode 100644
index 0000000..ec397fd
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/UpdateDeliveryPipeline/main.go
@@ -0,0 +1,53 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_UpdateDeliveryPipeline_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.UpdateDeliveryPipelineRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#UpdateDeliveryPipelineRequest.
+ }
+ op, err := c.UpdateDeliveryPipeline(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ resp, err := op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_UpdateDeliveryPipeline_sync]
diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/UpdateTarget/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/UpdateTarget/main.go
new file mode 100644
index 0000000..26e232d
--- /dev/null
+++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/UpdateTarget/main.go
@@ -0,0 +1,53 @@
+// Copyright 2021 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 clouddeploy_v1_generated_CloudDeploy_UpdateTarget_sync]
+
+package main
+
+import (
+ "context"
+
+ deploy "cloud.google.com/go/deploy/apiv1"
+ deploypb "google.golang.org/genproto/googleapis/cloud/deploy/v1"
+)
+
+func main() {
+ ctx := context.Background()
+ c, err := deploy.NewCloudDeployClient(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ defer c.Close()
+
+ req := &deploypb.UpdateTargetRequest{
+ // TODO: Fill request struct fields.
+ // See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/deploy/v1#UpdateTargetRequest.
+ }
+ op, err := c.UpdateTarget(ctx, req)
+ if err != nil {
+ // TODO: Handle error.
+ }
+
+ resp, err := op.Wait(ctx)
+ if err != nil {
+ // TODO: Handle error.
+ }
+ // TODO: Use resp.
+ _ = resp
+}
+
+// [END clouddeploy_v1_generated_CloudDeploy_UpdateTarget_sync]
diff --git a/internal/generated/snippets/go.mod b/internal/generated/snippets/go.mod
index def82d3..83ed38f 100644
--- a/internal/generated/snippets/go.mod
+++ b/internal/generated/snippets/go.mod
@@ -54,6 +54,7 @@
cloud.google.com/go/dataqna v0.1.0
cloud.google.com/go/datastore v0.1.0
cloud.google.com/go/datastream v0.1.0
+ cloud.google.com/go/deploy v0.0.0-00010101000000-000000000000
cloud.google.com/go/dialogflow v0.1.0
cloud.google.com/go/dlp v0.1.0
cloud.google.com/go/documentai v0.1.0
@@ -314,3 +315,5 @@
replace cloud.google.com/go/orchestration => ../../../orchestration
replace cloud.google.com/go/filestore => ../../../filestore
+
+replace cloud.google.com/go/deploy => ../../../deploy
diff --git a/internal/generated/snippets/go.sum b/internal/generated/snippets/go.sum
index c5dd72d..1dd9f3b 100644
--- a/internal/generated/snippets/go.sum
+++ b/internal/generated/snippets/go.sum
@@ -4,9 +4,6 @@
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
-github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
-github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
@@ -52,7 +49,6 @@
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
-github.com/google/pprof v0.0.0-20210804190019-f964ff605595/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
@@ -60,7 +56,6 @@
github.com/googleapis/gax-go/v2 v2.1.1 h1:dp3bWCh+PPO1zjRRiCSczJav13sBvG4UhNyVTa1KqdU=
github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
-github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
@@ -111,7 +106,6 @@
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
diff --git a/securitycenter/apiv1/doc.go b/securitycenter/apiv1/doc.go
index d05e042..ddbb405 100644
--- a/securitycenter/apiv1/doc.go
+++ b/securitycenter/apiv1/doc.go
@@ -85,7 +85,7 @@
type clientHookParams struct{}
type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error)
-const versionClient = "20210921"
+const versionClient = "20211011"
func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context {
out, _ := metadata.FromOutgoingContext(ctx)
diff --git a/securitycenter/apiv1beta1/doc.go b/securitycenter/apiv1beta1/doc.go
index b1d8700..ffb00b8 100644
--- a/securitycenter/apiv1beta1/doc.go
+++ b/securitycenter/apiv1beta1/doc.go
@@ -87,7 +87,7 @@
type clientHookParams struct{}
type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error)
-const versionClient = "20210921"
+const versionClient = "20211011"
func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context {
out, _ := metadata.FromOutgoingContext(ctx)
diff --git a/securitycenter/apiv1p1beta1/doc.go b/securitycenter/apiv1p1beta1/doc.go
index d099c0d..6d9adbd 100644
--- a/securitycenter/apiv1p1beta1/doc.go
+++ b/securitycenter/apiv1p1beta1/doc.go
@@ -87,7 +87,7 @@
type clientHookParams struct{}
type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error)
-const versionClient = "20210921"
+const versionClient = "20211011"
func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context {
out, _ := metadata.FromOutgoingContext(ctx)
diff --git a/securitycenter/go.mod b/securitycenter/go.mod
index fa714c6..3842f06 100644
--- a/securitycenter/go.mod
+++ b/securitycenter/go.mod
@@ -7,7 +7,7 @@
github.com/golang/protobuf v1.5.2
github.com/googleapis/gax-go/v2 v2.1.1
google.golang.org/api v0.58.0
- google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0
+ google.golang.org/genproto v0.0.0-20211008145708-270636b82663
google.golang.org/grpc v1.40.0
google.golang.org/protobuf v1.27.1
)
diff --git a/securitycenter/go.sum b/securitycenter/go.sum
index 3fd8b5f..e873bf3 100644
--- a/securitycenter/go.sum
+++ b/securitycenter/go.sum
@@ -492,8 +492,9 @@
google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0 h1:5Tbluzus3QxoAJx4IefGt1W0HQZW4nuMrVk684jI74Q=
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
+google.golang.org/genproto v0.0.0-20211008145708-270636b82663 h1:33YYJanAOLxgS7pGjzC1IUrFLpwN//bbgtnKYikOmQU=
+google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
diff --git a/securitycenter/settings/apiv1beta1/doc.go b/securitycenter/settings/apiv1beta1/doc.go
index e1f9767..1c2a18b 100644
--- a/securitycenter/settings/apiv1beta1/doc.go
+++ b/securitycenter/settings/apiv1beta1/doc.go
@@ -87,7 +87,7 @@
type clientHookParams struct{}
type clientHook func(context.Context, clientHookParams) ([]option.ClientOption, error)
-const versionClient = "20210921"
+const versionClient = "20211011"
func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context {
out, _ := metadata.FromOutgoingContext(ctx)