google-api-client 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -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 +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
26
26
|
module ToolresultsV1beta3
|
27
27
|
VERSION = 'V1beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170707'
|
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'
|
@@ -91,6 +91,89 @@ module Google
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
+
#
|
95
|
+
class AppStartTime
|
96
|
+
include Google::Apis::Core::Hashable
|
97
|
+
|
98
|
+
# A Duration represents a signed, fixed-length span of time represented as a
|
99
|
+
# count of seconds and fractions of seconds at nanosecond resolution. It is
|
100
|
+
# independent of any calendar and concepts like "day" or "month". It is related
|
101
|
+
# to Timestamp in that the difference between two Timestamp values is a Duration
|
102
|
+
# and it can be added or subtracted from a Timestamp. Range is approximately +-
|
103
|
+
# 10,000 years.
|
104
|
+
# # Examples
|
105
|
+
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
106
|
+
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
107
|
+
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
108
|
+
# start.nanos;
|
109
|
+
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
110
|
+
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
111
|
+
# 1; duration.nanos += 1000000000; `
|
112
|
+
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
113
|
+
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
114
|
+
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
115
|
+
# duration.nanos;
|
116
|
+
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
117
|
+
# Example 3: Compute Duration from datetime.timedelta in Python.
|
118
|
+
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
119
|
+
# FromTimedelta(td)
|
120
|
+
# # JSON Mapping
|
121
|
+
# In JSON format, the Duration type is encoded as a string rather than an object,
|
122
|
+
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
123
|
+
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
124
|
+
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
125
|
+
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
126
|
+
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
127
|
+
# format as "3.000001s".
|
128
|
+
# Corresponds to the JSON property `fullyDrawnTime`
|
129
|
+
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
130
|
+
attr_accessor :fully_drawn_time
|
131
|
+
|
132
|
+
# A Duration represents a signed, fixed-length span of time represented as a
|
133
|
+
# count of seconds and fractions of seconds at nanosecond resolution. It is
|
134
|
+
# independent of any calendar and concepts like "day" or "month". It is related
|
135
|
+
# to Timestamp in that the difference between two Timestamp values is a Duration
|
136
|
+
# and it can be added or subtracted from a Timestamp. Range is approximately +-
|
137
|
+
# 10,000 years.
|
138
|
+
# # Examples
|
139
|
+
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
140
|
+
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
141
|
+
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
142
|
+
# start.nanos;
|
143
|
+
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
144
|
+
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
145
|
+
# 1; duration.nanos += 1000000000; `
|
146
|
+
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
147
|
+
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
148
|
+
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
149
|
+
# duration.nanos;
|
150
|
+
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
151
|
+
# Example 3: Compute Duration from datetime.timedelta in Python.
|
152
|
+
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
153
|
+
# FromTimedelta(td)
|
154
|
+
# # JSON Mapping
|
155
|
+
# In JSON format, the Duration type is encoded as a string rather than an object,
|
156
|
+
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
157
|
+
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
158
|
+
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
159
|
+
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
160
|
+
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
161
|
+
# format as "3.000001s".
|
162
|
+
# Corresponds to the JSON property `initialDisplayTime`
|
163
|
+
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
164
|
+
attr_accessor :initial_display_time
|
165
|
+
|
166
|
+
def initialize(**args)
|
167
|
+
update!(**args)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Update properties of this object
|
171
|
+
def update!(**args)
|
172
|
+
@fully_drawn_time = args[:fully_drawn_time] if args.key?(:fully_drawn_time)
|
173
|
+
@initial_display_time = args[:initial_display_time] if args.key?(:initial_display_time)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
94
177
|
# Encapsulates the metadata for basic sample series represented by a line chart
|
95
178
|
class BasicPerfSampleSeries
|
96
179
|
include Google::Apis::Core::Hashable
|
@@ -909,6 +992,11 @@ module Google
|
|
909
992
|
class PerfMetricsSummary
|
910
993
|
include Google::Apis::Core::Hashable
|
911
994
|
|
995
|
+
#
|
996
|
+
# Corresponds to the JSON property `appStartTime`
|
997
|
+
# @return [Google::Apis::ToolresultsV1beta3::AppStartTime]
|
998
|
+
attr_accessor :app_start_time
|
999
|
+
|
912
1000
|
# A tool results execution ID.
|
913
1001
|
# Corresponds to the JSON property `executionId`
|
914
1002
|
# @return [String]
|
@@ -945,6 +1033,7 @@ module Google
|
|
945
1033
|
|
946
1034
|
# Update properties of this object
|
947
1035
|
def update!(**args)
|
1036
|
+
@app_start_time = args[:app_start_time] if args.key?(:app_start_time)
|
948
1037
|
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
949
1038
|
@history_id = args[:history_id] if args.key?(:history_id)
|
950
1039
|
@perf_environment = args[:perf_environment] if args.key?(:perf_environment)
|
@@ -1228,7 +1317,7 @@ module Google
|
|
1228
1317
|
# @return [Fixnum]
|
1229
1318
|
attr_accessor :code
|
1230
1319
|
|
1231
|
-
# A list of messages that carry the error details. There
|
1320
|
+
# A list of messages that carry the error details. There is a common set of
|
1232
1321
|
# message types for APIs to use.
|
1233
1322
|
# Corresponds to the JSON property `details`
|
1234
1323
|
# @return [Array<Google::Apis::ToolresultsV1beta3::Any>]
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AppStartTime
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class BasicPerfSampleSeries
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -294,6 +300,16 @@ module Google
|
|
294
300
|
end
|
295
301
|
end
|
296
302
|
|
303
|
+
class AppStartTime
|
304
|
+
# @private
|
305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
306
|
+
property :fully_drawn_time, as: 'fullyDrawnTime', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
|
307
|
+
|
308
|
+
property :initial_display_time, as: 'initialDisplayTime', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
|
309
|
+
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
297
313
|
class BasicPerfSampleSeries
|
298
314
|
# @private
|
299
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -488,6 +504,8 @@ module Google
|
|
488
504
|
class PerfMetricsSummary
|
489
505
|
# @private
|
490
506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
507
|
+
property :app_start_time, as: 'appStartTime', class: Google::Apis::ToolresultsV1beta3::AppStartTime, decorator: Google::Apis::ToolresultsV1beta3::AppStartTime::Representation
|
508
|
+
|
491
509
|
property :execution_id, as: 'executionId'
|
492
510
|
property :history_id, as: 'historyId'
|
493
511
|
property :perf_environment, as: 'perfEnvironment', class: Google::Apis::ToolresultsV1beta3::PerfEnvironment, decorator: Google::Apis::ToolresultsV1beta3::PerfEnvironment::Representation
|
@@ -23,20 +23,16 @@ module Google
|
|
23
23
|
module TranslateV2
|
24
24
|
|
25
25
|
#
|
26
|
-
class
|
26
|
+
class ListLanguagesResponse
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# language
|
32
|
-
#
|
33
|
-
#
|
34
|
-
|
35
|
-
|
36
|
-
# Human readable name of the language localized to the target language.
|
37
|
-
# Corresponds to the JSON property `name`
|
38
|
-
# @return [String]
|
39
|
-
attr_accessor :name
|
29
|
+
# List of source/target languages supported by the translation API. If target
|
30
|
+
# parameter is unspecified, the list is sorted by the ASCII code point order of
|
31
|
+
# the language code. If target parameter is specified, the list is sorted by the
|
32
|
+
# collation order of the language name in the target language.
|
33
|
+
# Corresponds to the JSON property `languages`
|
34
|
+
# @return [Array<Google::Apis::TranslateV2::LanguagesResource>]
|
35
|
+
attr_accessor :languages
|
40
36
|
|
41
37
|
def initialize(**args)
|
42
38
|
update!(**args)
|
@@ -44,61 +40,29 @@ module Google
|
|
44
40
|
|
45
41
|
# Update properties of this object
|
46
42
|
def update!(**args)
|
47
|
-
@
|
48
|
-
@name = args[:name] if args.key?(:name)
|
43
|
+
@languages = args[:languages] if args.key?(:languages)
|
49
44
|
end
|
50
45
|
end
|
51
46
|
|
52
47
|
#
|
53
|
-
class
|
48
|
+
class DetectionsResource
|
54
49
|
include Google::Apis::Core::Hashable
|
55
50
|
|
56
|
-
#
|
57
|
-
# Corresponds to the JSON property `
|
58
|
-
# @return [
|
59
|
-
attr_accessor :
|
60
|
-
|
61
|
-
def initialize(**args)
|
62
|
-
update!(**args)
|
63
|
-
end
|
64
|
-
|
65
|
-
# Update properties of this object
|
66
|
-
def update!(**args)
|
67
|
-
@detections = args[:detections] if args.key?(:detections)
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# The request message for discovering supported languages.
|
72
|
-
class GetSupportedLanguagesRequest
|
73
|
-
include Google::Apis::Core::Hashable
|
51
|
+
# The confidence of the detection result of this language.
|
52
|
+
# Corresponds to the JSON property `confidence`
|
53
|
+
# @return [Float]
|
54
|
+
attr_accessor :confidence
|
74
55
|
|
75
|
-
# The language
|
76
|
-
#
|
77
|
-
# Corresponds to the JSON property `target`
|
56
|
+
# The language we detected.
|
57
|
+
# Corresponds to the JSON property `language`
|
78
58
|
# @return [String]
|
79
|
-
attr_accessor :
|
80
|
-
|
81
|
-
def initialize(**args)
|
82
|
-
update!(**args)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Update properties of this object
|
86
|
-
def update!(**args)
|
87
|
-
@target = args[:target] if args.key?(:target)
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|
91
|
-
#
|
92
|
-
class ListLanguagesResponse
|
93
|
-
include Google::Apis::Core::Hashable
|
59
|
+
attr_accessor :language
|
94
60
|
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
|
99
|
-
|
100
|
-
# @return [Array<Google::Apis::TranslateV2::LanguagesResource>]
|
101
|
-
attr_accessor :languages
|
61
|
+
# A boolean to indicate is the language detection result reliable.
|
62
|
+
# Corresponds to the JSON property `isReliable`
|
63
|
+
# @return [Boolean]
|
64
|
+
attr_accessor :is_reliable
|
65
|
+
alias_method :is_reliable?, :is_reliable
|
102
66
|
|
103
67
|
def initialize(**args)
|
104
68
|
update!(**args)
|
@@ -106,7 +70,9 @@ module Google
|
|
106
70
|
|
107
71
|
# Update properties of this object
|
108
72
|
def update!(**args)
|
109
|
-
@
|
73
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
74
|
+
@language = args[:language] if args.key?(:language)
|
75
|
+
@is_reliable = args[:is_reliable] if args.key?(:is_reliable)
|
110
76
|
end
|
111
77
|
end
|
112
78
|
|
@@ -114,14 +80,6 @@ module Google
|
|
114
80
|
class TranslationsResource
|
115
81
|
include Google::Apis::Core::Hashable
|
116
82
|
|
117
|
-
# The source language of the initial request, detected automatically, if
|
118
|
-
# no source language was passed within the initial request. If the
|
119
|
-
# source language was passed, auto-detection of the language will not
|
120
|
-
# occur and this field will be empty.
|
121
|
-
# Corresponds to the JSON property `detectedSourceLanguage`
|
122
|
-
# @return [String]
|
123
|
-
attr_accessor :detected_source_language
|
124
|
-
|
125
83
|
# The `model` type used for this translation. Valid values are
|
126
84
|
# listed in public documentation. Can be different from requested `model`.
|
127
85
|
# Present only if specific model type was explicitly requested.
|
@@ -134,37 +92,13 @@ module Google
|
|
134
92
|
# @return [String]
|
135
93
|
attr_accessor :translated_text
|
136
94
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
#
|
142
|
-
def update!(**args)
|
143
|
-
@detected_source_language = args[:detected_source_language] if args.key?(:detected_source_language)
|
144
|
-
@model = args[:model] if args.key?(:model)
|
145
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
#
|
150
|
-
class DetectionsResource
|
151
|
-
include Google::Apis::Core::Hashable
|
152
|
-
|
153
|
-
# The confidence of the detection result of this language.
|
154
|
-
# Corresponds to the JSON property `confidence`
|
155
|
-
# @return [Float]
|
156
|
-
attr_accessor :confidence
|
157
|
-
|
158
|
-
# A boolean to indicate is the language detection result reliable.
|
159
|
-
# Corresponds to the JSON property `isReliable`
|
160
|
-
# @return [Boolean]
|
161
|
-
attr_accessor :is_reliable
|
162
|
-
alias_method :is_reliable?, :is_reliable
|
163
|
-
|
164
|
-
# The language we detected.
|
165
|
-
# Corresponds to the JSON property `language`
|
95
|
+
# The source language of the initial request, detected automatically, if
|
96
|
+
# no source language was passed within the initial request. If the
|
97
|
+
# source language was passed, auto-detection of the language will not
|
98
|
+
# occur and this field will be empty.
|
99
|
+
# Corresponds to the JSON property `detectedSourceLanguage`
|
166
100
|
# @return [String]
|
167
|
-
attr_accessor :
|
101
|
+
attr_accessor :detected_source_language
|
168
102
|
|
169
103
|
def initialize(**args)
|
170
104
|
update!(**args)
|
@@ -172,9 +106,9 @@ module Google
|
|
172
106
|
|
173
107
|
# Update properties of this object
|
174
108
|
def update!(**args)
|
175
|
-
@
|
176
|
-
@
|
177
|
-
@
|
109
|
+
@model = args[:model] if args.key?(:model)
|
110
|
+
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
111
|
+
@detected_source_language = args[:detected_source_language] if args.key?(:detected_source_language)
|
178
112
|
end
|
179
113
|
end
|
180
114
|
|
@@ -207,18 +141,18 @@ module Google
|
|
207
141
|
# @return [String]
|
208
142
|
attr_accessor :target
|
209
143
|
|
210
|
-
# The input text to translate. Repeat this parameter to perform translation
|
211
|
-
# operations on multiple text inputs.
|
212
|
-
# Corresponds to the JSON property `q`
|
213
|
-
# @return [Array<String>]
|
214
|
-
attr_accessor :q
|
215
|
-
|
216
144
|
# The format of the source text, in either HTML (default) or plain-text. A
|
217
145
|
# value of "html" indicates HTML and a value of "text" indicates plain-text.
|
218
146
|
# Corresponds to the JSON property `format`
|
219
147
|
# @return [String]
|
220
148
|
attr_accessor :format
|
221
149
|
|
150
|
+
# The input text to translate. Repeat this parameter to perform translation
|
151
|
+
# operations on multiple text inputs.
|
152
|
+
# Corresponds to the JSON property `q`
|
153
|
+
# @return [Array<String>]
|
154
|
+
attr_accessor :q
|
155
|
+
|
222
156
|
# The language of the source text, set to one of the language codes listed in
|
223
157
|
# Language Support. If the source language is not specified, the API will
|
224
158
|
# attempt to identify the source language automatically and return it within
|
@@ -240,8 +174,8 @@ module Google
|
|
240
174
|
# Update properties of this object
|
241
175
|
def update!(**args)
|
242
176
|
@target = args[:target] if args.key?(:target)
|
243
|
-
@q = args[:q] if args.key?(:q)
|
244
177
|
@format = args[:format] if args.key?(:format)
|
178
|
+
@q = args[:q] if args.key?(:q)
|
245
179
|
@source = args[:source] if args.key?(:source)
|
246
180
|
@model = args[:model] if args.key?(:model)
|
247
181
|
end
|
@@ -266,6 +200,72 @@ module Google
|
|
266
200
|
@q = args[:q] if args.key?(:q)
|
267
201
|
end
|
268
202
|
end
|
203
|
+
|
204
|
+
#
|
205
|
+
class LanguagesResource
|
206
|
+
include Google::Apis::Core::Hashable
|
207
|
+
|
208
|
+
# Human readable name of the language localized to the target language.
|
209
|
+
# Corresponds to the JSON property `name`
|
210
|
+
# @return [String]
|
211
|
+
attr_accessor :name
|
212
|
+
|
213
|
+
# Supported language code, generally consisting of its ISO 639-1
|
214
|
+
# identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including
|
215
|
+
# language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH')
|
216
|
+
# Corresponds to the JSON property `language`
|
217
|
+
# @return [String]
|
218
|
+
attr_accessor :language
|
219
|
+
|
220
|
+
def initialize(**args)
|
221
|
+
update!(**args)
|
222
|
+
end
|
223
|
+
|
224
|
+
# Update properties of this object
|
225
|
+
def update!(**args)
|
226
|
+
@name = args[:name] if args.key?(:name)
|
227
|
+
@language = args[:language] if args.key?(:language)
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
#
|
232
|
+
class ListDetectionsResponse
|
233
|
+
include Google::Apis::Core::Hashable
|
234
|
+
|
235
|
+
# A detections contains detection results of several text
|
236
|
+
# Corresponds to the JSON property `detections`
|
237
|
+
# @return [Array<Array<Google::Apis::TranslateV2::DetectionsResource>>]
|
238
|
+
attr_accessor :detections
|
239
|
+
|
240
|
+
def initialize(**args)
|
241
|
+
update!(**args)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Update properties of this object
|
245
|
+
def update!(**args)
|
246
|
+
@detections = args[:detections] if args.key?(:detections)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
# The request message for discovering supported languages.
|
251
|
+
class GetSupportedLanguagesRequest
|
252
|
+
include Google::Apis::Core::Hashable
|
253
|
+
|
254
|
+
# The language to use to return localized, human readable names of supported
|
255
|
+
# languages.
|
256
|
+
# Corresponds to the JSON property `target`
|
257
|
+
# @return [String]
|
258
|
+
attr_accessor :target
|
259
|
+
|
260
|
+
def initialize(**args)
|
261
|
+
update!(**args)
|
262
|
+
end
|
263
|
+
|
264
|
+
# Update properties of this object
|
265
|
+
def update!(**args)
|
266
|
+
@target = args[:target] if args.key?(:target)
|
267
|
+
end
|
268
|
+
end
|
269
269
|
end
|
270
270
|
end
|
271
271
|
end
|