google-api-client 0.41.0 → 0.41.1

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 (167) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +72 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  7. data/generated/google/apis/apigee_v1.rb +1 -1
  8. data/generated/google/apis/apigee_v1/classes.rb +132 -42
  9. data/generated/google/apis/apigee_v1/representations.rb +16 -0
  10. data/generated/google/apis/apigee_v1/service.rb +23 -24
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigquery_v2/classes.rb +36 -6
  13. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  14. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  15. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  18. data/generated/google/apis/civicinfo_v2.rb +2 -2
  19. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  20. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  21. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  22. data/generated/google/apis/cloudasset_v1.rb +1 -1
  23. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  24. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  25. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  26. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  27. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  28. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  29. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  30. data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
  31. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  32. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  33. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  34. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  35. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  36. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
  41. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  42. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  43. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  44. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  45. data/generated/google/apis/composer_v1beta1.rb +1 -1
  46. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  47. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  48. data/generated/google/apis/compute_alpha.rb +1 -1
  49. data/generated/google/apis/compute_alpha/classes.rb +45 -31
  50. data/generated/google/apis/compute_alpha/service.rb +9 -4
  51. data/generated/google/apis/compute_beta.rb +1 -1
  52. data/generated/google/apis/compute_beta/classes.rb +262 -31
  53. data/generated/google/apis/compute_beta/representations.rb +70 -0
  54. data/generated/google/apis/compute_beta/service.rb +233 -4
  55. data/generated/google/apis/compute_v1.rb +1 -1
  56. data/generated/google/apis/compute_v1/classes.rb +592 -29
  57. data/generated/google/apis/compute_v1/representations.rb +182 -0
  58. data/generated/google/apis/compute_v1/service.rb +501 -4
  59. data/generated/google/apis/container_v1.rb +1 -1
  60. data/generated/google/apis/container_v1/classes.rb +29 -3
  61. data/generated/google/apis/container_v1/representations.rb +15 -0
  62. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  63. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  64. data/generated/google/apis/content_v2_1.rb +1 -1
  65. data/generated/google/apis/content_v2_1/classes.rb +172 -0
  66. data/generated/google/apis/content_v2_1/representations.rb +71 -0
  67. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  68. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  69. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  70. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  71. data/generated/google/apis/dialogflow_v2.rb +1 -1
  72. data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
  73. data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
  74. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  75. data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
  76. data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
  77. data/generated/google/apis/displayvideo_v1.rb +1 -1
  78. data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
  79. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  80. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  81. data/generated/google/apis/dlp_v2.rb +1 -1
  82. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  83. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  84. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  85. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  86. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  87. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  88. data/generated/google/apis/fcm_v1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1.rb +1 -1
  90. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  91. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  93. data/generated/google/apis/logging_v2.rb +1 -1
  94. data/generated/google/apis/logging_v2/classes.rb +69 -21
  95. data/generated/google/apis/ml_v1.rb +1 -1
  96. data/generated/google/apis/ml_v1/classes.rb +8 -0
  97. data/generated/google/apis/ml_v1/representations.rb +1 -0
  98. data/generated/google/apis/monitoring_v3.rb +1 -1
  99. data/generated/google/apis/monitoring_v3/classes.rb +2 -2
  100. data/generated/google/apis/people_v1.rb +4 -1
  101. data/generated/google/apis/playablelocations_v3.rb +31 -0
  102. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  103. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  104. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  105. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  106. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  107. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  108. data/generated/google/apis/pubsub_v1.rb +1 -1
  109. data/generated/google/apis/pubsub_v1/classes.rb +4 -2
  110. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  111. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  112. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  113. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  114. data/generated/google/apis/redis_v1.rb +1 -1
  115. data/generated/google/apis/redis_v1/classes.rb +1 -1
  116. data/generated/google/apis/redis_v1/service.rb +1 -1
  117. data/generated/google/apis/redis_v1beta1.rb +1 -1
  118. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  119. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  120. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  121. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  122. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  123. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  124. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  125. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  126. data/generated/google/apis/run_v1.rb +2 -2
  127. data/generated/google/apis/run_v1/classes.rb +4 -1
  128. data/generated/google/apis/run_v1/service.rb +1 -1
  129. data/generated/google/apis/run_v1alpha1.rb +2 -2
  130. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  131. data/generated/google/apis/run_v1beta1.rb +2 -2
  132. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  133. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  134. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  135. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  136. data/generated/google/apis/secretmanager_v1.rb +1 -1
  137. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  138. data/generated/google/apis/securitycenter_v1.rb +1 -1
  139. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  140. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  141. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  142. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  143. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  144. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  145. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  146. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
  147. data/generated/google/apis/sheets_v4.rb +1 -1
  148. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  149. data/generated/google/apis/spanner_v1.rb +1 -1
  150. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  151. data/generated/google/apis/spanner_v1/service.rb +2 -0
  152. data/generated/google/apis/speech_v1.rb +1 -1
  153. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  154. data/generated/google/apis/storage_v1.rb +1 -1
  155. data/generated/google/apis/storage_v1/service.rb +2 -3
  156. data/generated/google/apis/texttospeech_v1.rb +1 -1
  157. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  158. data/generated/google/apis/vectortile_v1.rb +31 -0
  159. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  160. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  161. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  162. data/generated/google/apis/webfonts_v1.rb +5 -5
  163. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  164. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  165. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  166. data/lib/google/apis/version.rb +1 -1
  167. metadata +15 -3
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class GoogleCloudApigeeV1DataCollectorConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class GoogleCloudApigeeV1DebugMask
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -954,6 +960,14 @@ module Google
954
960
  end
955
961
  end
956
962
 
963
+ class GoogleCloudApigeeV1DataCollectorConfig
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :name, as: 'name'
967
+ property :type, as: 'type'
968
+ end
969
+ end
970
+
957
971
  class GoogleCloudApigeeV1DebugMask
958
972
  # @private
959
973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1114,6 +1128,8 @@ module Google
1114
1128
  # @private
1115
1129
  class Representation < Google::Apis::Core::JsonRepresentation
1116
1130
  property :create_time, as: 'createTime'
1131
+ collection :data_collectors, as: 'dataCollectors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig::Representation
1132
+
1117
1133
  property :debug_mask, as: 'debugMask', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation
1118
1134
 
1119
1135
  collection :deployments, as: 'deployments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig::Representation
@@ -3947,8 +3947,8 @@ module Google
3947
3947
  # is not possible with protocol buffer and since this parameter is
3948
3948
  # predominantly used by Edge UI, we are introducing a separate api.
3949
3949
  # @param [String] name
3950
- # Required. The organization and environment name for which the interactive
3951
- # query will be executed. Must be of the form
3950
+ # Required. The resource name for which the interactive query will be executed.
3951
+ # Must be of the form
3952
3952
  # `organizations/`organization_id`/environments/`environment_id/stats/`
3953
3953
  # dimensions``
3954
3954
  # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
@@ -3956,27 +3956,27 @@ module Google
3956
3956
  # shown below
3957
3957
  # `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
3958
3958
  # @param [String] accuracy
3959
- # Legacy field. not used anymore
3959
+ # Legacy field: not used anymore.
3960
3960
  # @param [String] agg_table
3961
3961
  # If customers want to query custom aggregate tables, then this parameter
