google-cloud-video-live_stream-v1 0.3.0 → 0.5.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/README.md +1 -1
- data/lib/google/cloud/video/live_stream/v1/bindings_override.rb +104 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/client.rb +37 -11
- data/lib/google/cloud/video/live_stream/v1/livestream_service/operations.rb +2 -2
- data/lib/google/cloud/video/live_stream/v1/livestream_service/paths.rb +19 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/client.rb +45 -11
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/operations.rb +2 -2
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest.rb +1 -0
- data/lib/google/cloud/video/live_stream/v1/rest.rb +1 -0
- data/lib/google/cloud/video/live_stream/v1/version.rb +1 -1
- data/lib/google/cloud/video/livestream/v1/outputs_pb.rb +30 -98
- data/lib/google/cloud/video/livestream/v1/resources_pb.rb +44 -124
- data/lib/google/cloud/video/livestream/v1/service_pb.rb +27 -105
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/video/livestream/v1/outputs.rb +108 -26
- data/proto_docs/google/cloud/video/livestream/v1/resources.rb +218 -16
- data/proto_docs/google/cloud/video/livestream/v1/service.rb +21 -9
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/type/datetime.rb +99 -0
- metadata +26 -4
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents civil time (or occasionally physical time).
|
23
|
+
#
|
24
|
+
# This type can represent a civil time in one of a few possible ways:
|
25
|
+
#
|
26
|
+
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
27
|
+
# day with a particular offset from UTC.
|
28
|
+
# * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
29
|
+
# day in a particular time zone.
|
30
|
+
# * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
31
|
+
# day in local time.
|
32
|
+
#
|
33
|
+
# The date is relative to the Proleptic Gregorian Calendar.
|
34
|
+
#
|
35
|
+
# If year is 0, the DateTime is considered not to have a specific year. month
|
36
|
+
# and day must have valid, non-zero values.
|
37
|
+
#
|
38
|
+
# This type may also be used to represent a physical time if all the date and
|
39
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
40
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
41
|
+
# case also would like to store the user's timezone, that can be done in
|
42
|
+
# another field.
|
43
|
+
#
|
44
|
+
# This type is more flexible than some applications may want. Make sure to
|
45
|
+
# document and validate your application's limitations.
|
46
|
+
# @!attribute [rw] year
|
47
|
+
# @return [::Integer]
|
48
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
|
49
|
+
# datetime without a year.
|
50
|
+
# @!attribute [rw] month
|
51
|
+
# @return [::Integer]
|
52
|
+
# Required. Month of year. Must be from 1 to 12.
|
53
|
+
# @!attribute [rw] day
|
54
|
+
# @return [::Integer]
|
55
|
+
# Required. Day of month. Must be from 1 to 31 and valid for the year and
|
56
|
+
# month.
|
57
|
+
# @!attribute [rw] hours
|
58
|
+
# @return [::Integer]
|
59
|
+
# Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
|
60
|
+
# may choose to allow the value "24:00:00" for scenarios like business
|
61
|
+
# closing time.
|
62
|
+
# @!attribute [rw] minutes
|
63
|
+
# @return [::Integer]
|
64
|
+
# Required. Minutes of hour of day. Must be from 0 to 59.
|
65
|
+
# @!attribute [rw] seconds
|
66
|
+
# @return [::Integer]
|
67
|
+
# Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
68
|
+
# API may allow the value 60 if it allows leap-seconds.
|
69
|
+
# @!attribute [rw] nanos
|
70
|
+
# @return [::Integer]
|
71
|
+
# Required. Fractions of seconds in nanoseconds. Must be from 0 to
|
72
|
+
# 999,999,999.
|
73
|
+
# @!attribute [rw] utc_offset
|
74
|
+
# @return [::Google::Protobuf::Duration]
|
75
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
|
+
# For example, a UTC offset of -4:00 would be represented as
|
77
|
+
# { seconds: -14400 }.
|
78
|
+
# @!attribute [rw] time_zone
|
79
|
+
# @return [::Google::Type::TimeZone]
|
80
|
+
# Time zone.
|
81
|
+
class DateTime
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
end
|
85
|
+
|
86
|
+
# Represents a time zone from the
|
87
|
+
# [IANA Time Zone Database](https://www.iana.org/time-zones).
|
88
|
+
# @!attribute [rw] id
|
89
|
+
# @return [::String]
|
90
|
+
# IANA Time Zone Database time zone, e.g. "America/New_York".
|
91
|
+
# @!attribute [rw] version
|
92
|
+
# @return [::String]
|
93
|
+
# Optional. IANA Time Zone Database version number, e.g. "2019a".
|
94
|
+
class TimeZone
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video-live_stream-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,6 +44,26 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.4'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.4'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,6 +193,7 @@ files:
|
|
173
193
|
- README.md
|
174
194
|
- lib/google-cloud-video-live_stream-v1.rb
|
175
195
|
- lib/google/cloud/video/live_stream/v1.rb
|
196
|
+
- lib/google/cloud/video/live_stream/v1/bindings_override.rb
|
176
197
|
- lib/google/cloud/video/live_stream/v1/livestream_service.rb
|
177
198
|
- lib/google/cloud/video/live_stream/v1/livestream_service/client.rb
|
178
199
|
- lib/google/cloud/video/live_stream/v1/livestream_service/credentials.rb
|
@@ -203,6 +224,7 @@ files:
|
|
203
224
|
- proto_docs/google/protobuf/field_mask.rb
|
204
225
|
- proto_docs/google/protobuf/timestamp.rb
|
205
226
|
- proto_docs/google/rpc/status.rb
|
227
|
+
- proto_docs/google/type/datetime.rb
|
206
228
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
207
229
|
licenses:
|
208
230
|
- Apache-2.0
|