google-api-client 0.23.3 → 0.23.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +107 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
  6. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  11. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  12. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1.rb +1 -1
  14. data/generated/google/apis/admin_reports_v1.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analytics_v2_4.rb +1 -1
  18. data/generated/google/apis/analytics_v3.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  21. data/generated/google/apis/androidmanagement_v1/classes.rb +35 -0
  22. data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
  23. data/generated/google/apis/androidmanagement_v1/service.rb +4 -1
  24. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  25. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  26. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  27. data/generated/google/apis/androidpublisher_v2/classes.rb +45 -0
  28. data/generated/google/apis/androidpublisher_v2/representations.rb +17 -0
  29. data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +45 -0
  32. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -0
  33. data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
  34. data/generated/google/apis/appengine_v1beta.rb +1 -1
  35. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  36. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  37. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  38. data/generated/google/apis/appengine_v1beta4/classes.rb +7 -0
  39. data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +7 -0
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
  43. data/generated/google/apis/appsactivity_v1.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/bigquery_v2.rb +1 -1
  46. data/generated/google/apis/bigquery_v2/classes.rb +269 -0
  47. data/generated/google/apis/bigquery_v2/representations.rb +93 -0
  48. data/generated/google/apis/blogger_v2.rb +1 -1
  49. data/generated/google/apis/blogger_v3.rb +1 -1
  50. data/generated/google/apis/books_v1.rb +1 -1
  51. data/generated/google/apis/calendar_v3.rb +1 -1
  52. data/generated/google/apis/civicinfo_v2.rb +1 -1
  53. data/generated/google/apis/civicinfo_v2/classes.rb +16 -69
  54. data/generated/google/apis/civicinfo_v2/representations.rb +1 -11
  55. data/generated/google/apis/civicinfo_v2/service.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +0 -1
  58. data/generated/google/apis/cloudprofiler_v2.rb +40 -0
  59. data/generated/google/apis/cloudprofiler_v2/classes.rb +167 -0
  60. data/generated/google/apis/cloudprofiler_v2/representations.rb +77 -0
  61. data/generated/google/apis/cloudprofiler_v2/service.rb +179 -0
  62. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
  64. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  65. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
  66. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
  68. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
  70. data/generated/google/apis/compute_alpha.rb +1 -1
  71. data/generated/google/apis/compute_alpha/classes.rb +769 -146
  72. data/generated/google/apis/compute_alpha/representations.rb +294 -22
  73. data/generated/google/apis/compute_alpha/service.rb +868 -18
  74. data/generated/google/apis/compute_beta.rb +1 -1
  75. data/generated/google/apis/compute_beta/classes.rb +52 -89
  76. data/generated/google/apis/compute_beta/representations.rb +1 -18
  77. data/generated/google/apis/compute_beta/service.rb +0 -250
  78. data/generated/google/apis/compute_v1.rb +1 -1
  79. data/generated/google/apis/compute_v1/classes.rb +165 -16
  80. data/generated/google/apis/compute_v1/representations.rb +61 -0
  81. data/generated/google/apis/compute_v1/service.rb +208 -0
  82. data/generated/google/apis/content_v2/classes.rb +10 -10
  83. data/generated/google/apis/content_v2sandbox.rb +1 -1
  84. data/generated/google/apis/content_v2sandbox/classes.rb +60 -43
  85. data/generated/google/apis/content_v2sandbox/representations.rb +2 -0
  86. data/generated/google/apis/customsearch_v1.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  88. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  89. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  90. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  91. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  92. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1/classes.rb +22 -0
  95. data/generated/google/apis/dns_v1.rb +1 -1
  96. data/generated/google/apis/dns_v1beta2.rb +1 -1
  97. data/generated/google/apis/dns_v2beta1.rb +1 -1
  98. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  99. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  100. data/generated/google/apis/drive_v2.rb +1 -1
  101. data/generated/google/apis/drive_v2/classes.rb +101 -5
  102. data/generated/google/apis/drive_v2/representations.rb +23 -0
  103. data/generated/google/apis/drive_v2/service.rb +28 -25
  104. data/generated/google/apis/drive_v3.rb +1 -1
  105. data/generated/google/apis/drive_v3/classes.rb +101 -6
  106. data/generated/google/apis/drive_v3/representations.rb +23 -0
  107. data/generated/google/apis/drive_v3/service.rb +26 -22
  108. data/generated/google/apis/fitness_v1.rb +1 -1
  109. data/generated/google/apis/fusiontables_v1.rb +1 -1
  110. data/generated/google/apis/fusiontables_v2.rb +1 -1
  111. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  112. data/generated/google/apis/games_management_v1management.rb +1 -1
  113. data/generated/google/apis/games_v1.rb +1 -1
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  116. data/generated/google/apis/groupssettings_v1.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/classes.rb +84 -0
  118. data/generated/google/apis/groupssettings_v1/representations.rb +12 -0
  119. data/generated/google/apis/iam_v1.rb +1 -1
  120. data/generated/google/apis/iam_v1/classes.rb +0 -1
  121. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  122. data/generated/google/apis/licensing_v1.rb +1 -1
  123. data/generated/google/apis/mirror_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1.rb +1 -1
  125. data/generated/google/apis/ml_v1/classes.rb +77 -6
  126. data/generated/google/apis/ml_v1/representations.rb +7 -0
  127. data/generated/google/apis/oauth2_v1.rb +1 -1
  128. data/generated/google/apis/oauth2_v2.rb +1 -1
  129. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  130. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  131. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  132. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  133. data/generated/google/apis/plus_domains_v1.rb +1 -1
  134. data/generated/google/apis/plus_v1.rb +1 -1
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +4 -5
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -1
  139. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  140. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  141. data/generated/google/apis/reseller_v1.rb +1 -1
  142. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  143. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -1
  144. data/generated/google/apis/script_v1.rb +2 -8
  145. data/generated/google/apis/script_v1/service.rb +1 -7
  146. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  147. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -0
  148. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  149. data/generated/google/apis/site_verification_v1.rb +1 -1
  150. data/generated/google/apis/slides_v1.rb +1 -1
  151. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  152. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  153. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -9
  154. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  155. data/generated/google/apis/sqladmin_v1beta4/service.rb +13 -16
  156. data/generated/google/apis/storage_v1.rb +1 -1
  157. data/generated/google/apis/storage_v1beta1.rb +1 -1
  158. data/generated/google/apis/storage_v1beta2.rb +1 -1
  159. data/generated/google/apis/surveys_v2.rb +1 -1
  160. data/generated/google/apis/tagmanager_v1.rb +1 -1
  161. data/generated/google/apis/tagmanager_v2.rb +1 -1
  162. data/generated/google/apis/tasks_v1.rb +1 -1
  163. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  164. data/generated/google/apis/toolresults_v1beta3/classes.rb +6 -0
  165. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  166. data/generated/google/apis/urlshortener_v1.rb +1 -1
  167. data/generated/google/apis/webfonts_v1.rb +1 -1
  168. data/generated/google/apis/webmasters_v3.rb +1 -1
  169. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  170. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  171. data/generated/google/apis/youtube_v3.rb +1 -1
  172. data/lib/google/apis/version.rb +1 -1
  173. metadata +6 -2
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class IterationResult
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class Job
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -232,6 +238,18 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class ModelDefinition
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ class ModelOptions
245
+ class Representation < Google::Apis::Core::JsonRepresentation; end
246
+
247
+ include Google::Apis::Core::JsonObjectSupport
248
+ end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
235
253
  class ProjectList
