Skip to content

Commit

Permalink
feat: Update Compute Engine API to revision 20230701 (#821) (#6431)
Browse files Browse the repository at this point in the history
Source-Link: googleapis/googleapis@761c3cb
Source-Link: googleapis/googleapis-gen@cac56a0
Copy-Tag: eyJwIjoiQ29tcHV0ZS8uT3dsQm90LnlhbWwiLCJoIjoiY2FjNTZhMGVkZDExNzllOTI5YzMxZWJlYWFlODQ4N2YzODhkYzEwOSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jul 10, 2023
1 parent 3023ad8 commit 1635f0f
Show file tree
Hide file tree
Showing 30 changed files with 604 additions and 64 deletions.
Binary file modified Compute/metadata/V1/Compute.php
Binary file not shown.
2 changes: 1 addition & 1 deletion Compute/samples/V1/ProjectsClient/move_instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
use Google\Rpc\Status;

/**
* Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
* Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). [Deprecated] This method is deprecated. See [moving instance across zones](/compute/docs/instances/moving-instance-across-zones) instead.
*
* @param string $project Project ID for this request.
*/
Expand Down
8 changes: 4 additions & 4 deletions Compute/src/V1/BackendService.php

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

2 changes: 1 addition & 1 deletion Compute/src/V1/Client/BaseClient/ProjectsBaseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public function moveDisk(MoveDiskProjectRequest $request, array $callOptions = [
}

/**
* Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](https://cloud.google.com/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
* Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). [Deprecated] This method is deprecated. See [moving instance across zones](https://cloud.google.com/compute/docs/instances/moving-instance-across-zones) instead.
*
* The async variant is {@see self::moveInstanceAsync()} .
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2023 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
*
* https://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.
*/

/*
* GENERATED CODE WARNING
* Generated by gapic-generator-php from the file
* https://github.com/googleapis/googleapis/blob/master/google/cloud/compute/v1/compute.proto
* Updates to the above are reflected here through a refresh process.
*/

namespace Google\Cloud\Compute\V1\Enums\InstanceGroupManagerInstanceLifecyclePolicy;

/**
* ForceUpdateOnRepair contains string constants that represent the names of each
* value in the
* google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy.ForceUpdateOnRepair
* descriptor.
*/
class ForceUpdateOnRepair
{
const UNDEFINED_FORCE_UPDATE_ON_REPAIR = 'UNDEFINED_FORCE_UPDATE_ON_REPAIR';

const NO = 'NO';

const YES = 'YES';
}
42 changes: 42 additions & 0 deletions Compute/src/V1/Enums/RouterNat/AutoNetworkTier.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2023 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
*
* https://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.
*/

/*
* GENERATED CODE WARNING
* Generated by gapic-generator-php from the file
* https://github.com/googleapis/googleapis/blob/master/google/cloud/compute/v1/compute.proto
* Updates to the above are reflected here through a refresh process.
*/

namespace Google\Cloud\Compute\V1\Enums\RouterNat;

/**
* AutoNetworkTier contains string constants that represent the names of each value
* in the google.cloud.compute.v1.RouterNat.AutoNetworkTier descriptor.
*/
class AutoNetworkTier
{
const UNDEFINED_AUTO_NETWORK_TIER = 'UNDEFINED_AUTO_NETWORK_TIER';

const FIXED_STANDARD = 'FIXED_STANDARD';

const PREMIUM = 'PREMIUM';

const STANDARD = 'STANDARD';

const STANDARD_OVERRIDES_FIXED_STANDARD = 'STANDARD_OVERRIDES_FIXED_STANDARD';
}
8 changes: 4 additions & 4 deletions Compute/src/V1/ForwardingRule.php

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

Loading

0 comments on commit 1635f0f

Please sign in to comment.