3962
3962
  # can be used to specify the table name. If this parameter is skipped, then
3963
3963
  # Edge Query will try to retrieve the data from fact tables which will be
3964
3964
  # expensive.
3965
3965
  # @param [String] filter
3966
- # Enables drill-down on specific dimension values
3966
+ # Enables drill-down on specific dimension values.
3967
3967
  # @param [String] limit
3968
3968
  # This parameter is used to limit the number of result items.
3969
- # Default and the max value is 14400
3969
+ # Default and the max value is 14400.
3970
3970
  # @param [String] offset
3971
3971
  # Use offset with limit to enable pagination of results. For example,
3972
3972
  # to display results 11-20, set limit to '10' and offset to '10'.
3973
3973
  # @param [Boolean] realtime
3974
- # Legacy field: not used anymore
3974
+ # Legacy field: not used anymore.
3975
3975
  # @param [String] select
3976
- # Required. The select parameter contains a comma separated list of metrics
3976
+ # Required. The select parameter contains a comma separated list of metrics.
3977
3977
  # E.g. sum(message_count),sum(error_count)
3978
3978
  # @param [Boolean] sonar
3979
- # This parameter routes the query to api monitoring service for last hour
3979
+ # This parameter routes the query to api monitoring service for last hour.
3980
3980
  # @param [String] sort
3981
3981
  # This parameter specifies if the sort order should be ascending or
3982
3982
  # descending Supported values are DESC and ASC.
@@ -3995,7 +3995,7 @@ module Google
3995
3995
  # Lists timestamps in ascending order if set to true. Recommend setting
3996
3996
  # this value to true if you are using sortby with sort=DESC.
3997
3997
  # @param [String] tzo
3998
- # This parameters contains the timezone offset value
3998
+ # This parameters contains the timezone offset value.
3999
3999
  # @param [String] fields
4000
4000
  # Selector specifying which fields to include in a partial response.
4001
4001
  # @param [String] quota_user
@@ -4043,7 +4043,7 @@ module Google
4043
4043
  # an ID that refer to the query. In addition to the HTTP status 201, the
4044
4044
  # `state` of "enqueued" means that the request succeeded.
4045
4045
  # @param [String] parent
4046
- # Required. The parent organization and environment names.
4046
+ # Required. The parent resource name.
4047
4047
  # Must be of the form `organizations/`org`/environments/`env``.
4048
4048
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
4049
4049
  # @param [String] fields
@@ -4146,7 +4146,7 @@ module Google
4146
4146
 
4147
4147
  # Return a list of Asynchronous Queries
4148
4148
  # @param [String] parent
4149
- # Required. The parent organization and environment names.
4149
+ # Required. The parent resource name.
4150
4150
  # Must be of the form `organizations/`org`/environments/`env``.
4151
4151
  # @param [String] dataset
4152
4152
  # Filter response list by dataset.
@@ -4156,12 +4156,11 @@ module Google
4156
4156
  # created after this date time.
4157
4157
  # Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
4158
4158
  # @param [String] incl_queries_without_report
4159
- # Flag to include asynchronous queries that don't have a report
4160
- # denifition.
4159
+ # Flag to include asynchronous queries that don't have a report denifition.
4161
4160
  # @param [String] status
4162
- # Filter response list by asynchronous query status
4161
+ # Filter response list by asynchronous query status.
4163
4162
  # @param [String] submitted_by
4164
- # Filter response list by user who submitted queries
4163
+ # Filter response list by user who submitted queries.
4165
4164
  # @param [String] to
4166
4165
  # Filter response list by returning asynchronous queries that
4167
4166
  # created before this date time.
@@ -4687,8 +4686,8 @@ module Google
4687
4686
  # optional in which case the metrics are computed on the entire data
4688
4687
  # for the given timerange.
4689
4688
  # @param [String] name
4690
- # Required. The organization and environment name for which the interactive
4691
- # query will be executed. Must be of the form
4689
+ # Required. The resource name for which the interactive query will be executed.
4690
+ # Must be of the form
4692
4691
  # `organizations/`organization_id`/environments/`environment_id/stats/`
4693
4692
  # dimensions``
4694
4693
  # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
@@ -4696,8 +4695,8 @@ module Google
4696
4695
  # shown below
4697
4696
  # `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
4698
4697
  # @param [String] accuracy
4699
- # Legacy field. not used anymore
4700
- # This field is present to support UI calls which still use this parameter
4698
+ # Legacy field: not used anymore.
4699
+ # This field is present to support UI calls which still use this parameter.
4701
4700
  # @param [String] agg_table
4702
4701
  # If customers want to query custom aggregate tables, then this parameter
4703
4702
  # can be used to specify the table name. If this parameter is skipped, then
@@ -4707,17 +4706,17 @@ module Google
4707
4706
  # Enables drill-down on specific dimension values
4708
4707
  # @param [String] limit
4709
4708
  # This parameter is used to limit the number of result items.
4710
- # Default and the max value is 14400
4709
+ # Default and the max value is 14400.
4711
4710
  # @param [String] offset
4712
4711
  # Use offset with limit to enable pagination of results. For example,
4713
4712
  # to display results 11-20, set limit to '10' and offset to '10'.
4714
4713
  # @param [Boolean] realtime
4715
- # Legacy field: not used anymore
4714
+ # Legacy field: not used anymore.
4716
4715
  # @param [String] select
4717
- # The select parameter contains a comma separated list of metrics
4716
+ # The select parameter contains a comma separated list of metrics.
4718
4717
  # E.g. sum(message_count),sum(error_count)
4719
4718
  # @param [Boolean] sonar
4720
- # This parameter routes the query to api monitoring service for last hour
4719
+ # This parameter routes the query to api monitoring service for last hour.
4721
4720
  # @param [String] sort
4722
4721
  # This parameter specifies if the sort order should be ascending or
4723
4722
  # descending Supported values are DESC and ASC.
@@ -4736,7 +4735,7 @@ module Google
4736
4735
  # Lists timestamps in ascending order if set to true. Recommend setting
4737
4736
  # this value to true if you are using sortby with sort=DESC.
4738
4737
  # @param [String] tzo
4739
- # This parameters contains the timezone offset value
4738
+ # This parameters contains the timezone offset value.
4740
4739
  # @param [String] fields
4741
4740
  # Selector specifying which fields to include in a partial response.
4742
4741
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200603'
28
+ REVISION = '20200617'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -324,7 +324,7 @@ module Google
324
324
  # `
325
325
  # "audit_configs": [
326
326
  # `
327
- # "service": "allServices"
327
+ # "service": "allServices",
328
328
  # "audit_log_configs": [
329
329
  # `
330
330
  # "log_type": "DATA_READ",
@@ -333,18 +333,18 @@ module Google
333
333
  # ]
334
334
  # `,
335
335
  # `
336
- # "log_type": "DATA_WRITE",
336
+ # "log_type": "DATA_WRITE"
337
337
  # `,
338
338
  # `
339
- # "log_type": "ADMIN_READ",
339
+ # "log_type": "ADMIN_READ"
340
340
  # `
341
341
  # ]
342
342
  # `,
343
343
  # `
344
- # "service": "sampleservice.googleapis.com"
344
+ # "service": "sampleservice.googleapis.com",
345
345
  # "audit_log_configs": [
346
346
  # `
