google-api-client 0.10.1 → 0.10.2

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.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/api_names.yaml +395 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
  11. data/generated/google/apis/admin_reports_v1.rb +3 -3
  12. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +39 -0
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  19. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
  22. data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
  23. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
  25. data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
  26. data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +32 -37
  30. data/generated/google/apis/bigquery_v2/service.rb +10 -2
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/calendar_v3/classes.rb +205 -0
  33. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  34. data/generated/google/apis/classroom_v1.rb +22 -25
  35. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
  40. data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
  41. data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
  42. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
  44. data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
  45. data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
  46. data/generated/google/apis/cloudkms_v1.rb +1 -1
  47. data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
  48. data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
  49. data/generated/google/apis/cloudkms_v1/service.rb +228 -228
  50. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
  59. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
  61. data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
  62. data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
  63. data/generated/google/apis/compute_beta.rb +1 -1
  64. data/generated/google/apis/compute_beta/classes.rb +116 -0
  65. data/generated/google/apis/compute_beta/representations.rb +48 -0
  66. data/generated/google/apis/compute_beta/service.rb +46 -1
  67. data/generated/google/apis/compute_v1.rb +1 -1
  68. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
  71. data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
  74. data/generated/google/apis/dataproc_v1/representations.rb +255 -253
  75. data/generated/google/apis/dataproc_v1/service.rb +100 -100
  76. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  77. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/dns_v2beta1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2/classes.rb +3 -1
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +3 -1
  85. data/generated/google/apis/fusiontables_v2.rb +1 -1
  86. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  87. data/generated/google/apis/games_management_v1management.rb +1 -1
  88. data/generated/google/apis/games_v1.rb +1 -1
  89. data/generated/google/apis/genomics_v1.rb +7 -7
  90. data/generated/google/apis/genomics_v1/classes.rb +959 -959
  91. data/generated/google/apis/genomics_v1/representations.rb +238 -238
  92. data/generated/google/apis/genomics_v1/service.rb +996 -996
  93. data/generated/google/apis/iam_v1.rb +1 -1
  94. data/generated/google/apis/iam_v1/classes.rb +440 -440
  95. data/generated/google/apis/iam_v1/representations.rb +94 -94
  96. data/generated/google/apis/iam_v1/service.rb +170 -173
  97. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
  99. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  100. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  101. data/generated/google/apis/language_v1beta1.rb +1 -1
  102. data/generated/google/apis/language_v1beta1/classes.rb +427 -427
  103. data/generated/google/apis/language_v1beta1/representations.rb +113 -113
  104. data/generated/google/apis/language_v1beta1/service.rb +25 -24
  105. data/generated/google/apis/licensing_v1.rb +2 -2
  106. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  107. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  108. data/generated/google/apis/licensing_v1/service.rb +1 -1
  109. data/generated/google/apis/logging_v2beta1.rb +1 -1
  110. data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
  111. data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
  112. data/generated/google/apis/logging_v2beta1/service.rb +261 -261
  113. data/generated/google/apis/manufacturers_v1.rb +1 -1
  114. data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
  115. data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
  116. data/generated/google/apis/manufacturers_v1/service.rb +11 -11
  117. data/generated/google/apis/mirror_v1.rb +1 -1
  118. data/generated/google/apis/monitoring_v3.rb +7 -7
  119. data/generated/google/apis/monitoring_v3/classes.rb +668 -670
  120. data/generated/google/apis/monitoring_v3/representations.rb +140 -140
  121. data/generated/google/apis/monitoring_v3/service.rb +208 -208
  122. data/generated/google/apis/partners_v2.rb +1 -1
  123. data/generated/google/apis/partners_v2/classes.rb +505 -505
  124. data/generated/google/apis/partners_v2/representations.rb +118 -118
  125. data/generated/google/apis/partners_v2/service.rb +275 -275
  126. data/generated/google/apis/people_v1.rb +1 -1
  127. data/generated/google/apis/people_v1/classes.rb +1037 -1031
  128. data/generated/google/apis/people_v1/representations.rb +247 -246
  129. data/generated/google/apis/people_v1/service.rb +20 -20
  130. data/generated/google/apis/plus_domains_v1.rb +1 -1
  131. data/generated/google/apis/plus_v1.rb +1 -1
  132. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  133. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
  134. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
  135. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
  136. data/generated/google/apis/pubsub_v1.rb +4 -4
  137. data/generated/google/apis/pubsub_v1/classes.rb +131 -132
  138. data/generated/google/apis/pubsub_v1/representations.rb +35 -35
  139. data/generated/google/apis/pubsub_v1/service.rb +399 -408
  140. data/generated/google/apis/reseller_v1.rb +1 -1
  141. data/generated/google/apis/reseller_v1/classes.rb +9 -0
  142. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  143. data/generated/google/apis/script_v1.rb +9 -9
  144. data/generated/google/apis/script_v1/classes.rb +110 -110
  145. data/generated/google/apis/script_v1/representations.rb +26 -26
  146. data/generated/google/apis/sheets_v4.rb +4 -4
  147. data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
  148. data/generated/google/apis/sheets_v4/representations.rb +856 -856
  149. data/generated/google/apis/sheets_v4/service.rb +106 -106
  150. data/generated/google/apis/slides_v1.rb +4 -4
  151. data/generated/google/apis/slides_v1/classes.rb +2923 -2841
  152. data/generated/google/apis/slides_v1/representations.rb +722 -691
  153. data/generated/google/apis/slides_v1/service.rb +58 -15
  154. data/generated/google/apis/speech_v1beta1.rb +1 -1
  155. data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
  156. data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
  157. data/generated/google/apis/speech_v1beta1/service.rb +70 -70
  158. data/generated/google/apis/storage_v1.rb +1 -1
  159. data/generated/google/apis/storage_v1/classes.rb +151 -0
  160. data/generated/google/apis/storage_v1/representations.rb +45 -0
  161. data/generated/google/apis/storage_v1/service.rb +248 -0
  162. data/generated/google/apis/vision_v1.rb +1 -1
  163. data/generated/google/apis/vision_v1/classes.rb +1227 -1221
  164. data/generated/google/apis/vision_v1/representations.rb +217 -215
  165. data/generated/google/apis/webmasters_v3.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  167. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  168. data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
  169. data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
  170. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  171. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  172. data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
  173. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  174. data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
  175. data/lib/google/apis/version.rb +1 -1
  176. metadata +2 -2
