Skip to content

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: googleapis/googleapis-gen@0a3c7d2

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 35c6aa4 commit e8bd791
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:
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
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",
)
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"
]
}
}
}
}
}
}
}
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 e8bd791

Please sign in to comment.