google-api-client 0.33.1 → 0.33.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +11 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -72
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +205 -4
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +93 -2
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +112 -0
- data/generated/google/apis/docs_v1/representations.rb +60 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +11 -7
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +9 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +8 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/speech_v2beta1.rb +34 -0
- data/generated/google/apis/speech_v2beta1/classes.rb +356 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta1/service.rb +138 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +63 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +161 -30
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +141 -0
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +34 -34
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191011'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/cloud-test-lab/
|
27
27
|
module TestingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191021'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -185,6 +185,11 @@ module Google
|
|
185
185
|
# @return [String]
|
186
186
|
attr_accessor :orchestrator_option
|
187
187
|
|
188
|
+
# Options for enabling sharding.
|
189
|
+
# Corresponds to the JSON property `shardingOption`
|
190
|
+
# @return [Google::Apis::TestingV1::ShardingOption]
|
191
|
+
attr_accessor :sharding_option
|
192
|
+
|
188
193
|
# A reference to a file, used for user inputs.
|
189
194
|
# Corresponds to the JSON property `testApk`
|
190
195
|
# @return [Google::Apis::TestingV1::FileReference]
|
@@ -222,6 +227,7 @@ module Google
|
|
222
227
|
@app_bundle = args[:app_bundle] if args.key?(:app_bundle)
|
223
228
|
@app_package_id = args[:app_package_id] if args.key?(:app_package_id)
|
224
229
|
@orchestrator_option = args[:orchestrator_option] if args.key?(:orchestrator_option)
|
230
|
+
@sharding_option = args[:sharding_option] if args.key?(:sharding_option)
|
225
231
|
@test_apk = args[:test_apk] if args.key?(:test_apk)
|
226
232
|
@test_package_id = args[:test_package_id] if args.key?(:test_package_id)
|
227
233
|
@test_runner_class = args[:test_runner_class] if args.key?(:test_runner_class)
|
@@ -1497,6 +1503,29 @@ module Google
|
|
1497
1503
|
end
|
1498
1504
|
end
|
1499
1505
|
|
1506
|
+
# Shards test cases into the specified groups of packages, classes, and/or
|
1507
|
+
# methods.
|
1508
|
+
# With manual sharding enabled, specifying test targets via
|
1509
|
+
# environment_variables or in InstrumentationTest is invalid.
|
1510
|
+
class ManualSharding
|
1511
|
+
include Google::Apis::Core::Hashable
|
1512
|
+
|
1513
|
+
# Required. Group of packages, classes, and/or test methods to be run for
|
1514
|
+
# each shard. The number of shard_test_targets must be > 1, and <= 50.
|
1515
|
+
# Corresponds to the JSON property `testTargetsForShard`
|
1516
|
+
# @return [Array<Google::Apis::TestingV1::TestTargetsForShard>]
|
1517
|
+
attr_accessor :test_targets_for_shard
|
1518
|
+
|
1519
|
+
def initialize(**args)
|
1520
|
+
update!(**args)
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
# Update properties of this object
|
1524
|
+
def update!(**args)
|
1525
|
+
@test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
|
1500
1529
|
#
|
1501
1530
|
class NetworkConfiguration
|
1502
1531
|
include Google::Apis::Core::Hashable
|
@@ -1780,6 +1809,68 @@ module Google
|
|
1780
1809
|
end
|
1781
1810
|
end
|
1782
1811
|
|
1812
|
+
# Output only. Details about the shard.
|
1813
|
+
class Shard
|
1814
|
+
include Google::Apis::Core::Hashable
|
1815
|
+
|
1816
|
+
# Output only. The total number of shards.
|
1817
|
+
# Corresponds to the JSON property `numShards`
|
1818
|
+
# @return [Fixnum]
|
1819
|
+
attr_accessor :num_shards
|
1820
|
+
|
1821
|
+
# Output only. The index of the shard among all the shards.
|
1822
|
+
# Corresponds to the JSON property `shardIndex`
|
1823
|
+
# @return [Fixnum]
|
1824
|
+
attr_accessor :shard_index
|
1825
|
+
|
1826
|
+
# Test targets for a shard.
|
1827
|
+
# Corresponds to the JSON property `testTargetsForShard`
|
1828
|
+
# @return [Google::Apis::TestingV1::TestTargetsForShard]
|
1829
|
+
attr_accessor :test_targets_for_shard
|
1830
|
+
|
1831
|
+
def initialize(**args)
|
1832
|
+
update!(**args)
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
# Update properties of this object
|
1836
|
+
def update!(**args)
|
1837
|
+
@num_shards = args[:num_shards] if args.key?(:num_shards)
|
1838
|
+
@shard_index = args[:shard_index] if args.key?(:shard_index)
|
1839
|
+
@test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
|
1840
|
+
end
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
# Options for enabling sharding.
|
1844
|
+
class ShardingOption
|
1845
|
+
include Google::Apis::Core::Hashable
|
1846
|
+
|
1847
|
+
# Shards test cases into the specified groups of packages, classes, and/or
|
1848
|
+
# methods.
|
1849
|
+
# With manual sharding enabled, specifying test targets via
|
1850
|
+
# environment_variables or in InstrumentationTest is invalid.
|
1851
|
+
# Corresponds to the JSON property `manualSharding`
|
1852
|
+
# @return [Google::Apis::TestingV1::ManualSharding]
|
1853
|
+
attr_accessor :manual_sharding
|
1854
|
+
|
1855
|
+
# Uniformly shards test cases given a total number of shards.
|
1856
|
+
# For Instrumentation test, it will be translated to “-e numShard” “-e
|
1857
|
+
# shardIndex” AndroidJUnitRunner arguments. With uniform sharding enabled,
|
1858
|
+
# specifying these sharding arguments via environment_variables is invalid.
|
1859
|
+
# Corresponds to the JSON property `uniformSharding`
|
1860
|
+
# @return [Google::Apis::TestingV1::UniformSharding]
|
1861
|
+
attr_accessor :uniform_sharding
|
1862
|
+
|
1863
|
+
def initialize(**args)
|
1864
|
+
update!(**args)
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
# Update properties of this object
|
1868
|
+
def update!(**args)
|
1869
|
+
@manual_sharding = args[:manual_sharding] if args.key?(:manual_sharding)
|
1870
|
+
@uniform_sharding = args[:uniform_sharding] if args.key?(:uniform_sharding)
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
|
1783
1874
|
# A starting intent specified by an action, uri, and categories.
|
1784
1875
|
class StartActivityIntent
|
1785
1876
|
include Google::Apis::Core::Hashable
|
@@ -1902,6 +1993,11 @@ module Google
|
|
1902
1993
|
# @return [String]
|
1903
1994
|
attr_accessor :project_id
|
1904
1995
|
|
1996
|
+
# Output only. Details about the shard.
|
1997
|
+
# Corresponds to the JSON property `shard`
|
1998
|
+
# @return [Google::Apis::TestingV1::Shard]
|
1999
|
+
attr_accessor :shard
|
2000
|
+
|
1905
2001
|
# Output only. Indicates the current progress of the test execution
|
1906
2002
|
# (e.g., FINISHED).
|
1907
2003
|
# Corresponds to the JSON property `state`
|
@@ -1939,6 +2035,7 @@ module Google
|
|
1939
2035
|
@id = args[:id] if args.key?(:id)
|
1940
2036
|
@matrix_id = args[:matrix_id] if args.key?(:matrix_id)
|
1941
2037
|
@project_id = args[:project_id] if args.key?(:project_id)
|
2038
|
+
@shard = args[:shard] if args.key?(:shard)
|
1942
2039
|
@state = args[:state] if args.key?(:state)
|
1943
2040
|
@test_details = args[:test_details] if args.key?(:test_details)
|
1944
2041
|
@test_specification = args[:test_specification] if args.key?(:test_specification)
|
@@ -2194,6 +2291,28 @@ module Google
|
|
2194
2291
|
end
|
2195
2292
|
end
|
2196
2293
|
|
2294
|
+
# Test targets for a shard.
|
2295
|
+
class TestTargetsForShard
|
2296
|
+
include Google::Apis::Core::Hashable
|
2297
|
+
|
2298
|
+
# Group of packages, classes, and/or test methods to be run for each shard.
|
2299
|
+
# The targets need to be specified in AndroidJUnitRunner argument format. For
|
2300
|
+
# example, “package com.my.packages” “class com.my.package.MyClass”.
|
2301
|
+
# The number of shard_test_targets must be greater than 0.
|
2302
|
+
# Corresponds to the JSON property `testTargets`
|
2303
|
+
# @return [Array<String>]
|
2304
|
+
attr_accessor :test_targets
|
2305
|
+
|
2306
|
+
def initialize(**args)
|
2307
|
+
update!(**args)
|
2308
|
+
end
|
2309
|
+
|
2310
|
+
# Update properties of this object
|
2311
|
+
def update!(**args)
|
2312
|
+
@test_targets = args[:test_targets] if args.key?(:test_targets)
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2197
2316
|
# Represents a tool results execution resource.
|
2198
2317
|
# This has the results of a TestMatrix.
|
2199
2318
|
class ToolResultsExecution
|
@@ -2332,6 +2451,28 @@ module Google
|
|
2332
2451
|
end
|
2333
2452
|
end
|
2334
2453
|
|
2454
|
+
# Uniformly shards test cases given a total number of shards.
|
2455
|
+
# For Instrumentation test, it will be translated to “-e numShard” “-e
|
2456
|
+
# shardIndex” AndroidJUnitRunner arguments. With uniform sharding enabled,
|
2457
|
+
# specifying these sharding arguments via environment_variables is invalid.
|
2458
|
+
class UniformSharding
|
2459
|
+
include Google::Apis::Core::Hashable
|
2460
|
+
|
2461
|
+
# Required. Total number of shards. The number must be > 1, and <= 50.
|
2462
|
+
# Corresponds to the JSON property `numShards`
|
2463
|
+
# @return [Fixnum]
|
2464
|
+
attr_accessor :num_shards
|
2465
|
+
|
2466
|
+
def initialize(**args)
|
2467
|
+
update!(**args)
|
2468
|
+
end
|
2469
|
+
|
2470
|
+
# Update properties of this object
|
2471
|
+
def update!(**args)
|
2472
|
+
@num_shards = args[:num_shards] if args.key?(:num_shards)
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2335
2476
|
# An Xcode version that an iOS version is compatible with.
|
2336
2477
|
class XcodeVersion
|
2337
2478
|
include Google::Apis::Core::Hashable
|
@@ -262,6 +262,12 @@ module Google
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
+
class ManualSharding
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
265
271
|
class NetworkConfiguration
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
273
|
|
@@ -316,6 +322,18 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class Shard
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class ShardingOption
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class StartActivityIntent
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -358,6 +376,12 @@ module Google
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
359
377
|
end
|
360
378
|
|
379
|
+
class TestTargetsForShard
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
361
385
|
class ToolResultsExecution
|
362
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
387
|
|
@@ -382,6 +406,12 @@ module Google
|
|
382
406
|
include Google::Apis::Core::JsonObjectSupport
|
383
407
|
end
|
384
408
|
|
409
|
+
class UniformSharding
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
385
415
|
class XcodeVersion
|
386
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
417
|
|
@@ -435,6 +465,8 @@ module Google
|
|
435
465
|
|
436
466
|
property :app_package_id, as: 'appPackageId'
|
437
467
|
property :orchestrator_option, as: 'orchestratorOption'
|
468
|
+
property :sharding_option, as: 'shardingOption', class: Google::Apis::TestingV1::ShardingOption, decorator: Google::Apis::TestingV1::ShardingOption::Representation
|
469
|
+
|
438
470
|
property :test_apk, as: 'testApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
439
471
|
|
440
472
|
property :test_package_id, as: 'testPackageId'
|
@@ -800,6 +832,14 @@ module Google
|
|
800
832
|
end
|
801
833
|
end
|
802
834
|
|
835
|
+
class ManualSharding
|
836
|
+
# @private
|
837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
838
|
+
collection :test_targets_for_shard, as: 'testTargetsForShard', class: Google::Apis::TestingV1::TestTargetsForShard, decorator: Google::Apis::TestingV1::TestTargetsForShard::Representation
|
839
|
+
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
803
843
|
class NetworkConfiguration
|
804
844
|
# @private
|
805
845
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -886,6 +926,26 @@ module Google
|
|
886
926
|
end
|
887
927
|
end
|
888
928
|
|
929
|
+
class Shard
|
930
|
+
# @private
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
+
property :num_shards, as: 'numShards'
|
933
|
+
property :shard_index, as: 'shardIndex'
|
934
|
+
property :test_targets_for_shard, as: 'testTargetsForShard', class: Google::Apis::TestingV1::TestTargetsForShard, decorator: Google::Apis::TestingV1::TestTargetsForShard::Representation
|
935
|
+
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
939
|
+
class ShardingOption
|
940
|
+
# @private
|
941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
942
|
+
property :manual_sharding, as: 'manualSharding', class: Google::Apis::TestingV1::ManualSharding, decorator: Google::Apis::TestingV1::ManualSharding::Representation
|
943
|
+
|
944
|
+
property :uniform_sharding, as: 'uniformSharding', class: Google::Apis::TestingV1::UniformSharding, decorator: Google::Apis::TestingV1::UniformSharding::Representation
|
945
|
+
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
889
949
|
class StartActivityIntent
|
890
950
|
# @private
|
891
951
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -925,6 +985,8 @@ module Google
|
|
925
985
|
property :id, as: 'id'
|
926
986
|
property :matrix_id, as: 'matrixId'
|
927
987
|
property :project_id, as: 'projectId'
|
988
|
+
property :shard, as: 'shard', class: Google::Apis::TestingV1::Shard, decorator: Google::Apis::TestingV1::Shard::Representation
|
989
|
+
|
928
990
|
property :state, as: 'state'
|
929
991
|
property :test_details, as: 'testDetails', class: Google::Apis::TestingV1::TestDetails, decorator: Google::Apis::TestingV1::TestDetails::Representation
|
930
992
|
|
@@ -998,6 +1060,13 @@ module Google
|
|
998
1060
|
end
|
999
1061
|
end
|
1000
1062
|
|
1063
|
+
class TestTargetsForShard
|
1064
|
+
# @private
|
1065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1066
|
+
collection :test_targets, as: 'testTargets'
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1001
1070
|
class ToolResultsExecution
|
1002
1071
|
# @private
|
1003
1072
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1036,6 +1105,13 @@ module Google
|
|
1036
1105
|
end
|
1037
1106
|
end
|
1038
1107
|
|
1108
|
+
class UniformSharding
|
1109
|
+
# @private
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1111
|
+
property :num_shards, as: 'numShards'
|
1112
|
+
end
|
1113
|
+
end
|
1114
|
+
|
1039
1115
|
class XcodeVersion
|
1040
1116
|
# @private
|
1041
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
28
28
|
module VideointelligenceV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191018'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -47,7 +47,7 @@ module Google
|
|
47
47
|
class GoogleCloudVideointelligenceV1AnnotateVideoRequest
|
48
48
|
include Google::Apis::Core::Hashable
|
49
49
|
|
50
|
-
# Requested video annotation features.
|
50
|
+
# Required. Requested video annotation features.
|
51
51
|
# Corresponds to the JSON property `features`
|
52
52
|
# @return [Array<String>]
|
53
53
|
attr_accessor :features
|
@@ -74,14 +74,14 @@ module Google
|
|
74
74
|
# @return [String]
|
75
75
|
attr_accessor :input_uri
|
76
76
|
|
77
|
-
# Optional
|
77
|
+
# Optional. Cloud region where annotation should take place. Supported cloud
|
78
78
|
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
79
79
|
# is specified, a region will be determined based on video file location.
|
80
80
|
# Corresponds to the JSON property `locationId`
|
81
81
|
# @return [String]
|
82
82
|
attr_accessor :location_id
|
83
83
|
|
84
|
-
# Optional
|
84
|
+
# Optional. Location where the output (in JSON format) should be stored.
|
85
85
|
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
86
86
|
# URIs are supported, which must be specified in the following format:
|
87
87
|
# `gs://bucket-id/object-id` (other URI formats return
|
@@ -609,7 +609,7 @@ module Google
|
|
609
609
|
class GoogleCloudVideointelligenceV1SpeechContext
|
610
610
|
include Google::Apis::Core::Hashable
|
611
611
|
|
612
|
-
#
|
612
|
+
# Optional. A list of strings containing words and phrases "hints" so that
|
613
613
|
# the speech recognition is more likely to recognize them. This can be used
|
614
614
|
# to improve the accuracy for specific words and phrases, for example, if
|
615
615
|
# specific commands are typically spoken by the user. This can also be used
|
@@ -679,10 +679,10 @@ module Google
|
|
679
679
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
680
680
|
attr_accessor :alternatives
|
681
681
|
|
682
|
-
# Output only. The
|
683
|
-
#
|
684
|
-
# language in this result. This language code was detected to have the
|
685
|
-
# likelihood of being spoken in the audio.
|
682
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
683
|
+
# language tag of
|
684
|
+
# the language in this result. This language code was detected to have the
|
685
|
+
# most likelihood of being spoken in the audio.
|
686
686
|
# Corresponds to the JSON property `languageCode`
|
687
687
|
# @return [String]
|
688
688
|
attr_accessor :language_code
|
@@ -702,21 +702,21 @@ module Google
|
|
702
702
|
class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
703
703
|
include Google::Apis::Core::Hashable
|
704
704
|
|
705
|
-
#
|
705
|
+
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
706
706
|
# tracks, specify up to two tracks. Default: track 0.
|
707
707
|
# Corresponds to the JSON property `audioTracks`
|
708
708
|
# @return [Array<Fixnum>]
|
709
709
|
attr_accessor :audio_tracks
|
710
710
|
|
711
|
-
#
|
712
|
-
#
|
711
|
+
# Optional. If set, specifies the estimated number of speakers in the
|
712
|
+
# conversation.
|
713
713
|
# If not set, defaults to '2'.
|
714
714
|
# Ignored unless enable_speaker_diarization is set to true.
|
715
715
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
716
716
|
# @return [Fixnum]
|
717
717
|
attr_accessor :diarization_speaker_count
|
718
718
|
|
719
|
-
#
|
719
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
720
720
|
# This feature is only available in select languages. Setting this for
|
721
721
|
# requests in other languages has no effect at all. The default 'false' value
|
722
722
|
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
@@ -727,7 +727,7 @@ module Google
|
|
727
727
|
attr_accessor :enable_automatic_punctuation
|
728
728
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
729
729
|
|
730
|
-
#
|
730
|
+
# Optional. If 'true', enables speaker detection for each recognized word in
|
731
731
|
# the top alternative of the recognition result using a speaker_tag provided
|
732
732
|
# in the WordInfo.
|
733
733
|
# Note: When this is true, we send all the words from the beginning of the
|
@@ -739,7 +739,7 @@ module Google
|
|
739
739
|
attr_accessor :enable_speaker_diarization
|
740
740
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
741
741
|
|
742
|
-
#
|
742
|
+
# Optional. If `true`, the top result includes a list of words and the
|
743
743
|
# confidence for those words. If `false`, no word-level confidence
|
744
744
|
# information is returned. The default is `false`.
|
745
745
|
# Corresponds to the JSON property `enableWordConfidence`
|
@@ -747,7 +747,7 @@ module Google
|
|
747
747
|
attr_accessor :enable_word_confidence
|
748
748
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
749
749
|
|
750
|
-
#
|
750
|
+
# Optional. If set to `true`, the server will attempt to filter out
|
751
751
|
# profanities, replacing all but the initial character in each filtered word
|
752
752
|
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
753
753
|
# won't be filtered out.
|
@@ -756,7 +756,7 @@ module Google
|
|
756
756
|
attr_accessor :filter_profanity
|
757
757
|
alias_method :filter_profanity?, :filter_profanity
|
758
758
|
|
759
|
-
# *Required* The language of the supplied audio as a
|
759
|
+
# Required. *Required* The language of the supplied audio as a
|
760
760
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
761
761
|
# Example: "en-US".
|
762
762
|
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
@@ -765,7 +765,7 @@ module Google
|
|
765
765
|
# @return [String]
|
766
766
|
attr_accessor :language_code
|
767
767
|
|
768
|
-
#
|
768
|
+
# Optional. Maximum number of recognition hypotheses to be returned.
|
769
769
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
770
770
|
# within each `SpeechTranscription`. The server may return fewer than
|
771
771
|
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
@@ -774,7 +774,7 @@ module Google
|
|
774
774
|
# @return [Fixnum]
|
775
775
|
attr_accessor :max_alternatives
|
776
776
|
|
777
|
-
#
|
777
|
+
# Optional. A means to provide context to assist the speech recognition.
|
778
778
|
# Corresponds to the JSON property `speechContexts`
|
779
779
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechContext>]
|
780
780
|
attr_accessor :speech_contexts
|
@@ -1676,10 +1676,10 @@ module Google
|
|
1676
1676
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
1677
1677
|
attr_accessor :alternatives
|
1678
1678
|
|
1679
|
-
# Output only. The
|
1680
|
-
#
|
1681
|
-
# language in this result. This language code was detected to have the
|
1682
|
-
# likelihood of being spoken in the audio.
|
1679
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
1680
|
+
# language tag of
|
1681
|
+
# the language in this result. This language code was detected to have the
|
1682
|
+
# most likelihood of being spoken in the audio.
|
1683
1683
|
# Corresponds to the JSON property `languageCode`
|
1684
1684
|
# @return [String]
|
1685
1685
|
attr_accessor :language_code
|
@@ -2487,10 +2487,10 @@ module Google
|
|
2487
2487
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
2488
2488
|
attr_accessor :alternatives
|
2489
2489
|
|
2490
|
-
# Output only. The
|
2491
|
-
#
|
2492
|
-
# language in this result. This language code was detected to have the
|
2493
|
-
# likelihood of being spoken in the audio.
|
2490
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
2491
|
+
# language tag of
|
2492
|
+
# the language in this result. This language code was detected to have the
|
2493
|
+
# most likelihood of being spoken in the audio.
|
2494
2494
|
# Corresponds to the JSON property `languageCode`
|
2495
2495
|
# @return [String]
|
2496
2496
|
attr_accessor :language_code
|
@@ -3298,10 +3298,10 @@ module Google
|
|
3298
3298
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
3299
3299
|
attr_accessor :alternatives
|
3300
3300
|
|
3301
|
-
# Output only. The
|
3302
|
-
#
|
3303
|
-
# language in this result. This language code was detected to have the
|
3304
|
-
# likelihood of being spoken in the audio.
|
3301
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
3302
|
+
# language tag of
|
3303
|
+
# the language in this result. This language code was detected to have the
|
3304
|
+
# most likelihood of being spoken in the audio.
|
3305
3305
|
# Corresponds to the JSON property `languageCode`
|
3306
3306
|
# @return [String]
|
3307
3307
|
attr_accessor :language_code
|
@@ -4175,10 +4175,10 @@ module Google
|
|
4175
4175
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
4176
4176
|
attr_accessor :alternatives
|
4177
4177
|
|
4178
|
-
# Output only. The
|
4179
|
-
#
|
4180
|
-
# language in this result. This language code was detected to have the
|
4181
|
-
# likelihood of being spoken in the audio.
|
4178
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
4179
|
+
# language tag of
|
4180
|
+
# the language in this result. This language code was detected to have the
|
4181
|
+
# most likelihood of being spoken in the audio.
|
4182
4182
|
# Corresponds to the JSON property `languageCode`
|
4183
4183
|
# @return [String]
|
4184
4184
|
attr_accessor :language_code
|