google-api-client 0.42.1 → 0.42.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 +76 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +6 -12
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +18 -5
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +14 -10
- data/generated/google/apis/customsearch_v1/service.rb +6 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +195 -245
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +6 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -32
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
@@ -476,6 +476,7 @@ module Google
|
|
476
476
|
class BackupRun
|
477
477
|
# @private
|
478
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
479
|
+
property :backup_kind, as: 'backupKind'
|
479
480
|
property :description, as: 'description'
|
480
481
|
property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqlV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqlV1beta4::DiskEncryptionConfiguration::Representation
|
481
482
|
|
@@ -669,7 +670,6 @@ module Google
|
|
669
670
|
collection :databases, as: 'databases'
|
670
671
|
property :file_type, as: 'fileType'
|
671
672
|
property :kind, as: 'kind'
|
672
|
-
property :offload, as: 'offload'
|
673
673
|
property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions, decorator: Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions::Representation
|
674
674
|
|
675
675
|
property :uri, as: 'uri'
|
@@ -1025,6 +1025,7 @@ module Google
|
|
1025
1025
|
property :availability_type, as: 'availabilityType'
|
1026
1026
|
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqlV1beta4::BackupConfiguration, decorator: Google::Apis::SqlV1beta4::BackupConfiguration::Representation
|
1027
1027
|
|
1028
|
+
property :collation, as: 'collation'
|
1028
1029
|
property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
|
1029
1030
|
property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
|
1030
1031
|
property :data_disk_type, as: 'dataDiskType'
|
@@ -43,8 +43,8 @@ module Google
|
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
45
|
def initialize
|
46
|
-
super('https://
|
47
|
-
@batch_path = 'batch'
|
46
|
+
super('https://www.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch/sql'
|
48
48
|
end
|
49
49
|
|
50
50
|
# Deletes the backup taken by a backup run.
|
@@ -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 = '20200720'
|
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'
|
@@ -887,6 +887,63 @@ module Google
|
|
887
887
|
end
|
888
888
|
end
|
889
889
|
|
890
|
+
# A single device IP block
|
891
|
+
class DeviceIpBlock
|
892
|
+
include Google::Apis::Core::Hashable
|
893
|
+
|
894
|
+
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
895
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
896
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
897
|
+
# * A full date, with non-zero year, month and day values
|
898
|
+
# * A month and day value, with a zero year, e.g. an anniversary
|
899
|
+
# * A year on its own, with zero month and day values
|
900
|
+
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
901
|
+
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
902
|
+
# Corresponds to the JSON property `addedDate`
|
903
|
+
# @return [Google::Apis::TestingV1::Date]
|
904
|
+
attr_accessor :added_date
|
905
|
+
|
906
|
+
# An IP address block in CIDR notation eg: 34.68.194.64/29
|
907
|
+
# Corresponds to the JSON property `block`
|
908
|
+
# @return [String]
|
909
|
+
attr_accessor :block
|
910
|
+
|
911
|
+
# Whether this block is used by physical or virtual devices
|
912
|
+
# Corresponds to the JSON property `form`
|
913
|
+
# @return [String]
|
914
|
+
attr_accessor :form
|
915
|
+
|
916
|
+
def initialize(**args)
|
917
|
+
update!(**args)
|
918
|
+
end
|
919
|
+
|
920
|
+
# Update properties of this object
|
921
|
+
def update!(**args)
|
922
|
+
@added_date = args[:added_date] if args.key?(:added_date)
|
923
|
+
@block = args[:block] if args.key?(:block)
|
924
|
+
@form = args[:form] if args.key?(:form)
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# List of IP blocks used by the Firebase Test Lab
|
929
|
+
class DeviceIpBlockCatalog
|
930
|
+
include Google::Apis::Core::Hashable
|
931
|
+
|
932
|
+
# The device IP blocks used by Firebase Test Lab
|
933
|
+
# Corresponds to the JSON property `ipBlocks`
|
934
|
+
# @return [Array<Google::Apis::TestingV1::DeviceIpBlock>]
|
935
|
+
attr_accessor :ip_blocks
|
936
|
+
|
937
|
+
def initialize(**args)
|
938
|
+
update!(**args)
|
939
|
+
end
|
940
|
+
|
941
|
+
# Update properties of this object
|
942
|
+
def update!(**args)
|
943
|
+
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
890
947
|
# Data about the relative number of devices running a
|
891
948
|
# given configuration of the Android platform.
|
892
949
|
class Distribution
|
@@ -1980,6 +2037,11 @@ module Google
|
|
1980
2037
|
# @return [Google::Apis::TestingV1::AndroidDeviceCatalog]
|
1981
2038
|
attr_accessor :android_device_catalog
|
1982
2039
|
|
2040
|
+
# List of IP blocks used by the Firebase Test Lab
|
2041
|
+
# Corresponds to the JSON property `deviceIpBlockCatalog`
|
2042
|
+
# @return [Google::Apis::TestingV1::DeviceIpBlockCatalog]
|
2043
|
+
attr_accessor :device_ip_block_catalog
|
2044
|
+
|
1983
2045
|
# The currently supported iOS devices.
|
1984
2046
|
# Corresponds to the JSON property `iosDeviceCatalog`
|
1985
2047
|
# @return [Google::Apis::TestingV1::IosDeviceCatalog]
|
@@ -2002,6 +2064,7 @@ module Google
|
|
2002
2064
|
# Update properties of this object
|
2003
2065
|
def update!(**args)
|
2004
2066
|
@android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog)
|
2067
|
+
@device_ip_block_catalog = args[:device_ip_block_catalog] if args.key?(:device_ip_block_catalog)
|
2005
2068
|
@ios_device_catalog = args[:ios_device_catalog] if args.key?(:ios_device_catalog)
|
2006
2069
|
@network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
|
2007
2070
|
@software_catalog = args[:software_catalog] if args.key?(:software_catalog)
|
@@ -142,6 +142,18 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
+
class DeviceIpBlock
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class DeviceIpBlockCatalog
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
145
157
|
class Distribution
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
159
|
|
@@ -651,6 +663,24 @@ module Google
|
|
651
663
|
end
|
652
664
|
end
|
653
665
|
|
666
|
+
class DeviceIpBlock
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
property :added_date, as: 'addedDate', class: Google::Apis::TestingV1::Date, decorator: Google::Apis::TestingV1::Date::Representation
|
670
|
+
|
671
|
+
property :block, as: 'block'
|
672
|
+
property :form, as: 'form'
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
class DeviceIpBlockCatalog
|
677
|
+
# @private
|
678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
+
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::TestingV1::DeviceIpBlock, decorator: Google::Apis::TestingV1::DeviceIpBlock::Representation
|
680
|
+
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
654
684
|
class Distribution
|
655
685
|
# @private
|
656
686
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -983,6 +1013,8 @@ module Google
|
|
983
1013
|
class Representation < Google::Apis::Core::JsonRepresentation
|
984
1014
|
property :android_device_catalog, as: 'androidDeviceCatalog', class: Google::Apis::TestingV1::AndroidDeviceCatalog, decorator: Google::Apis::TestingV1::AndroidDeviceCatalog::Representation
|
985
1015
|
|
1016
|
+
property :device_ip_block_catalog, as: 'deviceIpBlockCatalog', class: Google::Apis::TestingV1::DeviceIpBlockCatalog, decorator: Google::Apis::TestingV1::DeviceIpBlockCatalog::Representation
|
1017
|
+
|
986
1018
|
property :ios_device_catalog, as: 'iosDeviceCatalog', class: Google::Apis::TestingV1::IosDeviceCatalog, decorator: Google::Apis::TestingV1::IosDeviceCatalog::Representation
|
987
1019
|
|
988
1020
|
property :network_configuration_catalog, as: 'networkConfigurationCatalog', class: Google::Apis::TestingV1::NetworkConfigurationCatalog, decorator: Google::Apis::TestingV1::NetworkConfigurationCatalog::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
26
26
|
module ToolresultsV1beta3
|
27
27
|
VERSION = 'V1beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200722'
|
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'
|
@@ -908,6 +908,14 @@ module Google
|
|
908
908
|
attr_accessor :crashed
|
909
909
|
alias_method :crashed?, :crashed
|
910
910
|
|
911
|
+
# If the Roboscript failed to complete successfully, e.g., because a
|
912
|
+
# Roboscript action or assertion failed or a Roboscript action could not be
|
913
|
+
# matched during the entire crawl.
|
914
|
+
# Corresponds to the JSON property `failedRoboscript`
|
915
|
+
# @return [Boolean]
|
916
|
+
attr_accessor :failed_roboscript
|
917
|
+
alias_method :failed_roboscript?, :failed_roboscript
|
918
|
+
|
911
919
|
# If an app is not installed and thus no test can be run with the app.
|
912
920
|
# This might be caused by trying to run a test on an unsupported platform.
|
913
921
|
# Corresponds to the JSON property `notInstalled`
|
@@ -941,6 +949,7 @@ module Google
|
|
941
949
|
# Update properties of this object
|
942
950
|
def update!(**args)
|
943
951
|
@crashed = args[:crashed] if args.key?(:crashed)
|
952
|
+
@failed_roboscript = args[:failed_roboscript] if args.key?(:failed_roboscript)
|
944
953
|
@not_installed = args[:not_installed] if args.key?(:not_installed)
|
945
954
|
@other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash)
|
946
955
|
@timed_out = args[:timed_out] if args.key?(:timed_out)
|
@@ -887,6 +887,7 @@ module Google
|
|
887
887
|
# @private
|
888
888
|
class Representation < Google::Apis::Core::JsonRepresentation
|
889
889
|
property :crashed, as: 'crashed'
|
890
|
+
property :failed_roboscript, as: 'failedRoboscript'
|
890
891
|
property :not_installed, as: 'notInstalled'
|
891
892
|
property :other_native_crash, as: 'otherNativeCrash'
|
892
893
|
property :timed_out, as: 'timedOut'
|
@@ -43,23 +43,16 @@ module Google
|
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
45
|
def initialize
|
46
|
-
super('https://
|
47
|
-
@batch_path = 'batch
|
46
|
+
super('https://toolresults.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
-
#
|
50
|
+
# Gets the Tool Results settings for a project.
|
51
|
+
# May return any of the following canonical error codes:
|
52
|
+
# - PERMISSION_DENIED - if the user is not authorized to read from project
|
51
53
|
# @param [String] project_id
|
52
54
|
# A Project id.
|
53
55
|
# Required.
|
54
|
-
# @param [String] history_id
|
55
|
-
# A History id.
|
56
|
-
# Required.
|
57
|
-
# @param [String] execution_id
|
58
|
-
# An Execution id.
|
59
|
-
# Required.
|
60
|
-
# @param [String] cluster_id
|
61
|
-
# A Cluster id
|
62
|
-
# Required.
|
63
56
|
# @param [String] fields
|
64
57
|
# Selector specifying which fields to include in a partial response.
|
65
58
|
# @param [String] quota_user
|
@@ -69,44 +62,90 @@ module Google
|
|
69
62
|
# Request-specific options
|
70
63
|
#
|
71
64
|
# @yield [result, err] Result & error if block supplied
|
72
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
65
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
73
66
|
# @yieldparam err [StandardError] error object if request failed
|
74
67
|
#
|
75
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
68
|
+
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
76
69
|
#
|
77
70
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
78
71
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
72
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
|
-
def
|
81
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/
|
82
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
83
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
73
|
+
def get_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/settings', options)
|
75
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
76
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
84
77
|
command.params['projectId'] = project_id unless project_id.nil?
|
85
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
86
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
87
|
-
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
88
78
|
command.query['fields'] = fields unless fields.nil?
|
89
79
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
90
80
|
execute_or_queue_command(command, &block)
|
91
81
|
end
|
92
82
|
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
83
|
+
# Creates resources for settings which have not yet been set.
|
84
|
+
# Currently, this creates a single resource: a Google Cloud Storage bucket,
|
85
|
+
# to be used as the default bucket for this project. The bucket is created
|
86
|
+
# in an FTL-own storage project. Except for in rare cases, calling this
|
87
|
+
# method in parallel from multiple clients will only create a single bucket.
|
88
|
+
# In order to avoid unnecessary storage charges, the bucket is configured to
|
89
|
+
# automatically delete objects older than 90 days.
|
90
|
+
# The bucket is created with the following permissions:
|
91
|
+
# - Owner access for owners of central storage project (FTL-owned)
|
92
|
+
# - Writer access for owners/editors of customer project
|
93
|
+
# - Reader access for viewers of customer project
|
94
|
+
# The default ACL on objects created in the bucket is:
|
95
|
+
# - Owner access for owners of central storage project
|
96
|
+
# - Reader access for owners/editors/viewers of customer project
|
97
|
+
# See Google Cloud Storage documentation for more details.
|
98
|
+
# If there is already a default bucket set and the project can access the
|
99
|
+
# bucket, this call does nothing. However, if the project doesn't have the
|
100
|
+
# permission to access the bucket or the bucket is deleted, a new bucket
|
101
|
+
# will be created.
|
102
|
+
# May return any canonical error codes, including the following:
|
103
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
104
|
+
# - Any error code raised by Google Cloud Storage
|
101
105
|
# @param [String] project_id
|
102
106
|
# A Project id.
|
103
107
|
# Required.
|
104
|
-
# @param [String]
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
108
|
+
# @param [String] fields
|
109
|
+
# Selector specifying which fields to include in a partial response.
|
110
|
+
# @param [String] quota_user
|
111
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
112
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
113
|
+
# @param [Google::Apis::RequestOptions] options
|
114
|
+
# Request-specific options
|
115
|
+
#
|
116
|
+
# @yield [result, err] Result & error if block supplied
|
117
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
118
|
+
# @yieldparam err [StandardError] error object if request failed
|
119
|
+
#
|
120
|
+
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
121
|
+
#
|
122
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
123
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
124
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
125
|
+
def initialize_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
126
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}:initializeSettings', options)
|
127
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
128
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
129
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
130
|
+
command.query['fields'] = fields unless fields.nil?
|
131
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
132
|
+
execute_or_queue_command(command, &block)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Creates a History.
|
136
|
+
# The returned History will have the id set.
|
137
|
+
# May return any of the following canonical error codes:
|
138
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
139
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
140
|
+
# - NOT_FOUND - if the containing project does not exist
|
141
|
+
# @param [String] project_id
|
142
|
+
# A Project id.
|
109
143
|
# Required.
|
144
|
+
# @param [Google::Apis::ToolresultsV1beta3::History] history_object
|
145
|
+
# @param [String] request_id
|
146
|
+
# A unique request ID for server to detect duplicated requests.
|
147
|
+
# For example, a UUID.
|
148
|
+
# Optional, but strongly recommended.
|
110
149
|
# @param [String] fields
|
111
150
|
# Selector specifying which fields to include in a partial response.
|
112
151
|
# @param [String] quota_user
|
@@ -116,39 +155,38 @@ module Google
|
|
116
155
|
# Request-specific options
|
117
156
|
#
|
118
157
|
# @yield [result, err] Result & error if block supplied
|
119
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
158
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
|
120
159
|
# @yieldparam err [StandardError] error object if request failed
|
121
160
|
#
|
122
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
161
|
+
# @return [Google::Apis::ToolresultsV1beta3::History]
|
123
162
|
#
|
124
163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
125
164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
126
165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
127
|
-
def
|
128
|
-
command = make_simple_command(:
|
129
|
-
command.
|
130
|
-
command.
|
166
|
+
def create_project_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
167
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
168
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
169
|
+
command.request_object = history_object
|
170
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
171
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
131
172
|
command.params['projectId'] = project_id unless project_id.nil?
|
132
|
-
command.
|
133
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
173
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
134
174
|
command.query['fields'] = fields unless fields.nil?
|
135
175
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
136
176
|
execute_or_queue_command(command, &block)
|
137
177
|
end
|
138
178
|
|
139
|
-
# Gets
|
179
|
+
# Gets a History.
|
140
180
|
# May return any of the following canonical error codes:
|
141
181
|
# - PERMISSION_DENIED - if the user is not authorized to read project
|
142
182
|
# - INVALID_ARGUMENT - if the request is malformed
|
143
|
-
# - NOT_FOUND - if the
|
183
|
+
# - NOT_FOUND - if the History does not exist
|
144
184
|
# @param [String] project_id
|
145
|
-
#
|
185
|
+
# A Project id.
|
186
|
+
# Required.
|
146
187
|
# @param [String] history_id
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# Required. An Execution id.
|
150
|
-
# @param [String] environment_id
|
151
|
-
# Required. An Environment id.
|
188
|
+
# A History id.
|
189
|
+
# Required.
|
152
190
|
# @param [String] fields
|
153
191
|
# Selector specifying which fields to include in a partial response.
|
154
192
|
# @param [String] quota_user
|
@@ -158,45 +196,47 @@ module Google
|
|
158
196
|
# Request-specific options
|
159
197
|
#
|
160
198
|
# @yield [result, err] Result & error if block supplied
|
161
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
199
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
|
162
200
|
# @yieldparam err [StandardError] error object if request failed
|
163
201
|
#
|
164
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
202
|
+
# @return [Google::Apis::ToolresultsV1beta3::History]
|
165
203
|
#
|
166
204
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
167
205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
168
206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
169
|
-
def
|
170
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}
|
171
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
172
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
207
|
+
def get_project_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block)
|
208
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options)
|
209
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
210
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
173
211
|
command.params['projectId'] = project_id unless project_id.nil?
|
174
212
|
command.params['historyId'] = history_id unless history_id.nil?
|
175
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
176
|
-
command.params['environmentId'] = environment_id unless environment_id.nil?
|
177
213
|
command.query['fields'] = fields unless fields.nil?
|
178
214
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
179
215
|
execute_or_queue_command(command, &block)
|
180
216
|
end
|
181
217
|
|
182
|
-
# Lists
|
183
|
-
# The
|
218
|
+
# Lists Histories for a given Project.
|
219
|
+
# The histories are sorted by modification time in descending order. The
|
220
|
+
# history_id key will be used to order the history with the same
|
221
|
+
# modification time.
|
184
222
|
# May return any of the following canonical error codes:
|
185
223
|
# - PERMISSION_DENIED - if the user is not authorized to read project
|
186
224
|
# - INVALID_ARGUMENT - if the request is malformed
|
187
|
-
# - NOT_FOUND - if the
|
225
|
+
# - NOT_FOUND - if the History does not exist
|
188
226
|
# @param [String] project_id
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
227
|
+
# A Project id.
|
228
|
+
# Required.
|
229
|
+
# @param [String] filter_by_name
|
230
|
+
# If set, only return histories with the given name.
|
231
|
+
# Optional.
|
194
232
|
# @param [Fixnum] page_size
|
195
|
-
# The maximum number of
|
196
|
-
# Default value:
|
197
|
-
# or has a value of 0.
|
233
|
+
# The maximum number of Histories to fetch.
|
234
|
+
# Default value: 20. The server will use this default if the field is not set
|
235
|
+
# or has a value of 0. Any value greater than 100 will be treated as 100.
|
236
|
+
# Optional.
|
198
237
|
# @param [String] page_token
|
199
238
|
# A continuation token to resume the query at the next item.
|
239
|
+
# Optional.
|
200
240
|
# @param [String] fields
|
201
241
|
# Selector specifying which fields to include in a partial response.
|
202
242
|
# @param [String] quota_user
|
@@ -206,21 +246,20 @@ module Google
|
|
206
246
|
# Request-specific options
|
207
247
|
#
|
208
248
|
# @yield [result, err] Result & error if block supplied
|
209
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
249
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] parsed result object
|
210
250
|
# @yieldparam err [StandardError] error object if request failed
|
211
251
|
#
|
212
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
252
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse]
|
213
253
|
#
|
214
254
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
215
255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
216
256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
217
|
-
def
|
218
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories
|
219
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
220
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
257
|
+
def list_project_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
258
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
259
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
|
260
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
|
221
261
|
command.params['projectId'] = project_id unless project_id.nil?
|
222
|
-
command.
|
223
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
262
|
+
command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
|
224
263
|
command.query['pageSize'] = page_size unless page_size.nil?
|
225
264
|
command.query['pageToken'] = page_token unless page_token.nil?
|
226
265
|
command.query['fields'] = fields unless fields.nil?
|
@@ -262,7 +301,7 @@ module Google
|
|
262
301
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
263
302
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
264
303
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
265
|
-
def
|
304
|
+
def create_project_history_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
266
305
|
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
|
267
306
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
268
307
|
command.request_object = execution_object
|
@@ -307,7 +346,7 @@ module Google
|
|
307
346
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
308
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
309
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
310
|
-
def
|
349
|
+
def get_project_history_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
|
311
350
|
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
312
351
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
313
352
|
command.response_class = Google::Apis::ToolresultsV1beta3::Execution
|
@@ -358,7 +397,7 @@ module Google
|
|
358
397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
359
398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
360
399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
361
|
-
def
|
400
|
+
def list_project_history_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
362
401
|
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
|
363
402
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation
|
364
403
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse
|
@@ -406,7 +445,7 @@ module Google
|
|
406
445
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
407
446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
408
447
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
409
|
-
def
|
448
|
+
def patch_project_history_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
410
449
|
command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
411
450
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
412
451
|
command.request_object = execution_object
|
@@ -421,20 +460,19 @@ module Google
|
|
421
460
|
execute_or_queue_command(command, &block)
|
422
461
|
end
|
423
462
|
|
424
|
-
#
|
425
|
-
# The returned History will have the id set.
|
426
|
-
# May return any of the following canonical error codes:
|
427
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
428
|
-
# - INVALID_ARGUMENT - if the request is malformed
|
429
|
-
# - NOT_FOUND - if the containing project does not exist
|
463
|
+
# Retrieves a single screenshot cluster by its ID
|
430
464
|
# @param [String] project_id
|
431
465
|
# A Project id.
|
432
466
|
# Required.
|
433
|
-
# @param [
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
467
|
+
# @param [String] history_id
|
468
|
+
# A History id.
|
469
|
+
# Required.
|
470
|
+
# @param [String] execution_id
|
471
|
+
# An Execution id.
|
472
|
+
# Required.
|
473
|
+
# @param [String] cluster_id
|
474
|
+
# A Cluster id
|
475
|
+
# Required.
|
438
476
|
# @param [String] fields
|
439
477
|
# Selector specifying which fields to include in a partial response.
|
440
478
|
# @param [String] quota_user
|
@@ -444,38 +482,44 @@ module Google
|
|
444
482
|
# Request-specific options
|
445
483
|
#
|
446
484
|
# @yield [result, err] Result & error if block supplied
|
447
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
485
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] parsed result object
|
448
486
|
# @yieldparam err [StandardError] error object if request failed
|
449
487
|
#
|
450
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
488
|
+
# @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster]
|
451
489
|
#
|
452
490
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
453
491
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
454
492
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
455
|
-
def
|
456
|
-
command = make_simple_command(:
|
457
|
-
command.
|
458
|
-
command.
|
459
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
460
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
493
|
+
def get_project_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
|
494
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
|
495
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation
|
496
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster
|
461
497
|
command.params['projectId'] = project_id unless project_id.nil?
|
462
|
-
command.
|
498
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
499
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
500
|
+
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
463
501
|
command.query['fields'] = fields unless fields.nil?
|
464
502
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
465
503
|
execute_or_queue_command(command, &block)
|
466
504
|
end
|
467
505
|
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
506
|
+
# Lists Screenshot Clusters
|
507
|
+
# Returns the list of screenshot clusters corresponding to an execution.
|
508
|
+
# Screenshot clusters are created after the execution is finished.
|
509
|
+
# Clusters are created from a set of screenshots. Between any two
|
510
|
+
# screenshots, a matching score is calculated based off their metadata
|
511
|
+
# that determines how similar they are. Screenshots are placed
|
512
|
+
# in the cluster that has screens which have the highest matching
|
513
|
+
# scores.
|
473
514
|
# @param [String] project_id
|
474
515
|
# A Project id.
|
475
516
|
# Required.
|
476
517
|
# @param [String] history_id
|
477
518
|
# A History id.
|
478
519
|
# Required.
|
520
|
+
# @param [String] execution_id
|
521
|
+
# An Execution id.
|
522
|
+
# Required.
|
479
523
|
# @param [String] fields
|
480
524
|
# Selector specifying which fields to include in a partial response.
|
481
525
|
# @param [String] quota_user
|
@@ -485,90 +529,39 @@ module Google
|
|
485
529
|
# Request-specific options
|
486
530
|
#
|
487
531
|
# @yield [result, err] Result & error if block supplied
|
488
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
532
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object
|
489
533
|
# @yieldparam err [StandardError] error object if request failed
|
490
534
|
#
|
491
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
535
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse]
|
492
536
|
#
|
493
537
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
494
538
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
495
539
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
496
|
-
def
|
497
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options)
|
498
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
499
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
540
|
+
def list_project_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
|
541
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
|
542
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation
|
543
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse
|
500
544
|
command.params['projectId'] = project_id unless project_id.nil?
|
501
545
|
command.params['historyId'] = history_id unless history_id.nil?
|
546
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
502
547
|
command.query['fields'] = fields unless fields.nil?
|
503
548
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
504
549
|
execute_or_queue_command(command, &block)
|
505
550
|
end
|
506
551
|
|
507
|
-
#
|
508
|
-
# The histories are sorted by modification time in descending order. The
|
509
|
-
# history_id key will be used to order the history with the same
|
510
|
-
# modification time.
|
552
|
+
# Gets an Environment.
|
511
553
|
# May return any of the following canonical error codes:
|
512
554
|
# - PERMISSION_DENIED - if the user is not authorized to read project
|
513
555
|
# - INVALID_ARGUMENT - if the request is malformed
|
514
|
-
# - NOT_FOUND - if the
|
556
|
+
# - NOT_FOUND - if the Environment does not exist
|
515
557
|
# @param [String] project_id
|
516
|
-
# A Project id.
|
517
|
-
# Required.
|
518
|
-
# @param [String] filter_by_name
|
519
|
-
# If set, only return histories with the given name.
|
520
|
-
# Optional.
|
521
|
-
# @param [Fixnum] page_size
|
522
|
-
# The maximum number of Histories to fetch.
|
523
|
-
# Default value: 20. The server will use this default if the field is not set
|
524
|
-
# or has a value of 0. Any value greater than 100 will be treated as 100.
|
525
|
-
# Optional.
|
526
|
-
# @param [String] page_token
|
527
|
-
# A continuation token to resume the query at the next item.
|
528
|
-
# Optional.
|
529
|
-
# @param [String] fields
|
530
|
-
# Selector specifying which fields to include in a partial response.
|
531
|
-
# @param [String] quota_user
|
532
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
533
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
534
|
-
# @param [Google::Apis::RequestOptions] options
|
535
|
-
# Request-specific options
|
536
|
-
#
|
537
|
-
# @yield [result, err] Result & error if block supplied
|
538
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] parsed result object
|
539
|
-
# @yieldparam err [StandardError] error object if request failed
|
540
|
-
#
|
541
|
-
# @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse]
|
542
|
-
#
|
543
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
544
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
545
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
546
|
-
def list_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
547
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
548
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
|
549
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
|
550
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
551
|
-
command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
|
552
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
553
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
554
|
-
command.query['fields'] = fields unless fields.nil?
|
555
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
556
|
-
execute_or_queue_command(command, &block)
|
557
|
-
end
|
558
|
-
|
559
|
-
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
|
560
|
-
# already been created.
|
561
|
-
# May return any of the following error code(s):
|
562
|
-
# - NOT_FOUND - The containing Step does not exist
|
563
|
-
# @param [String] project_id
|
564
|
-
# The cloud project
|
558
|
+
# Required. A Project id.
|
565
559
|
# @param [String] history_id
|
566
|
-
# A
|
560
|
+
# Required. A History id.
|
567
561
|
# @param [String] execution_id
|
568
|
-
#
|
569
|
-
# @param [String]
|
570
|
-
#
|
571
|
-
# @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
|
562
|
+
# Required. An Execution id.
|
563
|
+
# @param [String] environment_id
|
564
|
+
# Required. An Environment id.
|
572
565
|
# @param [String] fields
|
573
566
|
# Selector specifying which fields to include in a partial response.
|
574
567
|
# @param [String] quota_user
|
@@ -578,42 +571,45 @@ module Google
|
|
578
571
|
# Request-specific options
|
579
572
|
#
|
580
573
|
# @yield [result, err] Result & error if block supplied
|
581
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
574
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Environment] parsed result object
|
582
575
|
# @yieldparam err [StandardError] error object if request failed
|
583
576
|
#
|
584
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
577
|
+
# @return [Google::Apis::ToolresultsV1beta3::Environment]
|
585
578
|
#
|
586
579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
587
580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
588
581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
589
|
-
def
|
590
|
-
command = make_simple_command(:
|
591
|
-
command.
|
592
|
-
command.
|
593
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
594
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
582
|
+
def get_project_history_execution_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
|
583
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
|
584
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
|
585
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Environment
|
595
586
|
command.params['projectId'] = project_id unless project_id.nil?
|
596
587
|
command.params['historyId'] = history_id unless history_id.nil?
|
597
588
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
598
|
-
command.params['
|
589
|
+
command.params['environmentId'] = environment_id unless environment_id.nil?
|
599
590
|
command.query['fields'] = fields unless fields.nil?
|
600
591
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
601
592
|
execute_or_queue_command(command, &block)
|
602
593
|
end
|
603
594
|
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
# -
|
595
|
+
# Lists Environments for a given Execution.
|
596
|
+
# The Environments are sorted by display name.
|
597
|
+
# May return any of the following canonical error codes:
|
598
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
599
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
600
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
608
601
|
# @param [String] project_id
|
609
|
-
#
|
602
|
+
# Required. A Project id.
|
610
603
|
# @param [String] history_id
|
611
|
-
# A
|
604
|
+
# Required. A History id.
|
612
605
|
# @param [String] execution_id
|
613
|
-
#
|
614
|
-
# @param [
|
615
|
-
#
|
616
|
-
#
|
606
|
+
# Required. An Execution id.
|
607
|
+
# @param [Fixnum] page_size
|
608
|
+
# The maximum number of Environments to fetch.
|
609
|
+
# Default value: 25. The server will use this default if the field is not set
|
610
|
+
# or has a value of 0.
|
611
|
+
# @param [String] page_token
|
612
|
+
# A continuation token to resume the query at the next item.
|
617
613
|
# @param [String] fields
|
618
614
|
# Selector specifying which fields to include in a partial response.
|
619
615
|
# @param [String] quota_user
|
@@ -623,42 +619,47 @@ module Google
|
|
623
619
|
# Request-specific options
|
624
620
|
#
|
625
621
|
# @yield [result, err] Result & error if block supplied
|
626
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
622
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object
|
627
623
|
# @yieldparam err [StandardError] error object if request failed
|
628
624
|
#
|
629
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
625
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse]
|
630
626
|
#
|
631
627
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
632
628
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
629
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
|
-
def
|
635
|
-
command = make_simple_command(:
|
636
|
-
command.
|
637
|
-
command.
|
638
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
639
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
630
|
+
def list_project_history_execution_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
|
632
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
|
633
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
|
640
634
|
command.params['projectId'] = project_id unless project_id.nil?
|
641
635
|
command.params['historyId'] = history_id unless history_id.nil?
|
642
636
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
643
|
-
command.
|
637
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
638
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
644
639
|
command.query['fields'] = fields unless fields.nil?
|
645
640
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
646
641
|
execute_or_queue_command(command, &block)
|
647
642
|
end
|
648
643
|
|
649
|
-
#
|
650
|
-
# May return any of the following error
|
651
|
-
# -
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
# @param [String]
|
657
|
-
# A
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
644
|
+
# Lists accessibility clusters for a given Step
|
645
|
+
# May return any of the following canonical error codes:
|
646
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
647
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
648
|
+
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
649
|
+
# invalid; e.g. if the locale format is incorrect
|
650
|
+
# - NOT_FOUND - if the containing Step does not exist
|
651
|
+
# @param [String] name
|
652
|
+
# A full resource name of the step.
|
653
|
+
# For example, projects/my-project/histories/bh.1234567890abcdef/executions/
|
654
|
+
# 1234567890123456789/steps/bs.1234567890abcdef
|
655
|
+
# Required.
|
656
|
+
# @param [String] locale
|
657
|
+
# The accepted format is the canonical Unicode format with hyphen as a
|
658
|
+
# delimiter. Language must be lowercase, Language Script - Capitalized,
|
659
|
+
# Region - UPPERCASE.
|
660
|
+
# See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for
|
661
|
+
# details.
|
662
|
+
# Required.
|
662
663
|
# @param [String] fields
|
663
664
|
# Selector specifying which fields to include in a partial response.
|
664
665
|
# @param [String] quota_user
|
@@ -668,44 +669,43 @@ module Google
|
|
668
669
|
# Request-specific options
|
669
670
|
#
|
670
671
|
# @yield [result, err] Result & error if block supplied
|
671
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
672
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object
|
672
673
|
# @yieldparam err [StandardError] error object if request failed
|
673
674
|
#
|
674
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
675
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse]
|
675
676
|
#
|
676
677
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
-
def
|
680
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/
|
681
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
682
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
683
|
-
command.params['
|
684
|
-
command.
|
685
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
686
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
687
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
680
|
+
def accessibility_project_history_execution_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
|
681
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options)
|
682
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation
|
683
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse
|
684
|
+
command.params['name'] = name unless name.nil?
|
685
|
+
command.query['locale'] = locale unless locale.nil?
|
688
686
|
command.query['fields'] = fields unless fields.nil?
|
689
687
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
690
688
|
execute_or_queue_command(command, &block)
|
691
689
|
end
|
692
690
|
|
693
|
-
#
|
694
|
-
# The
|
695
|
-
# PerfMetricsType to include in the result; if none returns all.
|
696
|
-
# The resulting PerfSampleSeries are sorted by ids.
|
691
|
+
# Creates a Step.
|
692
|
+
# The returned Step will have the id set.
|
697
693
|
# May return any of the following canonical error codes:
|
698
|
-
# -
|
694
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
695
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
696
|
+
# - FAILED_PRECONDITION - if the step is too large (more than 10Mib)
|
697
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
699
698
|
# @param [String] project_id
|
700
|
-
#
|
699
|
+
# Required. A Project id.
|
701
700
|
# @param [String] history_id
|
702
|
-
# A
|
701
|
+
# Required. A History id.
|
703
702
|
# @param [String] execution_id
|
704
|
-
#
|
705
|
-
# @param [
|
706
|
-
#
|
707
|
-
#
|
708
|
-
#
|
703
|
+
# Required. An Execution id.
|
704
|
+
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
705
|
+
# @param [String] request_id
|
706
|
+
# A unique request ID for server to detect duplicated requests.
|
707
|
+
# For example, a UUID.
|
708
|
+
# Optional, but strongly recommended.
|
709
709
|
# @param [String] fields
|
710
710
|
# Selector specifying which fields to include in a partial response.
|
711
711
|
# @param [String] quota_user
|
@@ -715,34 +715,46 @@ module Google
|
|
715
715
|
# Request-specific options
|
716
716
|
#
|
717
717
|
# @yield [result, err] Result & error if block supplied
|
718
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
718
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
719
719
|
# @yieldparam err [StandardError] error object if request failed
|
720
720
|
#
|
721
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
721
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
722
722
|
#
|
723
723
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
724
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
725
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
726
|
-
def
|
727
|
-
command = make_simple_command(:
|
728
|
-
command.
|
729
|
-
command.
|
726
|
+
def create_project_history_execution_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
727
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
728
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
729
|
+
command.request_object = step_object
|
730
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
731
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
730
732
|
command.params['projectId'] = project_id unless project_id.nil?
|
731
733
|
command.params['historyId'] = history_id unless history_id.nil?
|
732
734
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
733
|
-
command.
|
734
|
-
command.query['filter'] = filter unless filter.nil?
|
735
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
735
736
|
command.query['fields'] = fields unless fields.nil?
|
736
737
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
737
738
|
execute_or_queue_command(command, &block)
|
738
739
|
end
|
739
740
|
|
740
|
-
# Gets
|
741
|
+
# Gets a Step.
|
741
742
|
# May return any of the following canonical error codes:
|
742
|
-
# - PERMISSION_DENIED - if the user is not authorized to read
|
743
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
744
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
745
|
+
# - NOT_FOUND - if the Step does not exist
|
743
746
|
# @param [String] project_id
|
744
747
|
# A Project id.
|
745
748
|
# Required.
|
749
|
+
# @param [String] history_id
|
750
|
+
# A History id.
|
751
|
+
# Required.
|
752
|
+
# @param [String] execution_id
|
753
|
+
# A Execution id.
|
754
|
+
# Required.
|
755
|
+
# @param [String] step_id
|
756
|
+
# A Step id.
|
757
|
+
# Required.
|
746
758
|
# @param [String] fields
|
747
759
|
# Selector specifying which fields to include in a partial response.
|
748
760
|
# @param [String] quota_user
|
@@ -752,49 +764,38 @@ module Google
|
|
752
764
|
# Request-specific options
|
753
765
|
#
|
754
766
|
# @yield [result, err] Result & error if block supplied
|
755
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
767
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
756
768
|
# @yieldparam err [StandardError] error object if request failed
|
757
769
|
#
|
758
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
770
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
759
771
|
#
|
760
772
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
761
773
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
762
774
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
763
|
-
def
|
764
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/
|
765
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
766
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
775
|
+
def get_project_history_execution_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
|
776
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
777
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
778
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
767
779
|
command.params['projectId'] = project_id unless project_id.nil?
|
780
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
781
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
782
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
768
783
|
command.query['fields'] = fields unless fields.nil?
|
769
784
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
770
785
|
execute_or_queue_command(command, &block)
|
771
786
|
end
|
772
787
|
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
776
|
-
# in an FTL-own storage project. Except for in rare cases, calling this
|
777
|
-
# method in parallel from multiple clients will only create a single bucket.
|
778
|
-
# In order to avoid unnecessary storage charges, the bucket is configured to
|
779
|
-
# automatically delete objects older than 90 days.
|
780
|
-
# The bucket is created with the following permissions:
|
781
|
-
# - Owner access for owners of central storage project (FTL-owned)
|
782
|
-
# - Writer access for owners/editors of customer project
|
783
|
-
# - Reader access for viewers of customer project
|
784
|
-
# The default ACL on objects created in the bucket is:
|
785
|
-
# - Owner access for owners of central storage project
|
786
|
-
# - Reader access for owners/editors/viewers of customer project
|
787
|
-
# See Google Cloud Storage documentation for more details.
|
788
|
-
# If there is already a default bucket set and the project can access the
|
789
|
-
# bucket, this call does nothing. However, if the project doesn't have the
|
790
|
-
# permission to access the bucket or the bucket is deleted, a new bucket
|
791
|
-
# will be created.
|
792
|
-
# May return any canonical error codes, including the following:
|
793
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
794
|
-
# - Any error code raised by Google Cloud Storage
|
788
|
+
# Retrieves a PerfMetricsSummary.
|
789
|
+
# May return any of the following error code(s):
|
790
|
+
# - NOT_FOUND - The specified PerfMetricsSummary does not exist
|
795
791
|
# @param [String] project_id
|
796
|
-
#
|
797
|
-
#
|
792
|
+
# The cloud project
|
793
|
+
# @param [String] history_id
|
794
|
+
# A tool results history ID.
|
795
|
+
# @param [String] execution_id
|
796
|
+
# A tool results execution ID.
|
797
|
+
# @param [String] step_id
|
798
|
+
# A tool results step ID.
|
798
799
|
# @param [String] fields
|
799
800
|
# Selector specifying which fields to include in a partial response.
|
800
801
|
# @param [String] quota_user
|
@@ -804,44 +805,55 @@ module Google
|
|
804
805
|
# Request-specific options
|
805
806
|
#
|
806
807
|
# @yield [result, err] Result & error if block supplied
|
807
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
808
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
|
808
809
|
# @yieldparam err [StandardError] error object if request failed
|
809
810
|
#
|
810
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
811
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
|
811
812
|
#
|
812
813
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
813
814
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
814
815
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
815
|
-
def
|
816
|
-
command = make_simple_command(:
|
817
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
818
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
816
|
+
def get_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
|
817
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
818
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
819
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
819
820
|
command.params['projectId'] = project_id unless project_id.nil?
|
821
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
822
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
823
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
820
824
|
command.query['fields'] = fields unless fields.nil?
|
821
825
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
822
826
|
execute_or_queue_command(command, &block)
|
823
827
|
end
|
824
828
|
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
828
|
-
#
|
829
|
-
# - the batch operation may partially succeed
|
830
|
-
# - the set of elements successfully inserted is returned in the response
|
831
|
-
# (omits items which already existed in the database).
|
829
|
+
# Lists Steps for a given Execution.
|
830
|
+
# The steps are sorted by creation_time in descending order. The
|
831
|
+
# step_id key will be used to order the steps with the same
|
832
|
+
# creation_time.
|
832
833
|
# May return any of the following canonical error codes:
|
833
|
-
# -
|
834
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
835
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
836
|
+
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
837
|
+
# invalid; e.g. if an attempt is made to list the
|
838
|
+
# children of a nonexistent Step
|
839
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
834
840
|
# @param [String] project_id
|
835
|
-
#
|
841
|
+
# A Project id.
|
842
|
+
# Required.
|
836
843
|
# @param [String] history_id
|
837
|
-
# A
|
844
|
+
# A History id.
|
845
|
+
# Required.
|
838
846
|
# @param [String] execution_id
|
839
|
-
# A
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
844
|
-
#
|
847
|
+
# A Execution id.
|
848
|
+
# Required.
|
849
|
+
# @param [Fixnum] page_size
|
850
|
+
# The maximum number of Steps to fetch.
|
851
|
+
# Default value: 25. The server will use this default if the field is not set
|
852
|
+
# or has a value of 0.
|
853
|
+
# Optional.
|
854
|
+
# @param [String] page_token
|
855
|
+
# A continuation token to resume the query at the next item.
|
856
|
+
# Optional.
|
845
857
|
# @param [String] fields
|
846
858
|
# Selector specifying which fields to include in a partial response.
|
847
859
|
# @param [String] quota_user
|
@@ -851,55 +863,53 @@ module Google
|
|
851
863
|
# Request-specific options
|
852
864
|
#
|
853
865
|
# @yield [result, err] Result & error if block supplied
|
854
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
866
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepsResponse] parsed result object
|
855
867
|
# @yieldparam err [StandardError] error object if request failed
|
856
868
|
#
|
857
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
869
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListStepsResponse]
|
858
870
|
#
|
859
871
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
860
872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
861
873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
862
|
-
def
|
863
|
-
command = make_simple_command(:
|
864
|
-
command.
|
865
|
-
command.
|
866
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
867
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
|
874
|
+
def list_project_history_execution_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
875
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
876
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation
|
877
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse
|
868
878
|
command.params['projectId'] = project_id unless project_id.nil?
|
869
879
|
command.params['historyId'] = history_id unless history_id.nil?
|
870
880
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
871
|
-
command.
|
872
|
-
command.
|
881
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
882
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
873
883
|
command.query['fields'] = fields unless fields.nil?
|
874
884
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
875
885
|
execute_or_queue_command(command, &block)
|
876
886
|
end
|
877
887
|
|
878
|
-
#
|
879
|
-
# - The list results are sorted by timestamps ascending
|
880
|
-
# - The default page size is 500 samples; and maximum size allowed 5000
|
881
|
-
# - The response token indicates the last returned PerfSample timestamp
|
882
|
-
# - When the results size exceeds the page size, submit a subsequent request
|
883
|
-
# including the page token to return the rest of the samples up to the
|
884
|
-
# page limit
|
888
|
+
# Updates an existing Step with the supplied partial entity.
|
885
889
|
# May return any of the following canonical error codes:
|
886
|
-
# -
|
887
|
-
# -
|
890
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project
|
891
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
892
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal
|
893
|
+
# (e.g try to upload a duplicate xml file), if the
|
894
|
+
# updated step is too large (more than 10Mib)
|
895
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
888
896
|
# @param [String] project_id
|
889
|
-
#
|
897
|
+
# A Project id.
|
898
|
+
# Required.
|
890
899
|
# @param [String] history_id
|
891
|
-
# A
|
900
|
+
# A History id.
|
901
|
+
# Required.
|
892
902
|
# @param [String] execution_id
|
893
|
-
# A
|
903
|
+
# A Execution id.
|
904
|
+
# Required.
|
894
905
|
# @param [String] step_id
|
895
|
-
# A
|
896
|
-
#
|
897
|
-
#
|
898
|
-
# @param [
|
899
|
-
#
|
900
|
-
#
|
901
|
-
#
|
902
|
-
# Optional, the next_page_token returned in the previous response
|
906
|
+
# A Step id.
|
907
|
+
# Required.
|
908
|
+
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
909
|
+
# @param [String] request_id
|
910
|
+
# A unique request ID for server to detect duplicated requests.
|
911
|
+
# For example, a UUID.
|
912
|
+
# Optional, but strongly recommended.
|
903
913
|
# @param [String] fields
|
904
914
|
# Selector specifying which fields to include in a partial response.
|
905
915
|
# @param [String] quota_user
|
@@ -909,49 +919,51 @@ module Google
|
|
909
919
|
# Request-specific options
|
910
920
|
#
|
911
921
|
# @yield [result, err] Result & error if block supplied
|
912
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
922
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
913
923
|
# @yieldparam err [StandardError] error object if request failed
|
914
924
|
#
|
915
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
925
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
916
926
|
#
|
917
927
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
918
928
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
919
929
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
920
|
-
def
|
921
|
-
command = make_simple_command(:
|
922
|
-
command.
|
923
|
-
command.
|
930
|
+
def patch_project_history_execution_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
931
|
+
command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
932
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
933
|
+
command.request_object = step_object
|
934
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
935
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
924
936
|
command.params['projectId'] = project_id unless project_id.nil?
|
925
937
|
command.params['historyId'] = history_id unless history_id.nil?
|
926
938
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
927
939
|
command.params['stepId'] = step_id unless step_id.nil?
|
928
|
-
command.
|
929
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
930
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
940
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
931
941
|
command.query['fields'] = fields unless fields.nil?
|
932
942
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
933
943
|
execute_or_queue_command(command, &block)
|
934
944
|
end
|
935
945
|
|
936
|
-
#
|
946
|
+
# Publish xml files to an existing Step.
|
937
947
|
# May return any of the following canonical error codes:
|
938
|
-
# - PERMISSION_DENIED - if the user is not authorized to
|
948
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project
|
939
949
|
# - INVALID_ARGUMENT - if the request is malformed
|
940
|
-
# - FAILED_PRECONDITION - if
|
941
|
-
#
|
942
|
-
# - NOT_FOUND - if the containing
|
943
|
-
# @param [String]
|
944
|
-
# A
|
945
|
-
# For example, projects/my-project/histories/bh.1234567890abcdef/executions/
|
946
|
-
# 1234567890123456789/steps/bs.1234567890abcdef
|
950
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal,
|
951
|
+
# e.g try to upload a duplicate xml file or a file too large.
|
952
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
953
|
+
# @param [String] project_id
|
954
|
+
# A Project id.
|
947
955
|
# Required.
|
948
|
-
# @param [String]
|
949
|
-
#
|
950
|
-
#
|
951
|
-
#
|
952
|
-
#
|
953
|
-
#
|
956
|
+
# @param [String] history_id
|
957
|
+
# A History id.
|
958
|
+
# Required.
|
959
|
+
# @param [String] execution_id
|
960
|
+
# A Execution id.
|
961
|
+
# Required.
|
962
|
+
# @param [String] step_id
|
963
|
+
# A Step id.
|
964
|
+
# Note: This step must include a TestExecutionStep.
|
954
965
|
# Required.
|
966
|
+
# @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
|
955
967
|
# @param [String] fields
|
956
968
|
# Selector specifying which fields to include in a partial response.
|
957
969
|
# @param [String] quota_user
|
@@ -961,43 +973,42 @@ module Google
|
|
961
973
|
# Request-specific options
|
962
974
|
#
|
963
975
|
# @yield [result, err] Result & error if block supplied
|
964
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
976
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
|
965
977
|
# @yieldparam err [StandardError] error object if request failed
|
966
978
|
#
|
967
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
979
|
+
# @return [Google::Apis::ToolresultsV1beta3::Step]
|
968
980
|
#
|
969
981
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
970
982
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
971
983
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
972
|
-
def
|
973
|
-
command = make_simple_command(:
|
974
|
-
command.
|
975
|
-
command.
|
976
|
-
command.
|
977
|
-
command.
|
984
|
+
def publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
985
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
986
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation
|
987
|
+
command.request_object = publish_xunit_xml_files_request_object
|
988
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
989
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
990
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
991
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
992
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
993
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
978
994
|
command.query['fields'] = fields unless fields.nil?
|
979
995
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
980
996
|
execute_or_queue_command(command, &block)
|
981
997
|
end
|
982
998
|
|
983
|
-
# Creates a
|
984
|
-
#
|
985
|
-
# May return any of the following
|
986
|
-
# -
|
987
|
-
# - INVALID_ARGUMENT - if the request is malformed
|
988
|
-
# - FAILED_PRECONDITION - if the step is too large (more than 10Mib)
|
989
|
-
# - NOT_FOUND - if the containing Execution does not exist
|
999
|
+
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
|
1000
|
+
# already been created.
|
1001
|
+
# May return any of the following error code(s):
|
1002
|
+
# - NOT_FOUND - The containing Step does not exist
|
990
1003
|
# @param [String] project_id
|
991
|
-
#
|
1004
|
+
# The cloud project
|
992
1005
|
# @param [String] history_id
|
993
|
-
#
|
1006
|
+
# A tool results history ID.
|
994
1007
|
# @param [String] execution_id
|
995
|
-
#
|
996
|
-
# @param [
|
997
|
-
#
|
998
|
-
#
|
999
|
-
# For example, a UUID.
|
1000
|
-
# Optional, but strongly recommended.
|
1008
|
+
# A tool results execution ID.
|
1009
|
+
# @param [String] step_id
|
1010
|
+
# A tool results step ID.
|
1011
|
+
# @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
|
1001
1012
|
# @param [String] fields
|
1002
1013
|
# Selector specifying which fields to include in a partial response.
|
1003
1014
|
# @param [String] quota_user
|
@@ -1007,46 +1018,42 @@ module Google
|
|
1007
1018
|
# Request-specific options
|
1008
1019
|
#
|
1009
1020
|
# @yield [result, err] Result & error if block supplied
|
1010
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
1021
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
|
1011
1022
|
# @yieldparam err [StandardError] error object if request failed
|
1012
1023
|
#
|
1013
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
1024
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
|
1014
1025
|
#
|
1015
1026
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1016
1027
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1017
1028
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1018
|
-
def
|
1019
|
-
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
1020
|
-
command.request_representation = Google::Apis::ToolresultsV1beta3::
|
1021
|
-
command.request_object =
|
1022
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
1023
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
1029
|
+
def create_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1030
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
1031
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
1032
|
+
command.request_object = perf_metrics_summary_object
|
1033
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
1034
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
1024
1035
|
command.params['projectId'] = project_id unless project_id.nil?
|
1025
1036
|
command.params['historyId'] = history_id unless history_id.nil?
|
1026
1037
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
1027
|
-
command.
|
1038
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
1028
1039
|
command.query['fields'] = fields unless fields.nil?
|
1029
1040
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1030
1041
|
execute_or_queue_command(command, &block)
|
1031
1042
|
end
|
1032
1043
|
|
1033
|
-
#
|
1034
|
-
# May return any of the following
|
1035
|
-
# -
|
1036
|
-
# -
|
1037
|
-
# - NOT_FOUND - if the Step does not exist
|
1044
|
+
# Creates a PerfSampleSeries.
|
1045
|
+
# May return any of the following error code(s):
|
1046
|
+
# - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step
|
1047
|
+
# - NOT_FOUND - The containing Step does not exist
|
1038
1048
|
# @param [String] project_id
|
1039
|
-
#
|
1040
|
-
# Required.
|
1049
|
+
# The cloud project
|
1041
1050
|
# @param [String] history_id
|
1042
|
-
# A
|
1043
|
-
# Required.
|
1051
|
+
# A tool results history ID.
|
1044
1052
|
# @param [String] execution_id
|
1045
|
-
# A
|
1046
|
-
# Required.
|
1053
|
+
# A tool results execution ID.
|
1047
1054
|
# @param [String] step_id
|
1048
|
-
# A
|
1049
|
-
#
|
1055
|
+
# A tool results step ID.
|
1056
|
+
# @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_object
|
1050
1057
|
# @param [String] fields
|
1051
1058
|
# Selector specifying which fields to include in a partial response.
|
1052
1059
|
# @param [String] quota_user
|
@@ -1056,18 +1063,20 @@ module Google
|
|
1056
1063
|
# Request-specific options
|
1057
1064
|
#
|
1058
1065
|
# @yield [result, err] Result & error if block supplied
|
1059
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
1066
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
1060
1067
|
# @yieldparam err [StandardError] error object if request failed
|
1061
1068
|
#
|
1062
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
1069
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
1063
1070
|
#
|
1064
1071
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1065
1072
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1066
1073
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1067
|
-
def
|
1068
|
-
command = make_simple_command(:
|
1069
|
-
command.
|
1070
|
-
command.
|
1074
|
+
def create_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1075
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
1076
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
1077
|
+
command.request_object = perf_sample_series_object
|
1078
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
1079
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
1071
1080
|
command.params['projectId'] = project_id unless project_id.nil?
|
1072
1081
|
command.params['historyId'] = history_id unless history_id.nil?
|
1073
1082
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
@@ -1077,9 +1086,9 @@ module Google
|
|
1077
1086
|
execute_or_queue_command(command, &block)
|
1078
1087
|
end
|
1079
1088
|
|
1080
|
-
#
|
1089
|
+
# Gets a PerfSampleSeries.
|
1081
1090
|
# May return any of the following error code(s):
|
1082
|
-
# - NOT_FOUND - The specified
|
1091
|
+
# - NOT_FOUND - The specified PerfSampleSeries does not exist
|
1083
1092
|
# @param [String] project_id
|
1084
1093
|
# The cloud project
|
1085
1094
|
# @param [String] history_id
|
@@ -1088,6 +1097,8 @@ module Google
|
|
1088
1097
|
# A tool results execution ID.
|
1089
1098
|
# @param [String] step_id
|
1090
1099
|
# A tool results step ID.
|
1100
|
+
# @param [String] sample_series_id
|
1101
|
+
# A sample series id
|
1091
1102
|
# @param [String] fields
|
1092
1103
|
# Selector specifying which fields to include in a partial response.
|
1093
1104
|
# @param [String] quota_user
|
@@ -1097,55 +1108,44 @@ module Google
|
|
1097
1108
|
# Request-specific options
|
1098
1109
|
#
|
1099
1110
|
# @yield [result, err] Result & error if block supplied
|
1100
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
1111
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
1101
1112
|
# @yieldparam err [StandardError] error object if request failed
|
1102
1113
|
#
|
1103
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
1114
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
1104
1115
|
#
|
1105
1116
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1106
1117
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1107
1118
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1108
|
-
def
|
1109
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/
|
1110
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
1111
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
1119
|
+
def get_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block)
|
1120
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
1121
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
1122
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
1112
1123
|
command.params['projectId'] = project_id unless project_id.nil?
|
1113
1124
|
command.params['historyId'] = history_id unless history_id.nil?
|
1114
1125
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
1115
1126
|
command.params['stepId'] = step_id unless step_id.nil?
|
1127
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
1116
1128
|
command.query['fields'] = fields unless fields.nil?
|
1117
1129
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1118
1130
|
execute_or_queue_command(command, &block)
|
1119
1131
|
end
|
1120
1132
|
|
1121
|
-
# Lists
|
1122
|
-
# The
|
1123
|
-
#
|
1124
|
-
#
|
1133
|
+
# Lists PerfSampleSeries for a given Step.
|
1134
|
+
# The request provides an optional filter which specifies one or more
|
1135
|
+
# PerfMetricsType to include in the result; if none returns all.
|
1136
|
+
# The resulting PerfSampleSeries are sorted by ids.
|
1125
1137
|
# May return any of the following canonical error codes:
|
1126
|
-
# -
|
1127
|
-
# - INVALID_ARGUMENT - if the request is malformed
|
1128
|
-
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
1129
|
-
# invalid; e.g. if an attempt is made to list the
|
1130
|
-
# children of a nonexistent Step
|
1131
|
-
# - NOT_FOUND - if the containing Execution does not exist
|
1138
|
+
# - NOT_FOUND - The containing Step does not exist
|
1132
1139
|
# @param [String] project_id
|
1133
|
-
#
|
1134
|
-
# Required.
|
1140
|
+
# The cloud project
|
1135
1141
|
# @param [String] history_id
|
1136
|
-
# A
|
1137
|
-
# Required.
|
1142
|
+
# A tool results history ID.
|
1138
1143
|
# @param [String] execution_id
|
1139
|
-
# A
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
#
|
1143
|
-
#
|
1144
|
-
# or has a value of 0.
|
1145
|
-
# Optional.
|
1146
|
-
# @param [String] page_token
|
1147
|
-
# A continuation token to resume the query at the next item.
|
1148
|
-
# Optional.
|
1144
|
+
# A tool results execution ID.
|
1145
|
+
# @param [String] step_id
|
1146
|
+
# A tool results step ID.
|
1147
|
+
# @param [Array<String>, String] filter
|
1148
|
+
# Specify one or more PerfMetricType values such as CPU to filter the result
|
1149
1149
|
# @param [String] fields
|
1150
1150
|
# Selector specifying which fields to include in a partial response.
|
1151
1151
|
# @param [String] quota_user
|
@@ -1155,53 +1155,48 @@ module Google
|
|
1155
1155
|
# Request-specific options
|
1156
1156
|
#
|
1157
1157
|
# @yield [result, err] Result & error if block supplied
|
1158
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
1158
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object
|
1159
1159
|
# @yieldparam err [StandardError] error object if request failed
|
1160
1160
|
#
|
1161
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
1161
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse]
|
1162
1162
|
#
|
1163
1163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1164
1164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1165
1165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1166
|
-
def
|
1167
|
-
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
1168
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
1169
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
1166
|
+
def list_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1167
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
1168
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
|
1169
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
|
1170
1170
|
command.params['projectId'] = project_id unless project_id.nil?
|
1171
1171
|
command.params['historyId'] = history_id unless history_id.nil?
|
1172
1172
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
1173
|
-
command.
|
1174
|
-
command.query['
|
1173
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
1174
|
+
command.query['filter'] = filter unless filter.nil?
|
1175
1175
|
command.query['fields'] = fields unless fields.nil?
|
1176
1176
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1177
1177
|
execute_or_queue_command(command, &block)
|
1178
1178
|
end
|
1179
1179
|
|
1180
|
-
#
|
1180
|
+
# Creates a batch of PerfSamples
|
1181
|
+
# - a client can submit multiple batches of Perf Samples through repeated
|
1182
|
+
# calls to this method in order to split up a large request payload
|
1183
|
+
# - duplicates and existing timestamp entries will be ignored.
|
1184
|
+
# - the batch operation may partially succeed
|
1185
|
+
# - the set of elements successfully inserted is returned in the response
|
1186
|
+
# (omits items which already existed in the database).
|
1181
1187
|
# May return any of the following canonical error codes:
|
1182
|
-
# -
|
1183
|
-
# - INVALID_ARGUMENT - if the request is malformed
|
1184
|
-
# - FAILED_PRECONDITION - if the requested state transition is illegal
|
1185
|
-
# (e.g try to upload a duplicate xml file), if the
|
1186
|
-
# updated step is too large (more than 10Mib)
|
1187
|
-
# - NOT_FOUND - if the containing Execution does not exist
|
1188
|
+
# - NOT_FOUND - The containing PerfSampleSeries does not exist
|
1188
1189
|
# @param [String] project_id
|
1189
|
-
#
|
1190
|
-
# Required.
|
1190
|
+
# The cloud project
|
1191
1191
|
# @param [String] history_id
|
1192
|
-
# A
|
1193
|
-
# Required.
|
1192
|
+
# A tool results history ID.
|
1194
1193
|
# @param [String] execution_id
|
1195
|
-
# A
|
1196
|
-
# Required.
|
1194
|
+
# A tool results execution ID.
|
1197
1195
|
# @param [String] step_id
|
1198
|
-
# A
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
# @param [
|
1202
|
-
# A unique request ID for server to detect duplicated requests.
|
1203
|
-
# For example, a UUID.
|
1204
|
-
# Optional, but strongly recommended.
|
1196
|
+
# A tool results step ID.
|
1197
|
+
# @param [String] sample_series_id
|
1198
|
+
# A sample series id
|
1199
|
+
# @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
|
1205
1200
|
# @param [String] fields
|
1206
1201
|
# Selector specifying which fields to include in a partial response.
|
1207
1202
|
# @param [String] quota_user
|
@@ -1211,51 +1206,55 @@ module Google
|
|
1211
1206
|
# Request-specific options
|
1212
1207
|
#
|
1213
1208
|
# @yield [result, err] Result & error if block supplied
|
1214
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
1209
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse] parsed result object
|
1215
1210
|
# @yieldparam err [StandardError] error object if request failed
|
1216
1211
|
#
|
1217
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
1212
|
+
# @return [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse]
|
1218
1213
|
#
|
1219
1214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1220
1215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1221
1216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1222
|
-
def
|
1223
|
-
command = make_simple_command(:
|
1224
|
-
command.request_representation = Google::Apis::ToolresultsV1beta3::
|
1225
|
-
command.request_object =
|
1226
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
1227
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
1217
|
+
def batch_create_perf_samples(project_id, history_id, execution_id, step_id, sample_series_id, batch_create_perf_samples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1218
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
1219
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
|
1220
|
+
command.request_object = batch_create_perf_samples_request_object
|
1221
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
1222
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
|
1228
1223
|
command.params['projectId'] = project_id unless project_id.nil?
|
1229
1224
|
command.params['historyId'] = history_id unless history_id.nil?
|
1230
1225
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
1231
1226
|
command.params['stepId'] = step_id unless step_id.nil?
|
1232
|
-
command.
|
1227
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
1233
1228
|
command.query['fields'] = fields unless fields.nil?
|
1234
1229
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1235
1230
|
execute_or_queue_command(command, &block)
|
1236
1231
|
end
|
1237
1232
|
|
1238
|
-
#
|
1233
|
+
# Lists the Performance Samples of a given Sample Series
|
1234
|
+
# - The list results are sorted by timestamps ascending
|
1235
|
+
# - The default page size is 500 samples; and maximum size allowed 5000
|
1236
|
+
# - The response token indicates the last returned PerfSample timestamp
|
1237
|
+
# - When the results size exceeds the page size, submit a subsequent request
|
1238
|
+
# including the page token to return the rest of the samples up to the
|
1239
|
+
# page limit
|
1239
1240
|
# May return any of the following canonical error codes:
|
1240
|
-
# -
|
1241
|
-
# -
|
1242
|
-
# - FAILED_PRECONDITION - if the requested state transition is illegal,
|
1243
|
-
# e.g try to upload a duplicate xml file or a file too large.
|
1244
|
-
# - NOT_FOUND - if the containing Execution does not exist
|
1241
|
+
# - OUT_OF_RANGE - The specified request page_token is out of valid range
|
1242
|
+
# - NOT_FOUND - The containing PerfSampleSeries does not exist
|
1245
1243
|
# @param [String] project_id
|
1246
|
-
#
|
1247
|
-
# Required.
|
1244
|
+
# The cloud project
|
1248
1245
|
# @param [String] history_id
|
1249
|
-
# A
|
1250
|
-
# Required.
|
1246
|
+
# A tool results history ID.
|
1251
1247
|
# @param [String] execution_id
|
1252
|
-
# A
|
1253
|
-
# Required.
|
1248
|
+
# A tool results execution ID.
|
1254
1249
|
# @param [String] step_id
|
1255
|
-
# A
|
1256
|
-
#
|
1257
|
-
#
|
1258
|
-
# @param [
|
1250
|
+
# A tool results step ID.
|
1251
|
+
# @param [String] sample_series_id
|
1252
|
+
# A sample series id
|
1253
|
+
# @param [Fixnum] page_size
|
1254
|
+
# The default page size is 500 samples, and the maximum size is 5000. If
|
1255
|
+
# the page_size is greater than 5000, the effective page size will be 5000
|
1256
|
+
# @param [String] page_token
|
1257
|
+
# Optional, the next_page_token returned in the previous response
|
1259
1258
|
# @param [String] fields
|
1260
1259
|
# Selector specifying which fields to include in a partial response.
|
1261
1260
|
# @param [String] quota_user
|
@@ -1265,24 +1264,25 @@ module Google
|
|
1265
1264
|
# Request-specific options
|
1266
1265
|
#
|
1267
1266
|
# @yield [result, err] Result & error if block supplied
|
1268
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
1267
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse] parsed result object
|
1269
1268
|
# @yieldparam err [StandardError] error object if request failed
|
1270
1269
|
#
|
1271
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
1270
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse]
|
1272
1271
|
#
|
1273
1272
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1274
1273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1275
1274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1276
|
-
def
|
1277
|
-
command = make_simple_command(:
|
1278
|
-
command.
|
1279
|
-
command.
|
1280
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
1281
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
1275
|
+
def list_project_history_execution_step_perf_sample_series_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1276
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
1277
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
|
1278
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
|
1282
1279
|
command.params['projectId'] = project_id unless project_id.nil?
|
1283
1280
|
command.params['historyId'] = history_id unless history_id.nil?
|
1284
1281
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
1285
1282
|
command.params['stepId'] = step_id unless step_id.nil?
|
1283
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
1284
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1285
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1286
1286
|
command.query['fields'] = fields unless fields.nil?
|
1287
1287
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1288
1288
|
execute_or_queue_command(command, &block)
|
@@ -1327,7 +1327,7 @@ module Google
|
|
1327
1327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1328
1328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1329
1329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1330
|
-
def
|
1330
|
+
def get_project_history_execution_step_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block)
|
1331
1331
|
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
1332
1332
|
command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation
|
1333
1333
|
command.response_class = Google::Apis::ToolresultsV1beta3::TestCase
|
@@ -1385,7 +1385,7 @@ module Google
|
|
1385
1385
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1386
1386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1387
1387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1388
|
-
def
|
1388
|
+
def list_project_history_execution_step_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1389
1389
|
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
1390
1390
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation
|
1391
1391
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse
|
@@ -1444,7 +1444,7 @@ module Google
|
|
1444
1444
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1445
1445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1446
1446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1447
|
-
def
|
1447
|
+
def list_project_history_execution_step_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1448
1448
|
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
1449
1449
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse::Representation
|
1450
1450
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse
|