Skip to content

Commit

Permalink
feat: [AssuredWorkloads] service updates (#5004)
Browse files Browse the repository at this point in the history
* fix(php): only wrap top-level required oneof in tests

Updating to gapic-generator-php v1.3.1 carries this fix.

PiperOrigin-RevId: 420859180

Source-Link: googleapis/googleapis@1038088

Source-Link: googleapis/googleapis-gen@1dc3a91
Copy-Tag: eyJwIjoiQXNzdXJlZFdvcmtsb2Fkcy8uT3dsQm90LnlhbWwiLCJoIjoiMWRjM2E5MWY1ZjRkOWVkOTcwOWM5MDM5MzkzZWRiYmFlMGI0ODFiZSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 11, 2022
1 parent e5fefbb commit 881b79e
Show file tree
Hide file tree
Showing 25 changed files with 796 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*
* GENERATED CODE WARNING
* Generated by gapic-generator-php from the file
* https://github.com/google/googleapis/blob/master/google/cloud/assuredworkloads/v1beta1/assuredworkloads_v1beta1.proto
* https://github.com/googleapis/googleapis/blob/master/google/cloud/assuredworkloads/v1beta1/assuredworkloads_v1beta1.proto
* Updates to the above are reflected here through a refresh process.
*
* @experimental
Expand Down
56 changes: 47 additions & 9 deletions AssuredWorkloads/src/V1beta1/CreateWorkloadOperationMetadata.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions AssuredWorkloads/src/V1beta1/CreateWorkloadRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*
* GENERATED CODE WARNING
* Generated by gapic-generator-php from the file
* https://github.com/google/googleapis/blob/master/google/cloud/assuredworkloads/v1beta1/assuredworkloads_v1beta1.proto
* https://github.com/googleapis/googleapis/blob/master/google/cloud/assuredworkloads/v1beta1/assuredworkloads_v1beta1.proto
* Updates to the above are reflected here through a refresh process.
*
* @experimental
Expand Down Expand Up @@ -354,6 +354,9 @@ public function resumeOperation($operationName, $methodName = null)
* See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
* {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
* supported options.
* @type callable $clientCertSource
* A callable which returns the client cert as a string. This can be used to
* provide a certificate and private key to the transport layer for mTLS.
* }
*
* @throws ValidationException
Expand Down Expand Up @@ -414,8 +417,8 @@ public function __construct(array $options = [])
* Optional.
*
* @type string $externalId
* Optional. A identifier associated with the workload and underlying projects which
* allows for the break down of billing costs for a workload. The value
* Optional. A identifier associated with the workload and underlying projects
* which allows for the break down of billing costs for a workload. The value
* provided for the identifier will add a label to the workload and contained
* projects with the identifier as the value.
* @type RetrySettings|array $retrySettings
Expand Down Expand Up @@ -512,8 +515,8 @@ public function deleteWorkload($name, array $optionalArgs = [])
* }
* ```
*
* @param string $name Required. The resource name of the Workload to fetch. This is the workloads's
* relative path in the API, formatted as
* @param string $name Required. The resource name of the Workload to fetch. This is the
* workloads's relative path in the API, formatted as
* "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
* For example,
* "organizations/123/locations/us-east1/workloads/assured-workload-1".
Expand Down
16 changes: 8 additions & 8 deletions AssuredWorkloads/src/V1beta1/GetWorkloadRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions AssuredWorkloads/src/V1beta1/UpdateWorkloadRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 881b79e

Please sign in to comment.