google-api-client 0.36.0 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +69 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +2 -1
  12. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
  14. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  16. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  18. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  19. data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
  20. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  21. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  22. data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/service.rb +5 -2
  27. data/generated/google/apis/cloudasset_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
  29. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  30. data/generated/google/apis/cloudasset_v1/service.rb +174 -0
  31. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  32. data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
  35. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  36. data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
  37. data/generated/google/apis/cloudiot_v1.rb +1 -1
  38. data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
  39. data/generated/google/apis/cloudkms_v1.rb +1 -1
  40. data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
  41. data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
  44. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
  49. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
  51. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  52. data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
  53. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  54. data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
  55. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  56. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
  57. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  58. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
  59. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  61. data/generated/google/apis/compute_alpha.rb +1 -1
  62. data/generated/google/apis/compute_alpha/classes.rb +68 -47
  63. data/generated/google/apis/compute_alpha/representations.rb +2 -1
  64. data/generated/google/apis/compute_alpha/service.rb +54 -0
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +597 -40
  67. data/generated/google/apis/compute_beta/representations.rb +164 -0
  68. data/generated/google/apis/compute_beta/service.rb +343 -1
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +54 -39
  71. data/generated/google/apis/compute_v1/representations.rb +1 -0
  72. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  73. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
  74. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  75. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
  76. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +46 -42
  79. data/generated/google/apis/content_v2_1.rb +1 -1
  80. data/generated/google/apis/content_v2_1/classes.rb +46 -42
  81. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  82. data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
  83. data/generated/google/apis/datastore_v1.rb +1 -1
  84. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  85. data/generated/google/apis/datastore_v1/service.rb +10 -10
  86. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  88. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  89. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  90. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  91. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  92. data/generated/google/apis/dialogflow_v2.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  95. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
  96. data/generated/google/apis/dlp_v2.rb +1 -1
  97. data/generated/google/apis/dlp_v2/classes.rb +77 -0
  98. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  99. data/generated/google/apis/file_v1.rb +1 -1
  100. data/generated/google/apis/file_v1/classes.rb +59 -12
  101. data/generated/google/apis/file_v1/representations.rb +19 -2
  102. data/generated/google/apis/file_v1/service.rb +8 -4
  103. data/generated/google/apis/file_v1beta1.rb +1 -1
  104. data/generated/google/apis/file_v1beta1/classes.rb +59 -12
  105. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  106. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  107. data/generated/google/apis/firebaserules_v1.rb +1 -1
  108. data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
  109. data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
  110. data/generated/google/apis/gmail_v1.rb +1 -1
  111. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  112. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  113. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  114. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  115. data/generated/google/apis/iap_v1.rb +1 -1
  116. data/generated/google/apis/iap_v1/classes.rb +225 -40
  117. data/generated/google/apis/iap_v1/representations.rb +84 -0
  118. data/generated/google/apis/iap_v1/service.rb +292 -0
  119. data/generated/google/apis/iap_v1beta1.rb +1 -1
  120. data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
  121. data/generated/google/apis/logging_v2.rb +1 -1
  122. data/generated/google/apis/logging_v2/classes.rb +29 -41
  123. data/generated/google/apis/ml_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1/classes.rb +14 -21
  125. data/generated/google/apis/ml_v1/service.rb +15 -18
  126. data/generated/google/apis/monitoring_v1.rb +1 -1
  127. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  128. data/generated/google/apis/monitoring_v3.rb +1 -1
  129. data/generated/google/apis/monitoring_v3/classes.rb +6 -10
  130. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  131. data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
  132. data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
  133. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  134. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +75 -41
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
  139. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  140. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  141. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  142. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  143. data/generated/google/apis/run_v1.rb +1 -1
  144. data/generated/google/apis/run_v1/classes.rb +75 -41
  145. data/generated/google/apis/run_v1alpha1.rb +1 -1
  146. data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
  147. data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
  148. data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
  149. data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
  150. data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
  151. data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  153. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
  154. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  155. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  156. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
  157. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  158. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
  160. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  161. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  162. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  163. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
  164. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  165. data/generated/google/apis/serviceusage_v1.rb +1 -1
  166. data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
  167. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  168. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  169. data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
  170. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  171. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  172. data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
  173. data/generated/google/apis/testing_v1.rb +1 -1
  174. data/generated/google/apis/testing_v1/classes.rb +2 -2
  175. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  176. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  177. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  178. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  179. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  180. data/lib/google/apis/version.rb +1 -1
  181. metadata +11 -11
  182. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  183. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  184. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  185. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  186. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  187. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class Environment
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class EnvironmentDimensionValueEntry
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class Execution
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -142,6 +154,12 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class ListEnvironmentsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class ListExecutionsResponse
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -196,6 +214,12 @@ module Google
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
217
+ class MergedResult
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
199
223
  class MultiStep
200
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
225
 
@@ -250,6 +274,12 @@ module Google
250
274
  include Google::Apis::Core::JsonObjectSupport
251
275
  end
252
276
 
277
+ class ResultsStorage
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
253
283
  class Screen
254
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
285
 
@@ -262,6 +292,12 @@ module Google
262
292
  include Google::Apis::Core::JsonObjectSupport
263
293
  end
264
294
 
295
+ class ShardSummary
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
265
301
  class SkippedDetail
266
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
303
 
@@ -487,6 +523,37 @@ module Google
487
523
  end
488
524
  end
489
525
 
526
+ class Environment
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :completion_time, as: 'completionTime', class: Google::Apis::ToolresultsV1beta3::Timestamp, decorator: Google::Apis::ToolresultsV1beta3::Timestamp::Representation
530
+
531
+ property :creation_time, as: 'creationTime', class: Google::Apis::ToolresultsV1beta3::Timestamp, decorator: Google::Apis::ToolresultsV1beta3::Timestamp::Representation
532
+
533
+ collection :dimension_value, as: 'dimensionValue', class: Google::Apis::ToolresultsV1beta3::EnvironmentDimensionValueEntry, decorator: Google::Apis::ToolresultsV1beta3::EnvironmentDimensionValueEntry::Representation
534
+
535
+ property :display_name, as: 'displayName'
536
+ property :environment_id, as: 'environmentId'
537
+ property :environment_result, as: 'environmentResult', class: Google::Apis::ToolresultsV1beta3::MergedResult, decorator: Google::Apis::ToolresultsV1beta3::MergedResult::Representation
538
+
539
+ property :execution_id, as: 'executionId'
540
+ property :history_id, as: 'historyId'
541
+ property :project_id, as: 'projectId'
542
+ property :results_storage, as: 'resultsStorage', class: Google::Apis::ToolresultsV1beta3::ResultsStorage, decorator: Google::Apis::ToolresultsV1beta3::ResultsStorage::Representation
543
+
544
+ collection :shard_summaries, as: 'shardSummaries', class: Google::Apis::ToolresultsV1beta3::ShardSummary, decorator: Google::Apis::ToolresultsV1beta3::ShardSummary::Representation
545
+
546
+ end
547
+ end
548
+
549
+ class EnvironmentDimensionValueEntry
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :key, as: 'key'
553
+ property :value, as: 'value'
554
+ end
555
+ end
556
+
490
557
  class Execution
