google-apis-transcoder_v1beta1 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d81817a155fba5a30ef539bfaabf38fbe7464e08d03c3b9ceec1cbbd83282d4
4
- data.tar.gz: 8688232dc5d0bdf91caf0051367568fb18037ca7eb9912a984de7c7c17a277ff
3
+ metadata.gz: 2bd6dc49a626e645763022c8e369768360a621f77e14c575548ea664b28905a3
4
+ data.tar.gz: e0623069b750d19e96a6360c71c9fd83daa797ee1ad7963872447d16630d6fe9
5
5
  SHA512:
6
- metadata.gz: 6c2572db3dfe258204239ec3160893562f9ba4ba5385ea9b198b13a3a73283a61a5a754f83eaa73e2177ad2a196b4f08745aad6ba58a33d4108fc526737ce2bc
7
- data.tar.gz: b6ccb985c86388f333ba4d384d639a2592e8bc1362ff923543e124b976ce855070847e73c01f4904033b616be81ba63859fb60b874e8da2b7fbd1741abc8d4ae
6
+ metadata.gz: 58dbc07e0851f6a3c25a6a015918f4ebb2a6de582fa57f5df52f401e8679986cc8ad9b142d464bbafaa93424d8ecb206afdc88c53650b8a232fc77a485a7134a
7
+ data.tar.gz: 55c0f354345a6bafd86befe0b438dea44a8d226fde384e054f1a5301bb05bb493ced3601f7e6c98a2f56c626ee226411c89f058e70f5f563042384f39b607700
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-transcoder_v1beta1
2
2
 
3
+ ### v0.2.0 (2021-02-02)
4
+
5
+ * Regenerated from discovery document revision 20210129
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -649,7 +649,8 @@ module Google
649
649
  class Image
650
650
  include Google::Apis::Core::Hashable
651
651
 
652
- # Target image opacity. Valid values: `1` (solid, default), `0` (transparent).
652
+ # Target image opacity. Valid values: `1.0` (solid, default) to `0.0` (
653
+ # transparent).
653
654
  # Corresponds to the JSON property `alpha`
654
655
  # @return [Float]
655
656
  attr_accessor :alpha
@@ -692,8 +693,9 @@ module Google
692
693
  # @return [Google::Apis::TranscoderV1beta1::PreprocessingConfig]
693
694
  attr_accessor :preprocessing_config
694
695
 
695
- # URI of the media. It must be stored in Cloud Storage. Example `gs://bucket/
696
- # inputs/file.mp4`. If empty the value will be populated from `Job.input_uri`.
696
+ # URI of the media. Input files must be at least 5 seconds in duration and
697
+ # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty,
698
+ # the value will be populated from `Job.input_uri`.
697
699
  # Corresponds to the JSON property `uri`
698
700
  # @return [String]
699
701
  attr_accessor :uri
@@ -744,8 +746,8 @@ module Google
744
746
 
745
747
  # Input only. Specify the `input_uri` to populate empty `uri` fields in each
746
748
  # element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
747
- # template. URI of the media. It must be stored in Cloud Storage. For example, `
748
- # gs://bucket/inputs/file.mp4`.
749
+ # template. URI of the media. Input files must be at least 5 seconds in duration
750
+ # and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
749
751
  # Corresponds to the JSON property `inputUri`
750
752
  # @return [String]
751
753
  attr_accessor :input_uri
@@ -1119,6 +1121,65 @@ module Google
1119
1121
  end
1120
1122
  end
1121
1123
 
1124
+ # Represents the metadata of the long-running operation.
1125
+ class OperationMetadata
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # [Output only] API version used to start the operation.
1129
+ # Corresponds to the JSON property `apiVersion`
1130
+ # @return [String]
1131
+ attr_accessor :api_version
1132
+
1133
+ # [Output only] Identifies whether the user has requested cancellation of the
1134
+ # operation. Operations that have successfully been cancelled have Operation.
1135
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1136
+ # CANCELLED`.
1137
+ # Corresponds to the JSON property `cancelRequested`
1138
+ # @return [Boolean]
1139
+ attr_accessor :cancel_requested
1140
+ alias_method :cancel_requested?, :cancel_requested
1141
+
1142
+ # [Output only] The time the operation was created.
1143
+ # Corresponds to the JSON property `createTime`
1144
+ # @return [String]
1145
+ attr_accessor :create_time
1146
+
1147
+ # [Output only] The time the operation finished running.
1148
+ # Corresponds to the JSON property `endTime`
1149
+ # @return [String]
1150
+ attr_accessor :end_time
1151
+
1152
+ # [Output only] Human-readable status of the operation, if any.
1153
+ # Corresponds to the JSON property `statusDetail`
1154
+ # @return [String]
1155
+ attr_accessor :status_detail
1156
+
1157
+ # [Output only] Server-defined resource path for the target of the operation.
1158
+ # Corresponds to the JSON property `target`
1159
+ # @return [String]
1160
+ attr_accessor :target
1161
+
1162
+ # [Output only] Name of the verb executed by the operation.
1163
+ # Corresponds to the JSON property `verb`
1164
+ # @return [String]
1165
+ attr_accessor :verb
1166
+
1167
+ def initialize(**args)
1168
+ update!(**args)
1169
+ end
1170
+
1171
+ # Update properties of this object
1172
+ def update!(**args)
1173
+ @api_version = args[:api_version] if args.key?(:api_version)
1174
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1175
+ @create_time = args[:create_time] if args.key?(:create_time)
1176
+ @end_time = args[:end_time] if args.key?(:end_time)
1177
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1178
+ @target = args[:target] if args.key?(:target)
1179
+ @verb = args[:verb] if args.key?(:verb)
1180
+ end
1181
+ end
1182
+
1122
1183
  # The origin URI.
