google-api-client 0.19.6 → 0.19.7
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 +26 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +7 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +139 -142
- data/generated/google/apis/androidmanagement_v1/service.rb +24 -23
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +29 -3
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/service.rb +5 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +133 -0
- data/generated/google/apis/iam_v1/representations.rb +32 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +3 -2
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +50 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +127 -67
- data/generated/google/apis/servicemanagement_v1/representations.rb +31 -19
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +4 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +118 -0
- data/generated/google/apis/testing_v1/representations.rb +61 -0
- data/generated/google/apis/testing_v1/service.rb +30 -0
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +4 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +57 -0
- data/generated/google/apis/youtube_v3/representations.rb +31 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -602,6 +602,8 @@ module Google
|
|
602
602
|
class ContextRule
|
603
603
|
# @private
|
604
604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
collection :allowed_request_extensions, as: 'allowedRequestExtensions'
|
606
|
+
collection :allowed_response_extensions, as: 'allowedResponseExtensions'
|
605
607
|
collection :provided, as: 'provided'
|
606
608
|
collection :requested, as: 'requested'
|
607
609
|
property :selector, as: 'selector'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180202'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -123,6 +123,123 @@ module Google
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
+
# Specifies the audit configuration for a service.
|
127
|
+
# The configuration determines which permission types are logged, and what
|
128
|
+
# identities, if any, are exempted from logging.
|
129
|
+
# An AuditConfig must have one or more AuditLogConfigs.
|
130
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
131
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
132
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
133
|
+
# AuditLogConfig are exempted.
|
134
|
+
# Example Policy with multiple AuditConfigs:
|
135
|
+
# `
|
136
|
+
# "audit_configs": [
|
137
|
+
# `
|
138
|
+
# "service": "allServices"
|
139
|
+
# "audit_log_configs": [
|
140
|
+
# `
|
141
|
+
# "log_type": "DATA_READ",
|
142
|
+
# "exempted_members": [
|
143
|
+
# "user:foo@gmail.com"
|
144
|
+
# ]
|
145
|
+
# `,
|
146
|
+
# `
|
147
|
+
# "log_type": "DATA_WRITE",
|
148
|
+
# `,
|
149
|
+
# `
|
150
|
+
# "log_type": "ADMIN_READ",
|
151
|
+
# `
|
152
|
+
# ]
|
153
|
+
# `,
|
154
|
+
# `
|
155
|
+
# "service": "fooservice.googleapis.com"
|
156
|
+
# "audit_log_configs": [
|
157
|
+
# `
|
158
|
+
# "log_type": "DATA_READ",
|
159
|
+
# `,
|
160
|
+
# `
|
161
|
+
# "log_type": "DATA_WRITE",
|
162
|
+
# "exempted_members": [
|
163
|
+
# "user:bar@gmail.com"
|
164
|
+
# ]
|
165
|
+
# `
|
166
|
+
# ]
|
167
|
+
# `
|
168
|
+
# ]
|
169
|
+
# `
|
170
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
171
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
172
|
+
# bar@gmail.com from DATA_WRITE logging.
|
173
|
+
class AuditConfig
|
174
|
+
include Google::Apis::Core::Hashable
|
175
|
+
|
176
|
+
# The configuration for logging of each type of permission.
|
177
|
+
# Next ID: 4
|
178
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
179
|
+
# @return [Array<Google::Apis::ServicemanagementV1::AuditLogConfig>]
|
180
|
+
attr_accessor :audit_log_configs
|
181
|
+
|
182
|
+
# Specifies a service that will be enabled for audit logging.
|
183
|
+
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
184
|
+
# `allServices` is a special value that covers all services.
|
185
|
+
# Corresponds to the JSON property `service`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :service
|
188
|
+
|
189
|
+
def initialize(**args)
|
190
|
+
update!(**args)
|
191
|
+
end
|
192
|
+
|
193
|
+
# Update properties of this object
|
194
|
+
def update!(**args)
|
195
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
196
|
+
@service = args[:service] if args.key?(:service)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Provides the configuration for logging a type of permissions.
|
201
|
+
# Example:
|
202
|
+
# `
|
203
|
+
# "audit_log_configs": [
|
204
|
+
# `
|
205
|
+
# "log_type": "DATA_READ",
|
206
|
+
# "exempted_members": [
|
207
|
+
# "user:foo@gmail.com"
|
208
|
+
# ]
|
209
|
+
# `,
|
210
|
+
# `
|
211
|
+
# "log_type": "DATA_WRITE",
|
212
|
+
# `
|
213
|
+
# ]
|
214
|
+
# `
|
215
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
216
|
+
# foo@gmail.com from DATA_READ logging.
|
217
|
+
class AuditLogConfig
|
218
|
+
include Google::Apis::Core::Hashable
|
219
|
+
|
220
|
+
# Specifies the identities that do not cause logging for this type of
|
221
|
+
# permission.
|
222
|
+
# Follows the same format of Binding.members.
|
223
|
+
# Corresponds to the JSON property `exemptedMembers`
|
224
|
+
# @return [Array<String>]
|
225
|
+
attr_accessor :exempted_members
|
226
|
+
|
227
|
+
# The log type that this config enables.
|
228
|
+
# Corresponds to the JSON property `logType`
|
229
|
+
# @return [String]
|
230
|
+
attr_accessor :log_type
|
231
|
+
|
232
|
+
def initialize(**args)
|
233
|
+
update!(**args)
|
234
|
+
end
|
235
|
+
|
236
|
+
# Update properties of this object
|
237
|
+
def update!(**args)
|
238
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
239
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
126
243
|
# Configuration for an anthentication provider, including support for
|
127
244
|
# [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-
|
128
245
|
# token-32).
|
@@ -1441,71 +1558,6 @@ module Google
|
|
1441
1558
|
end
|
1442
1559
|
end
|
1443
1560
|
|
1444
|
-
# The metadata associated with a long running operation resource.
|
1445
|
-
class FlowOperationMetadata
|
1446
|
-
include Google::Apis::Core::Hashable
|
1447
|
-
|
1448
|
-
# The state of the operation with respect to cancellation.
|
1449
|
-
# Corresponds to the JSON property `cancelState`
|
1450
|
-
# @return [String]
|
1451
|
-
attr_accessor :cancel_state
|
1452
|
-
|
1453
|
-
# Deadline for the flow to complete, to prevent orphaned Operations.
|
1454
|
-
# If the flow has not completed by this time, it may be terminated by
|
1455
|
-
# the engine, or force-failed by Operation lookup.
|
1456
|
-
# Note that this is not a hard deadline after which the Flow will
|
1457
|
-
# definitely be failed, rather it is a deadline after which it is reasonable
|
1458
|
-
# to suspect a problem and other parts of the system may kill operation
|
1459
|
-
# to ensure we don't have orphans.
|
1460
|
-
# see also: go/prevent-orphaned-operations
|
1461
|
-
# Corresponds to the JSON property `deadline`
|
1462
|
-
# @return [String]
|
1463
|
-
attr_accessor :deadline
|
1464
|
-
|
1465
|
-
# The name of the top-level flow corresponding to this operation.
|
1466
|
-
# Must be equal to the "name" field for a FlowName enum.
|
1467
|
-
# Corresponds to the JSON property `flowName`
|
1468
|
-
# @return [String]
|
1469
|
-
attr_accessor :flow_name
|
1470
|
-
|
1471
|
-
# Operation type which is a flow type and subtype info as that is missing in
|
1472
|
-
# our datastore otherwise. This maps to the ordinal value of the enum:
|
1473
|
-
# jcg/api/tenant/operations/OperationNamespace.java
|
1474
|
-
# Corresponds to the JSON property `operationType`
|
1475
|
-
# @return [Fixnum]
|
1476
|
-
attr_accessor :operation_type
|
1477
|
-
|
1478
|
-
# The full name of the resources that this flow is directly associated with.
|
1479
|
-
# Corresponds to the JSON property `resourceNames`
|
1480
|
-
# @return [Array<String>]
|
1481
|
-
attr_accessor :resource_names
|
1482
|
-
|
1483
|
-
# The start time of the operation.
|
1484
|
-
# Corresponds to the JSON property `startTime`
|
1485
|
-
# @return [String]
|
1486
|
-
attr_accessor :start_time
|
1487
|
-
|
1488
|
-
#
|
1489
|
-
# Corresponds to the JSON property `surface`
|
1490
|
-
# @return [String]
|
1491
|
-
attr_accessor :surface
|
1492
|
-
|
1493
|
-
def initialize(**args)
|
1494
|
-
update!(**args)
|
1495
|
-
end
|
1496
|
-
|
1497
|
-
# Update properties of this object
|
1498
|
-
def update!(**args)
|
1499
|
-
@cancel_state = args[:cancel_state] if args.key?(:cancel_state)
|
1500
|
-
@deadline = args[:deadline] if args.key?(:deadline)
|
1501
|
-
@flow_name = args[:flow_name] if args.key?(:flow_name)
|
1502
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
1503
|
-
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
1504
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1505
|
-
@surface = args[:surface] if args.key?(:surface)
|
1506
|
-
end
|
1507
|
-
end
|
1508
|
-
|
1509
1561
|
# Request message for GenerateConfigReport method.
|
1510
1562
|
class GenerateConfigReportRequest
|
1511
1563
|
include Google::Apis::Core::Hashable
|
@@ -2462,13 +2514,12 @@ module Google
|
|
2462
2514
|
# * `Gi` gibi (2**30)
|
2463
2515
|
# * `Ti` tebi (2**40)
|
2464
2516
|
# **Grammar**
|
2465
|
-
# The grammar includes the dimensionless unit `1`, such as `1/s`.
|
2466
2517
|
# The grammar also includes these connectors:
|
2467
2518
|
# * `/` division (as an infix operator, e.g. `1/s`).
|
2468
2519
|
# * `.` multiplication (as an infix operator, e.g. `GBy.d`)
|
2469
2520
|
# The grammar for a unit is as follows:
|
2470
2521
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
2471
|
-
# Component = [ PREFIX ] UNIT [ Annotation ]
|
2522
|
+
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
2472
2523
|
# | Annotation
|
2473
2524
|
# | "1"
|
2474
2525
|
# ;
|
@@ -2479,6 +2530,9 @@ module Google
|
|
2479
2530
|
# ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
|
2480
2531
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
2481
2532
|
# containing '`' or '`'.
|
2533
|
+
# * `1` represents dimensionless value 1, such as in `1/s`.
|
2534
|
+
# * `%` represents dimensionless value 1/100, and annotates values giving
|
2535
|
+
# a percentage.
|
2482
2536
|
# Corresponds to the JSON property `unit`
|
2483
2537
|
# @return [String]
|
2484
2538
|
attr_accessor :unit
|
@@ -3060,6 +3114,11 @@ module Google
|
|
3060
3114
|
class Policy
|
3061
3115
|
include Google::Apis::Core::Hashable
|
3062
3116
|
|
3117
|
+
# Specifies cloud audit logging configuration for this policy.
|
3118
|
+
# Corresponds to the JSON property `auditConfigs`
|
3119
|
+
# @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
|
3120
|
+
attr_accessor :audit_configs
|
3121
|
+
|
3063
3122
|
# Associates a list of `members` to a `role`.
|
3064
3123
|
# `bindings` with no members will result in an error.
|
3065
3124
|
# Corresponds to the JSON property `bindings`
|
@@ -3091,6 +3150,7 @@ module Google
|
|
3091
3150
|
|
3092
3151
|
# Update properties of this object
|
3093
3152
|
def update!(**args)
|
3153
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
3094
3154
|
@bindings = args[:bindings] if args.key?(:bindings)
|
3095
3155
|
@etag = args[:etag] if args.key?(:etag)
|
3096
3156
|
@version = args[:version] if args.key?(:version)
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AuditConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AuditLogConfig
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class AuthProvider
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -238,12 +250,6 @@ module Google
|
|
238
250
|
include Google::Apis::Core::JsonObjectSupport
|
239
251
|
end
|
240
252
|
|
241
|
-
class FlowOperationMetadata
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
253
|
class GenerateConfigReportRequest
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
255
|
|
@@ -580,6 +586,23 @@ module Google
|
|
580
586
|
end
|
581
587
|
end
|
582
588
|
|
589
|
+
class AuditConfig
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ServicemanagementV1::AuditLogConfig, decorator: Google::Apis::ServicemanagementV1::AuditLogConfig::Representation
|
593
|
+
|
594
|
+
property :service, as: 'service'
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
598
|
+
class AuditLogConfig
|
599
|
+
# @private
|
600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
601
|
+
collection :exempted_members, as: 'exemptedMembers'
|
602
|
+
property :log_type, as: 'logType'
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
583
606
|
class AuthProvider
|
584
607
|
# @private
|
585
608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -896,19 +919,6 @@ module Google
|
|
896
919
|
end
|
897
920
|
end
|
898
921
|
|
899
|
-
class FlowOperationMetadata
|
900
|
-
# @private
|
901
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
902
|
-
property :cancel_state, as: 'cancelState'
|
903
|
-
property :deadline, as: 'deadline'
|
904
|
-
property :flow_name, as: 'flowName'
|
905
|
-
property :operation_type, as: 'operationType'
|
906
|
-
collection :resource_names, as: 'resourceNames'
|
907
|
-
property :start_time, as: 'startTime'
|
908
|
-
property :surface, as: 'surface'
|
909
|
-
end
|
910
|
-
end
|
911
|
-
|
912
922
|
class GenerateConfigReportRequest
|
913
923
|
# @private
|
914
924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1199,6 +1209,8 @@ module Google
|
|
1199
1209
|
class Policy
|
1200
1210
|
# @private
|
1201
1211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1212
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ServicemanagementV1::AuditConfig, decorator: Google::Apis::ServicemanagementV1::AuditConfig::Representation
|
1213
|
+
|
1202
1214
|
collection :bindings, as: 'bindings', class: Google::Apis::ServicemanagementV1::Binding, decorator: Google::Apis::ServicemanagementV1::Binding::Representation
|
1203
1215
|
|
1204
1216
|
property :etag, :base64 => true, as: 'etag'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServiceuserV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180202'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1860,13 +1860,12 @@ module Google
|
|
1860
1860
|
# * `Gi` gibi (2**30)
|
1861
1861
|
# * `Ti` tebi (2**40)
|
1862
1862
|
# **Grammar**
|
1863
|
-
# The grammar includes the dimensionless unit `1`, such as `1/s`.
|
1864
1863
|
# The grammar also includes these connectors:
|
1865
1864
|
# * `/` division (as an infix operator, e.g. `1/s`).
|
1866
1865
|
# * `.` multiplication (as an infix operator, e.g. `GBy.d`)
|
1867
1866
|
# The grammar for a unit is as follows:
|
1868
1867
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
1869
|
-
# Component = [ PREFIX ] UNIT [ Annotation ]
|
1868
|
+
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
1870
1869
|
# | Annotation
|
1871
1870
|
# | "1"
|
1872
1871
|
# ;
|
@@ -1877,6 +1876,9 @@ module Google
|
|
1877
1876
|
# ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
|
1878
1877
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
1879
1878
|
# containing '`' or '`'.
|
1879
|
+
# * `1` represents dimensionless value 1, such as in `1/s`.
|
1880
|
+
# * `%` represents dimensionless value 1/100, and annotates values giving
|
1881
|
+
# a percentage.
|
1880
1882
|
# Corresponds to the JSON property `unit`
|
1881
1883
|
# @return [String]
|
1882
1884
|
attr_accessor :unit
|
@@ -193,7 +193,8 @@ module Google
|
|
193
193
|
|
194
194
|
# Generates a thumbnail of the latest version of the specified page in the
|
195
195
|
# presentation and returns a URL to the thumbnail image.
|
196
|
-
# This request counts as an expensive read request for
|
196
|
+
# This request counts as an [expensive read request](/slides/limits) for
|
197
|
+
# quota purposes.
|
197
198
|
# @param [String] presentation_id
|
198
199
|
# The ID of the presentation to retrieve.
|
199
200
|
# @param [String] page_object_id
|
@@ -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 = '20180208'
|
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'
|
@@ -599,6 +599,72 @@ module Google
|
|
599
599
|
end
|
600
600
|
end
|
601
601
|
|
602
|
+
# Android application details based on application manifest and apk archive
|
603
|
+
# contents
|
604
|
+
class ApkDetail
|
605
|
+
include Google::Apis::Core::Hashable
|
606
|
+
|
607
|
+
# An Android app manifest. See
|
608
|
+
# http://developer.android.com/guide/topics/manifest/manifest-intro.html
|
609
|
+
# Corresponds to the JSON property `apkManifest`
|
610
|
+
# @return [Google::Apis::TestingV1::ApkManifest]
|
611
|
+
attr_accessor :apk_manifest
|
612
|
+
|
613
|
+
def initialize(**args)
|
614
|
+
update!(**args)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Update properties of this object
|
618
|
+
def update!(**args)
|
619
|
+
@apk_manifest = args[:apk_manifest] if args.key?(:apk_manifest)
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# An Android app manifest. See
|
624
|
+
# http://developer.android.com/guide/topics/manifest/manifest-intro.html
|
625
|
+
class ApkManifest
|
626
|
+
include Google::Apis::Core::Hashable
|
627
|
+
|
628
|
+
# User-readable name for the application.
|
629
|
+
# Corresponds to the JSON property `applicationLabel`
|
630
|
+
# @return [String]
|
631
|
+
attr_accessor :application_label
|
632
|
+
|
633
|
+
#
|
634
|
+
# Corresponds to the JSON property `intentFilters`
|
635
|
+
# @return [Array<Google::Apis::TestingV1::IntentFilter>]
|
636
|
+
attr_accessor :intent_filters
|
637
|
+
|
638
|
+
# Maximum API level on which the application is designed to run.
|
639
|
+
# Corresponds to the JSON property `maxSdkVersion`
|
640
|
+
# @return [Fixnum]
|
641
|
+
attr_accessor :max_sdk_version
|
642
|
+
|
643
|
+
# Minimum API level required for the application to run.
|
644
|
+
# Corresponds to the JSON property `minSdkVersion`
|
645
|
+
# @return [Fixnum]
|
646
|
+
attr_accessor :min_sdk_version
|
647
|
+
|
648
|
+
# Full Java-style package name for this application, e.g.
|
649
|
+
# "com.example.foo".
|
650
|
+
# Corresponds to the JSON property `packageName`
|
651
|
+
# @return [String]
|
652
|
+
attr_accessor :package_name
|
653
|
+
|
654
|
+
def initialize(**args)
|
655
|
+
update!(**args)
|
656
|
+
end
|
657
|
+
|
658
|
+
# Update properties of this object
|
659
|
+
def update!(**args)
|
660
|
+
@application_label = args[:application_label] if args.key?(:application_label)
|
661
|
+
@intent_filters = args[:intent_filters] if args.key?(:intent_filters)
|
662
|
+
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
663
|
+
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
|
664
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
602
668
|
# Response containing the current state of the specified test matrix.
|
603
669
|
class CancelTestMatrixResponse
|
604
670
|
include Google::Apis::Core::Hashable
|
@@ -853,6 +919,26 @@ module Google
|
|
853
919
|
end
|
854
920
|
end
|
855
921
|
|
922
|
+
# Response containing the details of the specified Android application APK.
|
923
|
+
class GetApkDetailsResponse
|
924
|
+
include Google::Apis::Core::Hashable
|
925
|
+
|
926
|
+
# Android application details based on application manifest and apk archive
|
927
|
+
# contents
|
928
|
+
# Corresponds to the JSON property `apkDetail`
|
929
|
+
# @return [Google::Apis::TestingV1::ApkDetail]
|
930
|
+
attr_accessor :apk_detail
|
931
|
+
|
932
|
+
def initialize(**args)
|
933
|
+
update!(**args)
|
934
|
+
end
|
935
|
+
|
936
|
+
# Update properties of this object
|
937
|
+
def update!(**args)
|
938
|
+
@apk_detail = args[:apk_detail] if args.key?(:apk_detail)
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
856
942
|
# Enables automatic Google account login.
|
857
943
|
# If set, the service will automatically generate a Google test account and add
|
858
944
|
# it to the device, before executing the test. Note that test accounts might be
|
@@ -895,6 +981,38 @@ module Google
|
|
895
981
|
end
|
896
982
|
end
|
897
983
|
|
984
|
+
# The <intent-filter> section of an <activity> tag.
|
985
|
+
# https://developer.android.com/guide/topics/manifest/intent-filter-element.html
|
986
|
+
class IntentFilter
|
987
|
+
include Google::Apis::Core::Hashable
|
988
|
+
|
989
|
+
# The android:name value of the <action> tag
|
990
|
+
# Corresponds to the JSON property `actionNames`
|
991
|
+
# @return [Array<String>]
|
992
|
+
attr_accessor :action_names
|
993
|
+
|
994
|
+
# The android:name value of the <category> tag
|
995
|
+
# Corresponds to the JSON property `categoryNames`
|
996
|
+
# @return [Array<String>]
|
997
|
+
attr_accessor :category_names
|
998
|
+
|
999
|
+
# The android:mimeType value of the <data> tag
|
1000
|
+
# Corresponds to the JSON property `mimeType`
|
1001
|
+
# @return [String]
|
1002
|
+
attr_accessor :mime_type
|
1003
|
+
|
1004
|
+
def initialize(**args)
|
1005
|
+
update!(**args)
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
# Update properties of this object
|
1009
|
+
def update!(**args)
|
1010
|
+
@action_names = args[:action_names] if args.key?(:action_names)
|
1011
|
+
@category_names = args[:category_names] if args.key?(:category_names)
|
1012
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
898
1016
|
# Specifies an intent that starts the main launcher activity.
|
899
1017
|
class LauncherActivityIntent
|
900
1018
|
include Google::Apis::Core::Hashable
|