347
- # "log_type": "DATA_READ",
347
+ # "log_type": "DATA_READ"
348
348
  # `,
349
349
  # `
350
350
  # "log_type": "DATA_WRITE",
@@ -396,7 +396,7 @@ module Google
396
396
  # ]
397
397
  # `,
398
398
  # `
399
- # "log_type": "DATA_WRITE",
399
+ # "log_type": "DATA_WRITE"
400
400
  # `
401
401
  # ]
402
402
  # `
@@ -3277,11 +3277,22 @@ module Google
3277
3277
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
3278
3278
  attr_accessor :destination_encryption_configuration
3279
3279
 
3280
+ # [Optional] The time when the destination table expires. Expired tables will be
3281
+ # deleted and their storage reclaimed.
3282
+ # Corresponds to the JSON property `destinationExpirationTime`
3283
+ # @return [Object]
3284
+ attr_accessor :destination_expiration_time
3285
+
3280
3286
  # [Required] The destination table
3281
3287
  # Corresponds to the JSON property `destinationTable`
3282
3288
  # @return [Google::Apis::BigqueryV2::TableReference]
3283
3289
  attr_accessor :destination_table
3284
3290
 
3291
+ # [Optional] Supported operation types in table copy job.
3292
+ # Corresponds to the JSON property `operationType`
3293
+ # @return [String]
3294
+ attr_accessor :operation_type
3295
+
3285
3296
  # [Pick one] Source table to copy.
3286
3297
  # Corresponds to the JSON property `sourceTable`
3287
3298
  # @return [Google::Apis::BigqueryV2::TableReference]
@@ -3312,7 +3323,9 @@ module Google
3312
3323
  def update!(**args)
3313
3324
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
3314
3325
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
3326
+ @destination_expiration_time = args[:destination_expiration_time] if args.key?(:destination_expiration_time)
3315
3327
  @destination_table = args[:destination_table] if args.key?(:destination_table)
3328
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
3316
3329
  @source_table = args[:source_table] if args.key?(:source_table)
3317
3330
  @source_tables = args[:source_tables] if args.key?(:source_tables)
3318
3331
  @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
@@ -5139,6 +5152,12 @@ module Google
5139
5152
  # @return [String]
5140
5153
  attr_accessor :description
5141
5154
 
5155
+ # Optional. [Experimental] The determinism level of the JavaScript UDF if
5156
+ # defined.
5157
+ # Corresponds to the JSON property `determinismLevel`
5158
+ # @return [String]
5159
+ attr_accessor :determinism_level
5160
+
5142
5161
  # Output only. A hash of this resource.
5143
5162
  # Corresponds to the JSON property `etag`
5144
5163
  # @return [String]
@@ -5195,6 +5214,7 @@ module Google
5195
5214
  @creation_time = args[:creation_time] if args.key?(:creation_time)
5196
5215
  @definition_body = args[:definition_body] if args.key?(:definition_body)
5197
5216
  @description = args[:description] if args.key?(:description)
5217
+ @determinism_level = args[:determinism_level] if args.key?(:determinism_level)
5198
5218
  @etag = args[:etag] if args.key?(:etag)
5199
5219
  @imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
5200
5220
  @language = args[:language] if args.key?(:language)
@@ -6612,6 +6632,15 @@ module Google
6612
6632
  # @return [String]
6613
6633
  attr_accessor :optimization_strategy
6614
6634
 
6635
+ # Whether to preserve the input structs in output feature names.
6636
+ # Suppose there is a struct A with field b.
6637
+ # When false (default), the output feature name is A_b.
6638
+ # When true, the output feature name is A.b.
6639
+ # Corresponds to the JSON property `preserveInputStructs`
6640
+ # @return [Boolean]
6641
+ attr_accessor :preserve_input_structs
6642
+ alias_method :preserve_input_structs?, :preserve_input_structs
6643
+
6615
6644
  # Subsample fraction of the training data to grow tree to prevent
6616
6645
  # overfitting for boosted tree models.
6617
6646
  # Corresponds to the JSON property `subsample`
@@ -6669,6 +6698,7 @@ module Google
6669
6698
  @num_clusters = args[:num_clusters] if args.key?(:num_clusters)
6670
6699
  @num_factors = args[:num_factors] if args.key?(:num_factors)
6671
6700
  @optimization_strategy = args[:optimization_strategy] if args.key?(:optimization_strategy)
6701
+ @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
6672
6702
  @subsample = args[:subsample] if args.key?(:subsample)
6673
6703
  @user_column = args[:user_column] if args.key?(:user_column)
6674
6704
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
@@ -1518,8 +1518,10 @@ module Google
1518
1518
  property :create_disposition, as: 'createDisposition'
1519
1519
  property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1520
1520
 
1521
+ property :destination_expiration_time, as: 'destinationExpirationTime'
1521
1522
  property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1522
1523
 
1524
+ property :operation_type, as: 'operationType'
1523
1525
  property :source_table, as: 'sourceTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1524
1526
 
1525
1527
  collection :source_tables, as: 'sourceTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
@@ -1972,6 +1974,7 @@ module Google
1972
1974
  property :creation_time, :numeric_string => true, as: 'creationTime'
1973
1975
  property :definition_body, as: 'definitionBody'
1974
1976
  property :description, as: 'description'
1977
+ property :determinism_level, as: 'determinismLevel'
1975
1978
  property :etag, as: 'etag'
1976
1979
  collection :imported_libraries, as: 'importedLibraries'
1977
1980
  property :language, as: 'language'
@@ -2340,6 +2343,7 @@ module Google
2340
2343
  property :num_clusters, :numeric_string => true, as: 'numClusters'
2341
2344
  property :num_factors, :numeric_string => true, as: 'numFactors'
2342
2345
  property :optimization_strategy, as: 'optimizationStrategy'
2346
+ property :preserve_input_structs, as: 'preserveInputStructs'
2343
2347
  property :subsample, as: 'subsample'
2344
2348
  property :user_column, as: 'userColumn'
2345
2349
  property :wals_alpha, as: 'walsAlpha'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryconnectionV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200430'
28
+ REVISION = '20200617'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -34,7 +34,7 @@ module Google
34
34
  # `
35
35
  # "audit_configs": [
36
36
  # `
37
- # "service": "allServices"
37
+ # "service": "allServices",
38
38
  # "audit_log_configs": [
39
39
  # `
40
40
  # "log_type": "DATA_READ",
@@ -43,18 +43,18 @@ module Google
43
43
  # ]
44
44
  # `,
45
45
  # `
46
- # "log_type": "DATA_WRITE",
46
+ # "log_type": "DATA_WRITE"
47
47
  # `,
48
48
  # `
49
- # "log_type": "ADMIN_READ",
49
+ # "log_type": "ADMIN_READ"
50
50
  # `
51
51
  # ]
52
52
  # `,
53
53
  # `
54
- # "service": "sampleservice.googleapis.com"
54
+ # "service": "sampleservice.googleapis.com",
55
55
  # "audit_log_configs": [
56
56
  # `
57
- # "log_type": "DATA_READ",
57
+ # "log_type": "DATA_READ"
58
58
  # `,
59
59
  # `
60
60
  # "log_type": "DATA_WRITE",
@@ -106,7 +106,7 @@ module Google
106
106
  # ]
107
107
  # `,
108
108
  # `
