Skip to content

Commit

Permalink
feat: Re-generated to pick up changes from googleapis-discovery with …
Browse files Browse the repository at this point in the history
…latest fixes (#60)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/0f625f7b-442c-437d-b302-e058ae94a188/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/googleapis-discovery@6b01eb5
Source-Link: googleapis/googleapis-discovery@347a817
Source-Link: googleapis/googleapis-discovery@0e4b428

chore: add x-goog-api-client header to rest clients
feat: Raise GoogleAPICallError on REST response errors
feat: remove support for google-api-core < 1.26.0
  • Loading branch information
yoshi-automation authored Jun 7, 2021
1 parent cb36daf commit e715ec2
Show file tree
Hide file tree
Showing 346 changed files with 32,730 additions and 7,653 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ repos:
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.1
rev: 3.9.2
hooks:
- id: flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FirewallPolicies
----------------------------------

.. automodule:: google.cloud.compute_v1.services.firewall_policies
:members:
:inherited-members:

.. automodule:: google.cloud.compute_v1.services.firewall_policies.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
GlobalPublicDelegatedPrefixes
-----------------------------------------------

.. automodule:: google.cloud.compute_v1.services.global_public_delegated_prefixes
:members:
:inherited-members:

.. automodule:: google.cloud.compute_v1.services.global_public_delegated_prefixes.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PublicAdvertisedPrefixes
------------------------------------------

.. automodule:: google.cloud.compute_v1.services.public_advertised_prefixes
:members:
:inherited-members:

.. automodule:: google.cloud.compute_v1.services.public_advertised_prefixes.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PublicDelegatedPrefixes
-----------------------------------------

.. automodule:: google.cloud.compute_v1.services.public_delegated_prefixes
:members:
:inherited-members:

.. automodule:: google.cloud.compute_v1.services.public_delegated_prefixes.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
RegionInstances
---------------------------------

.. automodule:: google.cloud.compute_v1.services.region_instances
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions packages/google-cloud-compute/docs/compute_v1/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ Services for Google Cloud Compute v1 API
disks
disk_types
external_vpn_gateways
firewall_policies
firewalls
forwarding_rules
global_addresses
global_forwarding_rules
global_network_endpoint_groups
global_operations
global_organization_operations
global_public_delegated_prefixes
health_checks
images
instance_group_managers
Expand All @@ -37,6 +39,8 @@ Services for Google Cloud Compute v1 API
node_types
packet_mirrorings
projects
public_advertised_prefixes
public_delegated_prefixes
region_autoscalers
region_backend_services
region_commitments
Expand All @@ -46,6 +50,7 @@ Services for Google Cloud Compute v1 API
region_health_check_services
region_instance_group_managers
region_instance_groups
region_instances
region_network_endpoint_groups
region_notification_endpoints
region_operations
Expand Down
1 change: 1 addition & 0 deletions packages/google-cloud-compute/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
"grpc": ("https://grpc.github.io/grpc/python/", None),
"proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None),
"protobuf": ("https://googleapis.dev/python/protobuf/latest/", None),
}


Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-compute/docs/multiprocessing.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. note::

Because this client uses :mod:`grpcio` library, it is safe to
Because this client uses :mod:`grpc` library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances *after* the invocation of
:func:`os.fork` by :class:`multiprocessing.Pool` or
:func:`os.fork` by :class:`multiprocessing.pool.Pool` or
:class:`multiprocessing.Process`.
214 changes: 214 additions & 0 deletions packages/google-cloud-compute/google/cloud/compute/__init__.py

Large diffs are not rendered by default.

Loading

0 comments on commit e715ec2

Please sign in to comment.