google-apis-fitness_v1 0.1.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6f6edb80909963abb7517cfa36c53a1d6688881d03411fc43ea825dacfb9560
4
- data.tar.gz: 1c633dacca1b53e313886fbc37799221f94e418ba3cd090847291b2aaeeec575
3
+ metadata.gz: 9dc026cf9db87bb6c1c0acb256b8101653873b6372762f0fcd76e2381afad5b4
4
+ data.tar.gz: b6fb33e1a48a3d881d1450b5737f2f4bb18770e54725e98c2b7b2b2034237bb2
5
5
  SHA512:
6
- metadata.gz: 8571a3c0c56c0bf4d57ddb17489d5bc6d3f707a9abf39ad4100bd44d23cd31f1566f687f1e0e6caae682a3ef578382b34e86bd1e913d22a7bdcaac8682030318
7
- data.tar.gz: 69e53bc5e01e3f85ba681b19f4666f0faabbf0761e7909497bf0062663f39cfabbd1413514c6ba4bedcf46df978cc164c219780b3037f65ed7afe2ac67ef0cb2
6
+ metadata.gz: e0ad057f9551dd75320481c70a28b7477eaa184347f3f188a594679e427b9e738ee5ddfdce1f32241a9e9f6c18839d4069d24b68db31a8c36174b2cc6e89d814
7
+ data.tar.gz: b158293944d3f5c6fbca6d7f5f4c39f3c1a94fde00c947116da3b6fea5c291244a6c2a43abe0122f21834527d54acc583e1dcb52eb705965cfc8fcdb7431184f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release history for google-apis-fitness_v1
2
2
 
3
+ ### v0.6.0 (2021-06-11)
4
+
5
+ * Regenerated from discovery document revision 20210608
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.5.0 (2021-05-19)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.4.0 (2021-03-16)
13
+
14
+ * Regenerated from discovery document revision 20210310
15
+ * Regenerated using generator version 0.2.0
16
+
17
+ ### v0.3.0 (2021-03-04)
18
+
19
+ * Unspecified changes
20
+
21
+ ### v0.2.0 (2021-01-20)
22
+
23
+ * Regenerated from discovery document revision 20210115
24
+ * Regenerated using generator version 0.1.2
25
+
3
26
  ### v0.1.0 (2021-01-07)
4
27
 
5
28
  * Regenerated using generator version 0.1.1
@@ -32,67 +32,67 @@ module Google
32
32
  # Use Google Fit to see and store your physical activity data
33
33
  AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
34
34
 
35
- # See and add to your Google Fit physical activity data
35
+ # Add to your Google Fit physical activity data
36
36
  AUTH_FITNESS_ACTIVITY_WRITE = 'https://www.googleapis.com/auth/fitness.activity.write'
37
37
 
38
38
  # See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
39
39
  AUTH_FITNESS_BLOOD_GLUCOSE_READ = 'https://www.googleapis.com/auth/fitness.blood_glucose.read'
40
40
 
41
- # See and add info about your blood glucose to Google Fit. I consent to Google sharing my blood glucose information with this app.
41
+ # Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app.
42
42
  AUTH_FITNESS_BLOOD_GLUCOSE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_glucose.write'
43
43
 
44
44
  # See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
45
45
  AUTH_FITNESS_BLOOD_PRESSURE_READ = 'https://www.googleapis.com/auth/fitness.blood_pressure.read'
46
46
 
47
- # See and add info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
47
+ # Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app.
48
48
  AUTH_FITNESS_BLOOD_PRESSURE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_pressure.write'
49
49
 
50
50
  # See info about your body measurements and heart rate in Google Fit
51
51
  AUTH_FITNESS_BODY_READ = 'https://www.googleapis.com/auth/fitness.body.read'
52
52
 
53
- # See and add info about your body measurements and heart rate to Google Fit
53
+ # Add info about your body measurements and heart rate to Google Fit
54
54
  AUTH_FITNESS_BODY_WRITE = 'https://www.googleapis.com/auth/fitness.body.write'
55
55
 
56
56
  # See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
57
57
  AUTH_FITNESS_BODY_TEMPERATURE_READ = 'https://www.googleapis.com/auth/fitness.body_temperature.read'
58
58
 
59
- # See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
59
+ # Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app.
60
60
  AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
61
61
 
62
62
  # See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
63
63
  AUTH_FITNESS_HEART_RATE_READ = 'https://www.googleapis.com/auth/fitness.heart_rate.read'
64
64
 
65
- # See and add to your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
65
+ # Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app.
66
66
  AUTH_FITNESS_HEART_RATE_WRITE = 'https://www.googleapis.com/auth/fitness.heart_rate.write'
67
67
 
68
68
  # See your Google Fit speed and distance data
69
69
  AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read'
70
70
 
71
- # See and add to your Google Fit location data
71
+ # Add to your Google Fit location data
72
72
  AUTH_FITNESS_LOCATION_WRITE = 'https://www.googleapis.com/auth/fitness.location.write'
73
73
 
74
74
  # See info about your nutrition in Google Fit
75
75
  AUTH_FITNESS_NUTRITION_READ = 'https://www.googleapis.com/auth/fitness.nutrition.read'
76
76
 
77
- # See and add to info about your nutrition in Google Fit
77
+ # Add to info about your nutrition in Google Fit
78
78
  AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
79
79
 
80
80
  # See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
81
81
  AUTH_FITNESS_OXYGEN_SATURATION_READ = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read'
82
82
 
