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

feat: assuredworkloads v1 public protos #82

Merged
merged 4 commits into from Sep 20, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/assuredworkloads_v1/assured_workloads_service.rst
@@ -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:
6 changes: 6 additions & 0 deletions docs/assuredworkloads_v1/services.rst
@@ -0,0 +1,6 @@
Services for Google Cloud Assuredworkloads v1 API
=================================================
.. toctree::
:maxdepth: 2

assured_workloads_service
7 changes: 7 additions & 0 deletions docs/assuredworkloads_v1/types.rst
@@ -0,0 +1,7 @@
Types for Google Cloud Assuredworkloads v1 API
==============================================

.. automodule:: google.cloud.assuredworkloads_v1.types
:members:
:undoc-members:
:show-inheritance:
2 changes: 2 additions & 0 deletions docs/index.rst
Expand Up @@ -7,6 +7,8 @@ API Reference
.. toctree::
:maxdepth: 2

assuredworkloads_v1/services
assuredworkloads_v1/types
assuredworkloads_v1beta1/services
assuredworkloads_v1beta1/types

Expand Down
40 changes: 40 additions & 0 deletions google/cloud/assuredworkloads_v1/__init__.py
@@ -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",
)
73 changes: 73 additions & 0 deletions google/cloud/assuredworkloads_v1/gapic_metadata.json
@@ -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"
]
}
}
}
}
}
}
}
2 changes: 2 additions & 0 deletions google/cloud/assuredworkloads_v1/py.typed
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-assuredworkloads package uses inline types.
15 changes: 15 additions & 0 deletions google/cloud/assuredworkloads_v1/services/__init__.py
@@ -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.
#
@@ -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",
)