109
- # "log_type": "DATA_WRITE",
109
+ # "log_type": "DATA_WRITE"
110
110
  # `
111
111
  # ]
112
112
  # `
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200519'
28
+ REVISION = '20200619'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200519'
28
+ REVISION = '20200619'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -23,10 +23,10 @@ module Google
23
23
  # Provides polling places, early vote locations, contest data, election
24
24
  # officials, and government representatives for U.S. residential addresses.
25
25
  #
26
- # @see https://developers.google.com/civic-information
26
+ # @see https://developers.google.com/civic-information/
27
27
  module CivicinfoV2
28
28
  VERSION = 'V2'
29
- REVISION = '20191030'
29
+ REVISION = '20200624'
30
30
  end
31
31
  end
32
32
  end
@@ -79,11 +79,6 @@ module Google
79
79
  # @return [String]
80
80
  attr_accessor :absentee_voting_info_url
81
81
 
82
- #
83
- # Corresponds to the JSON property `addressLines`
84
- # @return [Array<String>]
85
- attr_accessor :address_lines
86
-
87
82
  # A URL provided by this administrative body to give contest information to the
88
83
  # voter.
89
84
  # Corresponds to the JSON property `ballotInfoUrl`
@@ -156,7 +151,6 @@ module Google
156
151
  # Update properties of this object
157
152
  def update!(**args)
158
153
  @absentee_voting_info_url = args[:absentee_voting_info_url] if args.key?(:absentee_voting_info_url)
159
- @address_lines = args[:address_lines] if args.key?(:address_lines)
160
154
  @ballot_info_url = args[:ballot_info_url] if args.key?(:ballot_info_url)
161
155
  @correspondence_address = args[:correspondence_address] if args.key?(:correspondence_address)
162
156
  @election_info_url = args[:election_info_url] if args.key?(:election_info_url)
@@ -449,63 +443,6 @@ module Google
449
443
  end
450
444
  end
451
445
 
452
- #
453
- class ContextParams
454
- include Google::Apis::Core::Hashable
455
-
456
- #
457
- # Corresponds to the JSON property `clientProfile`
458
- # @return [String]
459
- attr_accessor :client_profile
460
-
461
- def initialize(**args)
462
- update!(**args)
463
- end
464
-
465
- # Update properties of this object
466
- def update!(**args)
467
- @client_profile = args[:client_profile] if args.key?(:client_profile)
468
- end
469
- end
470
-
471
- # A request to look up representative information for a single division.
472
- class DivisionRepresentativeInfoRequest
473
- include Google::Apis::Core::Hashable
474
-
475
- #
476
- # Corresponds to the JSON property `contextParams`
477
- # @return [Google::Apis::CivicinfoV2::ContextParams]
478
- attr_accessor :context_params
479
-
480
- def initialize(**args)
481
- update!(**args)
482
- end
483
-
484
- # Update properties of this object
485
- def update!(**args)
486
- @context_params = args[:context_params] if args.key?(:context_params)
487
- end
488
- end
489
-
490
- # A search request for political geographies.
491
- class DivisionSearchRequest
492
- include Google::Apis::Core::Hashable
493
-
494
- #
495
- # Corresponds to the JSON property `contextParams`
496
- # @return [Google::Apis::CivicinfoV2::ContextParams]
497
- attr_accessor :context_params
498
-
499
- def initialize(**args)
500
- update!(**args)
501
- end
502
-
503
- # Update properties of this object
504
- def update!(**args)
505
- @context_params = args[:context_params] if args.key?(:context_params)
506
- end
507
- end
508
-
509
446
  # The result of a division search query.
510
447
  class SearchDivisionResponse
511
448
  include Google::Apis::Core::Hashable
@@ -550,7 +487,7 @@ module Google
550
487
  # @return [String]
551
488
  attr_accessor :name
552
489
 
553
- # The unique Open Civic Data identifier for this division.
490
+ # The unique Open Civic Data identifier for this division
554
491
  # Corresponds to the JSON property `ocdId`
555
492
  # @return [String]
556
493
  attr_accessor :ocd_id
@@ -650,25 +587,6 @@ module Google
650
587
  end
651
588
  end
652
589
 
653
- #
654
- class ElectionsQueryRequest
655
- include Google::Apis::Core::Hashable
656
-
657
- #
658
- # Corresponds to the JSON property `contextParams`
659
- # @return [Google::Apis::CivicinfoV2::ContextParams]
660
- attr_accessor :context_params
661
-
662
- def initialize(**args)
663
- update!(**args)
664
- end
665
-
666
- # Update properties of this object
667
- def update!(**args)
668
- @context_params = args[:context_params] if args.key?(:context_params)
669
- end
670
- end
671
-
672
590
  # The list of elections available for this version of the API.
673
591
  class QueryElectionsResponse
674
592
  include Google::Apis::Core::Hashable
@@ -705,11 +623,6 @@ module Google
705
623
  # @return [String]
706
624
  attr_accessor :id
707
625
 
708
- #
709
- # Corresponds to the JSON property `kgForeignKey`
710
- # @return [String]
711
- attr_accessor :kg_foreign_key
712
-
713
626
  # The name of the district.
714
627
  # Corresponds to the JSON property `name`
715
628
  # @return [String]
@@ -730,43 +643,22 @@ module Google
730
643
  # Update properties of this object
731
644
  def update!(**args)
732
645
  @id = args[:id] if args.key?(:id)
733
- @kg_foreign_key = args[:kg_foreign_key] if args.key?(:kg_foreign_key)
734
646
  @name = args[:name] if args.key?(:name)
735
647
  @scope = args[:scope] if args.key?(:scope)
736
648
  end
737
649
  end
738
650
 
739
- #
740
- class FieldMetadataProto
741
- include Google::Apis::Core::Hashable
742
-
743
- #
744
- # Corresponds to the JSON property `internal`
745
- # @return [Google::Apis::CivicinfoV2::InternalFieldMetadataProto]
746
- attr_accessor :internal
747
-
748
- def initialize(**args)
749
- update!(**args)
750
- end
751
-
752
- # Update properties of this object
753
- def update!(**args)
754
- @internal = args[:internal] if args.key?(:internal)
755
- end
756
- end
757
-
758
651
  # Describes a political geography.
759
652
  class GeographicDivision
760
653
  include Google::Apis::Core::Hashable
761
654
 
762
- # Any other valid OCD IDs that refer to the same division.
763
- # Because OCD IDs are meant to be human-readable and at least somewhat
764
- # predictable, there are occasionally several identifiers for a single division.
765
- # These identifiers are defined to be equivalent to one another, and one is
766
- # always indicated as the primary identifier. The primary identifier will be
767
- # returned in ocd_id above, and any other equivalent valid identifiers will be
768
- # returned in this list.
769
- # For example, if this division's OCD ID is ocd-division/country:us/district:dc,
655
+ # Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs
656
+ # are meant to be human-readable and at least somewhat predictable, there are
657
+ # occasionally several identifiers for a single division. These identifiers are
658
+ # defined to be equivalent to one another, and one is always indicated as the
659
+ # primary identifier. The primary identifier will be returned in ocd_id above,
660
+ # and any other equivalent valid identifiers will be returned in this list.\n\
661
+ # nFor example, if this division's OCD ID is ocd-division/country:us/district:dc,
770
662
  # this will contain ocd-division/country:us/state:dc.