236
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
255
 
@@ -388,6 +406,18 @@ module Google
388
406
  include Google::Apis::Core::JsonObjectSupport
389
407
  end
390
408
 
409
+ class TrainingRun
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ class TrainingOptions
413
+ class Representation < Google::Apis::Core::JsonRepresentation; end
414
+
415
+ include Google::Apis::Core::JsonObjectSupport
416
+ end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
391
421
  class UserDefinedFunctionResource
392
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
423
 
@@ -461,6 +491,7 @@ module Google
461
491
  property :creation_time, :numeric_string => true, as: 'creationTime'
462
492
  property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
463
493
 
494
+ property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs'
464
495
  property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs'
465
496
  property :description, as: 'description'
466
497
  property :etag, as: 'etag'
@@ -646,6 +677,17 @@ module Google
646
677
  end
647
678
  end
648
679
 
680
+ class IterationResult
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :duration_ms, :numeric_string => true, as: 'durationMs'
684
+ property :eval_loss, as: 'evalLoss'
685
+ property :index, as: 'index'
686
+ property :learn_rate, as: 'learnRate'
687
+ property :training_loss, as: 'trainingLoss'
688
+ end
689
+ end
690
+
649
691
  class Job
650
692
  # @private
651
693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -858,6 +900,8 @@ module Google
858
900
  property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
