Skip to content

Commit 6e84bb1

Browse files
feat: Update Compute Engine API to revision 20220720 (#723) (#312)
* feat: Update Compute Engine API to revision 20220720 (#723) Source-Link: googleapis/googleapis@60a0fa7 Source-Link: googleapis/googleapis-gen@ba1df1b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmExZGYxYmU5M2Y1YTFhYTVjNjQ3ZmMyZjE5NWQ0MWIwMDc1YWE5MyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add replacements in owlbot.py to fix docs build Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 111703f commit 6e84bb1

File tree

17 files changed

+870
-74
lines changed

17 files changed

+870
-74
lines changed

packages/google-cloud-compute/google/cloud/compute/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@
556556
from google.cloud.compute_v1.types.compute import EnableXpnHostProjectRequest
557557
from google.cloud.compute_v1.types.compute import EnableXpnResourceProjectRequest
558558
from google.cloud.compute_v1.types.compute import Error
559+
from google.cloud.compute_v1.types.compute import ErrorDetails
560+
from google.cloud.compute_v1.types.compute import ErrorInfo
559561
from google.cloud.compute_v1.types.compute import Errors
560562
from google.cloud.compute_v1.types.compute import ExchangedPeeringRoute
561563
from google.cloud.compute_v1.types.compute import ExchangedPeeringRoutesList
@@ -751,6 +753,8 @@
751753
from google.cloud.compute_v1.types.compute import HealthChecksScopedList
752754
from google.cloud.compute_v1.types.compute import HealthStatus
753755
from google.cloud.compute_v1.types.compute import HealthStatusForNetworkEndpoint
756+
from google.cloud.compute_v1.types.compute import Help
757+
from google.cloud.compute_v1.types.compute import HelpLink
754758
from google.cloud.compute_v1.types.compute import HostRule
755759
from google.cloud.compute_v1.types.compute import HTTP2HealthCheck
756760
from google.cloud.compute_v1.types.compute import HttpFaultAbort
@@ -1103,8 +1107,10 @@
11031107
from google.cloud.compute_v1.types.compute import ListZoneOperationsRequest
11041108
from google.cloud.compute_v1.types.compute import ListZonesRequest
11051109
from google.cloud.compute_v1.types.compute import LocalDisk
1110+
from google.cloud.compute_v1.types.compute import LocalizedMessage
11061111
from google.cloud.compute_v1.types.compute import LocationPolicy
11071112
from google.cloud.compute_v1.types.compute import LocationPolicyLocation
1113+
from google.cloud.compute_v1.types.compute import LocationPolicyLocationConstraints
11081114
from google.cloud.compute_v1.types.compute import LogConfig
11091115
from google.cloud.compute_v1.types.compute import LogConfigCloudAuditOptions
11101116
from google.cloud.compute_v1.types.compute import LogConfigCounterOptions
@@ -1806,6 +1812,9 @@
18061812
from google.cloud.compute_v1.types.compute import (
18071813
VmEndpointNatMappingsInterfaceNatMappings,
18081814
)
1815+
from google.cloud.compute_v1.types.compute import (
1816+
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings,
1817+
)
18091818
from google.cloud.compute_v1.types.compute import VmEndpointNatMappingsList
18101819
from google.cloud.compute_v1.types.compute import VpnGateway
18111820
from google.cloud.compute_v1.types.compute import VpnGatewayAggregatedList
@@ -2184,6 +2193,8 @@
21842193
"EnableXpnHostProjectRequest",
21852194
"EnableXpnResourceProjectRequest",
21862195
"Error",
2196+
"ErrorDetails",
2197+
"ErrorInfo",
21872198
"Errors",
21882199
"ExchangedPeeringRoute",
21892200
"ExchangedPeeringRoutesList",
@@ -2357,6 +2368,8 @@
23572368
"HealthChecksScopedList",
23582369
"HealthStatus",
23592370
"HealthStatusForNetworkEndpoint",
2371+
"Help",
2372+
"HelpLink",
23602373
"HostRule",
23612374
"HTTP2HealthCheck",
23622375
"HttpFaultAbort",
@@ -2631,8 +2644,10 @@
26312644
"ListZoneOperationsRequest",
26322645
"ListZonesRequest",
26332646
"LocalDisk",
2647+
"LocalizedMessage",
26342648
"LocationPolicy",
26352649
"LocationPolicyLocation",
2650+
"LocationPolicyLocationConstraints",
26362651
"LogConfig",
26372652
"LogConfigCloudAuditOptions",
26382653
"LogConfigCounterOptions",
@@ -3152,6 +3167,7 @@
31523167
"ValidateUrlMapRequest",
31533168
"VmEndpointNatMappings",
31543169
"VmEndpointNatMappingsInterfaceNatMappings",
3170+
"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings",
31553171
"VmEndpointNatMappingsList",
31563172
"VpnGateway",
31573173
"VpnGatewayAggregatedList",

packages/google-cloud-compute/google/cloud/compute_v1/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@
366366
from .types.compute import EnableXpnHostProjectRequest
367367
from .types.compute import EnableXpnResourceProjectRequest
368368
from .types.compute import Error
369+
from .types.compute import ErrorDetails
370+
from .types.compute import ErrorInfo
369371
from .types.compute import Errors
370372
from .types.compute import ExchangedPeeringRoute
371373
from .types.compute import ExchangedPeeringRoutesList
@@ -539,6 +541,8 @@
539541
from .types.compute import HealthChecksScopedList
540542
from .types.compute import HealthStatus
541543
from .types.compute import HealthStatusForNetworkEndpoint
544+
from .types.compute import Help
545+
from .types.compute import HelpLink
542546
from .types.compute import HostRule
543547
from .types.compute import HTTP2HealthCheck
544548
from .types.compute import HttpFaultAbort
@@ -813,8 +817,10 @@
813817
from .types.compute import ListZoneOperationsRequest
814818
from .types.compute import ListZonesRequest
815819
from .types.compute import LocalDisk
820+
from .types.compute import LocalizedMessage
816821
from .types.compute import LocationPolicy
817822
from .types.compute import LocationPolicyLocation
823+
from .types.compute import LocationPolicyLocationConstraints
818824
from .types.compute import LogConfig
819825
from .types.compute import LogConfigCloudAuditOptions
820826
from .types.compute import LogConfigCounterOptions
@@ -1336,6 +1342,7 @@
13361342
from .types.compute import ValidateUrlMapRequest
13371343
from .types.compute import VmEndpointNatMappings
13381344
from .types.compute import VmEndpointNatMappingsInterfaceNatMappings
1345+
from .types.compute import VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
13391346
from .types.compute import VmEndpointNatMappingsList
13401347
from .types.compute import VpnGateway
13411348
from .types.compute import VpnGatewayAggregatedList
@@ -1634,6 +1641,8 @@
16341641
"EnableXpnHostProjectRequest",
16351642
"EnableXpnResourceProjectRequest",
16361643
"Error",
1644+
"ErrorDetails",
1645+
"ErrorInfo",
16371646
"Errors",
16381647
"ExchangedPeeringRoute",
16391648
"ExchangedPeeringRoutesList",
@@ -1821,6 +1830,8 @@
18211830
"HealthChecksScopedList",
18221831
"HealthStatus",
18231832
"HealthStatusForNetworkEndpoint",
1833+
"Help",
1834+
"HelpLink",
18241835
"HostRule",
18251836
"HttpFaultAbort",
18261837
"HttpFaultDelay",
@@ -2103,8 +2114,10 @@
21032114
"ListZoneOperationsRequest",
21042115
"ListZonesRequest",
21052116
"LocalDisk",
2117+
"LocalizedMessage",
21062118
"LocationPolicy",
21072119
"LocationPolicyLocation",
2120+
"LocationPolicyLocationConstraints",
21082121
"LogConfig",
21092122
"LogConfigCloudAuditOptions",
21102123
"LogConfigCounterOptions",
@@ -2676,6 +2689,7 @@
26762689
"ValidateUrlMapRequest",
26772690
"VmEndpointNatMappings",
26782691
"VmEndpointNatMappingsInterfaceNatMappings",
2692+
"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings",
26792693
"VmEndpointNatMappingsList",
26802694
"VpnGateway",
26812695
"VpnGatewayAggregatedList",

packages/google-cloud-compute/google/cloud/compute_v1/services/instance_group_managers/client.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,14 +2744,16 @@ def list_managed_instances(
27442744
timeout: float = None,
27452745
metadata: Sequence[Tuple[str, str]] = (),
27462746
) -> pagers.ListManagedInstancesPager:
2747-
r"""Lists all of the instances in the managed instance
2748-
group. Each instance in the list has a currentAction,
2749-
which indicates the action that the managed instance
2750-
group is performing on the instance. For example, if the
2751-
group is still creating an instance, the currentAction
2752-
is CREATING. If a previous action failed, the list
2753-
displays the errors for that failed action. The orderBy
2754-
query parameter is not supported.
2747+
r"""Lists all of the instances in the managed instance group. Each
2748+
instance in the list has a currentAction, which indicates the
2749+
action that the managed instance group is performing on the
2750+
instance. For example, if the group is still creating an
2751+
instance, the currentAction is CREATING. If a previous action
2752+
failed, the list displays the errors for that failed action. The
2753+
orderBy query parameter is not supported. The ``pageToken``
2754+
query parameter is supported only in the alpha and beta API and
2755+
only if the group's ``listManagedInstancesResults`` field is set
2756+
to ``PAGINATED``.
27552757
27562758
Args:
27572759
request (Union[google.cloud.compute_v1.types.ListManagedInstancesInstanceGroupManagersRequest, dict]):

packages/google-cloud-compute/google/cloud/compute_v1/services/instances/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,8 @@ def bulk_insert_unary(
12681268
metadata: Sequence[Tuple[str, str]] = (),
12691269
) -> compute.Operation:
12701270
r"""Creates multiple instances. Count specifies the
1271-
number of instances to create.
1271+
number of instances to create. For more information, see
1272+
About bulk creation of VMs.
12721273
12731274
Args:
12741275
request (Union[google.cloud.compute_v1.types.BulkInsertInstanceRequest, dict]):
@@ -1371,7 +1372,8 @@ def bulk_insert(
13711372
metadata: Sequence[Tuple[str, str]] = (),
13721373
) -> extended_operation.ExtendedOperation:
13731374
r"""Creates multiple instances. Count specifies the
1374-
number of instances to create.
1375+
number of instances to create. For more information, see
1376+
About bulk creation of VMs.
13751377
13761378
Args:
13771379
request (Union[google.cloud.compute_v1.types.BulkInsertInstanceRequest, dict]):

packages/google-cloud-compute/google/cloud/compute_v1/services/region_instance_group_managers/client.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,11 +2685,13 @@ def list_managed_instances(
26852685
timeout: float = None,
26862686
metadata: Sequence[Tuple[str, str]] = (),
26872687
) -> pagers.ListManagedInstancesPager:
2688-
r"""Lists the instances in the managed instance group and
2689-
instances that are scheduled to be created. The list
2690-
includes any current actions that the group has
2691-
scheduled for its instances. The orderBy query parameter
2692-
is not supported.
2688+
r"""Lists the instances in the managed instance group and instances
2689+
that are scheduled to be created. The list includes any current
2690+
actions that the group has scheduled for its instances. The
2691+
orderBy query parameter is not supported. The ``pageToken``
2692+
query parameter is supported only in the alpha and beta API and
2693+
only if the group's ``listManagedInstancesResults`` field is set
2694+
to ``PAGINATED``.
26932695
26942696
Args:
26952697
request (Union[google.cloud.compute_v1.types.ListManagedInstancesRegionInstanceGroupManagersRequest, dict]):

packages/google-cloud-compute/google/cloud/compute_v1/types/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@
274274
EnableXpnHostProjectRequest,
275275
EnableXpnResourceProjectRequest,
276276
Error,
277+
ErrorDetails,
278+
ErrorInfo,
277279
Errors,
278280
ExchangedPeeringRoute,
279281
ExchangedPeeringRoutesList,
@@ -447,6 +449,8 @@
447449
HealthChecksScopedList,
448450
HealthStatus,
449451
HealthStatusForNetworkEndpoint,
452+
Help,
453+
HelpLink,
450454
HostRule,
451455
HTTP2HealthCheck,
452456
HttpFaultAbort,
@@ -721,8 +725,10 @@
721725
ListZoneOperationsRequest,
722726
ListZonesRequest,
723727
LocalDisk,
728+
LocalizedMessage,
724729
LocationPolicy,
725730
LocationPolicyLocation,
731+
LocationPolicyLocationConstraints,
726732
LogConfig,
727733
LogConfigCloudAuditOptions,
728734
LogConfigCounterOptions,
@@ -1242,6 +1248,7 @@
12421248
ValidateUrlMapRequest,
12431249
VmEndpointNatMappings,
12441250
VmEndpointNatMappingsInterfaceNatMappings,
1251+
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings,
12451252
VmEndpointNatMappingsList,
12461253
VpnGateway,
12471254
VpnGatewayAggregatedList,
@@ -1534,6 +1541,8 @@
15341541
"EnableXpnHostProjectRequest",
15351542
"EnableXpnResourceProjectRequest",
15361543
"Error",
1544+
"ErrorDetails",
1545+
"ErrorInfo",
15371546
"Errors",
15381547
"ExchangedPeeringRoute",
15391548
"ExchangedPeeringRoutesList",
@@ -1707,6 +1716,8 @@
17071716
"HealthChecksScopedList",
17081717
"HealthStatus",
17091718
"HealthStatusForNetworkEndpoint",
1719+
"Help",
1720+
"HelpLink",
17101721
"HostRule",
17111722
"HTTP2HealthCheck",
17121723
"HttpFaultAbort",
@@ -1981,8 +1992,10 @@
19811992
"ListZoneOperationsRequest",
19821993
"ListZonesRequest",
19831994
"LocalDisk",
1995+
"LocalizedMessage",
19841996
"LocationPolicy",
19851997
"LocationPolicyLocation",
1998+
"LocationPolicyLocationConstraints",
19861999
"LogConfig",
19872000
"LogConfigCloudAuditOptions",
19882001
"LogConfigCounterOptions",
@@ -2502,6 +2515,7 @@
25022515
"ValidateUrlMapRequest",
25032516
"VmEndpointNatMappings",
25042517
"VmEndpointNatMappingsInterfaceNatMappings",
2518+
"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings",
25052519
"VmEndpointNatMappingsList",
25062520
"VpnGateway",
25072521
"VpnGatewayAggregatedList",

0 commit comments

Comments
 (0)