google-cloud-device_streaming-v1 1.0.0 → 1.1.0
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.
- checksums.yaml +4 -4
- data/lib/google/cloud/device_streaming/v1/direct_access_service/client.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/direct_access_service/credentials.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/direct_access_service/paths.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/direct_access_service/rest/client.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/direct_access_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/direct_access_service/rest.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/direct_access_service.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/rest.rb +1 -1
- data/lib/google/cloud/device_streaming/v1/version.rb +1 -1
- data/lib/google/cloud/device_streaming/v1.rb +1 -1
- data/lib/google/cloud/devicestreaming/v1/service_pb.rb +2 -1
- data/lib/google/cloud/devicestreaming/v1/service_services_pb.rb +1 -1
- data/lib/google-cloud-device_streaming-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/devicestreaming/v1/adb_service.rb +1 -1
- data/proto_docs/google/cloud/devicestreaming/v1/service.rb +17 -2
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5aabab7f4a9fb322026371e6cc1979eebc25652adf5364f6efaa7f159f326c6f
|
|
4
|
+
data.tar.gz: b68cea286c14a023ac63e4f6e164ad37737f14ce4abeacc87a00cc21673f9a3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a549bda5c02d817219047d163f2cacb013c10addd720581c87497a94b08d871fbb8c6e2b3199ad69ca70686138f94abfd8fffb8ab5d41fb084b348d9d9e5a94
|
|
7
|
+
data.tar.gz: b19fd3a13a48d0d58297c43522f6af9317c4e949048e34bd8704d2b3843d43fc213577b06d040132427018b77622c376330a744cc8c79f61776a71d7b6b3ef92
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n-google/cloud/devicestreaming/v1/service.proto\x12\x1fgoogle.cloud.devicestreaming.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/devicestreaming/v1/adb_service.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x01\n\x1a\x43reateDeviceSessionRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12K\n\x0e\x64\x65vice_session\x18\x02 \x01(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSessionB\x03\xe0\x41\x02\x12\x1e\n\x11\x64\x65vice_session_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa6\x01\n\x19ListDeviceSessionsRequest\x12\x43\n\x06parent\x18\x04 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDeviceSessionsResponse\x12G\n\x0f\x64\x65vice_sessions\x18\x01 \x03(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSession\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x17GetDeviceSessionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,devicestreaming.googleapis.com/DeviceSession\"`\n\x1a\x43\x61ncelDeviceSessionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,devicestreaming.googleapis.com/DeviceSession\"\x9f\x01\n\x1aUpdateDeviceSessionRequest\x12K\n\x0e\x64\x65vice_session\x18\x01 \x01(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSessionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\
|
|
18
|
+
descriptor_data = "\n-google/cloud/devicestreaming/v1/service.proto\x12\x1fgoogle.cloud.devicestreaming.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/devicestreaming/v1/adb_service.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x01\n\x1a\x43reateDeviceSessionRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12K\n\x0e\x64\x65vice_session\x18\x02 \x01(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSessionB\x03\xe0\x41\x02\x12\x1e\n\x11\x64\x65vice_session_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa6\x01\n\x19ListDeviceSessionsRequest\x12\x43\n\x06parent\x18\x04 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDeviceSessionsResponse\x12G\n\x0f\x64\x65vice_sessions\x18\x01 \x03(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSession\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x17GetDeviceSessionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,devicestreaming.googleapis.com/DeviceSession\"`\n\x1a\x43\x61ncelDeviceSessionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,devicestreaming.googleapis.com/DeviceSession\"\x9f\x01\n\x1aUpdateDeviceSessionRequest\x12K\n\x0e\x64\x65vice_session\x18\x01 \x01(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSessionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xfc\x08\n\rDeviceSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12O\n\x05state\x18\x03 \x01(\x0e\x32;.google.cloud.devicestreaming.v1.DeviceSession.SessionStateB\x03\xe0\x41\x03\x12^\n\x0fstate_histories\x18\x0e \x03(\x0b\x32@.google.cloud.devicestreaming.v1.DeviceSession.SessionStateEventB\x03\xe0\x41\x03\x12-\n\x03ttl\x18\r \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01H\x00\x12\x36\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x00\x12:\n\x12inactivity_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11\x61\x63tive_start_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\x0e\x61ndroid_device\x18\x0f \x01(\x0b\x32..google.cloud.devicestreaming.v1.AndroidDeviceB\x03\xe0\x41\x02\x12\x45\n\x0b\x63lient_info\x18\x15 \x01(\x0b\x32+.google.cloud.devicestreaming.v1.ClientInfoB\x03\xe0\x41\x01\x1a\xbd\x01\n\x11SessionStateEvent\x12W\n\rsession_state\x18\x01 \x01(\x0e\x32;.google.cloud.devicestreaming.v1.DeviceSession.SessionStateB\x03\xe0\x41\x03\x12\x33\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\x8c\x01\n\x0cSessionState\x12\x1d\n\x19SESSION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\x12\x0c\n\x08\x46INISHED\x10\x05\x12\x0f\n\x0bUNAVAILABLE\x10\x06\x12\t\n\x05\x45RROR\x10\x07:\x85\x01\xea\x41\x81\x01\n,devicestreaming.googleapis.com/DeviceSession\x12\x32projects/{project}/deviceSessions/{device_session}*\x0e\x64\x65viceSessions2\rdeviceSessionB\x0c\n\nexpiration\"7\n\nClientInfo\x12\x13\n\x06\x63lient\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x01\"~\n\rAndroidDevice\x12\x1d\n\x10\x61ndroid_model_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x61ndroid_version_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06locale\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0borientation\x18\x04 \x01(\tB\x03\xe0\x41\x01\x32\xe0\t\n\x13\x44irectAccessService\x12\xec\x01\n\x13\x43reateDeviceSession\x12;.google.cloud.devicestreaming.v1.CreateDeviceSessionRequest\x1a..google.cloud.devicestreaming.v1.DeviceSession\"h\xda\x41\'parent,device_session,device_session_id\x82\xd3\xe4\x93\x02\x38\"&/v1/{parent=projects/*}/deviceSessions:\x0e\x64\x65vice_session\x12\xc6\x01\n\x12ListDeviceSessions\x12:.google.cloud.devicestreaming.v1.ListDeviceSessionsRequest\x1a;.google.cloud.devicestreaming.v1.ListDeviceSessionsResponse\"7\xda\x41\x06parent\x82\xd3\xe4\x93\x02(\x12&/v1/{parent=projects/*}/deviceSessions\x12\xb3\x01\n\x10GetDeviceSession\x12\x38.google.cloud.devicestreaming.v1.GetDeviceSessionRequest\x1a..google.cloud.devicestreaming.v1.DeviceSession\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1/{name=projects/*/deviceSessions/*}\x12\xa4\x01\n\x13\x43\x61ncelDeviceSession\x12;.google.cloud.devicestreaming.v1.CancelDeviceSessionRequest\x1a\x16.google.protobuf.Empty\"8\x82\xd3\xe4\x93\x02\x32\"-/v1/{name=projects/*/deviceSessions/*}:cancel:\x01*\x12\xee\x01\n\x13UpdateDeviceSession\x12;.google.cloud.devicestreaming.v1.UpdateDeviceSessionRequest\x1a..google.cloud.devicestreaming.v1.DeviceSession\"j\xda\x41\x1a\x64\x65vice_session,update_mask\x82\xd3\xe4\x93\x02G25/v1/{device_session.name=projects/*/deviceSessions/*}:\x0e\x64\x65vice_session\x12o\n\nAdbConnect\x12+.google.cloud.devicestreaming.v1.AdbMessage\x1a..google.cloud.devicestreaming.v1.DeviceMessage\"\x00(\x01\x30\x01\x1aR\xca\x41\x1e\x64\x65vicestreaming.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n#com.google.cloud.devicestreaming.v1B\x0cServiceProtoP\x01ZMcloud.google.com/go/devicestreaming/apiv1/devicestreamingpb;devicestreamingpb\xaa\x02\x1fGoogle.Cloud.DeviceStreaming.V1\xca\x02\x1fGoogle\\Cloud\\DeviceStreaming\\V1\xea\x02\"Google::Cloud::DeviceStreaming::V1b\x06proto3"
|
|
19
19
|
|
|
20
20
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -33,6 +33,7 @@ module Google
|
|
|
33
33
|
DeviceSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.devicestreaming.v1.DeviceSession").msgclass
|
|
34
34
|
DeviceSession::SessionStateEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent").msgclass
|
|
35
35
|
DeviceSession::SessionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.devicestreaming.v1.DeviceSession.SessionState").enummodule
|
|
36
|
+
ClientInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.devicestreaming.v1.ClientInfo").msgclass
|
|
36
37
|
AndroidDevice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.devicestreaming.v1.AndroidDevice").msgclass
|
|
37
38
|
end
|
|
38
39
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/devicestreaming/v1/service.proto for package 'Google.Cloud.DeviceStreaming.V1'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -148,7 +148,10 @@ module Google
|
|
|
148
148
|
# Output only. The timestamp that the session first became ACTIVE.
|
|
149
149
|
# @!attribute [rw] android_device
|
|
150
150
|
# @return [::Google::Cloud::DeviceStreaming::V1::AndroidDevice]
|
|
151
|
-
# Required. The requested device
|
|
151
|
+
# Required. The requested device.
|
|
152
|
+
# @!attribute [rw] client_info
|
|
153
|
+
# @return [::Google::Cloud::DeviceStreaming::V1::ClientInfo]
|
|
154
|
+
# Optional. Information about the client which invoked the device session.
|
|
152
155
|
class DeviceSession
|
|
153
156
|
include ::Google::Protobuf::MessageExts
|
|
154
157
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -207,6 +210,18 @@ module Google
|
|
|
207
210
|
end
|
|
208
211
|
end
|
|
209
212
|
|
|
213
|
+
# Information about the client which invoked the device session.
|
|
214
|
+
# @!attribute [rw] client
|
|
215
|
+
# @return [::String]
|
|
216
|
+
# Required. Client name, such as gcloud. The maximum length is 64 characters.
|
|
217
|
+
# @!attribute [rw] version
|
|
218
|
+
# @return [::String]
|
|
219
|
+
# Optional. Client version. The maximum length is 64 characters.
|
|
220
|
+
class ClientInfo
|
|
221
|
+
include ::Google::Protobuf::MessageExts
|
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
223
|
+
end
|
|
224
|
+
|
|
210
225
|
# A single Android device.
|
|
211
226
|
# @!attribute [rw] android_model_id
|
|
212
227
|
# @return [::String]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|