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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#36)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] authored May 14, 2021
1 parent 1657003 commit a28c728
Show file tree
Hide file tree
Showing 20 changed files with 664 additions and 433 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ AssuredWorkloadsService
:members:
:inherited-members:


.. automodule:: google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.pagers
:members:
:inherited-members:
10 changes: 5 additions & 5 deletions google/cloud/assuredworkloads/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,12 +14,13 @@
# limitations under the License.
#

from google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.async_client import (
AssuredWorkloadsServiceAsyncClient,
)
from google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.client import (
AssuredWorkloadsServiceClient,
)
from google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.async_client import (
AssuredWorkloadsServiceAsyncClient,
)

from google.cloud.assuredworkloads_v1beta1.types.assuredworkloads_v1beta1 import (
CreateWorkloadOperationMetadata,
)
Expand All @@ -47,8 +47,8 @@
)

__all__ = (
"AssuredWorkloadsServiceAsyncClient",
"AssuredWorkloadsServiceClient",
"AssuredWorkloadsServiceAsyncClient",
"CreateWorkloadOperationMetadata",
"CreateWorkloadRequest",
"DeleteWorkloadRequest",
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/assuredworkloads_v1beta1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.assured_workloads_service import AssuredWorkloadsServiceClient
from .services.assured_workloads_service import AssuredWorkloadsServiceAsyncClient

from .types.assuredworkloads_v1beta1 import CreateWorkloadOperationMetadata
from .types.assuredworkloads_v1beta1 import CreateWorkloadRequest
from .types.assuredworkloads_v1beta1 import DeleteWorkloadRequest
Expand All @@ -25,8 +26,9 @@
from .types.assuredworkloads_v1beta1 import UpdateWorkloadRequest
from .types.assuredworkloads_v1beta1 import Workload


__all__ = (
"AssuredWorkloadsServiceAsyncClient",
"AssuredWorkloadsServiceClient",
"CreateWorkloadOperationMetadata",
"CreateWorkloadRequest",
"DeleteWorkloadRequest",
Expand All @@ -35,5 +37,4 @@
"ListWorkloadsResponse",
"UpdateWorkloadRequest",
"Workload",
"AssuredWorkloadsServiceClient",
)
73 changes: 73 additions & 0 deletions google/cloud/assuredworkloads_v1beta1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.assuredworkloads_v1beta1",
"protoPackage": "google.cloud.assuredworkloads.v1beta1",
"schema": "1.0",
"services": {
"AssuredWorkloadsService": {
"clients": {
"grpc": {
"libraryClient": "AssuredWorkloadsServiceClient",
"rpcs": {
"CreateWorkload": {
"methods": [
"create_workload"
]
},
"DeleteWorkload": {
"methods": [
"delete_workload"
]
},
"GetWorkload": {
"methods": [
"get_workload"
]
},
"ListWorkloads": {
"methods": [
"list_workloads"
]
},
"UpdateWorkload": {
"methods": [
"update_workload"
]
}
}
},
"grpc-async": {
"libraryClient": "AssuredWorkloadsServiceAsyncClient",
"rpcs": {
"CreateWorkload": {
"methods": [
"create_workload"
]
},
"DeleteWorkload": {
"methods": [
"delete_workload"
]
},
"GetWorkload": {
"methods": [
"get_workload"
]
},
"ListWorkloads": {
"methods": [
"list_workloads"
]
},
"UpdateWorkload": {
"methods": [
"update_workload"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/assuredworkloads_v1beta1/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import AssuredWorkloadsServiceClient
from .async_client import AssuredWorkloadsServiceAsyncClient

Expand Down
Loading

0 comments on commit a28c728

Please sign in to comment.