Skip to content

Commit 8004d15

Browse files
feat: Allow users to explicitly configure universe domain (#12239)
- [ ] Regenerate this pull request now. chore: Update gapic-generator-python to v1.14.0 PiperOrigin-RevId: 603108274 Source-Link: googleapis/googleapis@3d83e36 Source-Link: googleapis/googleapis-gen@baf5e9b Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6ImJhZjVlOWJiYjE0YTc2OGIyYjRjOWVhZTlmZWI3OGYxOGYxNzU3ZmEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbmZpZGVudGlhbGNvbXB1dGluZy8uT3dsQm90LnlhbWwiLCJoIjoiYmFmNWU5YmJiMTRhNzY4YjJiNGM5ZWFlOWZlYjc4ZjE4ZjE3NTdmYSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbmZpZy8uT3dsQm90LnlhbWwiLCJoIjoiYmFmNWU5YmJiMTRhNzY4YjJiNGM5ZWFlOWZlYjc4ZjE4ZjE3NTdmYSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhY3QtY2VudGVyLWluc2lnaHRzLy5Pd2xCb3QueWFtbCIsImgiOiJiYWY1ZTliYmIxNGE3NjhiMmI0YzllYWU5ZmViNzhmMThmMTc1N2ZhIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYmFmNWU5YmJiMTRhNzY4YjJiNGM5ZWFlOWZlYjc4ZjE4ZjE3NTdmYSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lcmFuYWx5c2lzLy5Pd2xCb3QueWFtbCIsImgiOiJiYWY1ZTliYmIxNGE3NjhiMmI0YzllYWU5ZmViNzhmMThmMTc1N2ZhIn0=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.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent a0392ee commit 8004d15

File tree

1,034 files changed

+172651
-44485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,034 files changed

+172651
-44485
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.15.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.15.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

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

Lines changed: 262 additions & 34 deletions
Large diffs are not rendered by default.

packages/google-cloud-compute/google/cloud/compute_v1/services/accelerator_types/transports/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(
6060
6161
Args:
6262
host (Optional[str]):
63-
The hostname to connect to.
63+
The hostname to connect to (default: 'compute.googleapis.com').
6464
credentials (Optional[google.auth.credentials.Credentials]): The
6565
authorization credentials to attach to requests. These
6666
credentials identify the application to the service; if none
@@ -123,6 +123,10 @@ def __init__(
123123
host += ":443"
124124
self._host = host
125125

126+
@property
127+
def host(self):
128+
return self._host
129+
126130
def _prep_wrapped_messages(self, client_info):
127131
# Precompute the wrapped methods.
128132
self._wrapped_methods = {

packages/google-cloud-compute/google/cloud/compute_v1/services/accelerator_types/transports/rest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
from requests import __version__ as requests_version
3232

3333
try:
34-
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
34+
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
3535
except AttributeError: # pragma: NO COVER
36-
OptionalRetry = Union[retries.Retry, object] # type: ignore
36+
OptionalRetry = Union[retries.Retry, object, None] # type: ignore
3737

3838

3939
from google.cloud.compute_v1.types import compute
@@ -211,7 +211,7 @@ def __init__(
211211
212212
Args:
213213
host (Optional[str]):
214-
The hostname to connect to.
214+
The hostname to connect to (default: 'compute.googleapis.com').
215215
credentials (Optional[google.auth.credentials.Credentials]): The
216216
authorization credentials to attach to requests. These
217217
credentials identify the application to the service; if none

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

Lines changed: 283 additions & 34 deletions
Large diffs are not rendered by default.

packages/google-cloud-compute/google/cloud/compute_v1/services/addresses/transports/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(
6060
6161
Args:
6262
host (Optional[str]):
63-
The hostname to connect to.
63+
The hostname to connect to (default: 'compute.googleapis.com').
6464
credentials (Optional[google.auth.credentials.Credentials]): The
6565
authorization credentials to attach to requests. These
6666
credentials identify the application to the service; if none
@@ -124,6 +124,10 @@ def __init__(
124124
host += ":443"
125125
self._host = host
126126

127+
@property
128+
def host(self):
129+
return self._host
130+
127131
def _prep_wrapped_messages(self, client_info):
128132
# Precompute the wrapped methods.
129133
self._wrapped_methods = {

packages/google-cloud-compute/google/cloud/compute_v1/services/addresses/transports/rest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
from requests import __version__ as requests_version
3232

3333
try:
34-
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
34+
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
3535
except AttributeError: # pragma: NO COVER
36-
OptionalRetry = Union[retries.Retry, object] # type: ignore
36+
OptionalRetry = Union[retries.Retry, object, None] # type: ignore
3737

3838

3939
from google.cloud.compute_v1.types import compute
@@ -311,7 +311,7 @@ def __init__(
311311
312312
Args:
313313
host (Optional[str]):
314-
The hostname to connect to.
314+
The hostname to connect to (default: 'compute.googleapis.com').
315315
credentials (Optional[google.auth.credentials.Credentials]): The
316316
authorization credentials to attach to requests. These
317317
credentials identify the application to the service; if none

0 commit comments

Comments
 (0)