491
558
  # @private
492
559
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,6 +658,18 @@ module Google
591
658
  end
592
659
  end
593
660
 
661
+ class ListEnvironmentsResponse
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ collection :environments, as: 'environments', class: Google::Apis::ToolresultsV1beta3::Environment, decorator: Google::Apis::ToolresultsV1beta3::Environment::Representation
665
+
666
+ property :execution_id, as: 'executionId'
667
+ property :history_id, as: 'historyId'
668
+ property :next_page_token, as: 'nextPageToken'
669
+ property :project_id, as: 'projectId'
670
+ end
671
+ end
672
+
594
673
  class ListExecutionsResponse
595
674
  # @private
596
675
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -669,6 +748,17 @@ module Google
669
748
  end
670
749
  end
671
750
 
751
+ class MergedResult
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :outcome, as: 'outcome', class: Google::Apis::ToolresultsV1beta3::Outcome, decorator: Google::Apis::ToolresultsV1beta3::Outcome::Representation
755
+
756
+ property :state, as: 'state'
757
+ collection :test_suite_overviews, as: 'testSuiteOverviews', class: Google::Apis::ToolresultsV1beta3::TestSuiteOverview, decorator: Google::Apis::ToolresultsV1beta3::TestSuiteOverview::Representation
758
+
759
+ end
760
+ end
761
+
672
762
  class MultiStep
673
763
  # @private
674
764
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -768,6 +858,16 @@ module Google
768
858
  end
769
859
  end
770
860
 
861
+ class ResultsStorage
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :results_storage_path, as: 'resultsStoragePath', class: Google::Apis::ToolresultsV1beta3::FileReference, decorator: Google::Apis::ToolresultsV1beta3::FileReference::Representation
865
+
866
+ property :xunit_xml_file, as: 'xunitXmlFile', class: Google::Apis::ToolresultsV1beta3::FileReference, decorator: Google::Apis::ToolresultsV1beta3::FileReference::Representation
867
+
868
+ end
869
+ end
870
+
771
871
  class Screen
772
872
  # @private
773
873
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -790,6 +890,14 @@ module Google
790
890
  end
791
891
  end
792
892
 
893
+ class ShardSummary
894
+ # @private
895
+ class Representation < Google::Apis::Core::JsonRepresentation
896
+ property :shard_result, as: 'shardResult', class: Google::Apis::ToolresultsV1beta3::MergedResult, decorator: Google::Apis::ToolresultsV1beta3::MergedResult::Representation
897
+
898
+ end
899
+ end
900
+
793
901
  class SkippedDetail
794
902
  # @private
795
903
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -943,6 +1051,7 @@ module Google
943
1051
 
944
1052
  property :error_count, as: 'errorCount'
945
1053
  property :failure_count, as: 'failureCount'
1054
+ property :flaky_count, as: 'flakyCount'
946
1055
  property :name, as: 'name'
947
1056
  property :skipped_count, as: 'skippedCount'
948
1057
  property :total_count, as: 'totalCount'
@@ -581,6 +581,104 @@ module Google
581
581
  execute_or_queue_command(command, &block)
582
582
  end
583
583
 
584
+ # Gets an Environment.
585
+ # May return any of the following canonical error codes:
586
+ # - PERMISSION_DENIED - if the user is not authorized to read project -
587
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
588
+ # Environment does not exist
589
+ # @param [String] project_id
590
+ # Required. A Project id.
591
+ # @param [String] history_id
592
+ # Required. A History id.
593
+ # @param [String] execution_id
594
+ # Required. An Execution id.
595
+ # @param [String] environment_id
596
+ # Required. An Environment id.
597
+ # @param [String] fields
598
+ # Selector specifying which fields to include in a partial response.
599
+ # @param [String] quota_user
600
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
601
+ # characters.
602
+ # @param [String] user_ip
603
+ # Deprecated. Please use quotaUser instead.
604
+ # @param [Google::Apis::RequestOptions] options
605
+ # Request-specific options
606
+ #
607
+ # @yield [result, err] Result & error if block supplied
608
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::Environment] parsed result object
609
+ # @yieldparam err [StandardError] error object if request failed
610
+ #
611
+ # @return [Google::Apis::ToolresultsV1beta3::Environment]
612
+ #
613
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
614
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
615
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
616
+ def get_project_history_execution_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
617
+ command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
618
+ command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
619
+ command.response_class = Google::Apis::ToolresultsV1beta3::Environment
620
+ command.params['projectId'] = project_id unless project_id.nil?
621
+ command.params['historyId'] = history_id unless history_id.nil?
622
+ command.params['executionId'] = execution_id unless execution_id.nil?
623
+ command.params['environmentId'] = environment_id unless environment_id.nil?
624
+ command.query['fields'] = fields unless fields.nil?
625
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
626
+ command.query['userIp'] = user_ip unless user_ip.nil?
627
+ execute_or_queue_command(command, &block)
628
+ end
629
+
630
+ # Lists Environments for a given Execution.
631
+ # The Environments are sorted by display name.
632
+ # May return any of the following canonical error codes:
633
+ # - PERMISSION_DENIED - if the user is not authorized to read project -
634
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
635
+ # Execution does not exist
636
+ # @param [String] project_id
637
+ # Required. A Project id.
638
+ # @param [String] history_id
639
+ # Required. A History id.
640
+ # @param [String] execution_id
641
+ # Required. An Execution id.
642
+ # @param [Fixnum] page_size
643
+ # The maximum number of Environments to fetch.
644
+ # Default value: 25. The server will use this default if the field is not set or
645
+ # has a value of 0.
646
+ # @param [String] page_token
647
+ # A continuation token to resume the query at the next item.
648
+ # @param [String] fields
649
+ # Selector specifying which fields to include in a partial response.
650
+ # @param [String] quota_user
651
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
652
+ # characters.
653
+ # @param [String] user_ip
654
+ # Deprecated. Please use quotaUser instead.
655
+ # @param [Google::Apis::RequestOptions] options
656
+ # Request-specific options
657
+ #
658
+ # @yield [result, err] Result & error if block supplied
659
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object
660
+ # @yieldparam err [StandardError] error object if request failed
661
+ #
662
+ # @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse]
663
+ #
664
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
667
+ def list_project_history_execution_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
668
+ command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
669
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
670
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
671
+ command.params['projectId'] = project_id unless project_id.nil?
672
+ command.params['historyId'] = history_id unless history_id.nil?
673
+ command.params['executionId'] = execution_id unless execution_id.nil?
674
+ command.query['pageSize'] = page_size unless page_size.nil?
675
+ command.query['pageToken'] = page_token unless page_token.nil?
676
+ command.query['fields'] = fields unless fields.nil?
677
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
678
+ command.query['userIp'] = user_ip unless user_ip.nil?
679
+ execute_or_queue_command(command, &block)
680
+ end
681
+
584
682
  # Creates a Step.