859
901
 
860
902
  property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
903
+ property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
904
+ property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
861
905
  property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
862
906
  collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
863
907
 
@@ -916,6 +960,25 @@ module Google
916
960
  end
917
961
  end
918
962
 
963
+ class ModelDefinition
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :model_options, as: 'modelOptions', class: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions, decorator: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions::Representation
967
+
968
+ collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation
969
+
970
+ end
971
+
972
+ class ModelOptions
973
+ # @private
974
+ class Representation < Google::Apis::Core::JsonRepresentation
975
+ collection :labels, as: 'labels'
976
+ property :loss_type, as: 'lossType'
977
+ property :model_type, as: 'modelType'
978
+ end
979
+ end
980
+ end
981
+
919
982
  class ProjectList
920
983
  # @private
921
984
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1070,6 +1133,8 @@ module Google
1070
1133
  hash :labels, as: 'labels'
1071
1134
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1072
1135
  property :location, as: 'location'
1136
+ property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
1137
+
1073
1138
  property :num_bytes, :numeric_string => true, as: 'numBytes'
1074
1139
  property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
1075
1140
  property :num_rows, :numeric_string => true, as: 'numRows'
@@ -1232,6 +1297,34 @@ module Google
1232
1297
  end
1233
1298
  end
1234
1299
 
1300
+ class TrainingRun
1301
+ # @private
1302
+ class Representation < Google::Apis::Core::JsonRepresentation
1303
+ collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
1304
+
1305
+ property :start_time, as: 'startTime', type: DateTime
1306
+
1307
+ property :state, as: 'state'
1308
+ property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingRun::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingRun::TrainingOptions::Representation
1309
+
1310
+ end
1311
+
1312
+ class TrainingOptions
1313
+ # @private
1314
+ class Representation < Google::Apis::Core::JsonRepresentation
1315
+ property :early_stop, as: 'earlyStop'
1316
+ property :l1_reg, as: 'l1Reg'
1317
+ property :l2_reg, as: 'l2Reg'
1318
+ property :learn_rate, as: 'learnRate'
1319
+ property :learn_rate_strategy, as: 'learnRateStrategy'
1320
+ property :line_search_init_learn_rate, as: 'lineSearchInitLearnRate'
1321
+ property :max_iteration, :numeric_string => true, as: 'maxIteration'
1322
+ property :min_rel_progress, as: 'minRelProgress'
1323
+ property :warm_start, as: 'warmStart'
1324
+ end
1325
+ end
1326
+ end
1327
+
1235
1328
  class UserDefinedFunctionResource
1236
1329
  # @private
1237
1330
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/blogger/docs/2.0/json/getting_started
26
26
  module BloggerV2
27
27
  VERSION = 'V2'
28
- REVISION = '20150422'
28
+ REVISION = ''
29
29
 
30
30
  # Manage your Blogger account
31
31
  AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/blogger/docs/3.0/getting_started
26
26
  module BloggerV3
27
27
  VERSION = 'V3'
28
- REVISION = '20150422'
28
+ REVISION = ''
29
29
 
30
30
  # Manage your Blogger account
31
31
  AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/books/docs/v1/getting_started
26
26
  module BooksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180409'
28
+ REVISION = ''
29
29
 
30
30
  # Manage your books
31
31
  AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
@@ -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 = '20180424'
28
+ REVISION = ''
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/civic-information
27
27
  module CivicinfoV2
28
28
  VERSION = 'V2'
29
- REVISION = '20161102'
29
+ REVISION = ''
30
30
  end