1123
1184
  class OriginUri
1124
1185
  include Google::Apis::Core::Hashable
@@ -1322,7 +1383,9 @@ module Google
1322
1383
  attr_accessor :individual_segments
1323
1384
  alias_method :individual_segments?, :individual_segments
1324
1385
 
1325
- # Duration of the segments in seconds. The default is `"6.0s"`.
1386
+ # Duration of the segments in seconds. The default is `"6.0s"`. Note that `
1387
+ # segmentDuration` must be greater than or equal to [`gopDuration`](#videostream)
1388
+ # , and `segmentDuration` must be divisible by [`gopDuration`](#videostream).
1326
1389
  # Corresponds to the JSON property `segmentDuration`
1327
1390
  # @return [String]
1328
1391
  attr_accessor :segment_duration
@@ -1574,18 +1637,21 @@ module Google
1574
1637
  # input frame rate. The API will generate an output FPS that is divisible by the
1575
1638
  # input FPS, and smaller or equal to the target FPS. The following table shows
1576
1639
  # the computed video FPS given the target FPS (in parenthesis) and input FPS (in
1577
- # the first column): | | (30) | (60) | (25) | (50) | |--------|--------|--------|
1578
- # ------|------| | 240 | Fail | Fail | Fail | Fail | | 120 | 30 | 60 | 20 | 30 |
1579
- # | 100 | 25 | 50 | 20 | 30 | | 50 | 25 | 50 | 20 | 30 | | 60 | 30 | 60 | 20 |
1580
- # 30 | | 59.94 | 29.97 | 59.94 | 20 | 30 | | 48 | 24 | 48 | 20 | 30 | | 30 | 30 |
1581
- # 30 | 20 | 30 | | 25 | 25 | 25 | 20 | 30 | | 24 | 24 | 24 | 20 | 30 | | 23.976
1582
- # | 23.976 | 23.976 | 20 | 30 | | 15 | 15 | 15 | 20 | 30 | | 12 | 12 | 12 | 20 |
1583
- # 30 | | 10 | 10 | 10 | 20 | 30 |
1640
+ # the first column): ``` | | (30) | (60) | (25) | (50) | |--------|--------|-----
1641
+ # ---|------|------| | 240 | Fail | Fail | Fail | Fail | | 120 | 30 | 60 | 20 |
1642
+ # 30 | | 100 | 25 | 50 | 20 | 30 | | 50 | 25 | 50 | 20 | 30 | | 60 | 30 | 60 |
1643
+ # 20 | 30 | | 59.94 | 29.97 | 59.94 | 20 | 30 | | 48 | 24 | 48 | 20 | 30 | | 30 |
1644
+ # 30 | 30 | 20 | 30 | | 25 | 25 | 25 | 20 | 30 | | 24 | 24 | 24 | 20 | 30 | |
1645
+ # 23.976 | 23.976 | 23.976 | 20 | 30 | | 15 | 15 | 15 | 20 | 30 | | 12 | 12 | 12
1646
+ # | 20 | 30 | | 10 | 10 | 10 | 20 | 30 | ```
1584
1647
  # Corresponds to the JSON property `frameRate`
1585
1648
  # @return [Float]
1586
1649
  attr_accessor :frame_rate
1587
1650
 
1588
1651
  # Select the GOP size based on the specified duration. The default is `"3s"`.
1652
+ # Note that `gopDuration` must be less than or equal to [`segmentDuration`](#
1653
+ # SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
1654
+ # by `gopDuration`.
1589
1655
  # Corresponds to the JSON property `gopDuration`
1590
1656
  # @return [String]
1591
1657
  attr_accessor :gop_duration
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TranscoderV1beta1
18
18
  # Version of the google-apis-transcoder_v1beta1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201209"
25
+ REVISION = "20210129"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class OperationMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class OriginUri
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -610,6 +616,19 @@ module Google
610
616
  end
611
617
  end
612
618
 
619
+ class OperationMetadata
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :api_version, as: 'apiVersion'
623
+ property :cancel_requested, as: 'cancelRequested'
624
+ property :create_time, as: 'createTime'
625
+ property :end_time, as: 'endTime'
626
+ property :status_detail, as: 'statusDetail'
627
+ property :target, as: 'target'
628
+ property :verb, as: 'verb'
629
+ end
630
+ end
631
+
613
632
  class OriginUri
614
633
  # @private
615
634
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-transcoder_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-transcoder_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1beta1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-transcoder_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Transcoder API V1beta1