585
683
  # The returned Step will have the id set.
586
684
  # May return any of the following canonical error codes:
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191116'
28
+ REVISION = '20191203'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.36.0'.freeze
18
+ VERSION = '0.36.1'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.36.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-12-09 00:00:00.000000000 Z
14
+ date: 2019-12-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -755,14 +755,6 @@ files:
755
755
  - generated/google/apis/fitness_v1/classes.rb
756
756
  - generated/google/apis/fitness_v1/representations.rb
757
757
  - generated/google/apis/fitness_v1/service.rb
758
- - generated/google/apis/fusiontables_v1.rb
759
- - generated/google/apis/fusiontables_v1/classes.rb
760
- - generated/google/apis/fusiontables_v1/representations.rb
761
- - generated/google/apis/fusiontables_v1/service.rb
762
- - generated/google/apis/fusiontables_v2.rb
763
- - generated/google/apis/fusiontables_v2/classes.rb
764
- - generated/google/apis/fusiontables_v2/representations.rb
765
- - generated/google/apis/fusiontables_v2/service.rb
766
758
  - generated/google/apis/games_configuration_v1configuration.rb
767
759
  - generated/google/apis/games_configuration_v1configuration/classes.rb
768
760
  - generated/google/apis/games_configuration_v1configuration/representations.rb
@@ -947,6 +939,10 @@ files:
947
939
  - generated/google/apis/plus_v1/classes.rb
948
940
  - generated/google/apis/plus_v1/representations.rb
949
941
  - generated/google/apis/plus_v1/service.rb
942
+ - generated/google/apis/policytroubleshooter_v1.rb
943
+ - generated/google/apis/policytroubleshooter_v1/classes.rb
944
+ - generated/google/apis/policytroubleshooter_v1/representations.rb
945
+ - generated/google/apis/policytroubleshooter_v1/service.rb
950
946
  - generated/google/apis/policytroubleshooter_v1beta.rb
951
947
  - generated/google/apis/policytroubleshooter_v1beta/classes.rb
952
948
  - generated/google/apis/policytroubleshooter_v1beta/representations.rb
@@ -1035,6 +1031,10 @@ files:
1035
1031
  - generated/google/apis/searchconsole_v1/classes.rb
1036
1032
  - generated/google/apis/searchconsole_v1/representations.rb
1037
1033
  - generated/google/apis/searchconsole_v1/service.rb
1034
+ - generated/google/apis/secretmanager_v1beta1.rb
1035
+ - generated/google/apis/secretmanager_v1beta1/classes.rb
1036
+ - generated/google/apis/secretmanager_v1beta1/representations.rb
1037
+ - generated/google/apis/secretmanager_v1beta1/service.rb
1038
1038
  - generated/google/apis/securitycenter_v1.rb
1039
1039
  - generated/google/apis/securitycenter_v1/classes.rb
1040
1040
  - generated/google/apis/securitycenter_v1/representations.rb
@@ -1339,7 +1339,7 @@ homepage: https://github.com/google/google-api-ruby-client
1339
1339
  licenses:
1340
1340
  - Apache-2.0
1341
1341
  metadata:
1342
- documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.36.0
1342
+ documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.36.1
1343
1343
  post_install_message:
1344
1344
  rdoc_options: []
1345
1345
  require_paths:
