google-api-client 0.9.9 → 0.9.11
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 +9 -0
- data/Gemfile +8 -0
- data/api_names.yaml +62 -55
- 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/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +534 -39
- data/generated/google/apis/androidenterprise_v1/representations.rb +222 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +595 -10
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +66 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +29 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +15 -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 +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +77 -0
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +110 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +60 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +157 -3
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +33 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +22 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +61 -39
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +678 -17
- data/generated/google/apis/compute_beta/representations.rb +235 -0
- data/generated/google/apis/compute_beta/service.rb +1280 -600
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +34 -13
- data/generated/google/apis/compute_v1/representations.rb +14 -0
- data/generated/google/apis/compute_v1/service.rb +42 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +14 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1237 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +567 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +40 -50
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +2 -2
- data/generated/google/apis/fitness_v1/classes.rb +48 -5
- data/generated/google/apis/fitness_v1/representations.rb +18 -0
- data/generated/google/apis/fitness_v1/service.rb +15 -16
- 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 +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +35 -7
- data/generated/google/apis/genomics_v1/representations.rb +7 -3
- data/generated/google/apis/genomics_v1/service.rb +1 -3
- data/generated/google/apis/gmail_v1.rb +7 -1
- data/generated/google/apis/gmail_v1/classes.rb +543 -0
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -6
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +17 -9
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- 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 +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/core/base_service.rb +3 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- data/sync.rb +71 -0
- metadata +11 -2
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
|
27
27
|
module DoubleclicksearchV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20160629'
|
|
30
30
|
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
|
@@ -20,12 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Fitness
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# Stores and accesses user data in the fitness store from apps on any platform.
|
|
24
24
|
#
|
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
|
26
26
|
module FitnessV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160609'
|
|
29
29
|
|
|
30
30
|
# View your activity information in Google Fit
|
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
|
@@ -192,7 +192,7 @@ module Google
|
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
-
#
|
|
195
|
+
#
|
|
196
196
|
class Application
|
|
197
197
|
include Google::Apis::Core::Hashable
|
|
198
198
|
|
|
@@ -294,6 +294,11 @@ module Google
|
|
|
294
294
|
# @return [String]
|
|
295
295
|
attr_accessor :duration_millis
|
|
296
296
|
|
|
297
|
+
#
|
|
298
|
+
# Corresponds to the JSON property `period`
|
|
299
|
+
# @return [Google::Apis::FitnessV1::BucketByTimePeriod]
|
|
300
|
+
attr_accessor :period
|
|
301
|
+
|
|
297
302
|
def initialize(**args)
|
|
298
303
|
update!(**args)
|
|
299
304
|
end
|
|
@@ -301,6 +306,38 @@ module Google
|
|
|
301
306
|
# Update properties of this object
|
|
302
307
|
def update!(**args)
|
|
303
308
|
@duration_millis = args[:duration_millis] if args.key?(:duration_millis)
|
|
309
|
+
@period = args[:period] if args.key?(:period)
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
#
|
|
314
|
+
class BucketByTimePeriod
|
|
315
|
+
include Google::Apis::Core::Hashable
|
|
316
|
+
|
|
317
|
+
# org.joda.timezone.DateTimeZone
|
|
318
|
+
# Corresponds to the JSON property `timeZoneId`
|
|
319
|
+
# @return [String]
|
|
320
|
+
attr_accessor :time_zone_id
|
|
321
|
+
|
|
322
|
+
#
|
|
323
|
+
# Corresponds to the JSON property `type`
|
|
324
|
+
# @return [String]
|
|
325
|
+
attr_accessor :type
|
|
326
|
+
|
|
327
|
+
#
|
|
328
|
+
# Corresponds to the JSON property `value`
|
|
329
|
+
# @return [Fixnum]
|
|
330
|
+
attr_accessor :value
|
|
331
|
+
|
|
332
|
+
def initialize(**args)
|
|
333
|
+
update!(**args)
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Update properties of this object
|
|
337
|
+
def update!(**args)
|
|
338
|
+
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
|
|
339
|
+
@type = args[:type] if args.key?(:type)
|
|
340
|
+
@value = args[:value] if args.key?(:value)
|
|
304
341
|
end
|
|
305
342
|
end
|
|
306
343
|
|
|
@@ -400,11 +437,16 @@ module Google
|
|
|
400
437
|
class DataSource
|
|
401
438
|
include Google::Apis::Core::Hashable
|
|
402
439
|
|
|
403
|
-
#
|
|
440
|
+
#
|
|
404
441
|
# Corresponds to the JSON property `application`
|
|
405
442
|
# @return [Google::Apis::FitnessV1::Application]
|
|
406
443
|
attr_accessor :application
|
|
407
444
|
|
|
445
|
+
#
|
|
446
|
+
# Corresponds to the JSON property `dataQualityStandard`
|
|
447
|
+
# @return [Array<String>]
|
|
448
|
+
attr_accessor :data_quality_standard
|
|
449
|
+
|
|
408
450
|
# A unique identifier for the data stream produced by this data source. The
|
|
409
451
|
# identifier includes:
|
|
410
452
|
#
|
|
@@ -443,7 +485,7 @@ module Google
|
|
|
443
485
|
# @return [String]
|
|
444
486
|
attr_accessor :data_stream_name
|
|
445
487
|
|
|
446
|
-
#
|
|
488
|
+
#
|
|
447
489
|
# Corresponds to the JSON property `dataType`
|
|
448
490
|
# @return [Google::Apis::FitnessV1::DataType]
|
|
449
491
|
attr_accessor :data_type
|
|
@@ -481,6 +523,7 @@ module Google
|
|
|
481
523
|
# Update properties of this object
|
|
482
524
|
def update!(**args)
|
|
483
525
|
@application = args[:application] if args.key?(:application)
|
|
526
|
+
@data_quality_standard = args[:data_quality_standard] if args.key?(:data_quality_standard)
|
|
484
527
|
@data_stream_id = args[:data_stream_id] if args.key?(:data_stream_id)
|
|
485
528
|
@data_stream_name = args[:data_stream_name] if args.key?(:data_stream_name)
|
|
486
529
|
@data_type = args[:data_type] if args.key?(:data_type)
|
|
@@ -490,7 +533,7 @@ module Google
|
|
|
490
533
|
end
|
|
491
534
|
end
|
|
492
535
|
|
|
493
|
-
#
|
|
536
|
+
#
|
|
494
537
|
class DataType
|
|
495
538
|
include Google::Apis::Core::Hashable
|
|
496
539
|
|
|
@@ -757,7 +800,7 @@ module Google
|
|
|
757
800
|
# @return [Fixnum]
|
|
758
801
|
attr_accessor :activity_type
|
|
759
802
|
|
|
760
|
-
#
|
|
803
|
+
#
|
|
761
804
|
# Corresponds to the JSON property `application`
|
|
762
805
|
# @return [Google::Apis::FitnessV1::Application]
|
|
763
806
|
attr_accessor :application
|
|
@@ -70,6 +70,12 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
class BucketByTimePeriod
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
73
79
|
class DataPoint
|
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
81
|
|
|
@@ -219,6 +225,17 @@ module Google
|
|
|
219
225
|
# @private
|
|
220
226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
221
227
|
property :duration_millis, as: 'durationMillis'
|
|
228
|
+
property :period, as: 'period', class: Google::Apis::FitnessV1::BucketByTimePeriod, decorator: Google::Apis::FitnessV1::BucketByTimePeriod::Representation
|
|
229
|
+
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
class BucketByTimePeriod
|
|
234
|
+
# @private
|
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
236
|
+
property :time_zone_id, as: 'timeZoneId'
|
|
237
|
+
property :type, as: 'type'
|
|
238
|
+
property :value, as: 'value'
|
|
222
239
|
end
|
|
223
240
|
end
|
|
224
241
|
|
|
@@ -242,6 +259,7 @@ module Google
|
|
|
242
259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
243
260
|
property :application, as: 'application', class: Google::Apis::FitnessV1::Application, decorator: Google::Apis::FitnessV1::Application::Representation
|
|
244
261
|
|
|
262
|
+
collection :data_quality_standard, as: 'dataQualityStandard'
|
|
245
263
|
property :data_stream_id, as: 'dataStreamId'
|
|
246
264
|
property :data_stream_name, as: 'dataStreamName'
|
|
247
265
|
property :data_type, as: 'dataType', class: Google::Apis::FitnessV1::DataType, decorator: Google::Apis::FitnessV1::DataType::Representation
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module FitnessV1
|
|
23
23
|
# Fitness
|
|
24
24
|
#
|
|
25
|
-
#
|
|
25
|
+
# Stores and accesses user data in the fitness store from apps on any platform.
|
|
26
26
|
#
|
|
27
27
|
# @example
|
|
28
28
|
# require 'google/apis/fitness_v1'
|
|
@@ -98,7 +98,8 @@ module Google
|
|
|
98
98
|
execute_or_queue_command(command, &block)
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
#
|
|
101
|
+
# Deletes the specified data source. The request will fail if the data source
|
|
102
|
+
# contains any data points.
|
|
102
103
|
# @param [String] user_id
|
|
103
104
|
# Retrieve a data source for the person identified. Use me to indicate the
|
|
104
105
|
# authenticated user. Only me is supported at this time.
|
|
@@ -137,7 +138,7 @@ module Google
|
|
|
137
138
|
execute_or_queue_command(command, &block)
|
|
138
139
|
end
|
|
139
140
|
|
|
140
|
-
# Returns
|
|
141
|
+
# Returns the specified data source.
|
|
141
142
|
# @param [String] user_id
|
|
142
143
|
# Retrieve a data source for the person identified. Use me to indicate the
|
|
143
144
|
# authenticated user. Only me is supported at this time.
|
|
@@ -177,8 +178,8 @@ module Google
|
|
|
177
178
|
end
|
|
178
179
|
|
|
179
180
|
# Lists all data sources that are visible to the developer, using the OAuth
|
|
180
|
-
# scopes provided. The list is not exhaustive
|
|
181
|
-
# sources that are only visible to other developers or calls using other scopes.
|
|
181
|
+
# scopes provided. The list is not exhaustive; the user may have private data
|
|
182
|
+
# sources that are only visible to other developers, or calls using other scopes.
|
|
182
183
|
# @param [String] user_id
|
|
183
184
|
# List data sources for the person identified. Use me to indicate the
|
|
184
185
|
# authenticated user. Only me is supported at this time.
|
|
@@ -218,12 +219,11 @@ module Google
|
|
|
218
219
|
execute_or_queue_command(command, &block)
|
|
219
220
|
end
|
|
220
221
|
|
|
221
|
-
# Updates
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
# patch semantics.
|
|
222
|
+
# Updates the specified data source. The dataStreamId, dataType, type,
|
|
223
|
+
# dataStreamName, and device properties with the exception of version, cannot be
|
|
224
|
+
# modified.
|
|
225
|
+
# Data sources are identified by their dataStreamId. This method supports patch
|
|
226
|
+
# semantics.
|
|
227
227
|
# @param [String] user_id
|
|
228
228
|
# Update the data source for the person identified. Use me to indicate the
|
|
229
229
|
# authenticated user. Only me is supported at this time.
|
|
@@ -265,11 +265,10 @@ module Google
|
|
|
265
265
|
execute_or_queue_command(command, &block)
|
|
266
266
|
end
|
|
267
267
|
|
|
268
|
-
# Updates
|
|
269
|
-
#
|
|
270
|
-
#
|
|
271
|
-
#
|
|
272
|
-
# Data sources are identified by their data stream ID.
|
|
268
|
+
# Updates the specified data source. The dataStreamId, dataType, type,
|
|
269
|
+
# dataStreamName, and device properties with the exception of version, cannot be
|
|
270
|
+
# modified.
|
|
271
|
+
# Data sources are identified by their dataStreamId.
|
|
273
272
|
# @param [String] user_id
|
|
274
273
|
# Update the data source for the person identified. Use me to indicate the
|
|
275
274
|
# authenticated user. Only me is supported at this time.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services
|
|
26
26
|
module GamesConfigurationV1configuration
|
|
27
27
|
VERSION = 'V1configuration'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160628'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services
|
|
26
26
|
module GamesManagementV1management
|
|
27
27
|
VERSION = 'V1management'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160628'
|
|
29
29
|
|
|
30
30
|
# Share your Google+ profile information and view and manage your game activity
|
|
31
31
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
|
26
26
|
module GamesV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160628'
|
|
29
29
|
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
|
@@ -20,14 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Genomics API
|
|
22
22
|
#
|
|
23
|
-
# Stores, processes, explores and shares genomic data.
|
|
24
|
-
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
|
|
25
|
-
# extensions.
|
|
23
|
+
# Stores, processes, explores and shares genomic data.
|
|
26
24
|
#
|
|
27
25
|
# @see https://cloud.google.com/genomics/
|
|
28
26
|
module GenomicsV1
|
|
29
27
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160627'
|
|
31
29
|
|
|
32
30
|
# View and manage your data in Google BigQuery
|
|
33
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -3311,6 +3311,11 @@ module Google
|
|
|
3311
3311
|
# @return [String]
|
|
3312
3312
|
attr_accessor :create_time
|
|
3313
3313
|
|
|
3314
|
+
# The time at which the job began to run.
|
|
3315
|
+
# Corresponds to the JSON property `startTime`
|
|
3316
|
+
# @return [String]
|
|
3317
|
+
attr_accessor :start_time
|
|
3318
|
+
|
|
3314
3319
|
# The time at which the job stopped running.
|
|
3315
3320
|
# Corresponds to the JSON property `endTime`
|
|
3316
3321
|
# @return [String]
|
|
@@ -3329,6 +3334,12 @@ module Google
|
|
|
3329
3334
|
# @return [Array<Google::Apis::GenomicsV1::OperationEvent>]
|
|
3330
3335
|
attr_accessor :events
|
|
3331
3336
|
|
|
3337
|
+
# Optionally provided by the caller when submitting the request that creates the
|
|
3338
|
+
# operation.
|
|
3339
|
+
# Corresponds to the JSON property `clientId`
|
|
3340
|
+
# @return [String]
|
|
3341
|
+
attr_accessor :client_id
|
|
3342
|
+
|
|
3332
3343
|
# Runtime metadata on this Operation.
|
|
3333
3344
|
# Corresponds to the JSON property `runtimeMetadata`
|
|
3334
3345
|
# @return [Hash<String,Object>]
|
|
@@ -3342,9 +3353,11 @@ module Google
|
|
|
3342
3353
|
def update!(**args)
|
|
3343
3354
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
3344
3355
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3356
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
3345
3357
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
3346
3358
|
@request = args[:request] if args.key?(:request)
|
|
3347
3359
|
@events = args[:events] if args.key?(:events)
|
|
3360
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
|
3348
3361
|
@runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
|
|
3349
3362
|
end
|
|
3350
3363
|
end
|
|
@@ -3353,6 +3366,17 @@ module Google
|
|
|
3353
3366
|
class OperationEvent
|
|
3354
3367
|
include Google::Apis::Core::Hashable
|
|
3355
3368
|
|
|
3369
|
+
# Optional time of when event started.
|
|
3370
|
+
# Corresponds to the JSON property `startTime`
|
|
3371
|
+
# @return [String]
|
|
3372
|
+
attr_accessor :start_time
|
|
3373
|
+
|
|
3374
|
+
# Optional time of when event finished. An event can have a start time and no
|
|
3375
|
+
# finish time. If an event has a finish time, there must be a start time.
|
|
3376
|
+
# Corresponds to the JSON property `endTime`
|
|
3377
|
+
# @return [String]
|
|
3378
|
+
attr_accessor :end_time
|
|
3379
|
+
|
|
3356
3380
|
# Required description of event.
|
|
3357
3381
|
# Corresponds to the JSON property `description`
|
|
3358
3382
|
# @return [String]
|
|
@@ -3364,6 +3388,8 @@ module Google
|
|
|
3364
3388
|
|
|
3365
3389
|
# Update properties of this object
|
|
3366
3390
|
def update!(**args)
|
|
3391
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
3392
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
3367
3393
|
@description = args[:description] if args.key?(:description)
|
|
3368
3394
|
end
|
|
3369
3395
|
end
|
|
@@ -3373,10 +3399,11 @@ module Google
|
|
|
3373
3399
|
class RuntimeMetadata
|
|
3374
3400
|
include Google::Apis::Core::Hashable
|
|
3375
3401
|
|
|
3376
|
-
# Describes a
|
|
3377
|
-
#
|
|
3378
|
-
#
|
|
3379
|
-
|
|
3402
|
+
# Describes a Compute Engine resource that is being managed by a running
|
|
3403
|
+
# pipeline.
|
|
3404
|
+
# Corresponds to the JSON property `computeEngine`
|
|
3405
|
+
# @return [Google::Apis::GenomicsV1::ComputeEngine]
|
|
3406
|
+
attr_accessor :compute_engine
|
|
3380
3407
|
|
|
3381
3408
|
def initialize(**args)
|
|
3382
3409
|
update!(**args)
|
|
@@ -3384,12 +3411,13 @@ module Google
|
|
|
3384
3411
|
|
|
3385
3412
|
# Update properties of this object
|
|
3386
3413
|
def update!(**args)
|
|
3387
|
-
@
|
|
3414
|
+
@compute_engine = args[:compute_engine] if args.key?(:compute_engine)
|
|
3388
3415
|
end
|
|
3389
3416
|
end
|
|
3390
3417
|
|
|
3391
|
-
# Describes a
|
|
3392
|
-
|
|
3418
|
+
# Describes a Compute Engine resource that is being managed by a running
|
|
3419
|
+
# pipeline.
|
|
3420
|
+
class ComputeEngine
|
|
3393
3421
|
include Google::Apis::Core::Hashable
|
|
3394
3422
|
|
|
3395
3423
|
# The instance on which the operation is running.
|
|
@@ -484,7 +484,7 @@ module Google
|
|
|
484
484
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
485
|
end
|
|
486
486
|
|
|
487
|
-
class
|
|
487
|
+
class ComputeEngine
|
|
488
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
489
|
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -1306,10 +1306,12 @@ module Google
|
|
|
1306
1306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1307
1307
|
property :project_id, as: 'projectId'
|
|
1308
1308
|
property :create_time, as: 'createTime'
|
|
1309
|
+
property :start_time, as: 'startTime'
|
|
1309
1310
|
property :end_time, as: 'endTime'
|
|
1310
1311
|
hash :request, as: 'request'
|
|
1311
1312
|
collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation
|
|
1312
1313
|
|
|
1314
|
+
property :client_id, as: 'clientId'
|
|
1313
1315
|
hash :runtime_metadata, as: 'runtimeMetadata'
|
|
1314
1316
|
end
|
|
1315
1317
|
end
|
|
@@ -1317,6 +1319,8 @@ module Google
|
|
|
1317
1319
|
class OperationEvent
|
|
1318
1320
|
# @private
|
|
1319
1321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1322
|
+
property :start_time, as: 'startTime'
|
|
1323
|
+
property :end_time, as: 'endTime'
|
|
1320
1324
|
property :description, as: 'description'
|
|
1321
1325
|
end
|
|
1322
1326
|
end
|
|
@@ -1324,12 +1328,12 @@ module Google
|
|
|
1324
1328
|
class RuntimeMetadata
|
|
1325
1329
|
# @private
|
|
1326
1330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1327
|
-
property :
|
|
1331
|
+
property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation
|
|
1328
1332
|
|
|
1329
1333
|
end
|
|
1330
1334
|
end
|
|
1331
1335
|
|
|
1332
|
-
class
|
|
1336
|
+
class ComputeEngine
|
|
1333
1337
|
# @private
|
|
1334
1338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1335
1339
|
property :instance_name, as: 'instanceName'
|