771
663
  # Corresponds to the JSON property `alsoKnownAs`
772
664
  # @return [Array<String>]
@@ -796,57 +688,6 @@ module Google
796
688
  end
797
689
  end
798
690
 
799
- #
800
- class InternalFieldMetadataProto
801
- include Google::Apis::Core::Hashable
802
-
803
- #
804
- # Corresponds to the JSON property `isAuto`
805
- # @return [Boolean]
806
- attr_accessor :is_auto
807
- alias_method :is_auto?, :is_auto
808
-
809
- #
810
- # Corresponds to the JSON property `sourceSummary`
811
- # @return [Google::Apis::CivicinfoV2::InternalSourceSummaryProto]
812
- attr_accessor :source_summary
813
-
814
- def initialize(**args)
815
- update!(**args)
816
- end
817
-
818
- # Update properties of this object
819
- def update!(**args)
820
- @is_auto = args[:is_auto] if args.key?(:is_auto)
821
- @source_summary = args[:source_summary] if args.key?(:source_summary)
822
- end
823
- end
824
-
825
- #
826
- class InternalSourceSummaryProto
827
- include Google::Apis::Core::Hashable
828
-
829
- #
830
- # Corresponds to the JSON property `dataset`
831
- # @return [String]
832
- attr_accessor :dataset
833
-
834
- #
835
- # Corresponds to the JSON property `provider`
836
- # @return [String]
837
- attr_accessor :provider
838
-
839
- def initialize(**args)
840
- update!(**args)
841
- end
842
-
843
- # Update properties of this object
844
- def update!(**args)
845
- @dataset = args[:dataset] if args.key?(:dataset)
846
- @provider = args[:provider] if args.key?(:provider)
847
- end
848
- end
849
-
850
691
  # Information about an Office held by one or more Officials.
851
692
  class Office
852
693
  include Google::Apis::Core::Hashable
@@ -966,37 +807,6 @@ module Google
966
807
  end
967
808
  end
968
809
 
969
- #
970
- class PointProto
971
- include Google::Apis::Core::Hashable
972
-
973
- #
974
- # Corresponds to the JSON property `latE7`
975
- # @return [Fixnum]
976
- attr_accessor :lat_e7
977
-
978
- #
979
- # Corresponds to the JSON property `lngE7`
980
- # @return [Fixnum]
981
- attr_accessor :lng_e7
982
-
983
- #
984
- # Corresponds to the JSON property `metadata`
985
- # @return [Google::Apis::CivicinfoV2::FieldMetadataProto]
986
- attr_accessor :metadata
987
-
988
- def initialize(**args)
989
- update!(**args)
990
- end
991
-
992
- # Update properties of this object
993
- def update!(**args)
994
- @lat_e7 = args[:lat_e7] if args.key?(:lat_e7)
995
- @lng_e7 = args[:lng_e7] if args.key?(:lng_e7)
996
- @metadata = args[:metadata] if args.key?(:metadata)
997
- end
998
- end
999
-
1000
810
  # A location where a voter can vote. This may be an early vote site, an election
1001
811
  # day voting location, or a drop off location for a completed ballot.
1002
812
  class PollingLocation
@@ -1090,218 +900,12 @@ module Google
1090
900
  end
1091
901
  end
1092
902
 
1093
- #
1094
- class PostalAddress
1095
- include Google::Apis::Core::Hashable
1096
-
1097
- #
1098
- # Corresponds to the JSON property `addressLines`
1099
- # @return [Array<String>]
1100
- attr_accessor :address_lines
1101
-
1102
- #
1103
- # Corresponds to the JSON property `administrativeAreaName`
1104
- # @return [String]
1105
- attr_accessor :administrative_area_name
1106
-
1107
- #
1108
- # Corresponds to the JSON property `countryName`
1109
- # @return [String]
1110
- attr_accessor :country_name
1111
-
1112
- #
1113
- # Corresponds to the JSON property `countryNameCode`
1114
- # @return [String]
1115
- attr_accessor :country_name_code
1116
-
1117
- #
1118
- # Corresponds to the JSON property `dependentLocalityName`
1119
- # @return [String]
1120
- attr_accessor :dependent_locality_name
1121
-
1122
- #
1123
- # Corresponds to the JSON property `dependentThoroughfareName`
1124
- # @return [String]
1125
- attr_accessor :dependent_thoroughfare_name
1126
-
1127
- #
1128
- # Corresponds to the JSON property `firmName`
1129
- # @return [String]
1130
- attr_accessor :firm_name
1131
-
1132
- #
1133
- # Corresponds to the JSON property `isDisputed`
1134
- # @return [Boolean]
1135
- attr_accessor :is_disputed
1136
- alias_method :is_disputed?, :is_disputed
1137
-
1138
- #
1139
- # Corresponds to the JSON property `languageCode`
1140
- # @return [String]
1141
- attr_accessor :language_code
1142
-
1143
- #
1144
- # Corresponds to the JSON property `localityName`
1145
- # @return [String]
1146
- attr_accessor :locality_name
1147
-
1148
- #
1149
- # Corresponds to the JSON property `postBoxNumber`
1150
- # @return [String]
1151
- attr_accessor :post_box_number
1152
-
1153
- #
1154
- # Corresponds to the JSON property `postalCodeNumber`
1155
- # @return [String]
1156
- attr_accessor :postal_code_number
1157
-
1158
- #
1159
- # Corresponds to the JSON property `postalCodeNumberExtension`
1160
- # @return [String]
1161
- attr_accessor :postal_code_number_extension
1162
-
1163
- #
1164
- # Corresponds to the JSON property `premiseName`
1165
- # @return [String]
1166
- attr_accessor :premise_name
1167
-
1168
- #
1169
- # Corresponds to the JSON property `recipientName`
1170
- # @return [String]
1171
- attr_accessor :recipient_name
1172
-
1173
- #
1174
- # Corresponds to the JSON property `sortingCode`
1175
- # @return [String]
1176
- attr_accessor :sorting_code
1177
-
1178
- #
1179
- # Corresponds to the JSON property `subAdministrativeAreaName`
1180
- # @return [String]
1181
- attr_accessor :sub_administrative_area_name
1182
-
1183
- #
1184
- # Corresponds to the JSON property `subPremiseName`
1185
- # @return [String]
1186
- attr_accessor :sub_premise_name
1187
-
1188
- #
1189
- # Corresponds to the JSON property `thoroughfareName`
1190
- # @return [String]
1191
- attr_accessor :thoroughfare_name
1192
-
1193
- #
1194
- # Corresponds to the JSON property `thoroughfareNumber`
1195
- # @return [String]
1196
- attr_accessor :thoroughfare_number
1197
-
1198
- def initialize(**args)
1199
- update!(**args)
1200
- end
1201
-
1202
- # Update properties of this object
1203
- def update!(**args)
1204
- @address_lines = args[:address_lines] if args.key?(:address_lines)
1205
- @administrative_area_name = args[:administrative_area_name] if args.key?(:administrative_area_name)
1206
- @country_name = args[:country_name] if args.key?(:country_name)
1207
- @country_name_code = args[:country_name_code] if args.key?(:country_name_code)
1208
- @dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name)
1209
- @dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name)
1210
- @firm_name = args[:firm_name] if args.key?(:firm_name)
1211
- @is_disputed = args[:is_disputed] if args.key?(:is_disputed)
1212
- @language_code = args[:language_code] if args.key?(:language_code)
1213
- @locality_name = args[:locality_name] if args.key?(:locality_name)
1214
- @post_box_number = args[:post_box_number] if args.key?(:post_box_number)
1215
- @postal_code_number = args[:postal_code_number] if args.key?(:postal_code_number)
1216
- @postal_code_number_extension = args[:postal_code_number_extension] if args.key?(:postal_code_number_extension)
1217
- @premise_name = args[:premise_name] if args.key?(:premise_name)
1218
- @recipient_name = args[:recipient_name] if args.key?(:recipient_name)
1219
- @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
1220
- @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name)
1221
- @sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name)
1222
- @thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name)
1223
- @thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number)
1224
- end
1225
- end
1226
-
1227
- #
1228
- class Provenance
1229
- include Google::Apis::Core::Hashable
1230
-
1231
- #
1232
- # Corresponds to the JSON property `collidedSegmentSource`
1233
- # @return [Google::Apis::CivicinfoV2::StreetSegmentList]
1234
- attr_accessor :collided_segment_source
1235
-
1236
- #
1237
- # Corresponds to the JSON property `ctclContestUuid`
1238
- # @return [String]
1239
- attr_accessor :ctcl_contest_uuid
1240
-
1241
- #
1242
- # Corresponds to the JSON property `ctclOfficeUuid`
1243
- # @return [String]
1244
- attr_accessor :ctcl_office_uuid
1245
-
1246
- #
1247
- # Corresponds to the JSON property `datasetId`
1248
- # @return [Fixnum]
1249
- attr_accessor :dataset_id
1250
-
1251
- #
1252
- # Corresponds to the JSON property `precinctId`
1253
- # @return [Fixnum]
1254
- attr_accessor :precinct_id
1255
-
1256
- #
1257
- # Corresponds to the JSON property `precinctSplitId`
1258
- # @return [Fixnum]
1259
- attr_accessor :precinct_split_id
1260
-
1261
- #
1262
- # Corresponds to the JSON property `tsStreetSegmentId`
1263
- # @return [String]
1264
- attr_accessor :ts_street_segment_id
1265
-
1266
- #
1267
- # Corresponds to the JSON property `vip5PrecinctId`
1268
- # @return [String]
1269
- attr_accessor :vip5_precinct_id
1270
-
1271
- #
1272
- # Corresponds to the JSON property `vip5StreetSegmentId`
1273
- # @return [String]
1274
- attr_accessor :vip5_street_segment_id
1275
-
1276
- #
1277
- # Corresponds to the JSON property `vipStreetSegmentId`
1278
- # @return [Fixnum]
1279
- attr_accessor :vip_street_segment_id
1280
-
1281
- def initialize(**args)
1282
- update!(**args)
1283
- end
1284
-
1285
- # Update properties of this object
1286
- def update!(**args)
1287
- @collided_segment_source = args[:collided_segment_source] if args.key?(:collided_segment_source)
1288
- @ctcl_contest_uuid = args[:ctcl_contest_uuid] if args.key?(:ctcl_contest_uuid)
1289
- @ctcl_office_uuid = args[:ctcl_office_uuid] if args.key?(:ctcl_office_uuid)
1290
- @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1291
- @precinct_id = args[:precinct_id] if args.key?(:precinct_id)
1292
- @precinct_split_id = args[:precinct_split_id] if args.key?(:precinct_split_id)
1293
- @ts_street_segment_id = args[:ts_street_segment_id] if args.key?(:ts_street_segment_id)
1294
- @vip5_precinct_id = args[:vip5_precinct_id] if args.key?(:vip5_precinct_id)
1295
- @vip5_street_segment_id = args[:vip5_street_segment_id] if args.key?(:vip5_street_segment_id)
1296
- @vip_street_segment_id = args[:vip_street_segment_id] if args.key?(:vip_street_segment_id)
1297
- end
1298
- end
1299
-
1300
903
  #