31
31
  end
32
32
  end
@@ -271,6 +271,11 @@ module Google
271
271
  # @return [Fixnum]
272
272
  attr_accessor :ballot_placement
273
273
 
274
+ # The official title on the ballot for this contest, only where available.
275
+ # Corresponds to the JSON property `ballotTitle`
276
+ # @return [String]
277
+ attr_accessor :ballot_title
278
+
274
279
  # The candidate choices for this contest.
275
280
  # Corresponds to the JSON property `candidates`
276
281
  # @return [Array<Google::Apis::CivicinfoV2::Candidate>]
@@ -417,6 +422,7 @@ module Google
417
422
  # Update properties of this object
418
423
  def update!(**args)
419
424
  @ballot_placement = args[:ballot_placement] if args.key?(:ballot_placement)
425
+ @ballot_title = args[:ballot_title] if args.key?(:ballot_title)
420
426
  @candidates = args[:candidates] if args.key?(:candidates)
421
427
  @district = args[:district] if args.key?(:district)
422
428
  @electorate_specifications = args[:electorate_specifications] if args.key?(:electorate_specifications)
@@ -994,46 +1000,11 @@ module Google
994
1000
  # @return [String]
995
1001
  attr_accessor :dependent_locality_name
996
1002
 
997
- #
998
- # Corresponds to the JSON property `dependentThoroughfareLeadingType`
999
- # @return [String]
1000
- attr_accessor :dependent_thoroughfare_leading_type
1001
-
1002
1003
  #
1003
1004
  # Corresponds to the JSON property `dependentThoroughfareName`
1004
1005
  # @return [String]
1005
1006
  attr_accessor :dependent_thoroughfare_name
1006
1007
 
1007
- #
1008
- # Corresponds to the JSON property `dependentThoroughfarePostDirection`
1009
- # @return [String]
1010
- attr_accessor :dependent_thoroughfare_post_direction
1011
-
1012
- #
1013
- # Corresponds to the JSON property `dependentThoroughfarePreDirection`
1014
- # @return [String]
1015
- attr_accessor :dependent_thoroughfare_pre_direction
1016
-
1017
- #
1018
- # Corresponds to the JSON property `dependentThoroughfareTrailingType`
1019
- # @return [String]
1020
- attr_accessor :dependent_thoroughfare_trailing_type
1021
-
1022
- #
1023
- # Corresponds to the JSON property `dependentThoroughfaresConnector`
1024
- # @return [String]
1025
- attr_accessor :dependent_thoroughfares_connector
1026
-
1027
- #
1028
- # Corresponds to the JSON property `dependentThoroughfaresIndicator`
1029
- # @return [String]
1030
- attr_accessor :dependent_thoroughfares_indicator
1031
-
1032
- #
1033
- # Corresponds to the JSON property `dependentThoroughfaresType`
1034
- # @return [String]
1035
- attr_accessor :dependent_thoroughfares_type
1036
-
1037
1008
  #
1038
1009
  # Corresponds to the JSON property `firmName`
1039
1010
  # @return [String]
@@ -1095,11 +1066,6 @@ module Google
1095
1066
  # @return [String]
1096
1067
  attr_accessor :sub_premise_name
1097
1068
 
1098
- #
1099
- # Corresponds to the JSON property `thoroughfareLeadingType`
1100
- # @return [String]
1101
- attr_accessor :thoroughfare_leading_type
1102
-
1103
1069
  #
1104
1070
  # Corresponds to the JSON property `thoroughfareName`
1105
1071
  # @return [String]
@@ -1110,21 +1076,6 @@ module Google
1110
1076
  # @return [String]
1111
1077
  attr_accessor :thoroughfare_number
1112
1078
 
1113
- #
1114
- # Corresponds to the JSON property `thoroughfarePostDirection`
1115
- # @return [String]
1116
- attr_accessor :thoroughfare_post_direction
1117
-
1118
- #
1119
- # Corresponds to the JSON property `thoroughfarePreDirection`
1120
- # @return [String]
1121
- attr_accessor :thoroughfare_pre_direction
1122
-
1123
- #
1124
- # Corresponds to the JSON property `thoroughfareTrailingType`
1125
- # @return [String]
1126
- attr_accessor :thoroughfare_trailing_type
1127
-
1128
1079
  def initialize(**args)
