google-cloud-devicestreaming 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google/cloud/devicestreaming/__init__.py +69 -0
- google/cloud/devicestreaming/gapic_version.py +16 -0
- google/cloud/devicestreaming/py.typed +2 -0
- google/cloud/devicestreaming_v1/__init__.py +67 -0
- google/cloud/devicestreaming_v1/gapic_metadata.json +118 -0
- google/cloud/devicestreaming_v1/gapic_version.py +16 -0
- google/cloud/devicestreaming_v1/py.typed +2 -0
- google/cloud/devicestreaming_v1/services/__init__.py +15 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/__init__.py +22 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/async_client.py +1001 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/client.py +1410 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/pagers.py +197 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/transports/__init__.py +38 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/transports/base.py +262 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/transports/grpc.py +512 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/transports/grpc_asyncio.py +592 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/transports/rest.py +1234 -0
- google/cloud/devicestreaming_v1/services/direct_access_service/transports/rest_base.py +361 -0
- google/cloud/devicestreaming_v1/types/__init__.py +56 -0
- google/cloud/devicestreaming_v1/types/adb_service.py +317 -0
- google/cloud/devicestreaming_v1/types/service.py +410 -0
- google_cloud_devicestreaming-0.1.0.dist-info/LICENSE +202 -0
- google_cloud_devicestreaming-0.1.0.dist-info/METADATA +228 -0
- google_cloud_devicestreaming-0.1.0.dist-info/RECORD +26 -0
- google_cloud_devicestreaming-0.1.0.dist-info/WHEEL +5 -0
- google_cloud_devicestreaming-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from google.cloud.devicestreaming import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from google.cloud.devicestreaming_v1.services.direct_access_service.async_client import (
|
|
22
|
+
DirectAccessServiceAsyncClient,
|
|
23
|
+
)
|
|
24
|
+
from google.cloud.devicestreaming_v1.services.direct_access_service.client import (
|
|
25
|
+
DirectAccessServiceClient,
|
|
26
|
+
)
|
|
27
|
+
from google.cloud.devicestreaming_v1.types.adb_service import (
|
|
28
|
+
AdbMessage,
|
|
29
|
+
Close,
|
|
30
|
+
DeviceMessage,
|
|
31
|
+
Fail,
|
|
32
|
+
Okay,
|
|
33
|
+
Open,
|
|
34
|
+
StatusUpdate,
|
|
35
|
+
StreamData,
|
|
36
|
+
StreamStatus,
|
|
37
|
+
)
|
|
38
|
+
from google.cloud.devicestreaming_v1.types.service import (
|
|
39
|
+
AndroidDevice,
|
|
40
|
+
CancelDeviceSessionRequest,
|
|
41
|
+
CreateDeviceSessionRequest,
|
|
42
|
+
DeviceSession,
|
|
43
|
+
GetDeviceSessionRequest,
|
|
44
|
+
ListDeviceSessionsRequest,
|
|
45
|
+
ListDeviceSessionsResponse,
|
|
46
|
+
UpdateDeviceSessionRequest,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
__all__ = (
|
|
50
|
+
"DirectAccessServiceClient",
|
|
51
|
+
"DirectAccessServiceAsyncClient",
|
|
52
|
+
"AdbMessage",
|
|
53
|
+
"Close",
|
|
54
|
+
"DeviceMessage",
|
|
55
|
+
"Fail",
|
|
56
|
+
"Okay",
|
|
57
|
+
"Open",
|
|
58
|
+
"StatusUpdate",
|
|
59
|
+
"StreamData",
|
|
60
|
+
"StreamStatus",
|
|
61
|
+
"AndroidDevice",
|
|
62
|
+
"CancelDeviceSessionRequest",
|
|
63
|
+
"CreateDeviceSessionRequest",
|
|
64
|
+
"DeviceSession",
|
|
65
|
+
"GetDeviceSessionRequest",
|
|
66
|
+
"ListDeviceSessionsRequest",
|
|
67
|
+
"ListDeviceSessionsResponse",
|
|
68
|
+
"UpdateDeviceSessionRequest",
|
|
69
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
__version__ = "0.1.0" # {x-release-please-version}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from google.cloud.devicestreaming_v1 import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from .services.direct_access_service import (
|
|
22
|
+
DirectAccessServiceAsyncClient,
|
|
23
|
+
DirectAccessServiceClient,
|
|
24
|
+
)
|
|
25
|
+
from .types.adb_service import (
|
|
26
|
+
AdbMessage,
|
|
27
|
+
Close,
|
|
28
|
+
DeviceMessage,
|
|
29
|
+
Fail,
|
|
30
|
+
Okay,
|
|
31
|
+
Open,
|
|
32
|
+
StatusUpdate,
|
|
33
|
+
StreamData,
|
|
34
|
+
StreamStatus,
|
|
35
|
+
)
|
|
36
|
+
from .types.service import (
|
|
37
|
+
AndroidDevice,
|
|
38
|
+
CancelDeviceSessionRequest,
|
|
39
|
+
CreateDeviceSessionRequest,
|
|
40
|
+
DeviceSession,
|
|
41
|
+
GetDeviceSessionRequest,
|
|
42
|
+
ListDeviceSessionsRequest,
|
|
43
|
+
ListDeviceSessionsResponse,
|
|
44
|
+
UpdateDeviceSessionRequest,
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
__all__ = (
|
|
48
|
+
"DirectAccessServiceAsyncClient",
|
|
49
|
+
"AdbMessage",
|
|
50
|
+
"AndroidDevice",
|
|
51
|
+
"CancelDeviceSessionRequest",
|
|
52
|
+
"Close",
|
|
53
|
+
"CreateDeviceSessionRequest",
|
|
54
|
+
"DeviceMessage",
|
|
55
|
+
"DeviceSession",
|
|
56
|
+
"DirectAccessServiceClient",
|
|
57
|
+
"Fail",
|
|
58
|
+
"GetDeviceSessionRequest",
|
|
59
|
+
"ListDeviceSessionsRequest",
|
|
60
|
+
"ListDeviceSessionsResponse",
|
|
61
|
+
"Okay",
|
|
62
|
+
"Open",
|
|
63
|
+
"StatusUpdate",
|
|
64
|
+
"StreamData",
|
|
65
|
+
"StreamStatus",
|
|
66
|
+
"UpdateDeviceSessionRequest",
|
|
67
|
+
)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
3
|
+
"language": "python",
|
|
4
|
+
"libraryPackage": "google.cloud.devicestreaming_v1",
|
|
5
|
+
"protoPackage": "google.cloud.devicestreaming.v1",
|
|
6
|
+
"schema": "1.0",
|
|
7
|
+
"services": {
|
|
8
|
+
"DirectAccessService": {
|
|
9
|
+
"clients": {
|
|
10
|
+
"grpc": {
|
|
11
|
+
"libraryClient": "DirectAccessServiceClient",
|
|
12
|
+
"rpcs": {
|
|
13
|
+
"AdbConnect": {
|
|
14
|
+
"methods": [
|
|
15
|
+
"adb_connect"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"CancelDeviceSession": {
|
|
19
|
+
"methods": [
|
|
20
|
+
"cancel_device_session"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"CreateDeviceSession": {
|
|
24
|
+
"methods": [
|
|
25
|
+
"create_device_session"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"GetDeviceSession": {
|
|
29
|
+
"methods": [
|
|
30
|
+
"get_device_session"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"ListDeviceSessions": {
|
|
34
|
+
"methods": [
|
|
35
|
+
"list_device_sessions"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"UpdateDeviceSession": {
|
|
39
|
+
"methods": [
|
|
40
|
+
"update_device_session"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"grpc-async": {
|
|
46
|
+
"libraryClient": "DirectAccessServiceAsyncClient",
|
|
47
|
+
"rpcs": {
|
|
48
|
+
"AdbConnect": {
|
|
49
|
+
"methods": [
|
|
50
|
+
"adb_connect"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"CancelDeviceSession": {
|
|
54
|
+
"methods": [
|
|
55
|
+
"cancel_device_session"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"CreateDeviceSession": {
|
|
59
|
+
"methods": [
|
|
60
|
+
"create_device_session"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"GetDeviceSession": {
|
|
64
|
+
"methods": [
|
|
65
|
+
"get_device_session"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"ListDeviceSessions": {
|
|
69
|
+
"methods": [
|
|
70
|
+
"list_device_sessions"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"UpdateDeviceSession": {
|
|
74
|
+
"methods": [
|
|
75
|
+
"update_device_session"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"rest": {
|
|
81
|
+
"libraryClient": "DirectAccessServiceClient",
|
|
82
|
+
"rpcs": {
|
|
83
|
+
"AdbConnect": {
|
|
84
|
+
"methods": [
|
|
85
|
+
"adb_connect"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"CancelDeviceSession": {
|
|
89
|
+
"methods": [
|
|
90
|
+
"cancel_device_session"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"CreateDeviceSession": {
|
|
94
|
+
"methods": [
|
|
95
|
+
"create_device_session"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"GetDeviceSession": {
|
|
99
|
+
"methods": [
|
|
100
|
+
"get_device_session"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"ListDeviceSessions": {
|
|
104
|
+
"methods": [
|
|
105
|
+
"list_device_sessions"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"UpdateDeviceSession": {
|
|
109
|
+
"methods": [
|
|
110
|
+
"update_device_session"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
__version__ = "0.1.0" # {x-release-please-version}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from .async_client import DirectAccessServiceAsyncClient
|
|
17
|
+
from .client import DirectAccessServiceClient
|
|
18
|
+
|
|
19
|
+
__all__ = (
|
|
20
|
+
"DirectAccessServiceClient",
|
|
21
|
+
"DirectAccessServiceAsyncClient",
|
|
22
|
+
)
|