1301
904
  class RepresentativeInfoData
1302
905
  include Google::Apis::Core::Hashable
1303
906
 
1304
- # Political geographic divisions that contain the requested address.
907
+ # A map of political geographic divisions that contain the requested address,
908
+ # keyed by the unique Open Civic Data identifier for this division.
1305
909
  # Corresponds to the JSON property `divisions`
1306
910
  # @return [Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>]
1307
911
  attr_accessor :divisions
@@ -1330,31 +934,12 @@ module Google
1330
934
  end
1331
935
  end
1332
936
 
1333
- # A request for political geography and representative information for an
1334
- # address.
1335
- class RepresentativeInfoRequest
1336
- include Google::Apis::Core::Hashable
1337
-
1338
- #
1339
- # Corresponds to the JSON property `contextParams`
1340
- # @return [Google::Apis::CivicinfoV2::ContextParams]
1341
- attr_accessor :context_params
1342
-
1343
- def initialize(**args)
1344
- update!(**args)
1345
- end
1346
-
1347
- # Update properties of this object
1348
- def update!(**args)
1349
- @context_params = args[:context_params] if args.key?(:context_params)
1350
- end
1351
- end
1352
-
1353
937
  # The result of a representative info lookup query.
1354
938
  class RepresentativeInfoResponse
1355
939
  include Google::Apis::Core::Hashable
1356
940
 
1357
- # Political geographic divisions that contain the requested address.
941
+ # A map of political geographic divisions that contain the requested address,
942
+ # keyed by the unique Open Civic Data identifier for this division.
1358
943
  # Corresponds to the JSON property `divisions`
1359
944
  # @return [Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>]
1360
945
  attr_accessor :divisions
@@ -1477,336 +1062,6 @@ module Google
1477
1062
  end
1478
1063
  end
1479
1064
 
