google-api-client 0.46.2 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +370 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +16 -54
- data/generated/google/apis/apigee_v1/representations.rb +1 -18
- data/generated/google/apis/apigee_v1/service.rb +21 -13
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +72 -0
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -8
- data/generated/google/apis/content_v2.rb +2 -3
- data/generated/google/apis/content_v2/classes.rb +508 -1216
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +29 -29
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +11 -5
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +12 -8
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/tag-manager
|
26
26
|
module TagmanagerV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201022'
|
29
29
|
|
30
30
|
# Delete your Google Tag Manager containers
|
31
31
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
@@ -546,6 +546,11 @@ module Google
|
|
546
546
|
# @return [String]
|
547
547
|
attr_accessor :name
|
548
548
|
|
549
|
+
# Number of clients in the container version.
|
550
|
+
# Corresponds to the JSON property `numClients`
|
551
|
+
# @return [String]
|
552
|
+
attr_accessor :num_clients
|
553
|
+
|
549
554
|
# Number of custom templates in the container version.
|
550
555
|
# Corresponds to the JSON property `numCustomTemplates`
|
551
556
|
# @return [String]
|
@@ -597,6 +602,7 @@ module Google
|
|
597
602
|
@container_version_id = args[:container_version_id] if args.key?(:container_version_id)
|
598
603
|
@deleted = args[:deleted] if args.key?(:deleted)
|
599
604
|
@name = args[:name] if args.key?(:name)
|
605
|
+
@num_clients = args[:num_clients] if args.key?(:num_clients)
|
600
606
|
@num_custom_templates = args[:num_custom_templates] if args.key?(:num_custom_templates)
|
601
607
|
@num_macros = args[:num_macros] if args.key?(:num_macros)
|
602
608
|
@num_rules = args[:num_rules] if args.key?(:num_rules)
|
@@ -776,6 +782,11 @@ module Google
|
|
776
782
|
# @return [String]
|
777
783
|
attr_accessor :change_status
|
778
784
|
|
785
|
+
# The client being represented by the entity.
|
786
|
+
# Corresponds to the JSON property `client`
|
787
|
+
# @return [Google::Apis::TagmanagerV2::Client]
|
788
|
+
attr_accessor :client
|
789
|
+
|
779
790
|
# Represents a Google Tag Manager Folder.
|
780
791
|
# Corresponds to the JSON property `folder`
|
781
792
|
# @return [Google::Apis::TagmanagerV2::Folder]
|
@@ -803,6 +814,7 @@ module Google
|
|
803
814
|
# Update properties of this object
|
804
815
|
def update!(**args)
|
805
816
|
@change_status = args[:change_status] if args.key?(:change_status)
|
817
|
+
@client = args[:client] if args.key?(:client)
|
806
818
|
@folder = args[:folder] if args.key?(:folder)
|
807
819
|
@tag = args[:tag] if args.key?(:tag)
|
808
820
|
@trigger = args[:trigger] if args.key?(:trigger)
|
@@ -488,6 +488,7 @@ module Google
|
|
488
488
|
property :container_version_id, as: 'containerVersionId'
|
489
489
|
property :deleted, as: 'deleted'
|
490
490
|
property :name, as: 'name'
|
491
|
+
property :num_clients, as: 'numClients'
|
491
492
|
property :num_custom_templates, as: 'numCustomTemplates'
|
492
493
|
property :num_macros, as: 'numMacros'
|
493
494
|
property :num_rules, as: 'numRules'
|
@@ -548,6 +549,8 @@ module Google
|
|
548
549
|
# @private
|
549
550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
550
551
|
property :change_status, as: 'changeStatus'
|
552
|
+
property :client, as: 'client', class: Google::Apis::TagmanagerV2::Client, decorator: Google::Apis::TagmanagerV2::Client::Representation
|
553
|
+
|
551
554
|
property :folder, as: 'folder', class: Google::Apis::TagmanagerV2::Folder, decorator: Google::Apis::TagmanagerV2::Folder::Representation
|
552
555
|
|
553
556
|
property :tag, as: 'tag', class: Google::Apis::TagmanagerV2::Tag, decorator: Google::Apis::TagmanagerV2::Tag::Representation
|
@@ -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 = '20201019'
|
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'
|
@@ -382,7 +382,7 @@ module Google
|
|
382
382
|
end
|
383
383
|
|
384
384
|
# A test of an android application that explores the application on a virtual or
|
385
|
-
# physical Android Device, finding culprits and crashes as it goes. Next tag:
|
385
|
+
# physical Android Device, finding culprits and crashes as it goes. Next tag: 30
|
386
386
|
class AndroidRoboTest
|
387
387
|
include Google::Apis::Core::Hashable
|
388
388
|
|
@@ -562,14 +562,14 @@ module Google
|
|
562
562
|
# @return [String]
|
563
563
|
attr_accessor :id
|
564
564
|
|
565
|
-
# Represents a whole or partial calendar date,
|
566
|
-
# and time zone are either specified elsewhere or are
|
567
|
-
# is relative to the
|
568
|
-
# date, with non-zero year, month and day values * A month
|
569
|
-
# zero year,
|
570
|
-
# values * A year and month value, with a zero day,
|
571
|
-
# expiration date Related types are google.type.TimeOfDay and `
|
572
|
-
# Timestamp`.
|
565
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
566
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
567
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
568
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
569
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
570
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
571
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
572
|
+
# google.protobuf.Timestamp`.
|
573
573
|
# Corresponds to the JSON property `releaseDate`
|
574
574
|
# @return [Google::Apis::TestingV1::Date]
|
575
575
|
attr_accessor :release_date
|
@@ -790,31 +790,31 @@ module Google
|
|
790
790
|
end
|
791
791
|
end
|
792
792
|
|
793
|
-
# Represents a whole or partial calendar date,
|
794
|
-
# and time zone are either specified elsewhere or are
|
795
|
-
# is relative to the
|
796
|
-
# date, with non-zero year, month and day values * A month
|
797
|
-
# zero year,
|
798
|
-
# values * A year and month value, with a zero day,
|
799
|
-
# expiration date Related types are google.type.TimeOfDay and `
|
800
|
-
# Timestamp`.
|
793
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
794
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
795
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
796
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
797
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
798
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
799
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
800
|
+
# google.protobuf.Timestamp`.
|
801
801
|
class Date
|
802
802
|
include Google::Apis::Core::Hashable
|
803
803
|
|
804
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
805
|
-
#
|
806
|
-
# significant.
|
804
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
805
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
807
806
|
# Corresponds to the JSON property `day`
|
808
807
|
# @return [Fixnum]
|
809
808
|
attr_accessor :day
|
810
809
|
|
811
|
-
# Month of year. Must be from 1 to 12, or 0
|
810
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
812
811
|
# and day.
|
813
812
|
# Corresponds to the JSON property `month`
|
814
813
|
# @return [Fixnum]
|
815
814
|
attr_accessor :month
|
816
815
|
|
817
|
-
# Year of date. Must be from 1 to 9999, or 0
|
816
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
817
|
+
# year.
|
818
818
|
# Corresponds to the JSON property `year`
|
819
819
|
# @return [Fixnum]
|
820
820
|
attr_accessor :year
|
@@ -860,14 +860,14 @@ module Google
|
|
860
860
|
class DeviceIpBlock
|
861
861
|
include Google::Apis::Core::Hashable
|
862
862
|
|
863
|
-
# Represents a whole or partial calendar date,
|
864
|
-
# and time zone are either specified elsewhere or are
|
865
|
-
# is relative to the
|
866
|
-
# date, with non-zero year, month and day values * A month
|
867
|
-
# zero year,
|
868
|
-
# values * A year and month value, with a zero day,
|
869
|
-
# expiration date Related types are google.type.TimeOfDay and `
|
870
|
-
# Timestamp`.
|
863
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
864
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
865
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
866
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
867
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
868
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
869
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
870
|
+
# google.protobuf.Timestamp`.
|
871
871
|
# Corresponds to the JSON property `addedDate`
|
872
872
|
# @return [Google::Apis::TestingV1::Date]
|
873
873
|
attr_accessor :added_date
|
@@ -1595,7 +1595,7 @@ module Google
|
|
1595
1595
|
# Required. Group of packages, classes, and/or test methods to be run for each
|
1596
1596
|
# shard. When any physical devices are selected, the number of
|
1597
1597
|
# test_targets_for_shard must be >= 1 and <= 50. When no physical devices are
|
1598
|
-
# selected, the number must be >= 1 and <=
|
1598
|
+
# selected, the number must be >= 1 and <= 500.
|
1599
1599
|
# Corresponds to the JSON property `testTargetsForShard`
|
1600
1600
|
# @return [Array<Google::Apis::TestingV1::TestTargetsForShard>]
|
1601
1601
|
attr_accessor :test_targets_for_shard
|
@@ -2152,6 +2152,17 @@ module Google
|
|
2152
2152
|
# @return [Google::Apis::TestingV1::EnvironmentMatrix]
|
2153
2153
|
attr_accessor :environment_matrix
|
2154
2154
|
|
2155
|
+
# If true, only a single attempt at most will be made to run each execution/
|
2156
|
+
# shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more
|
2157
|
+
# attempts are made if a potential infrastructure issue is detected. This
|
2158
|
+
# feature is for latency sensitive workloads. The incidence of execution
|
2159
|
+
# failures may be significantly greater for fail-fast matrices and support is
|
2160
|
+
# more limited because of that expectation.
|
2161
|
+
# Corresponds to the JSON property `failFast`
|
2162
|
+
# @return [Boolean]
|
2163
|
+
attr_accessor :fail_fast
|
2164
|
+
alias_method :fail_fast?, :fail_fast
|
2165
|
+
|
2155
2166
|
# The number of times a TestExecution should be re-attempted if one or more of
|
2156
2167
|
# its test cases fail for any reason. The maximum number of reruns allowed is 10.
|
2157
2168
|
# Default is 0, which implies no reruns.
|
@@ -2215,6 +2226,7 @@ module Google
|
|
2215
2226
|
def update!(**args)
|
2216
2227
|
@client_info = args[:client_info] if args.key?(:client_info)
|
2217
2228
|
@environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix)
|
2229
|
+
@fail_fast = args[:fail_fast] if args.key?(:fail_fast)
|
2218
2230
|
@flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts)
|
2219
2231
|
@invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details)
|
2220
2232
|
@outcome_summary = args[:outcome_summary] if args.key?(:outcome_summary)
|
@@ -2318,7 +2330,7 @@ module Google
|
|
2318
2330
|
attr_accessor :android_instrumentation_test
|
2319
2331
|
|
2320
2332
|
# A test of an android application that explores the application on a virtual or
|
2321
|
-
# physical Android Device, finding culprits and crashes as it goes. Next tag:
|
2333
|
+
# physical Android Device, finding culprits and crashes as it goes. Next tag: 30
|
2322
2334
|
# Corresponds to the JSON property `androidRoboTest`
|
2323
2335
|
# @return [Google::Apis::TestingV1::AndroidRoboTest]
|
2324
2336
|
attr_accessor :android_robo_test
|
@@ -2562,7 +2574,7 @@ module Google
|
|
2562
2574
|
|
2563
2575
|
# Required. Total number of shards. When any physical devices are selected, the
|
2564
2576
|
# number must be >= 1 and <= 50. When no physical devices are selected, the
|
2565
|
-
# number must be >= 1 and <=
|
2577
|
+
# number must be >= 1 and <= 500.
|
2566
2578
|
# Corresponds to the JSON property `numShards`
|
2567
2579
|
# @return [Fixnum]
|
2568
2580
|
attr_accessor :num_shards
|
@@ -1074,6 +1074,7 @@ module Google
|
|
1074
1074
|
|
1075
1075
|
property :environment_matrix, as: 'environmentMatrix', class: Google::Apis::TestingV1::EnvironmentMatrix, decorator: Google::Apis::TestingV1::EnvironmentMatrix::Representation
|
1076
1076
|
|
1077
|
+
property :fail_fast, as: 'failFast'
|
1077
1078
|
property :flaky_test_attempts, as: 'flakyTestAttempts'
|
1078
1079
|
property :invalid_matrix_details, as: 'invalidMatrixDetails'
|
1079
1080
|
property :outcome_summary, as: 'outcomeSummary'
|
@@ -117,11 +117,11 @@ module Google
|
|
117
117
|
end
|
118
118
|
|
119
119
|
# Creates and runs a matrix of tests according to the given specifications.
|
120
|
-
# Unsupported environments will be returned in the state UNSUPPORTED.
|
121
|
-
#
|
122
|
-
# following canonical error codes: - PERMISSION_DENIED - if the user is not
|
120
|
+
# Unsupported environments will be returned in the state UNSUPPORTED. A test
|
121
|
+
# matrix is limited to use at most 2000 devices in parallel. May return any of
|
122
|
+
# the following canonical error codes: - PERMISSION_DENIED - if the user is not
|
123
123
|
# authorized to write to project - INVALID_ARGUMENT - if the request is
|
124
|
-
# malformed or if the matrix
|
124
|
+
# malformed or if the matrix tries to use too many simultaneous devices.
|
125
125
|
# @param [String] project_id
|
126
126
|
# The GCE project under which this job will run.
|
127
127
|
# @param [Google::Apis::TestingV1::TestMatrix] test_matrix_object
|
@@ -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 = '20201016'
|
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'
|
@@ -150,68 +150,6 @@ module Google
|
|
150
150
|
execute_or_queue_command(command, &block)
|
151
151
|
end
|
152
152
|
|
153
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
154
|
-
# to poll the operation result at intervals as recommended by the API service.
|
155
|
-
# @param [String] name
|
156
|
-
# The name of the operation resource.
|
157
|
-
# @param [String] fields
|
158
|
-
# Selector specifying which fields to include in a partial response.
|
159
|
-
# @param [String] quota_user
|
160
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
161
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
162
|
-
# @param [Google::Apis::RequestOptions] options
|
163
|
-
# Request-specific options
|
164
|
-
#
|
165
|
-
# @yield [result, err] Result & error if block supplied
|
166
|
-
# @yieldparam result [Google::Apis::VideointelligenceV1::GoogleLongrunningOperation] parsed result object
|
167
|
-
# @yieldparam err [StandardError] error object if request failed
|
168
|
-
#
|
169
|
-
# @return [Google::Apis::VideointelligenceV1::GoogleLongrunningOperation]
|
170
|
-
#
|
171
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
172
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
|
-
def get_project_location_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
175
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
176
|
-
command.response_representation = Google::Apis::VideointelligenceV1::GoogleLongrunningOperation::Representation
|
177
|
-
command.response_class = Google::Apis::VideointelligenceV1::GoogleLongrunningOperation
|
178
|
-
command.params['name'] = name unless name.nil?
|
179
|
-
command.query['fields'] = fields unless fields.nil?
|
180
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
|
-
execute_or_queue_command(command, &block)
|
182
|
-
end
|
183
|
-
|
184
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
185
|
-
# to poll the operation result at intervals as recommended by the API service.
|
186
|
-
# @param [String] name
|
187
|
-
# The name of the operation resource.
|
188
|
-
# @param [String] fields
|
189
|
-
# Selector specifying which fields to include in a partial response.
|
190
|
-
# @param [String] quota_user
|
191
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
192
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
193
|
-
# @param [Google::Apis::RequestOptions] options
|
194
|
-
# Request-specific options
|
195
|
-
#
|
196
|
-
# @yield [result, err] Result & error if block supplied
|
197
|
-
# @yieldparam result [Google::Apis::VideointelligenceV1::GoogleLongrunningOperation] parsed result object
|
198
|
-
# @yieldparam err [StandardError] error object if request failed
|
199
|
-
#
|
200
|
-
# @return [Google::Apis::VideointelligenceV1::GoogleLongrunningOperation]
|
201
|
-
#
|
202
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
203
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
204
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
205
|
-
def get_project_location_corpura_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
206
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
207
|
-
command.response_representation = Google::Apis::VideointelligenceV1::GoogleLongrunningOperation::Representation
|
208
|
-
command.response_class = Google::Apis::VideointelligenceV1::GoogleLongrunningOperation
|
209
|
-
command.params['name'] = name unless name.nil?
|
210
|
-
command.query['fields'] = fields unless fields.nil?
|
211
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
212
|
-
execute_or_queue_command(command, &block)
|
213
|
-
end
|
214
|
-
|
215
153
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
216
154
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
217
155
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -44,8 +44,8 @@ module Google
|
|
44
44
|
attr_accessor :quota_user
|
45
45
|
|
46
46
|
def initialize
|
47
|
-
super('https://
|
48
|
-
@batch_path = 'batch'
|
47
|
+
super('https://www.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch/youtube/v3'
|
49
49
|
end
|
50
50
|
|
51
51
|
# Inserts a new resource into this collection.
|
data/google-api-client.gemspec
CHANGED
@@ -2,35 +2,35 @@ lib = File.expand_path('../lib', __FILE__)
|
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
3
|
require 'google/apis/version'
|
4
4
|
|
5
|
-
Gem::Specification.new do |
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = 'google-api-client'
|
7
|
+
gem.version = Google::Apis::VERSION
|
8
|
+
gem.authors = ['Steven Bazyl', 'Tim Emiola', 'Sergio Gomes', 'Bob Aman']
|
9
|
+
gem.email = ['sbazyl@google.com']
|
10
|
+
gem.summary = 'Client for accessing Google APIs'
|
11
|
+
gem.homepage = 'https://github.com/google/google-api-ruby-client'
|
12
|
+
gem.license = 'Apache-2.0'
|
13
|
+
gem.metadata = {
|
14
14
|
"documentation_uri" => "https://googleapis.dev/ruby/google-api-client/v#{Google::Apis::VERSION}"
|
15
15
|
}
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
gem.files = `git ls-files -z`
|
18
|
+
.split("\x0")
|
19
|
+
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out|synth\.metadata}) }
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
|
+
gem.require_paths = %w[lib generated]
|
23
23
|
|
24
|
-
|
24
|
+
gem.required_ruby_version = '>= 2.4'
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
26
|
+
gem.add_runtime_dependency 'representable', '~> 3.0'
|
27
|
+
gem.add_runtime_dependency 'retriable', '>= 2.0', '< 4.0'
|
28
|
+
gem.add_runtime_dependency 'addressable', '~> 2.5', '>= 2.5.1'
|
29
|
+
gem.add_runtime_dependency 'mini_mime', '~> 1.0'
|
30
|
+
gem.add_runtime_dependency 'signet', '~> 0.12'
|
31
|
+
gem.add_runtime_dependency 'googleauth', '~> 0.9'
|
32
|
+
gem.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
|
33
|
+
gem.add_runtime_dependency 'rexml'
|
34
|
+
gem.add_development_dependency 'thor', '~> 0.19'
|
35
|
+
gem.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
|
36
36
|
end
|
@@ -145,7 +145,7 @@ module Google
|
|
145
145
|
options.authorization.respond_to?(:apply!)
|
146
146
|
end
|
147
147
|
|
148
|
-
# Prepare the request (e.g. calculate headers, serialize data, etc) before sending
|
148
|
+
# Prepare the request (e.g. calculate headers, add query params, serialize data, etc) before sending
|
149
149
|
#
|
150
150
|
# @private
|
151
151
|
# @return [void]
|
@@ -153,6 +153,7 @@ module Google
|
|
153
153
|
normalize_unicode = true
|
154
154
|
if options
|
155
155
|
header.update(options.header) if options.header
|
156
|
+
query.update(options.query) if options.query
|
156
157
|
normalize_unicode = options.normalize_unicode
|
157
158
|
end
|
158
159
|
self.url = url.expand(params, nil, normalize_unicode) if url.is_a?(Addressable::Template)
|
data/lib/google/apis/options.rb
CHANGED
@@ -34,7 +34,8 @@ module Google
|
|
34
34
|
:skip_deserialization,
|
35
35
|
:api_format_version,
|
36
36
|
:use_opencensus,
|
37
|
-
:quota_project
|
37
|
+
:quota_project,
|
38
|
+
:query)
|
38
39
|
|
39
40
|
# General client options
|
40
41
|
class ClientOptions
|
@@ -62,13 +63,13 @@ module Google
|
|
62
63
|
# Request options
|
63
64
|
class RequestOptions
|
64
65
|
# @!attribute [rw] authorization
|
65
|
-
# @return [Signet::OAuth2::Client, #apply(Hash)] OAuth2 credentials
|
66
|
+
# @return [Signet::OAuth2::Client, #apply(Hash)] OAuth2 credentials.
|
66
67
|
# @!attribute [rw] retries
|
67
|
-
# @return [Fixnum] Number of times to retry requests on server error
|
68
|
+
# @return [Fixnum] Number of times to retry requests on server error.
|
68
69
|
# @!attribute [rw] header
|
69
|
-
# @return [Hash<String,String] Additional HTTP headers to include in requests
|
70
|
+
# @return [Hash<String,String>] Additional HTTP headers to include in requests.
|
70
71
|
# @!attribute [rw] normalize_unicode
|
71
|
-
# @return [Boolean] True if unicode strings should be normalized in path parameters
|
72
|
+
# @return [Boolean] True if unicode strings should be normalized in path parameters.
|
72
73
|
# @!attribute [rw] skip_serialization
|
73
74
|
# @return [Boolean] True if body object should be treated as raw text instead of an object.
|
74
75
|
# @!attribute [rw] skip_deserialization
|
@@ -79,6 +80,8 @@ module Google
|
|
79
80
|
# @return [Boolean] Whether OpenCensus spans should be generated for requests. Default is true.
|
80
81
|
# @!attribute [rw] quota_project
|
81
82
|
# @return [String] Project ID to charge quota, or `nil` to default to the credentials-specified project.
|
83
|
+
# @!attribute [rw] query
|
84
|
+
# @return [Hash<String,String>] Additional HTTP URL query parameters to include in requests.
|
82
85
|
|
83
86
|
# Get the default options
|
84
87
|
# @return [Google::Apis::RequestOptions]
|