83
- # See and add info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
83
+ # Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app.
84
84
  AUTH_FITNESS_OXYGEN_SATURATION_WRITE = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write'
85
85
 
86
86
  # See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
87
87
  AUTH_FITNESS_REPRODUCTIVE_HEALTH_READ = 'https://www.googleapis.com/auth/fitness.reproductive_health.read'
88
88
 
89
- # See and add info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
89
+ # Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app.
90
90
  AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
91
91
 
92
92
  # See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
93
93
  AUTH_FITNESS_SLEEP_READ = 'https://www.googleapis.com/auth/fitness.sleep.read'
94
94
 
95
- # See and add to your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
95
+ # Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app.
96
96
  AUTH_FITNESS_SLEEP_WRITE = 'https://www.googleapis.com/auth/fitness.sleep.write'
97
97
  end
98
98
  end
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201012"
25
+ REVISION = "20210608"
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, current_time_millis: nil, modified_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
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)
@@ -404,22 +398,16 @@ module Google
404
398
  # Adds data points to a dataset. The dataset need not be previously created. All
405
399
  # points within the given dataset will be returned with subsquent calls to
406
400
  # retrieve this dataset. Data points can belong to more than one dataset. This
407
- # method does not use patch semantics.
401
+ # method does not use patch semantics: the data points provided are merely
402
+ # inserted, with no existing data replaced.
408
403
  # @param [String] user_id
409
404
  # Patch a dataset for the person identified. Use me to indicate the
410
405
  # authenticated user. Only me is supported at this time.
411
406
  # @param [String] data_source_id
412
407
  # The data stream ID of the data source that created the dataset.
413
408
  # @param [String] dataset_id
414
- # Dataset identifier that is a composite of the minimum data point start time
415
- # and maximum data point end time represented as nanoseconds from the epoch. The
416
- # ID is formatted like: "startTime-endTime" where startTime and endTime are 64
417
- # bit integers.
409
+ # This field is not used, and can be safely omitted.
418
410
  # @param [Google::Apis::FitnessV1::Dataset] dataset_object
419
- # @param [Fixnum] current_time_millis
420
- # The client's current time in milliseconds since epoch. Note that the
421
- # minStartTimeNs and maxEndTimeNs properties in the request body are in
422
- # nanoseconds instead of milliseconds.
423
411
  # @param [String] fields
424
412
  # Selector specifying which fields to include in a partial response.
425
413
  # @param [String] quota_user
@@ -437,7 +425,7 @@ module Google
437
425
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
438
426
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
439
427
  # @raise [Google::Apis::AuthorizationError] Authorization is required
440
- def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
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)
441
429
  command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
442
430
  command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
443
431
  command.request_object = dataset_object
@@ -446,7 +434,6 @@ module Google
446
434
  command.params['userId'] = user_id unless user_id.nil?
447
435
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
448
436
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
449
- command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
450
437
  command.query['fields'] = fields unless fields.nil?
451
438
  command.query['quotaUser'] = quota_user unless quota_user.nil?
452
439
  execute_or_queue_command(command, &block)
@@ -494,8 +481,6 @@ module Google
494
481
  # authenticated user. Only me is supported at this time.
495
482
  # @param [String] session_id
496
483
  # The ID of the session to be deleted.
497
- # @param [Fixnum] current_time_millis
498
- # The client's current time in milliseconds since epoch.
499
484
  # @param [String] fields
500
485
  # Selector specifying which fields to include in a partial response.
501
486
  # @param [String] quota_user
@@ -513,11 +498,10 @@ module Google
513
498
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
514
499
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
515
500
  # @raise [Google::Apis::AuthorizationError] Authorization is required
516
- def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
501
+ def delete_user_session(user_id, session_id, fields: nil, quota_user: nil, options: nil, &block)
517
502
  command = make_simple_command(:delete, '{userId}/sessions/{sessionId}', options)
518
503
  command.params['userId'] = user_id unless user_id.nil?
519
504
  command.params['sessionId'] = session_id unless session_id.nil?
520
- command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
521
505
  command.query['fields'] = fields unless fields.nil?
522
506
  command.query['quotaUser'] = quota_user unless quota_user.nil?
523
507
  execute_or_queue_command(command, &block)
@@ -585,8 +569,6 @@ module Google
585
569
  # @param [String] session_id
586
570
  # The ID of the session to be created.
587
571
  # @param [Google::Apis::FitnessV1::Session] session_object
588
- # @param [Fixnum] current_time_millis
589
- # The client's current time in milliseconds since epoch.
590
572
  # @param [String] fields
591
573
  # Selector specifying which fields to include in a partial response.
592
574
  # @param [String] quota_user
@@ -604,7 +586,7 @@ module Google
604
586
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
605
587
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
606
588
  # @raise [Google::Apis::AuthorizationError] Authorization is required
607
- def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
589
+ def update_user_session(user_id, session_id, session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
608
590
  command = make_simple_command(:put, '{userId}/sessions/{sessionId}', options)
609
591
  command.request_representation = Google::Apis::FitnessV1::Session::Representation
610
592
  command.request_object = session_object
@@ -612,7 +594,6 @@ module Google
612
594
  command.response_class = Google::Apis::FitnessV1::Session
613
595
  command.params['userId'] = user_id unless user_id.nil?
614
596
  command.params['sessionId'] = session_id unless session_id.nil?
615
- command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
616
597
  command.query['fields'] = fields unless fields.nil?
617
598
  command.query['quotaUser'] = quota_user unless quota_user.nil?
618
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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-06-14 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-fitness_v1/v0.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Fitness API V1