Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
feat: assuredworkloads v1 public protos (#82)
* feat: assuredworkloads v1 public protos Committer: @alexander-fenster PiperOrigin-RevId: 397207401 Source-Link: googleapis/googleapis@b201fa0 Source-Link: googleapis/googleapis-gen@65e26e3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjVlMjZlMzBmMzg2NWI5MGE3OTY3OGQwZmY0NmM5N2NmMDUzZmZlNyJ9
- Loading branch information
1 parent
a2aeb6e
commit 04dd627
Showing
23 changed files
with
5,737 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
AssuredWorkloadsService | ||
----------------------------------------- | ||
|
||
.. automodule:: google.cloud.assuredworkloads_v1.services.assured_workloads_service | ||
:members: | ||
:inherited-members: | ||
|
||
.. automodule:: google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Services for Google Cloud Assuredworkloads v1 API | ||
================================================= | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
assured_workloads_service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Types for Google Cloud Assuredworkloads v1 API | ||
============================================== | ||
|
||
.. automodule:: google.cloud.assuredworkloads_v1.types | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
from .services.assured_workloads_service import AssuredWorkloadsServiceClient | ||
from .services.assured_workloads_service import AssuredWorkloadsServiceAsyncClient | ||
|
||
from .types.assuredworkloads import CreateWorkloadOperationMetadata | ||
from .types.assuredworkloads import CreateWorkloadRequest | ||
from .types.assuredworkloads import DeleteWorkloadRequest | ||
from .types.assuredworkloads import GetWorkloadRequest | ||
from .types.assuredworkloads import ListWorkloadsRequest | ||
from .types.assuredworkloads import ListWorkloadsResponse | ||
from .types.assuredworkloads import UpdateWorkloadRequest | ||
from .types.assuredworkloads import Workload | ||
|
||
__all__ = ( | ||
"AssuredWorkloadsServiceAsyncClient", | ||
"AssuredWorkloadsServiceClient", | ||
"CreateWorkloadOperationMetadata", | ||
"CreateWorkloadRequest", | ||
"DeleteWorkloadRequest", | ||
"GetWorkloadRequest", | ||
"ListWorkloadsRequest", | ||
"ListWorkloadsResponse", | ||
"UpdateWorkloadRequest", | ||
"Workload", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_v1", | ||
"protoPackage": "google.cloud.assuredworkloads.v1", | ||
"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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-assuredworkloads package uses inline types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
from .client import AssuredWorkloadsServiceClient | ||
from .async_client import AssuredWorkloadsServiceAsyncClient | ||
|
||
__all__ = ( | ||
"AssuredWorkloadsServiceClient", | ||
"AssuredWorkloadsServiceAsyncClient", | ||
) |
Oops, something went wrong.