1129
1080
  update!(**args)
1130
1081
  end
@@ -1136,14 +1087,7 @@ module Google
1136
1087
  @country_name = args[:country_name] if args.key?(:country_name)
1137
1088
  @country_name_code = args[:country_name_code] if args.key?(:country_name_code)
1138
1089
  @dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name)
1139
- @dependent_thoroughfare_leading_type = args[:dependent_thoroughfare_leading_type] if args.key?(:dependent_thoroughfare_leading_type)
1140
1090
  @dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name)
1141
- @dependent_thoroughfare_post_direction = args[:dependent_thoroughfare_post_direction] if args.key?(:dependent_thoroughfare_post_direction)
1142
- @dependent_thoroughfare_pre_direction = args[:dependent_thoroughfare_pre_direction] if args.key?(:dependent_thoroughfare_pre_direction)
1143
- @dependent_thoroughfare_trailing_type = args[:dependent_thoroughfare_trailing_type] if args.key?(:dependent_thoroughfare_trailing_type)
1144
- @dependent_thoroughfares_connector = args[:dependent_thoroughfares_connector] if args.key?(:dependent_thoroughfares_connector)
1145
- @dependent_thoroughfares_indicator = args[:dependent_thoroughfares_indicator] if args.key?(:dependent_thoroughfares_indicator)
1146
- @dependent_thoroughfares_type = args[:dependent_thoroughfares_type] if args.key?(:dependent_thoroughfares_type)
1147
1091
  @firm_name = args[:firm_name] if args.key?(:firm_name)
1148
1092
  @is_disputed = args[:is_disputed] if args.key?(:is_disputed)
1149
1093
  @language_code = args[:language_code] if args.key?(:language_code)
@@ -1156,12 +1100,8 @@ module Google
1156
1100
  @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
1157
1101
  @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name)
1158
1102
  @sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name)
1159
- @thoroughfare_leading_type = args[:thoroughfare_leading_type] if args.key?(:thoroughfare_leading_type)
1160
1103
  @thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name)
1161
1104
  @thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number)
1162
- @thoroughfare_post_direction = args[:thoroughfare_post_direction] if args.key?(:thoroughfare_post_direction)
1163
- @thoroughfare_pre_direction = args[:thoroughfare_pre_direction] if args.key?(:thoroughfare_pre_direction)
1164
- @thoroughfare_trailing_type = args[:thoroughfare_trailing_type] if args.key?(:thoroughfare_trailing_type)
1165
1105
  end
1166
1106
  end
1167
1107
 
@@ -1415,9 +1355,16 @@ module Google
1415
1355
  # @return [Google::Apis::CivicinfoV2::SimpleAddressType]
1416
1356
  attr_accessor :normalized_input
1417
1357
 
1418
- # If no election ID was specified in the query, and there was more than one
1419
- # election with data for the given voter, this will contain information about
1420
- # the other elections that could apply.
1358
+ # When there are multiple elections for a voter address, the otherElections
1359
+ # field is populated in the API response and there are two possibilities: 1. If
1360
+ # the earliest election is not the intended election, specify the election ID of
1361
+ # the desired election in a second API request using the electionId field. 2. If
1362
+ # these elections occur on the same day, the API doesn?t return any polling
1363
+ # location, contest, or election official information to ensure that an
1364
+ # additional query is made. For user-facing applications, we recommend
1365
+ # displaying these elections to the user to disambiguate. A second API request
1366
+ # using the electionId field should be made for the election that is relevant to
1367
+ # the user.
1421
1368
  # Corresponds to the JSON property `otherElections`
1422
1369
  # @return [Array<Google::Apis::CivicinfoV2::Election>]
1423
1370
  attr_accessor :other_elections
@@ -254,6 +254,7 @@ module Google
254
254
  # @private
255
255
  class Representation < Google::Apis::Core::JsonRepresentation
256
256
  property :ballot_placement, :numeric_string => true, as: 'ballotPlacement'