@@ -676,6 +676,9 @@ module Google
676
676
  # Maximum number of results to return
677
677
  # @param [String] page_token
678
678
  # Page token, returned by a previous call, identifying the result set
679
+ # @param [String] selected_fields
680
+ # List of fields to return (comma-separated). If unspecified, all fields are
681
+ # returned
679
682
  # @param [String] start_index
680
683
  # Zero-based index of the starting row to read
681
684
  # @param [String] fields
@@ -699,7 +702,7 @@ module Google
699
702
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
700
703
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
701
704
  # @raise [Google::Apis::AuthorizationError] Authorization is required
702
- def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
705
+ def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, selected_fields: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
703
706
  command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
704
707
  command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
705
708
  command.response_class = Google::Apis::BigqueryV2::TableDataList
@@ -708,6 +711,7 @@ module Google
708
711
  command.params['tableId'] = table_id unless table_id.nil?
709
712
  command.query['maxResults'] = max_results unless max_results.nil?
710
713
  command.query['pageToken'] = page_token unless page_token.nil?
714
+ command.query['selectedFields'] = selected_fields unless selected_fields.nil?
711
715
  command.query['startIndex'] = start_index unless start_index.nil?
712
716
  command.query['fields'] = fields unless fields.nil?
713
717
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -764,6 +768,9 @@ module Google
764
768
  # Dataset ID of the requested table
765
769
  # @param [String] table_id
766
770
  # Table ID of the requested table
771
+ # @param [String] selected_fields
772
+ # List of fields to return (comma-separated). If unspecified, all fields are
773
+ # returned
767
774
  # @param [String] fields
768
775
  # Selector specifying which fields to include in a partial response.
769
776
  # @param [String] quota_user
