Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
feat: Update Compute Engine API to revision 20220720 (#723) (#312)
Browse files Browse the repository at this point in the history
* 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 <partheniou@google.com>
  • Loading branch information
3 people committed Aug 4, 2022
1 parent dd643c4 commit fb73f23
Show file tree
Hide file tree
Showing 17 changed files with 870 additions and 74 deletions.
16 changes: 16 additions & 0 deletions google/cloud/compute/__init__.py
Expand Up @@ -556,6 +556,8 @@
from google.cloud.compute_v1.types.compute import EnableXpnHostProjectRequest
from google.cloud.compute_v1.types.compute import EnableXpnResourceProjectRequest
from google.cloud.compute_v1.types.compute import Error
from google.cloud.compute_v1.types.compute import ErrorDetails
from google.cloud.compute_v1.types.compute import ErrorInfo
from google.cloud.compute_v1.types.compute import Errors
from google.cloud.compute_v1.types.compute import ExchangedPeeringRoute
from google.cloud.compute_v1.types.compute import ExchangedPeeringRoutesList
Expand Down Expand Up @@ -751,6 +753,8 @@
from google.cloud.compute_v1.types.compute import HealthChecksScopedList
from google.cloud.compute_v1.types.compute import HealthStatus
from google.cloud.compute_v1.types.compute import HealthStatusForNetworkEndpoint
from google.cloud.compute_v1.types.compute import Help
from google.cloud.compute_v1.types.compute import HelpLink
from google.cloud.compute_v1.types.compute import HostRule
from google.cloud.compute_v1.types.compute import HTTP2HealthCheck
from google.cloud.compute_v1.types.compute import HttpFaultAbort
Expand Down Expand Up @@ -1103,8 +1107,10 @@
from google.cloud.compute_v1.types.compute import ListZoneOperationsRequest
from google.cloud.compute_v1.types.compute import ListZonesRequest
from google.cloud.compute_v1.types.compute import LocalDisk
from google.cloud.compute_v1.types.compute import LocalizedMessage
from google.cloud.compute_v1.types.compute import LocationPolicy
from google.cloud.compute_v1.types.compute import LocationPolicyLocation
from google.cloud.compute_v1.types.compute import LocationPolicyLocationConstraints
from google.cloud.compute_v1.types.compute import LogConfig
from google.cloud.compute_v1.types.compute import LogConfigCloudAuditOptions
from google.cloud.compute_v1.types.compute import LogConfigCounterOptions
Expand Down Expand Up @@ -1806,6 +1812,9 @@
from google.cloud.compute_v1.types.compute import (
VmEndpointNatMappingsInterfaceNatMappings,
)
from google.cloud.compute_v1.types.compute import (
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings,
)
from google.cloud.compute_v1.types.compute import VmEndpointNatMappingsList
from google.cloud.compute_v1.types.compute import VpnGateway
from google.cloud.compute_v1.types.compute import VpnGatewayAggregatedList
Expand Down Expand Up @@ -2184,6 +2193,8 @@
"EnableXpnHostProjectRequest",
"EnableXpnResourceProjectRequest",
"Error",
"ErrorDetails",
"ErrorInfo",
"Errors",
"ExchangedPeeringRoute",
"ExchangedPeeringRoutesList",
Expand Down Expand Up @@ -2357,6 +2368,8 @@
"HealthChecksScopedList",
"HealthStatus",
"HealthStatusForNetworkEndpoint",
"Help",
"HelpLink",
"HostRule",
"HTTP2HealthCheck",
"HttpFaultAbort",
Expand Down Expand Up @@ -2631,8 +2644,10 @@
"ListZoneOperationsRequest",
"ListZonesRequest",
"LocalDisk",
"LocalizedMessage",
"LocationPolicy",
"LocationPolicyLocation",
"LocationPolicyLocationConstraints",
"LogConfig",
"LogConfigCloudAuditOptions",
"LogConfigCounterOptions",
Expand Down Expand Up @@ -3152,6 +3167,7 @@
"ValidateUrlMapRequest",
"VmEndpointNatMappings",
"VmEndpointNatMappingsInterfaceNatMappings",
"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings",
"VmEndpointNatMappingsList",
"VpnGateway",
"VpnGatewayAggregatedList",
Expand Down
14 changes: 14 additions & 0 deletions google/cloud/compute_v1/__init__.py
Expand Up @@ -366,6 +366,8 @@
from .types.compute import EnableXpnHostProjectRequest
from .types.compute import EnableXpnResourceProjectRequest
from .types.compute import Error
from .types.compute import ErrorDetails
from .types.compute import ErrorInfo
from .types.compute import Errors
from .types.compute import ExchangedPeeringRoute
from .types.compute import ExchangedPeeringRoutesList
Expand Down Expand Up @@ -539,6 +541,8 @@
from .types.compute import HealthChecksScopedList
from .types.compute import HealthStatus
from .types.compute import HealthStatusForNetworkEndpoint
from .types.compute import Help
from .types.compute import HelpLink
from .types.compute import HostRule
from .types.compute import HTTP2HealthCheck
from .types.compute import HttpFaultAbort
Expand Down Expand Up @@ -813,8 +817,10 @@
from .types.compute import ListZoneOperationsRequest
from .types.compute import ListZonesRequest
from .types.compute import LocalDisk
from .types.compute import LocalizedMessage
from .types.compute import LocationPolicy
from .types.compute import LocationPolicyLocation
from .types.compute import LocationPolicyLocationConstraints
from .types.compute import LogConfig
from .types.compute import LogConfigCloudAuditOptions
from .types.compute import LogConfigCounterOptions
Expand Down Expand Up @@ -1336,6 +1342,7 @@
from .types.compute import ValidateUrlMapRequest
from .types.compute import VmEndpointNatMappings
from .types.compute import VmEndpointNatMappingsInterfaceNatMappings
from .types.compute import VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
from .types.compute import VmEndpointNatMappingsList
from .types.compute import VpnGateway
from .types.compute import VpnGatewayAggregatedList
Expand Down Expand Up @@ -1634,6 +1641,8 @@
"EnableXpnHostProjectRequest",
"EnableXpnResourceProjectRequest",
"Error",
"ErrorDetails",
"ErrorInfo",
"Errors",
"ExchangedPeeringRoute",
"ExchangedPeeringRoutesList",
Expand Down Expand Up @@ -1821,6 +1830,8 @@
"HealthChecksScopedList",
"HealthStatus",
"HealthStatusForNetworkEndpoint",
"Help",
"HelpLink",
"HostRule",
"HttpFaultAbort",
"HttpFaultDelay",
Expand Down Expand Up @@ -2103,8 +2114,10 @@
"ListZoneOperationsRequest",
"ListZonesRequest",
"LocalDisk",
"LocalizedMessage",
"LocationPolicy",
"LocationPolicyLocation",
"LocationPolicyLocationConstraints",
"LogConfig",
"LogConfigCloudAuditOptions",
"LogConfigCounterOptions",
Expand Down Expand Up @@ -2676,6 +2689,7 @@
"ValidateUrlMapRequest",
"VmEndpointNatMappings",
"VmEndpointNatMappingsInterfaceNatMappings",
"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings",
"VmEndpointNatMappingsList",
"VpnGateway",
"VpnGatewayAggregatedList",
Expand Down
18 changes: 10 additions & 8 deletions google/cloud/compute_v1/services/instance_group_managers/client.py
Expand Up @@ -2744,14 +2744,16 @@ def list_managed_instances(
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListManagedInstancesPager:
r"""Lists all of the instances in the managed instance
group. Each instance in the list has a currentAction,
which indicates the action that the managed instance
group is performing on the instance. For example, if the
group is still creating an instance, the currentAction
is CREATING. If a previous action failed, the list
displays the errors for that failed action. The orderBy
query parameter is not supported.
r"""Lists all of the instances in the managed instance group. Each
instance in the list has a currentAction, which indicates the
action that the managed instance group is performing on the
instance. For example, if the group is still creating an
instance, the currentAction is CREATING. If a previous action
failed, the list displays the errors for that failed action. The
orderBy query parameter is not supported. The ``pageToken``
query parameter is supported only in the alpha and beta API and
only if the group's ``listManagedInstancesResults`` field is set
to ``PAGINATED``.
Args:
request (Union[google.cloud.compute_v1.types.ListManagedInstancesInstanceGroupManagersRequest, dict]):
Expand Down
6 changes: 4 additions & 2 deletions google/cloud/compute_v1/services/instances/client.py
Expand Up @@ -1268,7 +1268,8 @@ def bulk_insert_unary(
metadata: Sequence[Tuple[str, str]] = (),
) -> compute.Operation:
r"""Creates multiple instances. Count specifies the
number of instances to create.
number of instances to create. For more information, see
About bulk creation of VMs.
Args:
request (Union[google.cloud.compute_v1.types.BulkInsertInstanceRequest, dict]):
Expand Down Expand Up @@ -1371,7 +1372,8 @@ def bulk_insert(
metadata: Sequence[Tuple[str, str]] = (),
) -> extended_operation.ExtendedOperation:
r"""Creates multiple instances. Count specifies the
number of instances to create.
number of instances to create. For more information, see
About bulk creation of VMs.
Args:
request (Union[google.cloud.compute_v1.types.BulkInsertInstanceRequest, dict]):
Expand Down
Expand Up @@ -2685,11 +2685,13 @@ def list_managed_instances(
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListManagedInstancesPager:
r"""Lists the instances in the managed instance group and
instances that are scheduled to be created. The list
includes any current actions that the group has
scheduled for its instances. The orderBy query parameter
is not supported.
r"""Lists the instances in the managed instance group and instances
that are scheduled to be created. The list includes any current
actions that the group has scheduled for its instances. The
orderBy query parameter is not supported. The ``pageToken``
query parameter is supported only in the alpha and beta API and
only if the group's ``listManagedInstancesResults`` field is set
to ``PAGINATED``.
Args:
request (Union[google.cloud.compute_v1.types.ListManagedInstancesRegionInstanceGroupManagersRequest, dict]):
Expand Down
14 changes: 14 additions & 0 deletions google/cloud/compute_v1/types/__init__.py
Expand Up @@ -274,6 +274,8 @@
EnableXpnHostProjectRequest,
EnableXpnResourceProjectRequest,
Error,
ErrorDetails,
ErrorInfo,
Errors,
ExchangedPeeringRoute,
ExchangedPeeringRoutesList,
Expand Down Expand Up @@ -447,6 +449,8 @@
HealthChecksScopedList,
HealthStatus,
HealthStatusForNetworkEndpoint,
Help,
HelpLink,
HostRule,
HTTP2HealthCheck,
HttpFaultAbort,
Expand Down Expand Up @@ -721,8 +725,10 @@
ListZoneOperationsRequest,
ListZonesRequest,
LocalDisk,
LocalizedMessage,
LocationPolicy,
LocationPolicyLocation,
LocationPolicyLocationConstraints,
LogConfig,
LogConfigCloudAuditOptions,
LogConfigCounterOptions,
Expand Down Expand Up @@ -1242,6 +1248,7 @@
ValidateUrlMapRequest,
VmEndpointNatMappings,
VmEndpointNatMappingsInterfaceNatMappings,
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings,
VmEndpointNatMappingsList,
VpnGateway,
VpnGatewayAggregatedList,
Expand Down Expand Up @@ -1534,6 +1541,8 @@
"EnableXpnHostProjectRequest",
"EnableXpnResourceProjectRequest",
"Error",
"ErrorDetails",
"ErrorInfo",
"Errors",
"ExchangedPeeringRoute",
"ExchangedPeeringRoutesList",
Expand Down Expand Up @@ -1707,6 +1716,8 @@
"HealthChecksScopedList",
"HealthStatus",
"HealthStatusForNetworkEndpoint",
"Help",
"HelpLink",
"HostRule",
"HTTP2HealthCheck",
"HttpFaultAbort",
Expand Down Expand Up @@ -1981,8 +1992,10 @@
"ListZoneOperationsRequest",
"ListZonesRequest",
"LocalDisk",
"LocalizedMessage",
"LocationPolicy",
"LocationPolicyLocation",
"LocationPolicyLocationConstraints",
"LogConfig",
"LogConfigCloudAuditOptions",
"LogConfigCounterOptions",
Expand Down Expand Up @@ -2502,6 +2515,7 @@
"ValidateUrlMapRequest",
"VmEndpointNatMappings",
"VmEndpointNatMappingsInterfaceNatMappings",
"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings",
"VmEndpointNatMappingsList",
"VpnGateway",
"VpnGatewayAggregatedList",
Expand Down

0 comments on commit fb73f23

Please sign in to comment.