257
+ property :ballot_title, as: 'ballotTitle'
257
258
  collection :candidates, as: 'candidates', class: Google::Apis::CivicinfoV2::Candidate, decorator: Google::Apis::CivicinfoV2::Candidate::Representation
258
259
 
259
260
  property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation
@@ -435,14 +436,7 @@ module Google
435
436
  property :country_name, as: 'countryName'
436
437
  property :country_name_code, as: 'countryNameCode'
437
438
  property :dependent_locality_name, as: 'dependentLocalityName'
438
- property :dependent_thoroughfare_leading_type, as: 'dependentThoroughfareLeadingType'
439
439
  property :dependent_thoroughfare_name, as: 'dependentThoroughfareName'
440
- property :dependent_thoroughfare_post_direction, as: 'dependentThoroughfarePostDirection'
441
- property :dependent_thoroughfare_pre_direction, as: 'dependentThoroughfarePreDirection'
442
- property :dependent_thoroughfare_trailing_type, as: 'dependentThoroughfareTrailingType'
443
- property :dependent_thoroughfares_connector, as: 'dependentThoroughfaresConnector'
444
- property :dependent_thoroughfares_indicator, as: 'dependentThoroughfaresIndicator'
445
- property :dependent_thoroughfares_type, as: 'dependentThoroughfaresType'
446
440
  property :firm_name, as: 'firmName'
447
441
  property :is_disputed, as: 'isDisputed'
448
442
  property :language_code, as: 'languageCode'
@@ -455,12 +449,8 @@ module Google
455
449
  property :sorting_code, as: 'sortingCode'
456
450
  property :sub_administrative_area_name, as: 'subAdministrativeAreaName'
457
451
  property :sub_premise_name, as: 'subPremiseName'
458
- property :thoroughfare_leading_type, as: 'thoroughfareLeadingType'
459
452
  property :thoroughfare_name, as: 'thoroughfareName'
460
453
  property :thoroughfare_number, as: 'thoroughfareNumber'
461
- property :thoroughfare_post_direction, as: 'thoroughfarePostDirection'
462
- property :thoroughfare_pre_direction, as: 'thoroughfarePreDirection'
463
- property :thoroughfare_trailing_type, as: 'thoroughfareTrailingType'
464
454
  end
465
455
  end
466
456
 
@@ -131,7 +131,10 @@ module Google
131
131
  # @param [Google::Apis::CivicinfoV2::VoterInfoRequest] voter_info_request_object
132
132
  # @param [Fixnum] election_id
133
133
  # The unique ID of the election to look up. A list of election IDs can be
134
- # obtained at https://www.googleapis.com/civicinfo/`version`/elections
134
+ # obtained at https://www.googleapis.com/civicinfo/`version`/electionsIf no
135
+ # election ID is specified in the query and there is more than one election with
136
+ # data for the given voter, the additional elections are provided in the
137
+ # otherElections response field.
135
138
  # @param [Boolean] official_only
136
139
  # If set to true, only data from official state sources will be returned.
137
140
  # @param [Boolean] return_all_available_data
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/iot
27
27
  module CloudiotV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180606'
29
+ REVISION = '20180703'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -46,7 +46,6 @@ module Google
46
46
 
47
47
  # Role that is assigned to `members`.
48
48
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
49
- # Required
50
49
  # Corresponds to the JSON property `role`
51
50
  # @return [String]
52
51
  attr_accessor :role
@@ -0,0 +1,40 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/cloudprofiler_v2/service.rb'
16
+ require 'google/apis/cloudprofiler_v2/classes.rb'
17
+ require 'google/apis/cloudprofiler_v2/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Stackdriver Profiler API
22
+ #
23
+ # Allows Google services manage the continuous profiling information.
24
+ #
25
+ # @see https://cloud.google.com/
26
+ module CloudprofilerV2
27
+ VERSION = 'V2'
28
+ REVISION = '20180625'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+
33
+ # View and write monitoring data for all of your Google and third-party Cloud and API projects
34
+ AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring'
35
+
36
+ # Publish metric data to your Google Cloud projects
37
+ AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write'
38
+ end
39
+ end
40
+ end