google-api-client 0.36.1 → 0.36.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 +45 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +19 -2
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +234 -240
- data/generated/google/apis/compute_alpha/representations.rb +7 -47
- data/generated/google/apis/compute_alpha/service.rb +1233 -1068
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +936 -164
- data/generated/google/apis/compute_beta/representations.rb +371 -0
- data/generated/google/apis/compute_beta/service.rb +1394 -899
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +479 -147
- data/generated/google/apis/compute_v1/representations.rb +127 -0
- data/generated/google/apis/compute_v1/service.rb +813 -748
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +73 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +70 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +152 -0
- data/generated/google/apis/docs_v1/representations.rb +56 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1/service.rb +24 -22
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
- data/generated/google/apis/fitness_v1.rb +11 -11
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +5 -7
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +83 -141
- data/generated/google/apis/iam_v1/representations.rb +0 -6
- data/generated/google/apis/iam_v1/service.rb +11 -21
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +15 -0
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +3 -2
- data/generated/google/apis/logging_v2/service.rb +2 -1
- data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
- data/generated/google/apis/run_v1alpha1/service.rb +862 -46
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
- data/generated/google/apis/securitycenter_v1/service.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +187 -2
- data/generated/google/apis/sheets_v4/representations.rb +47 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +104 -51
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +6 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +83 -2
- data/generated/google/apis/toolresults_v1.rb +31 -0
- data/generated/google/apis/toolresults_v1/classes.rb +696 -0
- data/generated/google/apis/toolresults_v1/representations.rb +438 -0
- data/generated/google/apis/toolresults_v1/service.rb +59 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -7
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2/representations.rb +0 -305
- data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -316,6 +316,12 @@ module Google
|
|
316
316
|
include Google::Apis::Core::JsonObjectSupport
|
317
317
|
end
|
318
318
|
|
319
|
+
class Reschedule
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
319
325
|
class RestoreBackupContext
|
320
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
327
|
|
@@ -334,6 +340,12 @@ module Google
|
|
334
340
|
include Google::Apis::Core::JsonObjectSupport
|
335
341
|
end
|
336
342
|
|
343
|
+
class SqlInstancesRescheduleMaintenanceRequestBody
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
337
349
|
class SqlScheduledMaintenance
|
338
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
351
|
|
@@ -884,6 +896,9 @@ module Google
|
|
884
896
|
class OnPremisesConfiguration
|
885
897
|
# @private
|
886
898
|
class Representation < Google::Apis::Core::JsonRepresentation
|
899
|
+
property :ca_certificate, as: 'caCertificate'
|
900
|
+
property :client_certificate, as: 'clientCertificate'
|
901
|
+
property :client_key, as: 'clientKey'
|
887
902
|
property :host_port, as: 'hostPort'
|
888
903
|
property :kind, as: 'kind'
|
889
904
|
end
|
@@ -951,6 +966,14 @@ module Google
|
|
951
966
|
end
|
952
967
|
end
|
953
968
|
|
969
|
+
class Reschedule
|
970
|
+
# @private
|
971
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
972
|
+
property :reschedule_type, as: 'rescheduleType'
|
973
|
+
property :schedule_time, as: 'scheduleTime'
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
954
977
|
class RestoreBackupContext
|
955
978
|
# @private
|
956
979
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1000,10 +1023,19 @@ module Google
|
|
1000
1023
|
end
|
1001
1024
|
end
|
1002
1025
|
|
1026
|
+
class SqlInstancesRescheduleMaintenanceRequestBody
|
1027
|
+
# @private
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1029
|
+
property :reschedule, as: 'reschedule', class: Google::Apis::SqlV1beta4::Reschedule, decorator: Google::Apis::SqlV1beta4::Reschedule::Representation
|
1030
|
+
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
1003
1034
|
class SqlScheduledMaintenance
|
1004
1035
|
# @private
|
1005
1036
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1006
1037
|
property :can_defer, as: 'canDefer'
|
1038
|
+
property :can_reschedule, as: 'canReschedule'
|
1007
1039
|
property :start_time, as: 'startTime'
|
1008
1040
|
end
|
1009
1041
|
end
|
@@ -1422,6 +1422,88 @@ module Google
|
|
1422
1422
|
execute_or_queue_command(command, &block)
|
1423
1423
|
end
|
1424
1424
|
|
1425
|
+
# Reschedules the maintenance on the given instance.
|
1426
|
+
# @param [String] project
|
1427
|
+
# ID of the project that contains the instance.
|
1428
|
+
# @param [String] instance
|
1429
|
+
# Cloud SQL instance ID. This does not include the project ID.
|
1430
|
+
# @param [Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
|
1431
|
+
# @param [String] parent
|
1432
|
+
# The parent resource where Cloud SQL reshedule this database instance's
|
1433
|
+
# maintenance. Format:
|
1434
|
+
# projects/`project`/locations/`location`/instances/`instance`
|
1435
|
+
# @param [String] fields
|
1436
|
+
# Selector specifying which fields to include in a partial response.
|
1437
|
+
# @param [String] quota_user
|
1438
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1439
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1440
|
+
# @param [Google::Apis::RequestOptions] options
|
1441
|
+
# Request-specific options
|
1442
|
+
#
|
1443
|
+
# @yield [result, err] Result & error if block supplied
|
1444
|
+
# @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
|
1445
|
+
# @yieldparam err [StandardError] error object if request failed
|
1446
|
+
#
|
1447
|
+
# @return [Google::Apis::SqlV1beta4::Operation]
|
1448
|
+
#
|
1449
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1450
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1451
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1452
|
+
def reschedule_project_instance_maintenance(project, instance, sql_instances_reschedule_maintenance_request_body_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1453
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance', options)
|
1454
|
+
command.request_representation = Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
|
1455
|
+
command.request_object = sql_instances_reschedule_maintenance_request_body_object
|
1456
|
+
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
1457
|
+
command.response_class = Google::Apis::SqlV1beta4::Operation
|
1458
|
+
command.params['project'] = project unless project.nil?
|
1459
|
+
command.params['instance'] = instance unless instance.nil?
|
1460
|
+
command.query['parent'] = parent unless parent.nil?
|
1461
|
+
command.query['fields'] = fields unless fields.nil?
|
1462
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1463
|
+
execute_or_queue_command(command, &block)
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
# Reschedules the maintenance on the given instance.
|
1467
|
+
# @param [String] parent
|
1468
|
+
# The parent resource where Cloud SQL reshedule this database instance's
|
1469
|
+
# maintenance. Format:
|
1470
|
+
# projects/`project`/locations/`location`/instances/`instance`
|
1471
|
+
# @param [Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
|
1472
|
+
# @param [String] instance
|
1473
|
+
# Cloud SQL instance ID. This does not include the project ID.
|
1474
|
+
# @param [String] project
|
1475
|
+
# ID of the project that contains the instance.
|
1476
|
+
# @param [String] fields
|
1477
|
+
# Selector specifying which fields to include in a partial response.
|
1478
|
+
# @param [String] quota_user
|
1479
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1480
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1481
|
+
# @param [Google::Apis::RequestOptions] options
|
1482
|
+
# Request-specific options
|
1483
|
+
#
|
1484
|
+
# @yield [result, err] Result & error if block supplied
|
1485
|
+
# @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
|
1486
|
+
# @yieldparam err [StandardError] error object if request failed
|
1487
|
+
#
|
1488
|
+
# @return [Google::Apis::SqlV1beta4::Operation]
|
1489
|
+
#
|
1490
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1491
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1492
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1493
|
+
def reschedule_project_location_instance_maintenance(parent, sql_instances_reschedule_maintenance_request_body_object = nil, instance: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1494
|
+
command = make_simple_command(:post, 'sql/v1beta4/{+parent}/rescheduleMaintenance', options)
|
1495
|
+
command.request_representation = Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
|
1496
|
+
command.request_object = sql_instances_reschedule_maintenance_request_body_object
|
1497
|
+
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
1498
|
+
command.response_class = Google::Apis::SqlV1beta4::Operation
|
1499
|
+
command.params['parent'] = parent unless parent.nil?
|
1500
|
+
command.query['instance'] = instance unless instance.nil?
|
1501
|
+
command.query['project'] = project unless project.nil?
|
1502
|
+
command.query['fields'] = fields unless fields.nil?
|
1503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1504
|
+
execute_or_queue_command(command, &block)
|
1505
|
+
end
|
1506
|
+
|
1425
1507
|
# Generates a short-lived X509 certificate containing the provided public key
|
1426
1508
|
# and signed by a private key specific to the target instance. Users may use
|
1427
1509
|
# the certificate to authenticate as themselves when connecting to the
|
@@ -1788,8 +1870,7 @@ module Google
|
|
1788
1870
|
# Database instance ID. This does not include the project ID.
|
1789
1871
|
# @param [Google::Apis::SqlV1beta4::User] user_object
|
1790
1872
|
# @param [String] host
|
1791
|
-
# Host of the user in the instance.
|
1792
|
-
# a PostgreSQL instance, it's optional.
|
1873
|
+
# Optional. Host of the user in the instance.
|
1793
1874
|
# @param [String] name
|
1794
1875
|
# Name of the user in the instance.
|
1795
1876
|
# @param [String] resource_name
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/toolresults_v1/service.rb'
|
16
|
+
require 'google/apis/toolresults_v1/classes.rb'
|
17
|
+
require 'google/apis/toolresults_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Cloud Tool Results API
|
22
|
+
#
|
23
|
+
# API to publish and access results from developer tools.
|
24
|
+
#
|
25
|
+
# @see https://firebase.google.com/docs/test-lab/
|
26
|
+
module ToolresultsV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20191218'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,696 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ToolresultsV1
|
24
|
+
|
25
|
+
# Additional details for an ANR crash.
|
26
|
+
class Anr
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# A stacktrace.
|
30
|
+
# Corresponds to the JSON property `stackTrace`
|
31
|
+
# @return [Google::Apis::ToolresultsV1::StackTrace]
|
32
|
+
attr_accessor :stack_trace
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# A suggestion to use deep links for a Robo run.
|
45
|
+
class AvailableDeepLinks
|
46
|
+
include Google::Apis::Core::Hashable
|
47
|
+
|
48
|
+
def initialize(**args)
|
49
|
+
update!(**args)
|
50
|
+
end
|
51
|
+
|
52
|
+
# Update properties of this object
|
53
|
+
def update!(**args)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# A warning that Robo encountered a screen that was mostly blank; this may
|
58
|
+
# indicate a problem with the app.
|
59
|
+
class BlankScreen
|
60
|
+
include Google::Apis::Core::Hashable
|
61
|
+
|
62
|
+
# The screen id of the element
|
63
|
+
# Corresponds to the JSON property `screenId`
|
64
|
+
# @return [String]
|
65
|
+
attr_accessor :screen_id
|
66
|
+
|
67
|
+
def initialize(**args)
|
68
|
+
update!(**args)
|
69
|
+
end
|
70
|
+
|
71
|
+
# Update properties of this object
|
72
|
+
def update!(**args)
|
73
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Crash dialog was detected during the test execution
|
78
|
+
class CrashDialogError
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# The name of the package that caused the dialog.
|
82
|
+
# Corresponds to the JSON property `crashPackage`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :crash_package
|
85
|
+
|
86
|
+
def initialize(**args)
|
87
|
+
update!(**args)
|
88
|
+
end
|
89
|
+
|
90
|
+
# Update properties of this object
|
91
|
+
def update!(**args)
|
92
|
+
@crash_package = args[:crash_package] if args.key?(:crash_package)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# Additional details about encountered login screens.
|
97
|
+
class EncounteredLoginScreen
|
98
|
+
include Google::Apis::Core::Hashable
|
99
|
+
|
100
|
+
# Number of encountered distinct login screens.
|
101
|
+
# Corresponds to the JSON property `distinctScreens`
|
102
|
+
# @return [Fixnum]
|
103
|
+
attr_accessor :distinct_screens
|
104
|
+
|
105
|
+
# Subset of login screens.
|
106
|
+
# Corresponds to the JSON property `screenIds`
|
107
|
+
# @return [Array<String>]
|
108
|
+
attr_accessor :screen_ids
|
109
|
+
|
110
|
+
def initialize(**args)
|
111
|
+
update!(**args)
|
112
|
+
end
|
113
|
+
|
114
|
+
# Update properties of this object
|
115
|
+
def update!(**args)
|
116
|
+
@distinct_screens = args[:distinct_screens] if args.key?(:distinct_screens)
|
117
|
+
@screen_ids = args[:screen_ids] if args.key?(:screen_ids)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
# Additional details about encountered screens with elements that are not
|
122
|
+
# Android UI widgets.
|
123
|
+
class EncounteredNonAndroidUiWidgetScreen
|
124
|
+
include Google::Apis::Core::Hashable
|
125
|
+
|
126
|
+
# Number of encountered distinct screens with non Android UI widgets.
|
127
|
+
# Corresponds to the JSON property `distinctScreens`
|
128
|
+
# @return [Fixnum]
|
129
|
+
attr_accessor :distinct_screens
|
130
|
+
|
131
|
+
# Subset of screens which contain non Android UI widgets.
|
132
|
+
# Corresponds to the JSON property `screenIds`
|
133
|
+
# @return [Array<String>]
|
134
|
+
attr_accessor :screen_ids
|
135
|
+
|
136
|
+
def initialize(**args)
|
137
|
+
update!(**args)
|
138
|
+
end
|
139
|
+
|
140
|
+
# Update properties of this object
|
141
|
+
def update!(**args)
|
142
|
+
@distinct_screens = args[:distinct_screens] if args.key?(:distinct_screens)
|
143
|
+
@screen_ids = args[:screen_ids] if args.key?(:screen_ids)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# Failed to install the APK.
|
148
|
+
class FailedToInstall
|
149
|
+
include Google::Apis::Core::Hashable
|
150
|
+
|
151
|
+
def initialize(**args)
|
152
|
+
update!(**args)
|
153
|
+
end
|
154
|
+
|
155
|
+
# Update properties of this object
|
156
|
+
def update!(**args)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# Additional details for a fatal exception.
|
161
|
+
class FatalException
|
162
|
+
include Google::Apis::Core::Hashable
|
163
|
+
|
164
|
+
# A stacktrace.
|
165
|
+
# Corresponds to the JSON property `stackTrace`
|
166
|
+
# @return [Google::Apis::ToolresultsV1::StackTrace]
|
167
|
+
attr_accessor :stack_trace
|
168
|
+
|
169
|
+
def initialize(**args)
|
170
|
+
update!(**args)
|
171
|
+
end
|
172
|
+
|
173
|
+
# Update properties of this object
|
174
|
+
def update!(**args)
|
175
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# Additional details of in-app purchases encountered during the crawl.
|
180
|
+
class InAppPurchasesFound
|
181
|
+
include Google::Apis::Core::Hashable
|
182
|
+
|
183
|
+
# The total number of in-app purchases flows explored: how many times the
|
184
|
+
# robo tries to buy a SKU.
|
185
|
+
# Corresponds to the JSON property `inAppPurchasesFlowsExplored`
|
186
|
+
# @return [Fixnum]
|
187
|
+
attr_accessor :in_app_purchases_flows_explored
|
188
|
+
|
189
|
+
# The total number of in-app purchases flows started.
|
190
|
+
# Corresponds to the JSON property `inAppPurchasesFlowsStarted`
|
191
|
+
# @return [Fixnum]
|
192
|
+
attr_accessor :in_app_purchases_flows_started
|
193
|
+
|
194
|
+
def initialize(**args)
|
195
|
+
update!(**args)
|
196
|
+
end
|
197
|
+
|
198
|
+
# Update properties of this object
|
199
|
+
def update!(**args)
|
200
|
+
@in_app_purchases_flows_explored = args[:in_app_purchases_flows_explored] if args.key?(:in_app_purchases_flows_explored)
|
201
|
+
@in_app_purchases_flows_started = args[:in_app_purchases_flows_started] if args.key?(:in_app_purchases_flows_started)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# A warning that Robo did not crawl potentially important parts of the app.
|
206
|
+
class InsufficientCoverage
|
207
|
+
include Google::Apis::Core::Hashable
|
208
|
+
|
209
|
+
def initialize(**args)
|
210
|
+
update!(**args)
|
211
|
+
end
|
212
|
+
|
213
|
+
# Update properties of this object
|
214
|
+
def update!(**args)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# Additional details for an iOS app crash.
|
219
|
+
class IosAppCrashed
|
220
|
+
include Google::Apis::Core::Hashable
|
221
|
+
|
222
|
+
# A stacktrace.
|
223
|
+
# Corresponds to the JSON property `stackTrace`
|
224
|
+
# @return [Google::Apis::ToolresultsV1::StackTrace]
|
225
|
+
attr_accessor :stack_trace
|
226
|
+
|
227
|
+
def initialize(**args)
|
228
|
+
update!(**args)
|
229
|
+
end
|
230
|
+
|
231
|
+
# Update properties of this object
|
232
|
+
def update!(**args)
|
233
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# Failed to find the launcher activity of an app.
|
238
|
+
class LauncherActivityNotFound
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
def initialize(**args)
|
242
|
+
update!(**args)
|
243
|
+
end
|
244
|
+
|
245
|
+
# Update properties of this object
|
246
|
+
def update!(**args)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
# Additional details for a native crash.
|
251
|
+
class NativeCrash
|
252
|
+
include Google::Apis::Core::Hashable
|
253
|
+
|
254
|
+
# A stacktrace.
|
255
|
+
# Corresponds to the JSON property `stackTrace`
|
256
|
+
# @return [Google::Apis::ToolresultsV1::StackTrace]
|
257
|
+
attr_accessor :stack_trace
|
258
|
+
|
259
|
+
def initialize(**args)
|
260
|
+
update!(**args)
|
261
|
+
end
|
262
|
+
|
263
|
+
# Update properties of this object
|
264
|
+
def update!(**args)
|
265
|
+
@stack_trace = args[:stack_trace] if args.key?(:stack_trace)
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
# A non-sdk API and examples of it being called along with other metadata
|
270
|
+
# See
|
271
|
+
# https://developer.android.com/distribute/best-practices/develop/restrictions-
|
272
|
+
# non-sdk-interfaces
|
273
|
+
class NonSdkApi
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# The signature of the Non-SDK API
|
277
|
+
# Corresponds to the JSON property `apiSignature`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :api_signature
|
280
|
+
|
281
|
+
# Example stack traces of this API being called.
|
282
|
+
# Corresponds to the JSON property `exampleStackTraces`
|
283
|
+
# @return [Array<String>]
|
284
|
+
attr_accessor :example_stack_traces
|
285
|
+
|
286
|
+
# Optional debugging insights for non-SDK API violations.
|
287
|
+
# Corresponds to the JSON property `insights`
|
288
|
+
# @return [Array<Google::Apis::ToolresultsV1::NonSdkApiInsight>]
|
289
|
+
attr_accessor :insights
|
290
|
+
|
291
|
+
# The total number of times this API was observed to have been called.
|
292
|
+
# Corresponds to the JSON property `invocationCount`
|
293
|
+
# @return [Fixnum]
|
294
|
+
attr_accessor :invocation_count
|
295
|
+
|
296
|
+
# Which list this API appears on
|
297
|
+
# Corresponds to the JSON property `list`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :list
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@api_signature = args[:api_signature] if args.key?(:api_signature)
|
308
|
+
@example_stack_traces = args[:example_stack_traces] if args.key?(:example_stack_traces)
|
309
|
+
@insights = args[:insights] if args.key?(:insights)
|
310
|
+
@invocation_count = args[:invocation_count] if args.key?(:invocation_count)
|
311
|
+
@list = args[:list] if args.key?(:list)
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
# Non-SDK API insights (to address debugging solutions).
|
316
|
+
class NonSdkApiInsight
|
317
|
+
include Google::Apis::Core::Hashable
|
318
|
+
|
319
|
+
# Optional sample stack traces, for which this insight applies (there
|
320
|
+
# should be at least one).
|
321
|
+
# Corresponds to the JSON property `exampleTraceMessages`
|
322
|
+
# @return [Array<String>]
|
323
|
+
attr_accessor :example_trace_messages
|
324
|
+
|
325
|
+
# A unique ID, to be used for determining the effectiveness of this
|
326
|
+
# particular insight in the context of a matcher. (required)
|
327
|
+
# Corresponds to the JSON property `matcherId`
|
328
|
+
# @return [String]
|
329
|
+
attr_accessor :matcher_id
|
330
|
+
|
331
|
+
# This insight indicates that the hidden API usage originates from a
|
332
|
+
# Google-provided library. Users need not take any action.
|
333
|
+
# Corresponds to the JSON property `pendingGoogleUpdateInsight`
|
334
|
+
# @return [Google::Apis::ToolresultsV1::PendingGoogleUpdateInsight]
|
335
|
+
attr_accessor :pending_google_update_insight
|
336
|
+
|
337
|
+
# This insight is a recommendation to upgrade a given library to the specified
|
338
|
+
# version, in order to avoid dependencies on non-SDK APIs.
|
339
|
+
# Corresponds to the JSON property `upgradeInsight`
|
340
|
+
# @return [Google::Apis::ToolresultsV1::UpgradeInsight]
|
341
|
+
attr_accessor :upgrade_insight
|
342
|
+
|
343
|
+
def initialize(**args)
|
344
|
+
update!(**args)
|
345
|
+
end
|
346
|
+
|
347
|
+
# Update properties of this object
|
348
|
+
def update!(**args)
|
349
|
+
@example_trace_messages = args[:example_trace_messages] if args.key?(:example_trace_messages)
|
350
|
+
@matcher_id = args[:matcher_id] if args.key?(:matcher_id)
|
351
|
+
@pending_google_update_insight = args[:pending_google_update_insight] if args.key?(:pending_google_update_insight)
|
352
|
+
@upgrade_insight = args[:upgrade_insight] if args.key?(:upgrade_insight)
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
# Additional details for a non-sdk API usage violation.
|
357
|
+
class NonSdkApiUsageViolation
|
358
|
+
include Google::Apis::Core::Hashable
|
359
|
+
|
360
|
+
# Signatures of a subset of those hidden API's.
|
361
|
+
# Corresponds to the JSON property `apiSignatures`
|
362
|
+
# @return [Array<String>]
|
363
|
+
attr_accessor :api_signatures
|
364
|
+
|
365
|
+
# Total number of unique hidden API's accessed.
|
366
|
+
# Corresponds to the JSON property `uniqueApis`
|
367
|
+
# @return [Fixnum]
|
368
|
+
attr_accessor :unique_apis
|
369
|
+
|
370
|
+
def initialize(**args)
|
371
|
+
update!(**args)
|
372
|
+
end
|
373
|
+
|
374
|
+
# Update properties of this object
|
375
|
+
def update!(**args)
|
376
|
+
@api_signatures = args[:api_signatures] if args.key?(:api_signatures)
|
377
|
+
@unique_apis = args[:unique_apis] if args.key?(:unique_apis)
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# Contains a summary and examples of non-sdk API usage violations.
|
382
|
+
class NonSdkApiUsageViolationReport
|
383
|
+
include Google::Apis::Core::Hashable
|
384
|
+
|
385
|
+
# Examples of the detected API usages.
|
386
|
+
# Corresponds to the JSON property `exampleApis`
|
387
|
+
# @return [Array<Google::Apis::ToolresultsV1::NonSdkApi>]
|
388
|
+
attr_accessor :example_apis
|
389
|
+
|
390
|
+
# Minimum API level required for the application to run.
|
391
|
+
# Corresponds to the JSON property `minSdkVersion`
|
392
|
+
# @return [Fixnum]
|
393
|
+
attr_accessor :min_sdk_version
|
394
|
+
|
395
|
+
# Specifies the API Level on which the application is designed to run.
|
396
|
+
# Corresponds to the JSON property `targetSdkVersion`
|
397
|
+
# @return [Fixnum]
|
398
|
+
attr_accessor :target_sdk_version
|
399
|
+
|
400
|
+
# Total number of unique Non-SDK API's accessed.
|
401
|
+
# Corresponds to the JSON property `uniqueApis`
|
402
|
+
# @return [Fixnum]
|
403
|
+
attr_accessor :unique_apis
|
404
|
+
|
405
|
+
def initialize(**args)
|
406
|
+
update!(**args)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Update properties of this object
|
410
|
+
def update!(**args)
|
411
|
+
@example_apis = args[:example_apis] if args.key?(:example_apis)
|
412
|
+
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
|
413
|
+
@target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
|
414
|
+
@unique_apis = args[:unique_apis] if args.key?(:unique_apis)
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
# A warning that Robo encountered a screen that has overlapping clickable
|
419
|
+
# elements; this may indicate a potential UI issue.
|
420
|
+
class OverlappingUiElements
|
421
|
+
include Google::Apis::Core::Hashable
|
422
|
+
|
423
|
+
# Resource names of the overlapping screen elements
|
424
|
+
# Corresponds to the JSON property `resourceName`
|
425
|
+
# @return [Array<String>]
|
426
|
+
attr_accessor :resource_name
|
427
|
+
|
428
|
+
# The screen id of the elements
|
429
|
+
# Corresponds to the JSON property `screenId`
|
430
|
+
# @return [String]
|
431
|
+
attr_accessor :screen_id
|
432
|
+
|
433
|
+
def initialize(**args)
|
434
|
+
update!(**args)
|
435
|
+
end
|
436
|
+
|
437
|
+
# Update properties of this object
|
438
|
+
def update!(**args)
|
439
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
440
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# This insight indicates that the hidden API usage originates from a
|
445
|
+
# Google-provided library. Users need not take any action.
|
446
|
+
class PendingGoogleUpdateInsight
|
447
|
+
include Google::Apis::Core::Hashable
|
448
|
+
|
449
|
+
# The name of the Google-provided library with the non-SDK API dependency.
|
450
|
+
# Corresponds to the JSON property `nameOfGoogleLibrary`
|
451
|
+
# @return [String]
|
452
|
+
attr_accessor :name_of_google_library
|
453
|
+
|
454
|
+
def initialize(**args)
|
455
|
+
update!(**args)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Update properties of this object
|
459
|
+
def update!(**args)
|
460
|
+
@name_of_google_library = args[:name_of_google_library] if args.key?(:name_of_google_library)
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
# A notification that Robo signed in with Google.
|
465
|
+
class PerformedGoogleLogin
|
466
|
+
include Google::Apis::Core::Hashable
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# A notification that Robo performed some monkey actions.
|
478
|
+
class PerformedMonkeyActions
|
479
|
+
include Google::Apis::Core::Hashable
|
480
|
+
|
481
|
+
# The total number of monkey actions performed during the crawl.
|
482
|
+
# Corresponds to the JSON property `totalActions`
|
483
|
+
# @return [Fixnum]
|
484
|
+
attr_accessor :total_actions
|
485
|
+
|
486
|
+
def initialize(**args)
|
487
|
+
update!(**args)
|
488
|
+
end
|
489
|
+
|
490
|
+
# Update properties of this object
|
491
|
+
def update!(**args)
|
492
|
+
@total_actions = args[:total_actions] if args.key?(:total_actions)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
# Execution stats for a user-provided Robo script.
|
497
|
+
class RoboScriptExecution
|
498
|
+
include Google::Apis::Core::Hashable
|
499
|
+
|
500
|
+
# The number of Robo script actions executed successfully.
|
501
|
+
# Corresponds to the JSON property `successfulActions`
|
502
|
+
# @return [Fixnum]
|
503
|
+
attr_accessor :successful_actions
|
504
|
+
|
505
|
+
# The total number of actions in the Robo script.
|
506
|
+
# Corresponds to the JSON property `totalActions`
|
507
|
+
# @return [Fixnum]
|
508
|
+
attr_accessor :total_actions
|
509
|
+
|
510
|
+
def initialize(**args)
|
511
|
+
update!(**args)
|
512
|
+
end
|
513
|
+
|
514
|
+
# Update properties of this object
|
515
|
+
def update!(**args)
|
516
|
+
@successful_actions = args[:successful_actions] if args.key?(:successful_actions)
|
517
|
+
@total_actions = args[:total_actions] if args.key?(:total_actions)
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
# A stacktrace.
|
522
|
+
class StackTrace
|
523
|
+
include Google::Apis::Core::Hashable
|
524
|
+
|
525
|
+
# The stack trace message.
|
526
|
+
# Required
|
527
|
+
# Corresponds to the JSON property `exception`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :exception
|
530
|
+
|
531
|
+
def initialize(**args)
|
532
|
+
update!(**args)
|
533
|
+
end
|
534
|
+
|
535
|
+
# Update properties of this object
|
536
|
+
def update!(**args)
|
537
|
+
@exception = args[:exception] if args.key?(:exception)
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
# User provided intent failed to resolve to an activity.
|
542
|
+
class StartActivityNotFound
|
543
|
+
include Google::Apis::Core::Hashable
|
544
|
+
|
545
|
+
#
|
546
|
+
# Corresponds to the JSON property `action`
|
547
|
+
# @return [String]
|
548
|
+
attr_accessor :action
|
549
|
+
|
550
|
+
#
|
551
|
+
# Corresponds to the JSON property `uri`
|
552
|
+
# @return [String]
|
553
|
+
attr_accessor :uri
|
554
|
+
|
555
|
+
def initialize(**args)
|
556
|
+
update!(**args)
|
557
|
+
end
|
558
|
+
|
559
|
+
# Update properties of this object
|
560
|
+
def update!(**args)
|
561
|
+
@action = args[:action] if args.key?(:action)
|
562
|
+
@uri = args[:uri] if args.key?(:uri)
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
# A warning that the screen hierarchy is deeper than the recommended threshold.
|
567
|
+
class UiElementTooDeep
|
568
|
+
include Google::Apis::Core::Hashable
|
569
|
+
|
570
|
+
# The depth of the screen element
|
571
|
+
# Corresponds to the JSON property `depth`
|
572
|
+
# @return [Fixnum]
|
573
|
+
attr_accessor :depth
|
574
|
+
|
575
|
+
# The screen id of the element
|
576
|
+
# Corresponds to the JSON property `screenId`
|
577
|
+
# @return [String]
|
578
|
+
attr_accessor :screen_id
|
579
|
+
|
580
|
+
# The screen state id of the element
|
581
|
+
# Corresponds to the JSON property `screenStateId`
|
582
|
+
# @return [String]
|
583
|
+
attr_accessor :screen_state_id
|
584
|
+
|
585
|
+
def initialize(**args)
|
586
|
+
update!(**args)
|
587
|
+
end
|
588
|
+
|
589
|
+
# Update properties of this object
|
590
|
+
def update!(**args)
|
591
|
+
@depth = args[:depth] if args.key?(:depth)
|
592
|
+
@screen_id = args[:screen_id] if args.key?(:screen_id)
|
593
|
+
@screen_state_id = args[:screen_state_id] if args.key?(:screen_state_id)
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
597
|
+
# Default unspecified warning.
|
598
|
+
class UnspecifiedWarning
|
599
|
+
include Google::Apis::Core::Hashable
|
600
|
+
|
601
|
+
def initialize(**args)
|
602
|
+
update!(**args)
|
603
|
+
end
|
604
|
+
|
605
|
+
# Update properties of this object
|
606
|
+
def update!(**args)
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
# Additional details of an unused robodirective.
|
611
|
+
class UnusedRoboDirective
|
612
|
+
include Google::Apis::Core::Hashable
|
613
|
+
|
614
|
+
# The name of the resource that was unused.
|
615
|
+
# Corresponds to the JSON property `resourceName`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :resource_name
|
618
|
+
|
619
|
+
def initialize(**args)
|
620
|
+
update!(**args)
|
621
|
+
end
|
622
|
+
|
623
|
+
# Update properties of this object
|
624
|
+
def update!(**args)
|
625
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# This insight is a recommendation to upgrade a given library to the specified
|
630
|
+
# version, in order to avoid dependencies on non-SDK APIs.
|
631
|
+
class UpgradeInsight
|
632
|
+
include Google::Apis::Core::Hashable
|
633
|
+
|
634
|
+
# The name of the package to be upgraded.
|
635
|
+
# Corresponds to the JSON property `packageName`
|
636
|
+
# @return [String]
|
637
|
+
attr_accessor :package_name
|
638
|
+
|
639
|
+
# The suggested version to upgrade to.
|
640
|
+
# Optional: In case we are not sure which version solves this problem
|
641
|
+
# Corresponds to the JSON property `upgradeToVersion`
|
642
|
+
# @return [String]
|
643
|
+
attr_accessor :upgrade_to_version
|
644
|
+
|
645
|
+
def initialize(**args)
|
646
|
+
update!(**args)
|
647
|
+
end
|
648
|
+
|
649
|
+
# Update properties of this object
|
650
|
+
def update!(**args)
|
651
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
652
|
+
@upgrade_to_version = args[:upgrade_to_version] if args.key?(:upgrade_to_version)
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# Additional details of a used Robo directive.
|
657
|
+
class UsedRoboDirective
|
658
|
+
include Google::Apis::Core::Hashable
|
659
|
+
|
660
|
+
# The name of the resource that was used.
|
661
|
+
# Corresponds to the JSON property `resourceName`
|
662
|
+
# @return [String]
|
663
|
+
attr_accessor :resource_name
|
664
|
+
|
665
|
+
def initialize(**args)
|
666
|
+
update!(**args)
|
667
|
+
end
|
668
|
+
|
669
|
+
# Update properties of this object
|
670
|
+
def update!(**args)
|
671
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
# Additional details of a used Robo directive with an ignore action.
|
676
|
+
# Note: This is a different scenario than unused directive.
|
677
|
+
class UsedRoboIgnoreDirective
|
678
|
+
include Google::Apis::Core::Hashable
|
679
|
+
|
680
|
+
# The name of the resource that was ignored.
|
681
|
+
# Corresponds to the JSON property `resourceName`
|
682
|
+
# @return [String]
|
683
|
+
attr_accessor :resource_name
|
684
|
+
|
685
|
+
def initialize(**args)
|
686
|
+
update!(**args)
|
687
|
+
end
|
688
|
+
|
689
|
+
# Update properties of this object
|
690
|
+
def update!(**args)
|
691
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
692
|
+
end
|
693
|
+
end
|
694
|
+
end
|
695
|
+
end
|
696
|
+
end
|