@@ -785,13 +792,14 @@ module Google
785
792
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
786
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
787
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
788
- def get_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
795
+ def get_table(project_id, dataset_id, table_id, selected_fields: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
789
796
  command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
790
797
  command.response_representation = Google::Apis::BigqueryV2::Table::Representation
791
798
  command.response_class = Google::Apis::BigqueryV2::Table
792
799
  command.params['projectId'] = project_id unless project_id.nil?
793
800
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
794
801
  command.params['tableId'] = table_id unless table_id.nil?
802
+ command.query['selectedFields'] = selected_fields unless selected_fields.nil?
795
803
  command.query['fields'] = fields unless fields.nil?
796
804
  command.query['quotaUser'] = quota_user unless quota_user.nil?
797
805
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20170221'
28
+ REVISION = '20170319'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -599,6 +599,74 @@ module Google
599
599
  end
600
600
  end
601
601
 
602
+ #
603
+ class DeepLinkData
604
+ include Google::Apis::Core::Hashable
605
+
606
+ #
607
+ # Corresponds to the JSON property `links`
608
+ # @return [Array<Google::Apis::CalendarV3::Link>]
609
+ attr_accessor :links
610
+
611
+ #
612
+ # Corresponds to the JSON property `url`
613
+ # @return [String]
614
+ attr_accessor :url
615
+
616
+ def initialize(**args)
617
+ update!(**args)
618
+ end
619
+
620
+ # Update properties of this object
621
+ def update!(**args)
622
+ @links = args[:links] if args.key?(:links)
623
+ @url = args[:url] if args.key?(:url)
624
+ end
625
+ end
626
+
627
+ #
628
+ class DisplayInfo
629
+ include Google::Apis::Core::Hashable
630
+
631
+ #
632
+ # Corresponds to the JSON property `appIconUrl`
633
+ # @return [String]
634
+ attr_accessor :app_icon_url
635
+
636
+ #
637
+ # Corresponds to the JSON property `appShortTitle`
638
+ # @return [String]
639
+ attr_accessor :app_short_title
640
+
641
+ #
642
+ # Corresponds to the JSON property `appTitle`
643
+ # @return [String]
644
+ attr_accessor :app_title
645
+
646
+ #
647
+ # Corresponds to the JSON property `linkShortTitle`
648
+ # @return [String]
649
+ attr_accessor :link_short_title
650
+
651
+ #
652
+ # Corresponds to the JSON property `linkTitle`
653
+ # @return [String]
654
+ attr_accessor :link_title
655
+
656
+ def initialize(**args)
657
+ update!(**args)
658
+ end
659
+
660
+ # Update properties of this object
661
+ def update!(**args)
662
+ @app_icon_url = args[:app_icon_url] if args.key?(:app_icon_url)
663
+ @app_short_title = args[:app_short_title] if args.key?(:app_short_title)
664
+ @app_title = args[:app_title] if args.key?(:app_title)
665
+ @link_short_title = args[:link_short_title] if args.key?(:link_short_title)
666
+ @link_title = args[:link_title] if args.key?(:link_title)
667
+ end
668
+ end
669
+
602
670
  #
603
671
  class Error
604
672
  include Google::Apis::Core::Hashable
@@ -1339,6 +1407,31 @@ module Google
1339
1407
  end
1340
1408
  end
1341
1409
 
1410
+ #
1411
+ class EventHabitInstance
1412
+ include Google::Apis::Core::Hashable
1413
+
1414
+ # Metadata specific to this instance.
1415
+ # Corresponds to the JSON property `data`
1416
+ # @return [Google::Apis::CalendarV3::HabitInstanceData]
1417
+ attr_accessor :data
1418
+
1419
+ # Id of the habit this instance belongs to.
1420
+ # Corresponds to the JSON property `parentId`
1421
+ # @return [String]
1422
+ attr_accessor :parent_id
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ @data = args[:data] if args.key?(:data)
1431
+ @parent_id = args[:parent_id] if args.key?(:parent_id)
1432
+ end
1433
+ end
1434
+
1342
1435
  #
1343
1436
  class EventReminder
1344
1437
  include Google::Apis::Core::Hashable
@@ -1627,6 +1720,118 @@ module Google
1627
1720
  end
1628
1721
  end
1629
1722
 
1723
+ #
1724
+ class HabitInstanceData
1725
+ include Google::Apis::Core::Hashable
1726
+
1727
+ #
1728
+ # Corresponds to the JSON property `status`
1729
+ # @return [String]
1730
+ attr_accessor :status
1731
+
1732
+ #
1733
+ # Corresponds to the JSON property `statusInferred`
1734
+ # @return [Boolean]
1735
+ attr_accessor :status_inferred
1736
+ alias_method :status_inferred?, :status_inferred
1737
+
1738
+ #
1739
+ # Corresponds to the JSON property `type`
1740
+ # @return [String]
1741
+ attr_accessor :type
1742
+
1743
+ def initialize(**args)
1744
+ update!(**args)
1745
+ end
1746
+
1747
+ # Update properties of this object
1748
+ def update!(**args)
1749
+ @status = args[:status] if args.key?(:status)
1750
+ @status_inferred = args[:status_inferred] if args.key?(:status_inferred)
1751
+ @type = args[:type] if args.key?(:type)
1752
+ end
1753
+ end
1754
+
1755
+ #
1756
+ class LaunchInfo
1757
+ include Google::Apis::Core::Hashable
1758
+
1759
+ #
1760
+ # Corresponds to the JSON property `appId`
1761
+ # @return [String]
1762
+ attr_accessor :app_id
1763
+
1764
+ #
1765
+ # Corresponds to the JSON property `installUrl`
1766
+ # @return [String]
1767
+ attr_accessor :install_url
1768
+
1769
+ #
1770
+ # Corresponds to the JSON property `intentAction`
1771
+ # @return [String]
1772
+ attr_accessor :intent_action
1773
+
1774
+ #
1775
+ # Corresponds to the JSON property `uri`
1776
+ # @return [String]
1777
+ attr_accessor :uri
1778
+
1779
+ def initialize(**args)
1780
+ update!(**args)
1781
+ end
1782
+
1783
+ # Update properties of this object
1784
+ def update!(**args)
1785
+ @app_id = args[:app_id] if args.key?(:app_id)
1786
+ @install_url = args[:install_url] if args.key?(:install_url)
1787
+ @intent_action = args[:intent_action] if args.key?(:intent_action)
1788
+ @uri = args[:uri] if args.key?(:uri)
1789
+ end
1790
+ end
1791
+
1792
+ #
1793
+ class Link
1794
+ include Google::Apis::Core::Hashable
1795
+
1796
+ #
1797
+ # Corresponds to the JSON property `applinkingSource`
1798
+ # @return [String]
1799
+ attr_accessor :applinking_source
1800
+
1801
+ #
1802
+ # Corresponds to the JSON property `displayInfo`
1803
+ # @return [Google::Apis::CalendarV3::DisplayInfo]
1804
+ attr_accessor :display_info
1805
+
1806
+ #
1807
+ # Corresponds to the JSON property `launchInfo`
1808
+ # @return [Google::Apis::CalendarV3::LaunchInfo]
1809
+ attr_accessor :launch_info
1810
+
1811
+ #
1812
+ # Corresponds to the JSON property `platform`
1813
+ # @return [String]
1814
+ attr_accessor :platform
1815
+
1816
+ #
1817
+ # Corresponds to the JSON property `url`
1818
+ # @return [String]
1819
+ attr_accessor :url
1820
+
1821
+ def initialize(**args)
1822
+ update!(**args)
1823
+ end
1824
+
1825
+ # Update properties of this object
1826
+ def update!(**args)
1827
+ @applinking_source = args[:applinking_source] if args.key?(:applinking_source)
1828
+ @display_info = args[:display_info] if args.key?(:display_info)
1829
+ @launch_info = args[:launch_info] if args.key?(:launch_info)
1830
+ @platform = args[:platform] if args.key?(:platform)
1831
+ @url = args[:url] if args.key?(:url)
1832
+ end
1833
+ end
1834
+
1630
1835
  #
1631
1836
  class Setting
1632
1837
  include Google::Apis::Core::Hashable
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class DeepLinkData
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DisplayInfo
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class Error
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -154,6 +166,12 @@ module Google
154
166
  include Google::Apis::Core::JsonObjectSupport
155
167
  end
156
168
 
169
+ class EventHabitInstance
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class EventReminder
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -196,6 +214,24 @@ module Google
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
217
+ class HabitInstanceData
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class LaunchInfo
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Link
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
199
235
  class Setting
200
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
237
 
@@ -350,6 +386,26 @@ module Google
350
386
  end
351
387
  end
352
388
 
389
+ class DeepLinkData
390
+ # @private
391
+ class Representation < Google::Apis::Core::JsonRepresentation
392
+ collection :links, as: 'links', class: Google::Apis::CalendarV3::Link, decorator: Google::Apis::CalendarV3::Link::Representation
393
+
394
+ property :url, as: 'url'
395
+ end
396
+ end
397
+
398
+ class DisplayInfo
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :app_icon_url, as: 'appIconUrl'
402
+ property :app_short_title, as: 'appShortTitle'
403
+ property :app_title, as: 'appTitle'
404
+ property :link_short_title, as: 'linkShortTitle'
405
+ property :link_title, as: 'linkTitle'
406
+ end
407
+ end
408
+
353
409
  class Error
354
410
  # @private
355
411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -511,6 +567,15 @@ module Google
511
567
  end
512
568
  end
513
569
 
570
+ class EventHabitInstance
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :data, as: 'data', class: Google::Apis::CalendarV3::HabitInstanceData, decorator: Google::Apis::CalendarV3::HabitInstanceData::Representation
574
+
575
+ property :parent_id, as: 'parentId'
576
+ end
577
+ end
578
+
514
579
  class EventReminder
515
580
  # @private
516
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -595,6 +660,38 @@ module Google
595
660
  end
596
661
  end
597
662
 
663
+ class HabitInstanceData
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :status, as: 'status'
667
+ property :status_inferred, as: 'statusInferred'
668
+ property :type, as: 'type'
669
+ end
670
+ end
671
+
672
+ class LaunchInfo
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :app_id, as: 'appId'
676
+ property :install_url, as: 'installUrl'
677
+ property :intent_action, as: 'intentAction'
678
+ property :uri, as: 'uri'
679
+ end
680
+ end
681
+
682
+ class Link
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :applinking_source, as: 'applinkingSource'
686
+ property :display_info, as: 'displayInfo', class: Google::Apis::CalendarV3::DisplayInfo, decorator: Google::Apis::CalendarV3::DisplayInfo::Representation
687
+
688
+ property :launch_info, as: 'launchInfo', class: Google::Apis::CalendarV3::LaunchInfo, decorator: Google::Apis::CalendarV3::LaunchInfo::Representation
689
+
690
+ property :platform, as: 'platform'
691
+ property :url, as: 'url'
692
+ end
693
+ end
694
+
598
695
  class Setting
599
696
  # @private
600
697
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,46 +25,43 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170110'
28
+ REVISION = '20170322'
29
29
 
30
- # View instructions for teacher-assigned work in your Google Classroom classes
31
- AUTH_CLASSROOM_COURSE_WORK_READONLY = 'https://www.googleapis.com/auth/classroom.course-work.readonly'
30
+ # View your Google Classroom class rosters
31
+ AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly'
32
32
 
33
- # Manage your Google Classroom classes
34
- AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses'
33
+ # View your course work and grades in Google Classroom
34
+ AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly'
35
+
36
+ # View course work and grades for students in the Google Classroom classes you teach or administer
37
+ AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly'
38
+
39
+ # View course work and grades for students in the Google Classroom classes you teach or administer
40
+ AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
41
+
42
+ # Manage your Google Classroom class rosters
43
+ AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters'
44
+
45
+ # View your course work and grades in Google Classroom
46
+ AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly'
35
47
 
36
48
  # View your Google Classroom classes
37
49
  AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly'
38
50
 
51
+ # Manage your Google Classroom classes
52
+ AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses'
53
+
39
54
  # Manage your course work and view your grades in Google Classroom
40
55
  AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me'
41
56
 
42
- # View your course work and grades in Google Classroom
43
- AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly'
44
-
45
57
  # Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer
46
58
  AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students'
47
59
 
48
- # View course work and grades for students in the Google Classroom classes you teach or administer
49
- AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly'
50
-
51
- # View the email addresses of people in your classes
52
- AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails'
53
-
54
60
  # View the profile photos of people in your classes
55
61
  AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos'
56
62
 
57
- # Manage your Google Classroom class rosters
58
- AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters'
59
-
60
- # View your Google Classroom class rosters
61
- AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly'
62
-
63
- # View your course work and grades in Google Classroom
64
- AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly'
65
-
66
- # View course work and grades for students in the Google Classroom classes you teach or administer
67
- AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
63
+ # View the email addresses of people in your classes
64
+ AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails'
68
65
  end
69
66
  end
70
67
  end