1480
- #
1481
- class StreetSegment
1482
- include Google::Apis::Core::Hashable
1483
-
1484
- #
1485
- # Corresponds to the JSON property `administrationRegionIds`
1486
- # @return [Array<String>]
1487
- attr_accessor :administration_region_ids
1488
-
1489
- #
1490
- # Corresponds to the JSON property `beforeGeocodeId`
1491
- # @return [String]
1492
- attr_accessor :before_geocode_id
1493
-
1494
- #
1495
- # Corresponds to the JSON property `catalistUniquePrecinctCode`
1496
- # @return [String]
1497
- attr_accessor :catalist_unique_precinct_code
1498
-
1499
- #
1500
- # Corresponds to the JSON property `city`
1501
- # @return [String]
1502
- attr_accessor :city
1503
-
1504
- #
1505
- # Corresponds to the JSON property `cityCouncilDistrict`
1506
- # @return [String]
1507
- attr_accessor :city_council_district
1508
-
1509
- #
1510
- # Corresponds to the JSON property `congressionalDistrict`
1511
- # @return [String]
1512
- attr_accessor :congressional_district
1513
-
1514
- #
1515
- # Corresponds to the JSON property `contestIds`
1516
- # @return [Array<String>]
1517
- attr_accessor :contest_ids
1518
-
1519
- #
1520
- # Corresponds to the JSON property `countyCouncilDistrict`
1521
- # @return [String]
1522
- attr_accessor :county_council_district
1523
-
1524
- #
1525
- # Corresponds to the JSON property `countyFips`
1526
- # @return [String]
1527
- attr_accessor :county_fips
1528
-
1529
- #
1530
- # Corresponds to the JSON property `datasetId`
1531
- # @return [Fixnum]
1532
- attr_accessor :dataset_id
1533
-
1534
- #
1535
- # Corresponds to the JSON property `earlyVoteSiteByIds`
1536
- # @return [Array<String>]
1537
- attr_accessor :early_vote_site_by_ids
1538
-
1539
- #
1540
- # Corresponds to the JSON property `endHouseNumber`
1541
- # @return [Fixnum]
1542
- attr_accessor :end_house_number
1543
-
1544
- #
1545
- # Corresponds to the JSON property `geocodedPoint`
1546
- # @return [Google::Apis::CivicinfoV2::PointProto]
1547
- attr_accessor :geocoded_point
1548
-
1549
- #
1550
- # Corresponds to the JSON property `geographicDivisionOcdIds`
1551
- # @return [Array<String>]
1552
- attr_accessor :geographic_division_ocd_ids
1553
-
1554
- #
1555
- # Corresponds to the JSON property `id`
1556
- # @return [String]
1557
- attr_accessor :id
1558
-
1559
- #
1560
- # Corresponds to the JSON property `judicialDistrict`
1561
- # @return [String]
1562
- attr_accessor :judicial_district
1563
-
1564
- #
1565
- # Corresponds to the JSON property `mailOnly`
1566
- # @return [Boolean]
1567
- attr_accessor :mail_only
1568
- alias_method :mail_only?, :mail_only
1569
-
1570
- #
1571
- # Corresponds to the JSON property `municipalDistrict`
1572
- # @return [String]
1573
- attr_accessor :municipal_district
1574
-
1575
- #
1576
- # Corresponds to the JSON property `ncoaAddress`
1577
- # @return [String]
1578
- attr_accessor :ncoa_address
1579
-
1580
- #
1581
- # Corresponds to the JSON property `oddOrEvens`
1582
- # @return [Array<String>]
1583
- attr_accessor :odd_or_evens
1584
-
1585
- #
1586
- # Corresponds to the JSON property `originalId`
1587
- # @return [String]
1588
- attr_accessor :original_id
1589
-
1590
- #
1591
- # Corresponds to the JSON property `pollinglocationByIds`
1592
- # @return [Array<String>]
1593
- attr_accessor :pollinglocation_by_ids
1594
-
1595
- #
1596
- # Corresponds to the JSON property `precinctName`
1597
- # @return [String]
1598
- attr_accessor :precinct_name
1599
-
1600
- #
1601
- # Corresponds to the JSON property `precinctOcdId`
1602
- # @return [String]
1603
- attr_accessor :precinct_ocd_id
1604
-
1605
- #
1606
- # Corresponds to the JSON property `provenances`
1607
- # @return [Array<Google::Apis::CivicinfoV2::Provenance>]
1608
- attr_accessor :provenances
1609
-
1610
- #
1611
- # Corresponds to the JSON property `published`
1612
- # @return [Boolean]
1613
- attr_accessor :published
1614
- alias_method :published?, :published
1615
-
1616
- #
1617
- # Corresponds to the JSON property `schoolDistrict`
1618
- # @return [String]
1619
- attr_accessor :school_district
1620
-
1621
- #
1622
- # Corresponds to the JSON property `startHouseNumber`
1623
- # @return [Fixnum]
1624
- attr_accessor :start_house_number
1625
-
1626
- #
1627
- # Corresponds to the JSON property `startLatE7`
1628
- # @return [Fixnum]
1629
- attr_accessor :start_lat_e7
1630
-
1631
- #
1632
- # Corresponds to the JSON property `startLngE7`
1633
- # @return [Fixnum]
1634
- attr_accessor :start_lng_e7
1635
-
1636
- #
1637
- # Corresponds to the JSON property `state`
1638
- # @return [String]
1639
- attr_accessor :state
1640
-
1641
- #
1642
- # Corresponds to the JSON property `stateHouseDistrict`
1643
- # @return [String]
1644
- attr_accessor :state_house_district
1645
-
1646
- #
1647
- # Corresponds to the JSON property `stateSenateDistrict`
1648
- # @return [String]
1649
- attr_accessor :state_senate_district
1650
-
1651
- #
1652
- # Corresponds to the JSON property `streetName`
1653
- # @return [String]
1654
- attr_accessor :street_name
1655
-
1656
- #
1657
- # Corresponds to the JSON property `subAdministrativeAreaName`
1658
- # @return [String]
1659
- attr_accessor :sub_administrative_area_name
1660
-
1661
- #
1662
- # Corresponds to the JSON property `surrogateId`
1663
- # @return [Fixnum]
1664
- attr_accessor :surrogate_id
1665
-
1666
- #
1667
- # Corresponds to the JSON property `targetsmartUniquePrecinctCode`
1668
- # @return [String]
1669
- attr_accessor :targetsmart_unique_precinct_code
1670
-
1671
- #
1672
- # Corresponds to the JSON property `townshipDistrict`
1673
- # @return [String]
1674
- attr_accessor :township_district
1675
-
1676
- #
1677
- # Corresponds to the JSON property `unitNumber`
1678
- # @return [String]
1679
- attr_accessor :unit_number
1680
-
1681
- #
1682
- # Corresponds to the JSON property `unitType`
1683
- # @return [String]
1684
- attr_accessor :unit_type
1685
-
1686
- #
1687
- # Corresponds to the JSON property `vanPrecinctCode`
1688
- # @return [String]
1689
- attr_accessor :van_precinct_code
1690
-
1691
- #
1692
- # Corresponds to the JSON property `voterGeographicDivisionOcdIds`
1693
- # @return [Array<String>]
1694
- attr_accessor :voter_geographic_division_ocd_ids
1695
-
1696
- #
1697
- # Corresponds to the JSON property `wardDistrict`
1698
- # @return [String]
1699
- attr_accessor :ward_district
1700
-
1701
- #
1702
- # Corresponds to the JSON property `wildcard`
1703
- # @return [Boolean]
1704
- attr_accessor :wildcard
1705
- alias_method :wildcard?, :wildcard
1706
-
1707
- #
1708
- # Corresponds to the JSON property `zip`
1709
- # @return [String]
1710
- attr_accessor :zip
1711
-
1712
- def initialize(**args)
1713
- update!(**args)
1714
- end
1715
-
1716
- # Update properties of this object
1717
- def update!(**args)
1718
- @administration_region_ids = args[:administration_region_ids] if args.key?(:administration_region_ids)
1719
- @before_geocode_id = args[:before_geocode_id] if args.key?(:before_geocode_id)
1720
- @catalist_unique_precinct_code = args[:catalist_unique_precinct_code] if args.key?(:catalist_unique_precinct_code)
1721
- @city = args[:city] if args.key?(:city)
1722
- @city_council_district = args[:city_council_district] if args.key?(:city_council_district)
1723
- @congressional_district = args[:congressional_district] if args.key?(:congressional_district)
1724
- @contest_ids = args[:contest_ids] if args.key?(:contest_ids)
1725
- @county_council_district = args[:county_council_district] if args.key?(:county_council_district)
1726
- @county_fips = args[:county_fips] if args.key?(:county_fips)
1727
- @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1728
- @early_vote_site_by_ids = args[:early_vote_site_by_ids] if args.key?(:early_vote_site_by_ids)
1729
- @end_house_number = args[:end_house_number] if args.key?(:end_house_number)
1730
- @geocoded_point = args[:geocoded_point] if args.key?(:geocoded_point)
1731
- @geographic_division_ocd_ids = args[:geographic_division_ocd_ids] if args.key?(:geographic_division_ocd_ids)
1732
- @id = args[:id] if args.key?(:id)
1733
- @judicial_district = args[:judicial_district] if args.key?(:judicial_district)
1734
- @mail_only = args[:mail_only] if args.key?(:mail_only)
1735
- @municipal_district = args[:municipal_district] if args.key?(:municipal_district)
1736
- @ncoa_address = args[:ncoa_address] if args.key?(:ncoa_address)
1737
- @odd_or_evens = args[:odd_or_evens] if args.key?(:odd_or_evens)
1738
- @original_id = args[:original_id] if args.key?(:original_id)
1739
- @pollinglocation_by_ids = args[:pollinglocation_by_ids] if args.key?(:pollinglocation_by_ids)
1740
- @precinct_name = args[:precinct_name] if args.key?(:precinct_name)
1741
- @precinct_ocd_id = args[:precinct_ocd_id] if args.key?(:precinct_ocd_id)
1742
- @provenances = args[:provenances] if args.key?(:provenances)
1743
- @published = args[:published] if args.key?(:published)
1744
- @school_district = args[:school_district] if args.key?(:school_district)
1745
- @start_house_number = args[:start_house_number] if args.key?(:start_house_number)
1746
- @start_lat_e7 = args[:start_lat_e7] if args.key?(:start_lat_e7)
1747
- @start_lng_e7 = args[:start_lng_e7] if args.key?(:start_lng_e7)
1748
- @state = args[:state] if args.key?(:state)
1749
- @state_house_district = args[:state_house_district] if args.key?(:state_house_district)
1750
- @state_senate_district = args[:state_senate_district] if args.key?(:state_senate_district)
1751
- @street_name = args[:street_name] if args.key?(:street_name)
1752
- @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name)
1753
- @surrogate_id = args[:surrogate_id] if args.key?(:surrogate_id)
1754
- @targetsmart_unique_precinct_code = args[:targetsmart_unique_precinct_code] if args.key?(:targetsmart_unique_precinct_code)
1755
- @township_district = args[:township_district] if args.key?(:township_district)
1756
- @unit_number = args[:unit_number] if args.key?(:unit_number)
1757
- @unit_type = args[:unit_type] if args.key?(:unit_type)
1758
- @van_precinct_code = args[:van_precinct_code] if args.key?(:van_precinct_code)
1759
- @voter_geographic_division_ocd_ids = args[:voter_geographic_division_ocd_ids] if args.key?(:voter_geographic_division_ocd_ids)
1760
- @ward_district = args[:ward_district] if args.key?(:ward_district)
1761
- @wildcard = args[:wildcard] if args.key?(:wildcard)
1762
- @zip = args[:zip] if args.key?(:zip)
1763
- end
1764
- end
1765
-
1766
- #
1767
- class StreetSegmentList
1768
- include Google::Apis::Core::Hashable
1769
-
1770
- #
1771
- # Corresponds to the JSON property `segments`
1772
- # @return [Array<Google::Apis::CivicinfoV2::StreetSegment>]
1773
- attr_accessor :segments
1774
-
1775
- def initialize(**args)
1776
- update!(**args)
1777
- end
1778
-
1779
- # Update properties of this object
1780
- def update!(**args)
1781
- @segments = args[:segments] if args.key?(:segments)
1782
- end
1783
- end
1784
-
1785
- # A request for information about a voter.
1786
- class VoterInfoRequest
1787
- include Google::Apis::Core::Hashable
1788
-
1789
- #
1790
- # Corresponds to the JSON property `contextParams`
1791
- # @return [Google::Apis::CivicinfoV2::ContextParams]
1792
- attr_accessor :context_params
1793
-
1794
- #
1795
- # Corresponds to the JSON property `voterInfoSegmentResult`
1796
- # @return [Google::Apis::CivicinfoV2::VoterInfoSegmentResult]
1797
- attr_accessor :voter_info_segment_result
1798
-
1799
- def initialize(**args)
1800
- update!(**args)
1801
- end
1802
-
1803
- # Update properties of this object
1804
- def update!(**args)
1805
- @context_params = args[:context_params] if args.key?(:context_params)
1806
- @voter_info_segment_result = args[:voter_info_segment_result] if args.key?(:voter_info_segment_result)
1807
- end
1808
- end
1809
-
1810
1065
  # The result of a voter info lookup query.
