google-api-client 0.23.9 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2030 -58
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +878 -43
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +604 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +0 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +8 -2
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +108 -5
- data/generated/google/apis/androidenterprise_v1/representations.rb +60 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +3 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -1
- data/generated/google/apis/composer_v1/service.rb +6 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +475 -0
- data/generated/google/apis/dataproc_v1/representations.rb +188 -0
- data/generated/google/apis/dataproc_v1/service.rb +550 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +21 -21
- data/generated/google/apis/file_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1beta1/classes.rb +810 -0
- data/generated/google/apis/file_v1beta1/representations.rb +298 -0
- data/generated/google/apis/file_v1beta1/service.rb +472 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +16 -17
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -9
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +8 -9
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +142 -98
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +142 -98
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +142 -98
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +142 -98
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +142 -98
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +91 -0
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1/service.rb +47 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +25 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +15 -0
- data/generated/google/apis/speech_v1beta1/service.rb +47 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +3 -3
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +34 -31
- data/generated/google/apis/sqladmin_v1beta4/service.rb +8 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -4
- data/generated/google/apis/storage_v1/service.rb +2 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/classes.rb +1 -2
- data/generated/google/apis/storage_v1beta2/service.rb +2 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +21 -21
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +308 -14
- data/generated/google/apis/testing_v1/representations.rb +136 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +156 -2
- data/generated/google/apis/vision_v1/representations.rb +60 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +156 -2
- data/generated/google/apis/vision_v1p1beta1/representations.rb +60 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +156 -2
- data/generated/google/apis/vision_v1p2beta1/representations.rb +60 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -14
- data/generated/google/apis/adexchangeseller_v1.rb +0 -37
- data/generated/google/apis/adexchangeseller_v1/classes.rb +0 -557
- data/generated/google/apis/adexchangeseller_v1/representations.rb +0 -248
- data/generated/google/apis/adexchangeseller_v1/service.rb +0 -544
- data/generated/google/apis/adexchangeseller_v1_1.rb +0 -37
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +0 -842
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +0 -364
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +0 -735
- data/generated/google/apis/adexchangeseller_v2_0.rb +0 -37
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +0 -792
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +0 -347
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +0 -638
|
@@ -22,8 +22,8 @@ module Google
|
|
|
22
22
|
module SqladminV1beta4
|
|
23
23
|
# Cloud SQL Admin API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
26
|
-
#
|
|
25
|
+
# Creates and manages Cloud SQL instances, which provide fully managed MySQL or
|
|
26
|
+
# PostgreSQL databases.
|
|
27
27
|
#
|
|
28
28
|
# @example
|
|
29
29
|
# require 'google/apis/sqladmin_v1beta4'
|
|
@@ -172,7 +172,7 @@ module Google
|
|
|
172
172
|
end
|
|
173
173
|
|
|
174
174
|
# Lists all backup runs associated with a given instance and configuration in
|
|
175
|
-
# the reverse chronological order of the
|
|
175
|
+
# the reverse chronological order of the backup initiation time.
|
|
176
176
|
# @param [String] project
|
|
177
177
|
# Project ID of the project that contains the instance.
|
|
178
178
|
# @param [String] instance
|
|
@@ -458,8 +458,8 @@ module Google
|
|
|
458
458
|
|
|
459
459
|
# List all available database flags for Cloud SQL instances.
|
|
460
460
|
# @param [String] database_version
|
|
461
|
-
# Database version
|
|
462
|
-
#
|
|
461
|
+
# Database type and version you want to retrieve flags for. By default, this
|
|
462
|
+
# method returns flags for all database types and versions.
|
|
463
463
|
# @param [String] fields
|
|
464
464
|
# Selector specifying which fields to include in a partial response.
|
|
465
465
|
# @param [String] quota_user
|
|
@@ -1739,11 +1739,11 @@ module Google
|
|
|
1739
1739
|
# Project ID of the project that contains the instance.
|
|
1740
1740
|
# @param [String] instance
|
|
1741
1741
|
# Database instance ID. This does not include the project ID.
|
|
1742
|
-
# @param [String] host
|
|
1743
|
-
# Host of the user in the instance.
|
|
1744
1742
|
# @param [String] name
|
|
1745
1743
|
# Name of the user in the instance.
|
|
1746
1744
|
# @param [Google::Apis::SqladminV1beta4::User] user_object
|
|
1745
|
+
# @param [String] host
|
|
1746
|
+
# Host of the user in the instance.
|
|
1747
1747
|
# @param [String] fields
|
|
1748
1748
|
# Selector specifying which fields to include in a partial response.
|
|
1749
1749
|
# @param [String] quota_user
|
|
@@ -1763,7 +1763,7 @@ module Google
|
|
|
1763
1763
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1764
1764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1765
1765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1766
|
-
def update_user(project, instance,
|
|
1766
|
+
def update_user(project, instance, name, user_object = nil, host: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1767
1767
|
command = make_simple_command(:put, 'projects/{project}/instances/{instance}/users', options)
|
|
1768
1768
|
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
|
1769
1769
|
command.request_object = user_object
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180905'
|
|
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'
|
|
@@ -384,10 +384,10 @@ module Google
|
|
|
384
384
|
attr_accessor :is_live
|
|
385
385
|
alias_method :is_live?, :is_live
|
|
386
386
|
|
|
387
|
-
# A regular expression that satisfies the RE2 syntax
|
|
387
|
+
# A regular expression that satisfies the RE2 syntax. This condition is
|
|
388
388
|
# satisfied when the name of the object matches the RE2 pattern. Note: This
|
|
389
389
|
# feature is currently in the "Early Access" launch stage and is only available
|
|
390
|
-
# to a whitelisted set of users; that means that this feature may changed in
|
|
390
|
+
# to a whitelisted set of users; that means that this feature may be changed in
|
|
391
391
|
# backward-incompatible ways and that it is not guaranteed to be released.
|
|
392
392
|
# Corresponds to the JSON property `matchesPattern`
|
|
393
393
|
# @return [String]
|
|
@@ -864,8 +864,7 @@ module Google
|
|
|
864
864
|
# @return [Fixnum]
|
|
865
865
|
attr_accessor :generation
|
|
866
866
|
|
|
867
|
-
# The source object's name.
|
|
868
|
-
# destination bucket.
|
|
867
|
+
# The source object's name. All source objects must reside in the same bucket.
|
|
869
868
|
# Corresponds to the JSON property `name`
|
|
870
869
|
# @return [String]
|
|
871
870
|
attr_accessor :name
|
|
@@ -1469,7 +1469,8 @@ module Google
|
|
|
1469
1469
|
|
|
1470
1470
|
# Concatenates a list of existing objects into a new object in the same bucket.
|
|
1471
1471
|
# @param [String] destination_bucket
|
|
1472
|
-
# Name of the bucket
|
|
1472
|
+
# Name of the bucket containing the source objects. The destination object is
|
|
1473
|
+
# stored in this bucket.
|
|
1473
1474
|
# @param [String] destination_object
|
|
1474
1475
|
# Name of the new object. For information about how to URL encode object names
|
|
1475
1476
|
# to be path safe, see Encoding URI Path Parts.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180905'
|
|
29
29
|
|
|
30
30
|
# Manage your data and permissions in Google Cloud Storage
|
|
31
31
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
|
@@ -652,8 +652,7 @@ module Google
|
|
|
652
652
|
# @return [Fixnum]
|
|
653
653
|
attr_accessor :generation
|
|
654
654
|
|
|
655
|
-
# The source object's name.
|
|
656
|
-
# destination bucket.
|
|
655
|
+
# The source object's name. All source objects must reside in the same bucket.
|
|
657
656
|
# Corresponds to the JSON property `name`
|
|
658
657
|
# @return [String]
|
|
659
658
|
attr_accessor :name
|
|
@@ -1064,7 +1064,8 @@ module Google
|
|
|
1064
1064
|
|
|
1065
1065
|
# Concatenates a list of existing objects into a new object in the same bucket.
|
|
1066
1066
|
# @param [String] destination_bucket
|
|
1067
|
-
# Name of the bucket
|
|
1067
|
+
# Name of the bucket containing the source objects. The destination object is
|
|
1068
|
+
# stored in this bucket.
|
|
1068
1069
|
# @param [String] destination_object
|
|
1069
1070
|
# Name of the new object.
|
|
1070
1071
|
# @param [Google::Apis::StorageV1beta2::ComposeRequest] compose_request_object
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/storage/transfer
|
|
27
27
|
module StoragetransferV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180910'
|
|
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'
|
|
@@ -82,13 +82,13 @@ module Google
|
|
|
82
82
|
end
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
# Represents a whole calendar date,
|
|
86
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
87
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
88
|
-
# represent a year and month where the day is not significant,
|
|
89
|
-
# expiration date. The year
|
|
90
|
-
# of year,
|
|
91
|
-
# and `google.protobuf.Timestamp`.
|
|
85
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
86
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
87
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
88
|
+
# represent a year and month where the day is not significant, for example
|
|
89
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
90
|
+
# independent of year, for example anniversary date. Related types are
|
|
91
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
92
92
|
class Date
|
|
93
93
|
include Google::Apis::Core::Hashable
|
|
94
94
|
|
|
@@ -540,24 +540,24 @@ module Google
|
|
|
540
540
|
class Schedule
|
|
541
541
|
include Google::Apis::Core::Hashable
|
|
542
542
|
|
|
543
|
-
# Represents a whole calendar date,
|
|
544
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
545
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
546
|
-
# represent a year and month where the day is not significant,
|
|
547
|
-
# expiration date. The year
|
|
548
|
-
# of year,
|
|
549
|
-
# and `google.protobuf.Timestamp`.
|
|
543
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
544
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
545
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
546
|
+
# represent a year and month where the day is not significant, for example
|
|
547
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
548
|
+
# independent of year, for example anniversary date. Related types are
|
|
549
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
550
550
|
# Corresponds to the JSON property `scheduleEndDate`
|
|
551
551
|
# @return [Google::Apis::StoragetransferV1::Date]
|
|
552
552
|
attr_accessor :schedule_end_date
|
|
553
553
|
|
|
554
|
-
# Represents a whole calendar date,
|
|
555
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
556
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
557
|
-
# represent a year and month where the day is not significant,
|
|
558
|
-
# expiration date. The year
|
|
559
|
-
# of year,
|
|
560
|
-
# and `google.protobuf.Timestamp`.
|
|
554
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
555
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
556
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
557
|
+
# represent a year and month where the day is not significant, for example
|
|
558
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
559
|
+
# independent of year, for example anniversary date. Related types are
|
|
560
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
561
561
|
# Corresponds to the JSON property `scheduleStartDate`
|
|
562
562
|
# @return [Google::Apis::StoragetransferV1::Date]
|
|
563
563
|
attr_accessor :schedule_start_date
|
|
@@ -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 = '20180913'
|
|
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'
|
|
@@ -581,13 +581,13 @@ module Google
|
|
|
581
581
|
# @return [String]
|
|
582
582
|
attr_accessor :id
|
|
583
583
|
|
|
584
|
-
# Represents a whole calendar date,
|
|
585
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
586
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
587
|
-
# represent a year and month where the day is not significant,
|
|
588
|
-
# expiration date. The year
|
|
589
|
-
# of year,
|
|
590
|
-
# and `google.protobuf.Timestamp`.
|
|
584
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
585
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
586
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
587
|
+
# represent a year and month where the day is not significant, for example
|
|
588
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
589
|
+
# independent of year, for example anniversary date. Related types are
|
|
590
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
591
591
|
# Corresponds to the JSON property `releaseDate`
|
|
592
592
|
# @return [Google::Apis::TestingV1::Date]
|
|
593
593
|
attr_accessor :release_date
|
|
@@ -788,13 +788,13 @@ module Google
|
|
|
788
788
|
end
|
|
789
789
|
end
|
|
790
790
|
|
|
791
|
-
# Represents a whole calendar date,
|
|
792
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
793
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
794
|
-
# represent a year and month where the day is not significant,
|
|
795
|
-
# expiration date. The year
|
|
796
|
-
# of year,
|
|
797
|
-
# and `google.protobuf.Timestamp`.
|
|
791
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
792
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
793
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
794
|
+
# represent a year and month where the day is not significant, for example
|
|
795
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
796
|
+
# independent of year, for example anniversary date. Related types are
|
|
797
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
798
798
|
class Date
|
|
799
799
|
include Google::Apis::Core::Hashable
|
|
800
800
|
|
|
@@ -890,6 +890,11 @@ module Google
|
|
|
890
890
|
# @return [Google::Apis::TestingV1::AndroidDevice]
|
|
891
891
|
attr_accessor :android_device
|
|
892
892
|
|
|
893
|
+
# A single iOS device.
|
|
894
|
+
# Corresponds to the JSON property `iosDevice`
|
|
895
|
+
# @return [Google::Apis::TestingV1::IosDevice]
|
|
896
|
+
attr_accessor :ios_device
|
|
897
|
+
|
|
893
898
|
def initialize(**args)
|
|
894
899
|
update!(**args)
|
|
895
900
|
end
|
|
@@ -897,6 +902,7 @@ module Google
|
|
|
897
902
|
# Update properties of this object
|
|
898
903
|
def update!(**args)
|
|
899
904
|
@android_device = args[:android_device] if args.key?(:android_device)
|
|
905
|
+
@ios_device = args[:ios_device] if args.key?(:ios_device)
|
|
900
906
|
end
|
|
901
907
|
end
|
|
902
908
|
|
|
@@ -918,6 +924,11 @@ module Google
|
|
|
918
924
|
# @return [Google::Apis::TestingV1::AndroidMatrix]
|
|
919
925
|
attr_accessor :android_matrix
|
|
920
926
|
|
|
927
|
+
# A list of iOS device configurations in which the test is to be executed.
|
|
928
|
+
# Corresponds to the JSON property `iosDeviceList`
|
|
929
|
+
# @return [Google::Apis::TestingV1::IosDeviceList]
|
|
930
|
+
attr_accessor :ios_device_list
|
|
931
|
+
|
|
921
932
|
def initialize(**args)
|
|
922
933
|
update!(**args)
|
|
923
934
|
end
|
|
@@ -926,6 +937,7 @@ module Google
|
|
|
926
937
|
def update!(**args)
|
|
927
938
|
@android_device_list = args[:android_device_list] if args.key?(:android_device_list)
|
|
928
939
|
@android_matrix = args[:android_matrix] if args.key?(:android_matrix)
|
|
940
|
+
@ios_device_list = args[:ios_device_list] if args.key?(:ios_device_list)
|
|
929
941
|
end
|
|
930
942
|
end
|
|
931
943
|
|
|
@@ -1068,6 +1080,265 @@ module Google
|
|
|
1068
1080
|
end
|
|
1069
1081
|
end
|
|
1070
1082
|
|
|
1083
|
+
# A single iOS device.
|
|
1084
|
+
class IosDevice
|
|
1085
|
+
include Google::Apis::Core::Hashable
|
|
1086
|
+
|
|
1087
|
+
# Required. The id of the iOS device to be used.
|
|
1088
|
+
# Use the EnvironmentDiscoveryService to get supported options.
|
|
1089
|
+
# Corresponds to the JSON property `iosModelId`
|
|
1090
|
+
# @return [String]
|
|
1091
|
+
attr_accessor :ios_model_id
|
|
1092
|
+
|
|
1093
|
+
# Required. The id of the iOS major software version to be used.
|
|
1094
|
+
# Use the EnvironmentDiscoveryService to get supported options.
|
|
1095
|
+
# Corresponds to the JSON property `iosVersionId`
|
|
1096
|
+
# @return [String]
|
|
1097
|
+
attr_accessor :ios_version_id
|
|
1098
|
+
|
|
1099
|
+
# Required. The locale the test device used for testing.
|
|
1100
|
+
# Use the EnvironmentDiscoveryService to get supported options.
|
|
1101
|
+
# Corresponds to the JSON property `locale`
|
|
1102
|
+
# @return [String]
|
|
1103
|
+
attr_accessor :locale
|
|
1104
|
+
|
|
1105
|
+
# Required. How the device is oriented during the test.
|
|
1106
|
+
# Use the EnvironmentDiscoveryService to get supported options.
|
|
1107
|
+
# Corresponds to the JSON property `orientation`
|
|
1108
|
+
# @return [String]
|
|
1109
|
+
attr_accessor :orientation
|
|
1110
|
+
|
|
1111
|
+
def initialize(**args)
|
|
1112
|
+
update!(**args)
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1115
|
+
# Update properties of this object
|
|
1116
|
+
def update!(**args)
|
|
1117
|
+
@ios_model_id = args[:ios_model_id] if args.key?(:ios_model_id)
|
|
1118
|
+
@ios_version_id = args[:ios_version_id] if args.key?(:ios_version_id)
|
|
1119
|
+
@locale = args[:locale] if args.key?(:locale)
|
|
1120
|
+
@orientation = args[:orientation] if args.key?(:orientation)
|
|
1121
|
+
end
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
# The currently supported iOS devices.
|
|
1125
|
+
class IosDeviceCatalog
|
|
1126
|
+
include Google::Apis::Core::Hashable
|
|
1127
|
+
|
|
1128
|
+
# Output only. The set of supported iOS device models.
|
|
1129
|
+
# Corresponds to the JSON property `models`
|
|
1130
|
+
# @return [Array<Google::Apis::TestingV1::IosModel>]
|
|
1131
|
+
attr_accessor :models
|
|
1132
|
+
|
|
1133
|
+
# iOS configuration that can be selected at the time a test is run.
|
|
1134
|
+
# Corresponds to the JSON property `runtimeConfiguration`
|
|
1135
|
+
# @return [Google::Apis::TestingV1::IosRuntimeConfiguration]
|
|
1136
|
+
attr_accessor :runtime_configuration
|
|
1137
|
+
|
|
1138
|
+
# Output only. The set of supported iOS software versions.
|
|
1139
|
+
# Corresponds to the JSON property `versions`
|
|
1140
|
+
# @return [Array<Google::Apis::TestingV1::IosVersion>]
|
|
1141
|
+
attr_accessor :versions
|
|
1142
|
+
|
|
1143
|
+
def initialize(**args)
|
|
1144
|
+
update!(**args)
|
|
1145
|
+
end
|
|
1146
|
+
|
|
1147
|
+
# Update properties of this object
|
|
1148
|
+
def update!(**args)
|
|
1149
|
+
@models = args[:models] if args.key?(:models)
|
|
1150
|
+
@runtime_configuration = args[:runtime_configuration] if args.key?(:runtime_configuration)
|
|
1151
|
+
@versions = args[:versions] if args.key?(:versions)
|
|
1152
|
+
end
|
|
1153
|
+
end
|
|
1154
|
+
|
|
1155
|
+
# A list of iOS device configurations in which the test is to be executed.
|
|
1156
|
+
class IosDeviceList
|
|
1157
|
+
include Google::Apis::Core::Hashable
|
|
1158
|
+
|
|
1159
|
+
# Required. A list of iOS devices
|
|
1160
|
+
# Corresponds to the JSON property `iosDevices`
|
|
1161
|
+
# @return [Array<Google::Apis::TestingV1::IosDevice>]
|
|
1162
|
+
attr_accessor :ios_devices
|
|
1163
|
+
|
|
1164
|
+
def initialize(**args)
|
|
1165
|
+
update!(**args)
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
# Update properties of this object
|
|
1169
|
+
def update!(**args)
|
|
1170
|
+
@ios_devices = args[:ios_devices] if args.key?(:ios_devices)
|
|
1171
|
+
end
|
|
1172
|
+
end
|
|
1173
|
+
|
|
1174
|
+
# A description of an iOS device tests may be run on.
|
|
1175
|
+
class IosModel
|
|
1176
|
+
include Google::Apis::Core::Hashable
|
|
1177
|
+
|
|
1178
|
+
# Output only. Device capabilities.
|
|
1179
|
+
# Copied from
|
|
1180
|
+
# https://developer.apple.com/library/archive/documentation/DeviceInformation/
|
|
1181
|
+
# Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/
|
|
1182
|
+
# DeviceCompatibilityMatrix.html
|
|
1183
|
+
# Corresponds to the JSON property `deviceCapabilities`
|
|
1184
|
+
# @return [Array<String>]
|
|
1185
|
+
attr_accessor :device_capabilities
|
|
1186
|
+
|
|
1187
|
+
# Output only. The unique opaque id for this model.
|
|
1188
|
+
# Use this for invoking the TestExecutionService.
|
|
1189
|
+
# Corresponds to the JSON property `id`
|
|
1190
|
+
# @return [String]
|
|
1191
|
+
attr_accessor :id
|
|
1192
|
+
|
|
1193
|
+
# Output only. The human-readable name for this device model.
|
|
1194
|
+
# Examples: "iPhone 4s", "iPad Mini 2"
|
|
1195
|
+
# Corresponds to the JSON property `name`
|
|
1196
|
+
# @return [String]
|
|
1197
|
+
attr_accessor :name
|
|
1198
|
+
|
|
1199
|
+
# Output only. The set of iOS major software versions this device supports.
|
|
1200
|
+
# Corresponds to the JSON property `supportedVersionIds`
|
|
1201
|
+
# @return [Array<String>]
|
|
1202
|
+
attr_accessor :supported_version_ids
|
|
1203
|
+
|
|
1204
|
+
# Output only. Tags for this dimension.
|
|
1205
|
+
# Examples: "default", "preview", "deprecated"
|
|
1206
|
+
# Corresponds to the JSON property `tags`
|
|
1207
|
+
# @return [Array<String>]
|
|
1208
|
+
attr_accessor :tags
|
|
1209
|
+
|
|
1210
|
+
def initialize(**args)
|
|
1211
|
+
update!(**args)
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
# Update properties of this object
|
|
1215
|
+
def update!(**args)
|
|
1216
|
+
@device_capabilities = args[:device_capabilities] if args.key?(:device_capabilities)
|
|
1217
|
+
@id = args[:id] if args.key?(:id)
|
|
1218
|
+
@name = args[:name] if args.key?(:name)
|
|
1219
|
+
@supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
|
|
1220
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
1221
|
+
end
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
# iOS configuration that can be selected at the time a test is run.
|
|
1225
|
+
class IosRuntimeConfiguration
|
|
1226
|
+
include Google::Apis::Core::Hashable
|
|
1227
|
+
|
|
1228
|
+
# Output only. The set of available locales.
|
|
1229
|
+
# Corresponds to the JSON property `locales`
|
|
1230
|
+
# @return [Array<Google::Apis::TestingV1::Locale>]
|
|
1231
|
+
attr_accessor :locales
|
|
1232
|
+
|
|
1233
|
+
# Output only. The set of available orientations.
|
|
1234
|
+
# Corresponds to the JSON property `orientations`
|
|
1235
|
+
# @return [Array<Google::Apis::TestingV1::Orientation>]
|
|
1236
|
+
attr_accessor :orientations
|
|
1237
|
+
|
|
1238
|
+
def initialize(**args)
|
|
1239
|
+
update!(**args)
|
|
1240
|
+
end
|
|
1241
|
+
|
|
1242
|
+
# Update properties of this object
|
|
1243
|
+
def update!(**args)
|
|
1244
|
+
@locales = args[:locales] if args.key?(:locales)
|
|
1245
|
+
@orientations = args[:orientations] if args.key?(:orientations)
|
|
1246
|
+
end
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1249
|
+
# A description of how to set up an iOS device prior to a test.
|
|
1250
|
+
class IosTestSetup
|
|
1251
|
+
include Google::Apis::Core::Hashable
|
|
1252
|
+
|
|
1253
|
+
# Optional. The network traffic profile used for running the test.
|
|
1254
|
+
# Available network profiles can be queried by using the
|
|
1255
|
+
# NETWORK_CONFIGURATION environment type when calling
|
|
1256
|
+
# TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
|
|
1257
|
+
# Corresponds to the JSON property `networkProfile`
|
|
1258
|
+
# @return [String]
|
|
1259
|
+
attr_accessor :network_profile
|
|
1260
|
+
|
|
1261
|
+
def initialize(**args)
|
|
1262
|
+
update!(**args)
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
# Update properties of this object
|
|
1266
|
+
def update!(**args)
|
|
1267
|
+
@network_profile = args[:network_profile] if args.key?(:network_profile)
|
|
1268
|
+
end
|
|
1269
|
+
end
|
|
1270
|
+
|
|
1271
|
+
# An iOS version
|
|
1272
|
+
class IosVersion
|
|
1273
|
+
include Google::Apis::Core::Hashable
|
|
1274
|
+
|
|
1275
|
+
# Output only. An opaque id for this iOS version.
|
|
1276
|
+
# Use this id to invoke the TestExecutionService.
|
|
1277
|
+
# Corresponds to the JSON property `id`
|
|
1278
|
+
# @return [String]
|
|
1279
|
+
attr_accessor :id
|
|
1280
|
+
|
|
1281
|
+
# Output only. An integer representing the major iOS version.
|
|
1282
|
+
# Examples: "8", "9"
|
|
1283
|
+
# Corresponds to the JSON property `majorVersion`
|
|
1284
|
+
# @return [Fixnum]
|
|
1285
|
+
attr_accessor :major_version
|
|
1286
|
+
|
|
1287
|
+
# Output only. An integer representing the minor iOS version.
|
|
1288
|
+
# Examples: "1", "2"
|
|
1289
|
+
# Corresponds to the JSON property `minorVersion`
|
|
1290
|
+
# @return [Fixnum]
|
|
1291
|
+
attr_accessor :minor_version
|
|
1292
|
+
|
|
1293
|
+
# Output only. Tags for this dimension.
|
|
1294
|
+
# Examples: "default", "preview", "deprecated"
|
|
1295
|
+
# Corresponds to the JSON property `tags`
|
|
1296
|
+
# @return [Array<String>]
|
|
1297
|
+
attr_accessor :tags
|
|
1298
|
+
|
|
1299
|
+
def initialize(**args)
|
|
1300
|
+
update!(**args)
|
|
1301
|
+
end
|
|
1302
|
+
|
|
1303
|
+
# Update properties of this object
|
|
1304
|
+
def update!(**args)
|
|
1305
|
+
@id = args[:id] if args.key?(:id)
|
|
1306
|
+
@major_version = args[:major_version] if args.key?(:major_version)
|
|
1307
|
+
@minor_version = args[:minor_version] if args.key?(:minor_version)
|
|
1308
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
1309
|
+
end
|
|
1310
|
+
end
|
|
1311
|
+
|
|
1312
|
+
# A test of an iOS application that uses the XCTest framework.
|
|
1313
|
+
# Xcode supports the option to "build for testing", which generates an
|
|
1314
|
+
# .xctestrun file that contains a test specification (arguments, test methods,
|
|
1315
|
+
# etc). This test type accepts a zip file containing the .xctestrun file and
|
|
1316
|
+
# the corresponding contents of the Build/Products directory that contains all
|
|
1317
|
+
# the binaries needed to run the tests.
|
|
1318
|
+
class IosXcTest
|
|
1319
|
+
include Google::Apis::Core::Hashable
|
|
1320
|
+
|
|
1321
|
+
# A reference to a file, used for user inputs.
|
|
1322
|
+
# Corresponds to the JSON property `testsZip`
|
|
1323
|
+
# @return [Google::Apis::TestingV1::FileReference]
|
|
1324
|
+
attr_accessor :tests_zip
|
|
1325
|
+
|
|
1326
|
+
# A reference to a file, used for user inputs.
|
|
1327
|
+
# Corresponds to the JSON property `xctestrun`
|
|
1328
|
+
# @return [Google::Apis::TestingV1::FileReference]
|
|
1329
|
+
attr_accessor :xctestrun
|
|
1330
|
+
|
|
1331
|
+
def initialize(**args)
|
|
1332
|
+
update!(**args)
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
# Update properties of this object
|
|
1336
|
+
def update!(**args)
|
|
1337
|
+
@tests_zip = args[:tests_zip] if args.key?(:tests_zip)
|
|
1338
|
+
@xctestrun = args[:xctestrun] if args.key?(:xctestrun)
|
|
1339
|
+
end
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1071
1342
|
# Specifies an intent that starts the main launcher activity.
|
|
1072
1343
|
class LauncherActivityIntent
|
|
1073
1344
|
include Google::Apis::Core::Hashable
|
|
@@ -1487,6 +1758,11 @@ module Google
|
|
|
1487
1758
|
# @return [Google::Apis::TestingV1::AndroidDeviceCatalog]
|
|
1488
1759
|
attr_accessor :android_device_catalog
|
|
1489
1760
|
|
|
1761
|
+
# The currently supported iOS devices.
|
|
1762
|
+
# Corresponds to the JSON property `iosDeviceCatalog`
|
|
1763
|
+
# @return [Google::Apis::TestingV1::IosDeviceCatalog]
|
|
1764
|
+
attr_accessor :ios_device_catalog
|
|
1765
|
+
|
|
1490
1766
|
# Supported network configurations
|
|
1491
1767
|
# Corresponds to the JSON property `networkConfigurationCatalog`
|
|
1492
1768
|
# @return [Google::Apis::TestingV1::NetworkConfigurationCatalog]
|
|
@@ -1504,6 +1780,7 @@ module Google
|
|
|
1504
1780
|
# Update properties of this object
|
|
1505
1781
|
def update!(**args)
|
|
1506
1782
|
@android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog)
|
|
1783
|
+
@ios_device_catalog = args[:ios_device_catalog] if args.key?(:ios_device_catalog)
|
|
1507
1784
|
@network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
|
|
1508
1785
|
@software_catalog = args[:software_catalog] if args.key?(:software_catalog)
|
|
1509
1786
|
end
|
|
@@ -1781,6 +2058,21 @@ module Google
|
|
|
1781
2058
|
attr_accessor :disable_video_recording
|
|
1782
2059
|
alias_method :disable_video_recording?, :disable_video_recording
|
|
1783
2060
|
|
|
2061
|
+
# A description of how to set up an iOS device prior to a test.
|
|
2062
|
+
# Corresponds to the JSON property `iosTestSetup`
|
|
2063
|
+
# @return [Google::Apis::TestingV1::IosTestSetup]
|
|
2064
|
+
attr_accessor :ios_test_setup
|
|
2065
|
+
|
|
2066
|
+
# A test of an iOS application that uses the XCTest framework.
|
|
2067
|
+
# Xcode supports the option to "build for testing", which generates an
|
|
2068
|
+
# .xctestrun file that contains a test specification (arguments, test methods,
|
|
2069
|
+
# etc). This test type accepts a zip file containing the .xctestrun file and
|
|
2070
|
+
# the corresponding contents of the Build/Products directory that contains all
|
|
2071
|
+
# the binaries needed to run the tests.
|
|
2072
|
+
# Corresponds to the JSON property `iosXcTest`
|
|
2073
|
+
# @return [Google::Apis::TestingV1::IosXcTest]
|
|
2074
|
+
attr_accessor :ios_xc_test
|
|
2075
|
+
|
|
1784
2076
|
# A description of how to set up the Android device prior to running the test.
|
|
1785
2077
|
# Corresponds to the JSON property `testSetup`
|
|
1786
2078
|
# @return [Google::Apis::TestingV1::TestSetup]
|
|
@@ -1805,6 +2097,8 @@ module Google
|
|
|
1805
2097
|
@auto_google_login = args[:auto_google_login] if args.key?(:auto_google_login)
|
|
1806
2098
|
@disable_performance_metrics = args[:disable_performance_metrics] if args.key?(:disable_performance_metrics)
|
|
1807
2099
|
@disable_video_recording = args[:disable_video_recording] if args.key?(:disable_video_recording)
|
|
2100
|
+
@ios_test_setup = args[:ios_test_setup] if args.key?(:ios_test_setup)
|
|
2101
|
+
@ios_xc_test = args[:ios_xc_test] if args.key?(:ios_xc_test)
|
|
1808
2102
|
@test_setup = args[:test_setup] if args.key?(:test_setup)
|
|
1809
2103
|
@test_timeout = args[:test_timeout] if args.key?(:test_timeout)
|
|
1810
2104
|
end
|