@@ -1,977 +0,0 @@
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 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module FusiontablesV1
24
-
25
- # Specifies the minimum and maximum values, the color, opacity, icon and weight
26
- # of a bucket within a StyleSetting.
27
- class Bucket
28
- include Google::Apis::Core::Hashable
29
-
30
- # Color of line or the interior of a polygon in #RRGGBB format.
31
- # Corresponds to the JSON property `color`
32
- # @return [String]
33
- attr_accessor :color
34
-
35
- # Icon name used for a point.
36
- # Corresponds to the JSON property `icon`
37
- # @return [String]
38
- attr_accessor :icon
39
-
40
- # Maximum value in the selected column for a row to be styled according to the
41
- # bucket color, opacity, icon, or weight.
42
- # Corresponds to the JSON property `max`
43
- # @return [Float]
44
- attr_accessor :max
45
-
46
- # Minimum value in the selected column for a row to be styled according to the
47
- # bucket color, opacity, icon, or weight.
48
- # Corresponds to the JSON property `min`
49
- # @return [Float]
50
- attr_accessor :min
51
-
52
- # Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
53
- # Corresponds to the JSON property `opacity`
54
- # @return [Float]
55
- attr_accessor :opacity
56
-
57
- # Width of a line (in pixels).
58
- # Corresponds to the JSON property `weight`
59
- # @return [Fixnum]
60
- attr_accessor :weight
61
-
62
- def initialize(**args)
63
- update!(**args)
64
- end
65
-
66
- # Update properties of this object
67
- def update!(**args)
68
- @color = args[:color] if args.key?(:color)
69
- @icon = args[:icon] if args.key?(:icon)
70
- @max = args[:max] if args.key?(:max)
71
- @min = args[:min] if args.key?(:min)
72
- @opacity = args[:opacity] if args.key?(:opacity)
73
- @weight = args[:weight] if args.key?(:weight)
74
- end
75
- end
76
-
77
- # Specifies the id, name and type of a column in a table.
78
- class Column
79
- include Google::Apis::Core::Hashable
80
-
81
- # Optional identifier of the base column. If present, this column is derived
82
- # from the specified base column.
83
- # Corresponds to the JSON property `baseColumn`
84
- # @return [Google::Apis::FusiontablesV1::Column::BaseColumn]
85
- attr_accessor :base_column
86
-
87
- # Identifier for the column.
88
- # Corresponds to the JSON property `columnId`
89
- # @return [Fixnum]
90
- attr_accessor :column_id
91
-
92
- # Optional column description.
93
- # Corresponds to the JSON property `description`
94
- # @return [String]
95
- attr_accessor :description
96
-
97
- # Optional column predicate. Used to map table to graph data model (subject,
98
- # predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#
99
- # data-model
100
- # Corresponds to the JSON property `graph_predicate`
101
- # @return [String]
102
- attr_accessor :graph_predicate
103
-
104
- # Type name: a template for an individual column.
105
- # Corresponds to the JSON property `kind`
106
- # @return [String]
107
- attr_accessor :kind
108
-
109
- # Required name of the column.
110
- # Corresponds to the JSON property `name`
111
- # @return [String]
112
- attr_accessor :name
113
-
114
- # Required type of the column.
115
- # Corresponds to the JSON property `type`
116
- # @return [String]
117
- attr_accessor :type
118
-
119
- def initialize(**args)
120
- update!(**args)
121
- end
122
-
123
- # Update properties of this object
124
- def update!(**args)
125
- @base_column = args[:base_column] if args.key?(:base_column)
126
- @column_id = args[:column_id] if args.key?(:column_id)
127
- @description = args[:description] if args.key?(:description)
128
- @graph_predicate = args[:graph_predicate] if args.key?(:graph_predicate)
129
- @kind = args[:kind] if args.key?(:kind)
130
- @name = args[:name] if args.key?(:name)
131
- @type = args[:type] if args.key?(:type)
132
- end
133
-
134
- # Optional identifier of the base column. If present, this column is derived
135
- # from the specified base column.
136
- class BaseColumn
137
- include Google::Apis::Core::Hashable
138
-
139
- # The id of the column in the base table from which this column is derived.
140
- # Corresponds to the JSON property `columnId`
141
- # @return [Fixnum]
142
- attr_accessor :column_id
143
-
144
- # Offset to the entry in the list of base tables in the table definition.
145
- # Corresponds to the JSON property `tableIndex`
146
- # @return [Fixnum]
147
- attr_accessor :table_index
148
-
149
- def initialize(**args)
150
- update!(**args)
151
- end
152
-
153
- # Update properties of this object
154
- def update!(**args)
155
- @column_id = args[:column_id] if args.key?(:column_id)
156
- @table_index = args[:table_index] if args.key?(:table_index)
157
- end
158
- end
159
- end
160
-
161
- # Represents a list of columns in a table.
162
- class ColumnList
163
- include Google::Apis::Core::Hashable
164
-
165
- # List of all requested columns.
166
- # Corresponds to the JSON property `items`
167
- # @return [Array<Google::Apis::FusiontablesV1::Column>]
168
- attr_accessor :items
169
-
170
- # Type name: a list of all columns.
171
- # Corresponds to the JSON property `kind`
172
- # @return [String]
173
- attr_accessor :kind
174
-
175
- # Token used to access the next page of this result. No token is displayed if
176
- # there are no more pages left.
177
- # Corresponds to the JSON property `nextPageToken`
178
- # @return [String]
179
- attr_accessor :next_page_token
180
-
181
- # Total number of columns for the table.
182
- # Corresponds to the JSON property `totalItems`
183
- # @return [Fixnum]
184
- attr_accessor :total_items
185
-
186
- def initialize(**args)
187
- update!(**args)
188
- end
189
-
190
- # Update properties of this object
191
- def update!(**args)
192
- @items = args[:items] if args.key?(:items)
193
- @kind = args[:kind] if args.key?(:kind)
194
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
195
- @total_items = args[:total_items] if args.key?(:total_items)
196
- end
197
- end
198
-
199
- # Represents a Geometry object.
200
- class Geometry
201
- include Google::Apis::Core::Hashable
202
-
203
- # The list of geometries in this geometry collection.
204
- # Corresponds to the JSON property `geometries`
205
- # @return [Array<Object>]
206
- attr_accessor :geometries
207
-
208
- #
209
- # Corresponds to the JSON property `geometry`
210
- # @return [Object]
211
- attr_accessor :geometry
212
-
213
- # Type: A collection of geometries.
214
- # Corresponds to the JSON property `type`
215
- # @return [String]
216
- attr_accessor :type
217
-
218
- def initialize(**args)
219
- update!(**args)
220
- end
221
-
222
- # Update properties of this object
223
- def update!(**args)
224
- @geometries = args[:geometries] if args.key?(:geometries)
225
- @geometry = args[:geometry] if args.key?(:geometry)
226
- @type = args[:type] if args.key?(:type)
227
- end
228
- end
229
-
230
- # Represents an import request.
231
- class Import
232
- include Google::Apis::Core::Hashable
233
-
234
- # Type name: a template for an import request.
235
- # Corresponds to the JSON property `kind`
236
- # @return [String]
237
- attr_accessor :kind
238
-
239
- # The number of rows received from the import request.
240
- # Corresponds to the JSON property `numRowsReceived`
241
- # @return [Fixnum]
242
- attr_accessor :num_rows_received
243
-
244
- def initialize(**args)
245
- update!(**args)
246
- end
247
-
248
- # Update properties of this object
249
- def update!(**args)
250
- @kind = args[:kind] if args.key?(:kind)
251
- @num_rows_received = args[:num_rows_received] if args.key?(:num_rows_received)
252
- end
253
- end
254
-
255
- # Represents a line geometry.
256
- class Line
257
- include Google::Apis::Core::Hashable
258
-
259
- # The coordinates that define the line.
260
- # Corresponds to the JSON property `coordinates`
261
- # @return [Array<Array<Float>>]
262
- attr_accessor :coordinates
263
-
264
- # Type: A line geometry.
265
- # Corresponds to the JSON property `type`
266
- # @return [String]
267
- attr_accessor :type
268
-
269
- def initialize(**args)
270
- update!(**args)
271
- end
272
-
273
- # Update properties of this object
274
- def update!(**args)
275
- @coordinates = args[:coordinates] if args.key?(:coordinates)
276
- @type = args[:type] if args.key?(:type)
277
- end
278
- end
279
-
280
- # Represents a LineStyle within a StyleSetting
281
- class LineStyle
282
- include Google::Apis::Core::Hashable
283
-
284
- # Color of the line in #RRGGBB format.
285
- # Corresponds to the JSON property `strokeColor`
286
- # @return [String]
287
- attr_accessor :stroke_color
288
-
289
- # Represents a StyleFunction within a StyleSetting
290
- # Corresponds to the JSON property `strokeColorStyler`
291
- # @return [Google::Apis::FusiontablesV1::StyleFunction]
292
- attr_accessor :stroke_color_styler
293
-
294
- # Opacity of the line : 0.0 (transparent) to 1.0 (opaque).
295
- # Corresponds to the JSON property `strokeOpacity`
296
- # @return [Float]
297
- attr_accessor :stroke_opacity
298
-
299
- # Width of the line in pixels.
300
- # Corresponds to the JSON property `strokeWeight`
301
- # @return [Fixnum]
302
- attr_accessor :stroke_weight
303
-
304
- # Represents a StyleFunction within a StyleSetting
305
- # Corresponds to the JSON property `strokeWeightStyler`
306
- # @return [Google::Apis::FusiontablesV1::StyleFunction]
307
- attr_accessor :stroke_weight_styler
308
-
309
- def initialize(**args)
310
- update!(**args)
311
- end
312
-
313
- # Update properties of this object
314
- def update!(**args)
315
- @stroke_color = args[:stroke_color] if args.key?(:stroke_color)
316
- @stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
317
- @stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
318
- @stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
319
- @stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
320
- end
321
- end
322
-
323
- # Represents a point object.
324
- class Point
325
- include Google::Apis::Core::Hashable
326
-
327
- # The coordinates that define the point.
328
- # Corresponds to the JSON property `coordinates`
329
- # @return [Array<Float>]
330
- attr_accessor :coordinates
331
-
332
- # Point: A point geometry.
333
- # Corresponds to the JSON property `type`
334
- # @return [String]
335
- attr_accessor :type
336
-
337
- def initialize(**args)
338
- update!(**args)
339
- end
340
-
341
- # Update properties of this object
342
- def update!(**args)
343
- @coordinates = args[:coordinates] if args.key?(:coordinates)
344
- @type = args[:type] if args.key?(:type)
345
- end
346
- end
347
-
348
- # Represents a PointStyle within a StyleSetting
349
- class PointStyle
350
- include Google::Apis::Core::Hashable
351
-
352
- # Name of the icon. Use values defined in http://www.google.com/fusiontables/
353
- # DataSource?dsrcid=308519
354
- # Corresponds to the JSON property `iconName`
355
- # @return [String]
356
- attr_accessor :icon_name
357
-
358
- # Represents a StyleFunction within a StyleSetting
359
- # Corresponds to the JSON property `iconStyler`
360
- # @return [Google::Apis::FusiontablesV1::StyleFunction]
361
- attr_accessor :icon_styler
362
-
363
- def initialize(**args)
364
- update!(**args)
365
- end
366
-
367
- # Update properties of this object
368
- def update!(**args)
369
- @icon_name = args[:icon_name] if args.key?(:icon_name)
370
- @icon_styler = args[:icon_styler] if args.key?(:icon_styler)
371
- end
372
- end
373
-
374
- # Represents a polygon object.
375
- class Polygon
376
- include Google::Apis::Core::Hashable
377
-
378
- # The coordinates that define the polygon.
379
- # Corresponds to the JSON property `coordinates`
380
- # @return [Array<Array<Array<Float>>>]
381
- attr_accessor :coordinates
382
-
383
- # Type: A polygon geometry.
384
- # Corresponds to the JSON property `type`
385
- # @return [String]
386
- attr_accessor :type
387
-
388
- def initialize(**args)
389
- update!(**args)
390
- end
391
-
392
- # Update properties of this object
393
- def update!(**args)
394
- @coordinates = args[:coordinates] if args.key?(:coordinates)
395
- @type = args[:type] if args.key?(:type)
396
- end
397
- end
398
-
399
- # Represents a PolygonStyle within a StyleSetting
400
- class PolygonStyle
401
- include Google::Apis::Core::Hashable
402
-
403
- # Color of the interior of the polygon in #RRGGBB format.
404
- # Corresponds to the JSON property `fillColor`
405
- # @return [String]
406
- attr_accessor :fill_color
407
-
408
- # Represents a StyleFunction within a StyleSetting
409
- # Corresponds to the JSON property `fillColorStyler`
410
- # @return [Google::Apis::FusiontablesV1::StyleFunction]
411
- attr_accessor :fill_color_styler
412
-
413
- # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque).
414
- # Corresponds to the JSON property `fillOpacity`
415
- # @return [Float]
416
- attr_accessor :fill_opacity
417
-
418
- # Color of the polygon border in #RRGGBB format.
419
- # Corresponds to the JSON property `strokeColor`
420
- # @return [String]
421
- attr_accessor :stroke_color
422
-
423
- # Represents a StyleFunction within a StyleSetting
424
- # Corresponds to the JSON property `strokeColorStyler`
425
- # @return [Google::Apis::FusiontablesV1::StyleFunction]
426
- attr_accessor :stroke_color_styler
427
-
428
- # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque).
429
- # Corresponds to the JSON property `strokeOpacity`
430
- # @return [Float]
431
- attr_accessor :stroke_opacity
432
-
433
- # Width of the polyon border in pixels.
434
- # Corresponds to the JSON property `strokeWeight`
435
- # @return [Fixnum]
436
- attr_accessor :stroke_weight
437
-
438
- # Represents a StyleFunction within a StyleSetting
439
- # Corresponds to the JSON property `strokeWeightStyler`
440
- # @return [Google::Apis::FusiontablesV1::StyleFunction]
441
- attr_accessor :stroke_weight_styler
442
-
443
- def initialize(**args)
444
- update!(**args)
445
- end
446
-
447
- # Update properties of this object
448
- def update!(**args)
449
- @fill_color = args[:fill_color] if args.key?(:fill_color)
450
- @fill_color_styler = args[:fill_color_styler] if args.key?(:fill_color_styler)
451
- @fill_opacity = args[:fill_opacity] if args.key?(:fill_opacity)
452
- @stroke_color = args[:stroke_color] if args.key?(:stroke_color)
453
- @stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
454
- @stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
455
- @stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
456
- @stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
457
- end
458
- end
459
-
460
- # Represents a response to an sql statement.
461
- class Sqlresponse
462
- include Google::Apis::Core::Hashable
463
-
464
- # Columns in the table.
465
- # Corresponds to the JSON property `columns`
466
- # @return [Array<String>]
467
- attr_accessor :columns
468
-
469
- # Type name: a template for an individual table.
470
- # Corresponds to the JSON property `kind`
471
- # @return [String]
472
- attr_accessor :kind
473
-
474
- # The rows in the table. For each cell we print out whatever cell value (e.g.,
475
- # numeric, string) exists. Thus it is important that each cell contains only one
476
- # value.
477
- # Corresponds to the JSON property `rows`
478
- # @return [Array<Array<Object>>]
479
- attr_accessor :rows
480
-
481
- def initialize(**args)
482
- update!(**args)
483
- end
484
-
485
- # Update properties of this object
486
- def update!(**args)
487
- @columns = args[:columns] if args.key?(:columns)
488
- @kind = args[:kind] if args.key?(:kind)
489
- @rows = args[:rows] if args.key?(:rows)
490
- end
491
- end
492
-
493
- # Represents a StyleFunction within a StyleSetting
494
- class StyleFunction
495
- include Google::Apis::Core::Hashable
496
-
497
- # Bucket function that assigns a style based on the range a column value falls
498
- # into.
499
- # Corresponds to the JSON property `buckets`
500
- # @return [Array<Google::Apis::FusiontablesV1::Bucket>]
501
- attr_accessor :buckets
502
-
503
- # Name of the column whose value is used in the style.
504
- # Corresponds to the JSON property `columnName`
505
- # @return [String]
506
- attr_accessor :column_name
507
-
508
- # Gradient function that interpolates a range of colors based on column value.
509
- # Corresponds to the JSON property `gradient`
510
- # @return [Google::Apis::FusiontablesV1::StyleFunction::Gradient]
511
- attr_accessor :gradient
512
-
513
- # Stylers can be one of three kinds: "fusiontables#fromColumn" if the column
514
- # value is to be used as is, i.e., the column values can have colors in #
515
- # RRGGBBAA format or integer line widths or icon names; "fusiontables#gradient"
516
- # if the styling of the row is to be based on applying the gradient function on
517
- # the column value; or "fusiontables#buckets" if the styling is to based on the
518
- # bucket into which the the column value falls.
519
- # Corresponds to the JSON property `kind`
520
- # @return [String]
521
- attr_accessor :kind
522
-
523
- def initialize(**args)
524
- update!(**args)
525
- end
526
-
527
- # Update properties of this object
528
- def update!(**args)
529
- @buckets = args[:buckets] if args.key?(:buckets)
530
- @column_name = args[:column_name] if args.key?(:column_name)
531
- @gradient = args[:gradient] if args.key?(:gradient)
532
- @kind = args[:kind] if args.key?(:kind)
533
- end
534
-
535
- # Gradient function that interpolates a range of colors based on column value.
536
- class Gradient
537
- include Google::Apis::Core::Hashable
538
-
539
- # Array with two or more colors.
540
- # Corresponds to the JSON property `colors`
541
- # @return [Array<Google::Apis::FusiontablesV1::StyleFunction::Gradient::Color>]
542
- attr_accessor :colors
543
-
544
- # Higher-end of the interpolation range: rows with this value will be assigned
545
- # to colors[n-1].
546
- # Corresponds to the JSON property `max`
547
- # @return [Float]
548
- attr_accessor :max
549
-
550
- # Lower-end of the interpolation range: rows with this value will be assigned to
551
- # colors[0].
552
- # Corresponds to the JSON property `min`
553
- # @return [Float]
554
- attr_accessor :min
555
-
556
- def initialize(**args)
557
- update!(**args)
558
- end
559
-
560
- # Update properties of this object
561
- def update!(**args)
562
- @colors = args[:colors] if args.key?(:colors)
563
- @max = args[:max] if args.key?(:max)
564
- @min = args[:min] if args.key?(:min)
565
- end
566
-
567
- #
568
- class Color
569
- include Google::Apis::Core::Hashable
570
-
571
- # Color in #RRGGBB format.
572
- # Corresponds to the JSON property `color`
573
- # @return [String]
574
- attr_accessor :color
575
-
576
- # Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
577
- # Corresponds to the JSON property `opacity`
578
- # @return [Float]
579
- attr_accessor :opacity
580
-
581
- def initialize(**args)
582
- update!(**args)
583
- end
584
-
585
- # Update properties of this object
586
- def update!(**args)
587
- @color = args[:color] if args.key?(:color)
588
- @opacity = args[:opacity] if args.key?(:opacity)
589
- end
590
- end
591
- end
592
- end
593
-
594
- # Represents a complete StyleSettings object. The primary key is a combination
595
- # of the tableId and a styleId.
596
- class StyleSetting
597
- include Google::Apis::Core::Hashable
598
-
599
- # Type name: an individual style setting. A StyleSetting contains the style
600
- # defintions for points, lines, and polygons in a table. Since a table can have
601
- # any one or all of them, a style definition can have point, line and polygon
602
- # style definitions.
603
- # Corresponds to the JSON property `kind`
604
- # @return [String]
605
- attr_accessor :kind
606
-
607
- # Represents a PointStyle within a StyleSetting
608
- # Corresponds to the JSON property `markerOptions`
609
- # @return [Google::Apis::FusiontablesV1::PointStyle]
610
- attr_accessor :marker_options
611
-
612
- # Optional name for the style setting.
613
- # Corresponds to the JSON property `name`
614
- # @return [String]
615
- attr_accessor :name
616
-
617
- # Represents a PolygonStyle within a StyleSetting
618
- # Corresponds to the JSON property `polygonOptions`
619
- # @return [Google::Apis::FusiontablesV1::PolygonStyle]
620
- attr_accessor :polygon_options
621
-
622
- # Represents a LineStyle within a StyleSetting
623
- # Corresponds to the JSON property `polylineOptions`
624
- # @return [Google::Apis::FusiontablesV1::LineStyle]
625
- attr_accessor :polyline_options
626
-
627
- # Identifier for the style setting (unique only within tables).
628
- # Corresponds to the JSON property `styleId`
629
- # @return [Fixnum]
630
- attr_accessor :style_id
631
-
632
- # Identifier for the table.
633
- # Corresponds to the JSON property `tableId`
634
- # @return [String]
635
- attr_accessor :table_id
636
-
637
- def initialize(**args)
638
- update!(**args)
639
- end
640
-
641
- # Update properties of this object
642
- def update!(**args)
643
- @kind = args[:kind] if args.key?(:kind)
644
- @marker_options = args[:marker_options] if args.key?(:marker_options)
645
- @name = args[:name] if args.key?(:name)
646
- @polygon_options = args[:polygon_options] if args.key?(:polygon_options)
647
- @polyline_options = args[:polyline_options] if args.key?(:polyline_options)
648
- @style_id = args[:style_id] if args.key?(:style_id)
649
- @table_id = args[:table_id] if args.key?(:table_id)
650
- end
651
- end
652
-
653
- # Represents a list of styles for a given table.
654
- class StyleSettingList
655
- include Google::Apis::Core::Hashable
656
-
657
- # All requested style settings.
658
- # Corresponds to the JSON property `items`
659
- # @return [Array<Google::Apis::FusiontablesV1::StyleSetting>]
660
- attr_accessor :items
661
-
662
- # Type name: in this case, a list of style settings.
663
- # Corresponds to the JSON property `kind`
664
- # @return [String]
665
- attr_accessor :kind
666
-
667
- # Token used to access the next page of this result. No token is displayed if
668
- # there are no more pages left.
669
- # Corresponds to the JSON property `nextPageToken`
670
- # @return [String]
671
- attr_accessor :next_page_token
672
-
673
- # Total number of styles for the table.
674
- # Corresponds to the JSON property `totalItems`
675
- # @return [Fixnum]
676
- attr_accessor :total_items
677
-
678
- def initialize(**args)
679
- update!(**args)
680
- end
681
-
682
- # Update properties of this object
683
- def update!(**args)
684
- @items = args[:items] if args.key?(:items)
685
- @kind = args[:kind] if args.key?(:kind)
686
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
687
- @total_items = args[:total_items] if args.key?(:total_items)
688
- end
689
- end
690
-
691
- # Represents a table. Specifies the name, whether it is exportable, description,
692
- # attribution, and attribution link.
693
- class Table
694
- include Google::Apis::Core::Hashable
695
-
696
- # Optional attribution assigned to the table.
697
- # Corresponds to the JSON property `attribution`
698
- # @return [String]
699
- attr_accessor :attribution
700
-
701
- # Optional link for attribution.
702
- # Corresponds to the JSON property `attributionLink`
703
- # @return [String]
704
- attr_accessor :attribution_link
705
-
706
- # Optional base table identifier if this table is a view or merged table.
707
- # Corresponds to the JSON property `baseTableIds`
708
- # @return [Array<String>]
709
- attr_accessor :base_table_ids
710
-
711
- # Columns in the table.
712
- # Corresponds to the JSON property `columns`
713
- # @return [Array<Google::Apis::FusiontablesV1::Column>]
714
- attr_accessor :columns
715
-
716
- # Optional description assigned to the table.
717
- # Corresponds to the JSON property `description`
718
- # @return [String]
719
- attr_accessor :description
720
-
721
- # Variable for whether table is exportable.
722
- # Corresponds to the JSON property `isExportable`
723
- # @return [Boolean]
724
- attr_accessor :is_exportable
725
- alias_method :is_exportable?, :is_exportable
726
-
727
- # Type name: a template for an individual table.
728
- # Corresponds to the JSON property `kind`
729
- # @return [String]
730
- attr_accessor :kind
731
-
732
- # Name assigned to a table.
733
- # Corresponds to the JSON property `name`
734
- # @return [String]
735
- attr_accessor :name
736
-
737
- # Optional sql that encodes the table definition for derived tables.
738
- # Corresponds to the JSON property `sql`
739
- # @return [String]
740
- attr_accessor :sql
741
-
742
- # Encrypted unique alphanumeric identifier for the table.
743
- # Corresponds to the JSON property `tableId`
744
- # @return [String]
745
- attr_accessor :table_id
746
-
747
- def initialize(**args)
748
- update!(**args)
749
- end
750
-
751
- # Update properties of this object
752
- def update!(**args)
753
- @attribution = args[:attribution] if args.key?(:attribution)
754
- @attribution_link = args[:attribution_link] if args.key?(:attribution_link)
755
- @base_table_ids = args[:base_table_ids] if args.key?(:base_table_ids)
756
- @columns = args[:columns] if args.key?(:columns)
757
- @description = args[:description] if args.key?(:description)
758
- @is_exportable = args[:is_exportable] if args.key?(:is_exportable)
759
- @kind = args[:kind] if args.key?(:kind)
760
- @name = args[:name] if args.key?(:name)
761
- @sql = args[:sql] if args.key?(:sql)
762
- @table_id = args[:table_id] if args.key?(:table_id)
763
- end
764
- end
765
-
766
- # Represents a list of tables.
767
- class TableList
768
- include Google::Apis::Core::Hashable
769
-
770
- # List of all requested tables.
771
- # Corresponds to the JSON property `items`
772
- # @return [Array<Google::Apis::FusiontablesV1::Table>]
773
- attr_accessor :items
774
-
775
- # Type name: a list of all tables.
776
- # Corresponds to the JSON property `kind`
777
- # @return [String]
778
- attr_accessor :kind
779
-
780
- # Token used to access the next page of this result. No token is displayed if
781
- # there are no more pages left.
782
- # Corresponds to the JSON property `nextPageToken`
783
- # @return [String]
784
- attr_accessor :next_page_token
785
-
786
- def initialize(**args)
787
- update!(**args)
788
- end
789
-
790
- # Update properties of this object
791
- def update!(**args)
792
- @items = args[:items] if args.key?(:items)
793
- @kind = args[:kind] if args.key?(:kind)
794
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
795
- end
796
- end
797
-
798
- # Specifies the identifier, name, and type of a task in a table.
799
- class Task
800
- include Google::Apis::Core::Hashable
801
-
802
- # Type of the resource. This is always "fusiontables#task".
803
- # Corresponds to the JSON property `kind`
804
- # @return [String]
805
- attr_accessor :kind
806
-
807
- # An indication of task progress.
808
- # Corresponds to the JSON property `progress`
809
- # @return [String]
810
- attr_accessor :progress
811
-
812
- # false while the table is busy with some other task. true if this background
813
- # task is currently running.
814
- # Corresponds to the JSON property `started`
815
- # @return [Boolean]
816
- attr_accessor :started
817
- alias_method :started?, :started
818
-
819
- # Identifier for the task.
820
- # Corresponds to the JSON property `taskId`
821
- # @return [Fixnum]
822
- attr_accessor :task_id
823
-
824
- # Type of background task. One of DELETE_ROWS Deletes one or more rows from the
825
- # table. ADD_ROWS "Adds one or more rows to a table. Includes importing data
826
- # into a new table and importing more rows into an existing table. ADD_COLUMN
827
- # Adds a new column to the table. CHANGE_TYPE Changes the type of a column.
828
- # Corresponds to the JSON property `type`
829
- # @return [String]
830
- attr_accessor :type
831
-
832
- def initialize(**args)
833
- update!(**args)
834
- end
835
-
836
- # Update properties of this object
837
- def update!(**args)
838
- @kind = args[:kind] if args.key?(:kind)
839
- @progress = args[:progress] if args.key?(:progress)
840
- @started = args[:started] if args.key?(:started)
841
- @task_id = args[:task_id] if args.key?(:task_id)
842
- @type = args[:type] if args.key?(:type)
843
- end
844
- end
845
-
846
- # Represents a list of tasks for a table.
847
- class TaskList
848
- include Google::Apis::Core::Hashable
849
-
850
- # List of all requested tasks.
851
- # Corresponds to the JSON property `items`
852
- # @return [Array<Google::Apis::FusiontablesV1::Task>]
853
- attr_accessor :items
854
-
855
- # Type of the resource. This is always "fusiontables#taskList".
856
- # Corresponds to the JSON property `kind`
857
- # @return [String]
858
- attr_accessor :kind
859
-
860
- # Token used to access the next page of this result. No token is displayed if
861
- # there are no more pages left.
862
- # Corresponds to the JSON property `nextPageToken`
863
- # @return [String]
864
- attr_accessor :next_page_token
865
-
866
- # Total number of tasks for the table.
867
- # Corresponds to the JSON property `totalItems`
868
- # @return [Fixnum]
869
- attr_accessor :total_items
870
-
871
- def initialize(**args)
872
- update!(**args)
873
- end
874
-
875
- # Update properties of this object
876
- def update!(**args)
877
- @items = args[:items] if args.key?(:items)
878
- @kind = args[:kind] if args.key?(:kind)
879
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
880
- @total_items = args[:total_items] if args.key?(:total_items)
881
- end
882
- end
883
-
884
- # Represents the contents of InfoWindow templates.
885
- class Template
886
- include Google::Apis::Core::Hashable
887
-
888
- # List of columns from which the template is to be automatically constructed.
889
- # Only one of body or automaticColumns can be specified.
890
- # Corresponds to the JSON property `automaticColumnNames`
891
- # @return [Array<String>]
892
- attr_accessor :automatic_column_names
893
-
894
- # Body of the template. It contains HTML with `column_name` to insert values
895
- # from a particular column. The body is sanitized to remove certain tags, e.g.,
896
- # script. Only one of body or automaticColumns can be specified.
897
- # Corresponds to the JSON property `body`
898
- # @return [String]
899
- attr_accessor :body
900
-
901
- # Type name: a template for the info window contents. The template can either
902
- # include an HTML body or a list of columns from which the template is computed
903
- # automatically.
904
- # Corresponds to the JSON property `kind`
905
- # @return [String]
906
- attr_accessor :kind
907
-
908
- # Optional name assigned to a template.
909
- # Corresponds to the JSON property `name`
910
- # @return [String]
911
- attr_accessor :name
912
-
913
- # Identifier for the table for which the template is defined.
914
- # Corresponds to the JSON property `tableId`
915
- # @return [String]
916
- attr_accessor :table_id
917
-
918
- # Identifier for the template, unique within the context of a particular table.
919
- # Corresponds to the JSON property `templateId`
920
- # @return [Fixnum]
921
- attr_accessor :template_id
922
-
923
- def initialize(**args)
924
- update!(**args)
925
- end
926
-
927
- # Update properties of this object
928
- def update!(**args)
929
- @automatic_column_names = args[:automatic_column_names] if args.key?(:automatic_column_names)
930
- @body = args[:body] if args.key?(:body)
931
- @kind = args[:kind] if args.key?(:kind)
932
- @name = args[:name] if args.key?(:name)
933
- @table_id = args[:table_id] if args.key?(:table_id)
934
- @template_id = args[:template_id] if args.key?(:template_id)
935
- end
936
- end
937
-
938
- # Represents a list of templates for a given table.
939
- class TemplateList
940
- include Google::Apis::Core::Hashable
941
-
942
- # List of all requested templates.
943
- # Corresponds to the JSON property `items`
944
- # @return [Array<Google::Apis::FusiontablesV1::Template>]
945
- attr_accessor :items
946
-
947
- # Type name: a list of all templates.
948
- # Corresponds to the JSON property `kind`
949
- # @return [String]
950
- attr_accessor :kind
951
-
952
- # Token used to access the next page of this result. No token is displayed if
953
- # there are no more pages left.
954
- # Corresponds to the JSON property `nextPageToken`
955
- # @return [String]
956
- attr_accessor :next_page_token
957
-
958
- # Total number of templates for the table.
959
- # Corresponds to the JSON property `totalItems`
960
- # @return [Fixnum]
961
- attr_accessor :total_items
962
-
963
- def initialize(**args)
964
- update!(**args)
965
- end
966
-
967
- # Update properties of this object
968
- def update!(**args)
969
- @items = args[:items] if args.key?(:items)
970
- @kind = args[:kind] if args.key?(:kind)
971
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
972
- @total_items = args[:total_items] if args.key?(:total_items)
973
- end
974
- end
975
- end
976
- end
977
- end