1811
1066
  class VoterInfoResponse
1812
1067
  include Google::Apis::Core::Hashable
@@ -1876,11 +1131,6 @@ module Google
1876
1131
  # @return [String]
1877
1132
  attr_accessor :precinct_id
1878
1133
 
1879
- #
1880
- # Corresponds to the JSON property `segments`
1881
- # @return [Array<Google::Apis::CivicinfoV2::StreetSegment>]
1882
- attr_accessor :segments
1883
-
1884
1134
  # Local Election Information for the state that the voter votes in. For the US,
1885
1135
  # there will only be one element in this array.
1886
1136
  # Corresponds to the JSON property `state`
@@ -1903,47 +1153,9 @@ module Google
1903
1153
  @other_elections = args[:other_elections] if args.key?(:other_elections)
1904
1154
  @polling_locations = args[:polling_locations] if args.key?(:polling_locations)
1905
1155
  @precinct_id = args[:precinct_id] if args.key?(:precinct_id)
1906
- @segments = args[:segments] if args.key?(:segments)
1907
1156
  @state = args[:state] if args.key?(:state)
1908
1157
  end
1909
1158
  end
1910
-
1911
- #
1912
- class VoterInfoSegmentResult
1913
- include Google::Apis::Core::Hashable
1914
-
1915
- #
1916
- # Corresponds to the JSON property `generatedMillis`
1917
- # @return [Fixnum]
1918
- attr_accessor :generated_millis
1919
-
1920
- #
1921
- # Corresponds to the JSON property `postalAddress`
1922
- # @return [Google::Apis::CivicinfoV2::PostalAddress]
1923
- attr_accessor :postal_address
1924
-
1925
- # A request for information about a voter.
1926
- # Corresponds to the JSON property `request`
1927
- # @return [Google::Apis::CivicinfoV2::VoterInfoRequest]
1928
- attr_accessor :request
1929
-
1930
- # The result of a voter info lookup query.
1931
- # Corresponds to the JSON property `response`
1932
- # @return [Google::Apis::CivicinfoV2::VoterInfoResponse]
1933
- attr_accessor :response
1934
-
1935
- def initialize(**args)
1936
- update!(**args)
1937
- end
1938
-
1939
- # Update properties of this object
1940
- def update!(**args)
1941
- @generated_millis = args[:generated_millis] if args.key?(:generated_millis)
1942
- @postal_address = args[:postal_address] if args.key?(:postal_address)
1943
- @request = args[:request] if args.key?(:request)
1944
- @response = args[:response] if args.key?(:response)
1945
- end
1946
- end
1947
1159
  end
1948
1160
  end
1949
1161
  end