google-apis-fitness_v1 0.3.0 → 0.8.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: fcffedb3ab9a2b834c29e00b1e1e8551cd37c87a3179500cb2806ca585daa77d
4
- data.tar.gz: 745b696364c504efb109964f0e2cc251388137eabba2dc73510175d7942e7e9a
3
+ metadata.gz: cf55bba97750641d5406600694fae264f7939bdfe9b9a4ee467d8ab7e741d0d0
4
+ data.tar.gz: 5698225bc77d2f1fc384c954ea0a4b880de1dd6399c2a8800be0eda8b1c3531a
5
5
  SHA512:
6
- metadata.gz: 02d177e68807b965688741f9ac70146a26fa3e8e1648e82e84d4eaa2eef88643d970eab820c2084087184e6a01d1bdab67383053b8277d5623740f6ddcac06ce
7
- data.tar.gz: 7cd9ff052fd89a48635fc396ebb853b3dc9489250fecb7cf26376d7b3f3289a8354b7549372ad1c6ffe4c1f0a1091149c99a62394038d574b1af5e4480125353
6
+ metadata.gz: c479c149b01d682809a3bab0e03f15dce5a29a69738800f8453e1420de4030d76afb28e7bd1ea61e1b461cd5356c04e06b3175c423712954e1a0824ee8c065ea
7
+ data.tar.gz: f4cd27449013ef66c100575e219d0dffb2ed75a320bb7a88d7c28f9a93631a22eca615caa62ba422a24f100af102f59ba5bd39dcd9f977ded44d14f9e0ec05a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-fitness_v1
2
2
 
3
+ ### v0.8.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.7.0 (2021-06-24)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.6.0 (2021-06-11)
12
+
13
+ * Regenerated from discovery document revision 20210608
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.5.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.4.0 (2021-03-16)
21
+
22
+ * Regenerated from discovery document revision 20210310
23
+ * Regenerated using generator version 0.2.0
24
+
3
25
  ### v0.3.0 (2021-03-04)
4
26
 
5
27
  * Unspecified changes
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210115"
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)
@@ -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, 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)
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, 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)
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, 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)
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-fitness_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.8.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-08 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Fitness API V1. Simple REST clients
28
34
  are Ruby client libraries that provide access to Google services via their HTTP
29
35
  REST API endpoints. These libraries are generated and updated automatically based
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-fitness_v1/v0.8.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-fitness_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Fitness API V1