google-apis-fitness_v1 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/fitness_v1/gem_version.rb +3 -3
- data/lib/google/apis/fitness_v1/service.rb +4 -21
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7754d99f4b9f4400111e96388723d479547f279a2cdee5a843cd94d011edc7b7
|
4
|
+
data.tar.gz: ec60d4e640deb0f3bc16bfcd689f90d0e4b9cdfe0c99aba1997f7a5aa23a8a48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f264aecc679c368ac56ffd047b4c5898a1171af85299014a0564697aed116c2bbd997076050de0f4039b98a0e5b5dd7a30b9f58d9516d93e592755bdeb6da9ef
|
7
|
+
data.tar.gz: 4843eae8384f3bae64d28cc0b4799ffef7350303d651c338575b88fdcb88260bed9ff13734bbb3587cddb888c5ea8fdb8d0547270bbee1b49c807e2c424b7202
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FitnessV1
|
18
18
|
# Version of the google-apis-fitness_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210310"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,10 +310,6 @@ module Google
|
|
310
310
|
# and maximum data point end time represented as nanoseconds from the epoch. The
|
311
311
|
# ID is formatted like: "startTime-endTime" where startTime and endTime are 64
|
312
312
|
# bit integers.
|
313
|
-
# @param [Fixnum] current_time_millis
|
314
|
-
# The client's current time in milliseconds since epoch.
|
315
|
-
# @param [Fixnum] modified_time_millis
|
316
|
-
# When the operation was performed on the client.
|
317
313
|
# @param [String] fields
|
318
314
|
# Selector specifying which fields to include in a partial response.
|
319
315
|
# @param [String] quota_user
|
@@ -331,13 +327,11 @@ module Google
|
|
331
327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
332
328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
333
329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
334
|
-
def delete_user_data_source_dataset(user_id, data_source_id, dataset_id,
|
330
|
+
def delete_user_data_source_dataset(user_id, data_source_id, dataset_id, fields: nil, quota_user: nil, options: nil, &block)
|
335
331
|
command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
336
332
|
command.params['userId'] = user_id unless user_id.nil?
|
337
333
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
338
334
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
339
|
-
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
340
|
-
command.query['modifiedTimeMillis'] = modified_time_millis unless modified_time_millis.nil?
|
341
335
|
command.query['fields'] = fields unless fields.nil?
|
342
336
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
343
337
|
execute_or_queue_command(command, &block)
|
@@ -414,10 +408,6 @@ module Google
|
|
414
408
|
# @param [String] dataset_id
|
415
409
|
# This field is not used, and can be safely omitted.
|
416
410
|
# @param [Google::Apis::FitnessV1::Dataset] dataset_object
|
417
|
-
# @param [Fixnum] current_time_millis
|
418
|
-
# The client's current time in milliseconds since epoch. Note that the
|
419
|
-
# minStartTimeNs and maxEndTimeNs properties in the request body are in
|
420
|
-
# nanoseconds instead of milliseconds.
|
421
411
|
# @param [String] fields
|
422
412
|
# Selector specifying which fields to include in a partial response.
|
423
413
|
# @param [String] quota_user
|
@@ -435,7 +425,7 @@ module Google
|
|
435
425
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
436
426
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
437
427
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
438
|
-
def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil,
|
428
|
+
def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
439
429
|
command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
440
430
|
command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
|
441
431
|
command.request_object = dataset_object
|
@@ -444,7 +434,6 @@ module Google
|
|
444
434
|
command.params['userId'] = user_id unless user_id.nil?
|
445
435
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
446
436
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
447
|
-
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
448
437
|
command.query['fields'] = fields unless fields.nil?
|
449
438
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
450
439
|
execute_or_queue_command(command, &block)
|
@@ -492,8 +481,6 @@ module Google
|
|
492
481
|
# authenticated user. Only me is supported at this time.
|
493
482
|
# @param [String] session_id
|
494
483
|
# The ID of the session to be deleted.
|
495
|
-
# @param [Fixnum] current_time_millis
|
496
|
-
# The client's current time in milliseconds since epoch.
|
497
484
|
# @param [String] fields
|
498
485
|
# Selector specifying which fields to include in a partial response.
|
499
486
|
# @param [String] quota_user
|
@@ -511,11 +498,10 @@ module Google
|
|
511
498
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
512
499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
513
500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
514
|
-
def delete_user_session(user_id, session_id,
|
501
|
+
def delete_user_session(user_id, session_id, fields: nil, quota_user: nil, options: nil, &block)
|
515
502
|
command = make_simple_command(:delete, '{userId}/sessions/{sessionId}', options)
|
516
503
|
command.params['userId'] = user_id unless user_id.nil?
|
517
504
|
command.params['sessionId'] = session_id unless session_id.nil?
|
518
|
-
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
519
505
|
command.query['fields'] = fields unless fields.nil?
|
520
506
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
521
507
|
execute_or_queue_command(command, &block)
|
@@ -583,8 +569,6 @@ module Google
|
|
583
569
|
# @param [String] session_id
|
584
570
|
# The ID of the session to be created.
|
585
571
|
# @param [Google::Apis::FitnessV1::Session] session_object
|
586
|
-
# @param [Fixnum] current_time_millis
|
587
|
-
# The client's current time in milliseconds since epoch.
|
588
572
|
# @param [String] fields
|
589
573
|
# Selector specifying which fields to include in a partial response.
|
590
574
|
# @param [String] quota_user
|
@@ -602,7 +586,7 @@ module Google
|
|
602
586
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
603
587
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
604
588
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
605
|
-
def update_user_session(user_id, session_id, session_object = nil,
|
589
|
+
def update_user_session(user_id, session_id, session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
606
590
|
command = make_simple_command(:put, '{userId}/sessions/{sessionId}', options)
|
607
591
|
command.request_representation = Google::Apis::FitnessV1::Session::Representation
|
608
592
|
command.request_object = session_object
|
@@ -610,7 +594,6 @@ module Google
|
|
610
594
|
command.response_class = Google::Apis::FitnessV1::Session
|
611
595
|
command.params['userId'] = user_id unless user_id.nil?
|
612
596
|
command.params['sessionId'] = session_id unless session_id.nil?
|
613
|
-
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
614
597
|
command.query['fields'] = fields unless fields.nil?
|
615
598
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
616
599
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-fitness_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-fitness_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-fitness_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-fitness_v1/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-fitness_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|