google-api-client 0.9.20 → 0.9.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/api_names.yaml +33179 -1058
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
  15. data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
  19. data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
  22. data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
  23. data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
  24. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
  26. data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
  27. data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
  28. data/generated/google/apis/appsactivity_v1.rb +1 -1
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +50 -6
  32. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  33. data/generated/google/apis/books_v1.rb +1 -1
  34. data/generated/google/apis/books_v1/classes.rb +7 -2
  35. data/generated/google/apis/books_v1/representations.rb +1 -0
  36. data/generated/google/apis/calendar_v3.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +74 -74
  39. data/generated/google/apis/classroom_v1/representations.rb +29 -29
  40. data/generated/google/apis/classroom_v1/service.rb +132 -28
  41. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
  43. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
  44. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  45. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
  47. data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
  48. data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
  51. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
  52. data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
  53. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
  55. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
  57. data/generated/google/apis/compute_beta.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +352 -80
  59. data/generated/google/apis/compute_beta/representations.rb +132 -19
  60. data/generated/google/apis/compute_beta/service.rb +214 -0
  61. data/generated/google/apis/compute_v1.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +673 -73
  63. data/generated/google/apis/compute_v1/representations.rb +274 -9
  64. data/generated/google/apis/compute_v1/service.rb +1574 -2
  65. data/generated/google/apis/content_v2.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +7 -8
  67. data/generated/google/apis/content_v2/service.rb +125 -54
  68. data/generated/google/apis/dataflow_v1b3.rb +2 -3
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
  71. data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
  72. data/generated/google/apis/datastore_v1.rb +1 -1
  73. data/generated/google/apis/datastore_v1/classes.rb +5 -0
  74. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
  76. data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
  77. data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2/classes.rb +55 -21
  82. data/generated/google/apis/drive_v2/representations.rb +2 -0
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +41 -12
  85. data/generated/google/apis/drive_v3/representations.rb +2 -0
  86. data/generated/google/apis/fitness_v1.rb +31 -1
  87. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  88. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  89. data/generated/google/apis/games_management_v1management.rb +1 -1
  90. data/generated/google/apis/games_v1.rb +1 -1
  91. data/generated/google/apis/gmail_v1.rb +1 -1
  92. data/generated/google/apis/gmail_v1/classes.rb +32 -1
  93. data/generated/google/apis/gmail_v1/representations.rb +15 -0
  94. data/generated/google/apis/gmail_v1/service.rb +41 -2
  95. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  96. data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
  97. data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
  98. data/generated/google/apis/kgsearch_v1.rb +2 -3
  99. data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
  100. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  101. data/generated/google/apis/kgsearch_v1/service.rb +28 -26
  102. data/generated/google/apis/language_v1beta1.rb +1 -1
  103. data/generated/google/apis/language_v1beta1/classes.rb +166 -8
  104. data/generated/google/apis/language_v1beta1/representations.rb +50 -0
  105. data/generated/google/apis/language_v1beta1/service.rb +32 -0
  106. data/generated/google/apis/logging_v2beta1.rb +6 -6
  107. data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
  108. data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
  109. data/generated/google/apis/logging_v2beta1/service.rb +378 -211
  110. data/generated/google/apis/monitoring_v3.rb +1 -1
  111. data/generated/google/apis/monitoring_v3/classes.rb +110 -112
  112. data/generated/google/apis/monitoring_v3/service.rb +68 -73
  113. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  114. data/generated/google/apis/plus_domains_v1.rb +1 -1
  115. data/generated/google/apis/plus_v1.rb +1 -1
  116. data/generated/google/apis/pubsub_v1.rb +1 -1
  117. data/generated/google/apis/pubsub_v1/classes.rb +380 -327
  118. data/generated/google/apis/pubsub_v1/representations.rb +79 -79
  119. data/generated/google/apis/pubsub_v1/service.rb +424 -396
  120. data/generated/google/apis/sheets_v4.rb +1 -1
  121. data/generated/google/apis/sheets_v4/classes.rb +175 -53
  122. data/generated/google/apis/sheets_v4/representations.rb +48 -13
  123. data/generated/google/apis/site_verification_v1.rb +1 -1
  124. data/generated/google/apis/slides_v1.rb +1 -1
  125. data/generated/google/apis/slides_v1/classes.rb +149 -31
  126. data/generated/google/apis/slides_v1/representations.rb +52 -9
  127. data/generated/google/apis/slides_v1/service.rb +5 -5
  128. data/generated/google/apis/speech_v1beta1.rb +1 -1
  129. data/generated/google/apis/speech_v1beta1/service.rb +3 -1
  130. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  131. data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
  132. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
  133. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  134. data/generated/google/apis/storage_v1.rb +1 -1
  135. data/generated/google/apis/storage_v1/classes.rb +7 -0
  136. data/generated/google/apis/storage_v1/representations.rb +2 -0
  137. data/generated/google/apis/tagmanager_v1.rb +5 -5
  138. data/generated/google/apis/vision_v1.rb +1 -1
  139. data/generated/google/apis/vision_v1/classes.rb +63 -59
  140. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  141. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  142. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  143. data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
  146. data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
  147. data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/classes.rb +15 -2
  150. data/generated/google/apis/youtube_v3/representations.rb +3 -0
  151. data/generated/google/apis/youtube_v3/service.rb +4 -4
  152. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  153. data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
  154. data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
  155. data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
  156. data/lib/google/apis/version.rb +1 -1
  157. data/samples/cli/lib/samples/calendar.rb +1 -1
  158. data/samples/cli/lib/samples/gmail.rb +74 -0
  159. metadata +29 -29
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class RuntimeEnvironment
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class ReportWorkItemStatusRequest
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -244,6 +250,12 @@ module Google
244
250
  include Google::Apis::Core::JsonObjectSupport
245
251
  end
246
252
 
253
+ class DistributionUpdate
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
247
259
  class ApproximateReportedProgress
248
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
261
 
@@ -610,6 +622,12 @@ module Google
610
622
  include Google::Apis::Core::JsonObjectSupport
611
623
  end
612
624
 
625
+ class ResourceUtilizationReport
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
613
631
  class SendWorkerMessagesResponse
614
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
633
 
@@ -628,6 +646,12 @@ module Google
628
646
  include Google::Apis::Core::JsonObjectSupport
629
647
  end
630
648
 
649
+ class ResourceUtilizationReportResponse
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
631
655
  class GetDebugConfigRequest
632
656
  # @private
633
657
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -894,8 +918,22 @@ module Google
894
918
  class CreateJobFromTemplateRequest
895
919
  # @private
896
920
  class Representation < Google::Apis::Core::JsonRepresentation
921
+ property :job_name, as: 'jobName'
897
922
  property :gcs_path, as: 'gcsPath'
898
923
  hash :parameters, as: 'parameters'
924
+ property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation
925
+
926
+ end
927
+ end
928
+
929
+ class RuntimeEnvironment
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :max_workers, as: 'maxWorkers'
933
+ property :zone, as: 'zone'
934
+ property :service_account_email, as: 'serviceAccountEmail'
935
+ property :temp_location, as: 'tempLocation'
936
+ property :bypass_temp_dir_validation, as: 'bypassTempDirValidation'
899
937
  end
900
938
  end
901
939
 
@@ -970,6 +1008,8 @@ module Google
970
1008
 
971
1009
  property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation
972
1010
 
1011
+ property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation
1012
+
973
1013
  property :internal, as: 'internal'
974
1014
  end
975
1015
  end
@@ -1065,6 +1105,21 @@ module Google
1065
1105
  end
1066
1106
  end
1067
1107
 
1108
+ class DistributionUpdate
1109
+ # @private
1110
+ class Representation < Google::Apis::Core::JsonRepresentation
1111
+ property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
1112
+
1113
+ property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
1114
+
1115
+ property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
1116
+
1117
+ property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
1118
+
1119
+ property :sum_of_squares, as: 'sumOfSquares'
1120
+ end
1121
+ end
1122
+
1068
1123
  class ApproximateReportedProgress
1069
1124
  # @private
1070
1125
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1545,6 +1600,7 @@ module Google
1545
1600
  property :id_label, as: 'idLabel'
1546
1601
  property :drop_late_data, as: 'dropLateData'
1547
1602
  property :tracking_subscription, as: 'trackingSubscription'
1603
+ property :with_attributes, as: 'withAttributes'
1548
1604
  end
1549
1605
  end
1550
1606
 
@@ -1688,6 +1744,8 @@ module Google
1688
1744
 
1689
1745
  property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation
1690
1746
 
1747
+ property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation
1748
+
1691
1749
  end
1692
1750
  end
1693
1751
 
@@ -1709,6 +1767,13 @@ module Google
1709
1767
  end
1710
1768
  end
1711
1769
 
1770
+ class ResourceUtilizationReport
1771
+ # @private
1772
+ class Representation < Google::Apis::Core::JsonRepresentation
1773
+ collection :metrics, as: 'metrics'
1774
+ end
1775
+ end
1776
+
1712
1777
  class SendWorkerMessagesResponse
1713
1778
  # @private
1714
1779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1722,6 +1787,8 @@ module Google
1722
1787
  class Representation < Google::Apis::Core::JsonRepresentation
1723
1788
  property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation
1724
1789
 
1790
+ property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation
1791
+
1725
1792
  end
1726
1793
  end
1727
1794
 
@@ -1731,6 +1798,12 @@ module Google
1731
1798
  property :report_interval, as: 'reportInterval'
1732
1799
  end
1733
1800
  end
1801
+
1802
+ class ResourceUtilizationReportResponse
1803
+ # @private
1804
+ class Representation < Google::Apis::Core::JsonRepresentation
1805
+ end
1806
+ end
1734
1807
  end
1735
1808
  end
1736
1809
  end
@@ -22,8 +22,7 @@ module Google
22
22
  module DataflowV1b3
23
23
  # Google Dataflow API
24
24
  #
25
- # Develops and executes data processing patterns like ETL, batch computation,
26
- # and continuous computation.
25
+ # Manages Google Cloud Dataflow projects on Google Cloud Platform.
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/dataflow_v1b3'
@@ -80,16 +79,16 @@ module Google
80
79
  execute_or_queue_command(command, &block)
81
80
  end
82
81
 
83
- # Creates a dataflow job.
82
+ # Creates a Cloud Dataflow job.
84
83
  # @param [String] project_id
85
- # The project which owns the job.
84
+ # The ID of the Cloud Platform project that the job belongs to.
86
85
  # @param [Google::Apis::DataflowV1b3::Job] job_object
87
86
  # @param [String] view
88
- # Level of information requested in response.
87
+ # The level of information requested in response.
89
88
  # @param [String] replace_job_id
90
- # DEPRECATED. This field is now on the Job message.
89
+ # Deprecated. This field is now in the Job message.
91
90
  # @param [String] location
92
- # The location which contains this job.
91
+ # The location that contains this job.
93
92
  # @param [String] fields
94
93
  # Selector specifying which fields to include in a partial response.
95
94
  # @param [String] quota_user
@@ -122,15 +121,15 @@ module Google
122
121
  execute_or_queue_command(command, &block)
123
122
  end
124
123
 
125
- # Gets the state of the specified dataflow job.
124
+ # Gets the state of the specified Cloud Dataflow job.
126
125
  # @param [String] project_id
127
- # The project which owns the job.
126
+ # The ID of the Cloud Platform project that the job belongs to.
128
127
  # @param [String] job_id
129
- # Identifies a single job.
128
+ # The job ID.
130
129
  # @param [String] view
131
- # Level of information requested in response.
130
+ # The level of information requested in response.
132
131
  # @param [String] location
133
- # The location which contains this job.
132
+ # The location that contains this job.
134
133
  # @param [String] fields
135
134
  # Selector specifying which fields to include in a partial response.
136
135
  # @param [String] quota_user
@@ -161,14 +160,14 @@ module Google
161
160
  execute_or_queue_command(command, &block)
162
161
  end
163
162
 
164
- # Updates the state of an existing dataflow job.
163
+ # Updates the state of an existing Cloud Dataflow job.
165
164
  # @param [String] project_id
166
- # The project which owns the job.
165
+ # The ID of the Cloud Platform project that the job belongs to.
167
166
  # @param [String] job_id
168
- # Identifies a single job.
167
+ # The job ID.
169
168
  # @param [Google::Apis::DataflowV1b3::Job] job_object
170
169
  # @param [String] location
171
- # The location which contains this job.
170
+ # The location that contains this job.
172
171
  # @param [String] fields
173
172
  # Selector specifying which fields to include in a partial response.
174
173
  # @param [String] quota_user
@@ -200,13 +199,13 @@ module Google
200
199
  execute_or_queue_command(command, &block)
201
200
  end
202
201
 
203
- # List the jobs of a project
202
+ # List the jobs of a project.
204
203
  # @param [String] project_id
205
204
  # The project which owns the jobs.
206
205
  # @param [String] filter
207
206
  # The kind of filter to use.
208
207
  # @param [String] view
209
- # Level of information requested in response. Default is SUMMARY.
208
+ # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
210
209
  # @param [Fixnum] page_size
211
210
  # If there are many jobs, limit response to at most this many. The actual number
212
211
  # of jobs returned will be the lesser of max_responses and an unspecified server-
@@ -215,7 +214,7 @@ module Google
215
214
  # Set this to the 'next_page_token' field of a previous response to request
216
215
  # additional results in a long list.
217
216
  # @param [String] location
218
- # The location which contains this job.
217
+ # The location that contains this job.
219
218
  # @param [String] fields
220
219
  # Selector specifying which fields to include in a partial response.
221
220
  # @param [String] quota_user
@@ -488,16 +487,16 @@ module Google
488
487
  execute_or_queue_command(command, &block)
489
488
  end
490
489
 
491
- # Creates a dataflow job.
490
+ # Creates a Cloud Dataflow job.
492
491
  # @param [String] project_id
493
- # The project which owns the job.
492
+ # The ID of the Cloud Platform project that the job belongs to.
494
493
  # @param [String] location
495
- # The location which contains this job.
494
+ # The location that contains this job.
496
495
  # @param [Google::Apis::DataflowV1b3::Job] job_object
497
496
  # @param [String] view
498
- # Level of information requested in response.
497
+ # The level of information requested in response.
499
498
  # @param [String] replace_job_id
500
- # DEPRECATED. This field is now on the Job message.
499
+ # Deprecated. This field is now in the Job message.
501
500
  # @param [String] fields
502
501
  # Selector specifying which fields to include in a partial response.
503
502
  # @param [String] quota_user
@@ -530,15 +529,15 @@ module Google
530
529
  execute_or_queue_command(command, &block)
531
530
  end
532
531
 
533
- # Gets the state of the specified dataflow job.
532
+ # Gets the state of the specified Cloud Dataflow job.
534
533
  # @param [String] project_id
535
- # The project which owns the job.
534
+ # The ID of the Cloud Platform project that the job belongs to.
536
535
  # @param [String] location
537
- # The location which contains this job.
536
+ # The location that contains this job.
538
537
  # @param [String] job_id
539
- # Identifies a single job.
538
+ # The job ID.
540
539
  # @param [String] view
541
- # Level of information requested in response.
540
+ # The level of information requested in response.
542
541
  # @param [String] fields
543
542
  # Selector specifying which fields to include in a partial response.
544
543
  # @param [String] quota_user
@@ -569,13 +568,13 @@ module Google
569
568
  execute_or_queue_command(command, &block)
570
569
  end
571
570
 
572
- # Updates the state of an existing dataflow job.
571
+ # Updates the state of an existing Cloud Dataflow job.
573
572
  # @param [String] project_id
574
- # The project which owns the job.
573
+ # The ID of the Cloud Platform project that the job belongs to.
575
574
  # @param [String] location
576
- # The location which contains this job.
575
+ # The location that contains this job.
577
576
  # @param [String] job_id
578
- # Identifies a single job.
577
+ # The job ID.
579
578
  # @param [Google::Apis::DataflowV1b3::Job] job_object
580
579
  # @param [String] fields
581
580
  # Selector specifying which fields to include in a partial response.
@@ -608,15 +607,15 @@ module Google
608
607
  execute_or_queue_command(command, &block)
609
608
  end
610
609
 
611
- # List the jobs of a project
610
+ # List the jobs of a project.
612
611
  # @param [String] project_id
613
612
  # The project which owns the jobs.
614
613
  # @param [String] location
615
- # The location which contains this job.
614
+ # The location that contains this job.
616
615
  # @param [String] filter
617
616
  # The kind of filter to use.
618
617
  # @param [String] view
619
- # Level of information requested in response. Default is SUMMARY.
618
+ # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
620
619
  # @param [Fixnum] page_size
621
620
  # If there are many jobs, limit response to at most this many. The actual number
622
621
  # of jobs returned will be the lesser of max_responses and an unspecified server-
@@ -830,9 +829,9 @@ module Google
830
829
  execute_or_queue_command(command, &block)
831
830
  end
832
831
 
833
- # Creates a dataflow job from a template.
832
+ # Creates a Cloud Dataflow job from a template.
834
833
  # @param [String] project_id
835
- # The project which owns the job.
834
+ # Required. The ID of the Cloud Platform project that the job belongs to.
836
835
  # @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
837
836
  # @param [String] fields
838
837
  # Selector specifying which fields to include in a partial response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20161025'
29
+ REVISION = '20170110'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -106,6 +106,8 @@ module Google
106
106
  # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
107
107
  # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
108
108
  # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
109
+ # The code in logs/storage/validator/logs_validator_traits.cc treats this type
110
+ # as if it were annotated as ST_LOCATION.
109
111
  # Corresponds to the JSON property `geoPointValue`
110
112
  # @return [Google::Apis::DatastoreV1::LatLng]
111
113
  attr_accessor :geo_point_value
@@ -544,6 +546,7 @@ module Google
544
546
  # In a single transaction, subsequent query result batches for the same query
545
547
  # can have a greater snapshot version number. Each batch's snapshot version
546
548
  # is valid for all preceding batches.
549
+ # The value will be zero for eventually consistent queries.
547
550
  # Corresponds to the JSON property `snapshotVersion`
548
551
  # @return [String]
549
552
  attr_accessor :snapshot_version
@@ -1230,6 +1233,8 @@ module Google
1230
1233
  # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
1231
1234
  # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
1232
1235
  # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
1236
+ # The code in logs/storage/validator/logs_validator_traits.cc treats this type
1237
+ # as if it were annotated as ST_LOCATION.
1233
1238
  class LatLng
1234
1239
  include Google::Apis::Core::Hashable
1235
1240
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/deployment-manager/
26
26
  module DeploymentmanagerV2
27
27
  VERSION = 'V2'
28
- REVISION = '20161013'
28
+ REVISION = '20161221'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,20 +22,25 @@ module Google
22
22
  module Apis
23
23
  module DeploymentmanagerV2
24
24
 
25
- # Enables "data access" audit logging for a service and specifies a list of
26
- # members that are log-exempted.
25
+ # Provides the configuration for non-admin_activity logging for a service.
26
+ # Controls exemptions and specific log sub-types.
27
27
  class AuditConfig
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
+ # The configuration for each type of logging
31
+ # Corresponds to the JSON property `auditLogConfigs`
32
+ # @return [Array<Google::Apis::DeploymentmanagerV2::AuditLogConfig>]
33
+ attr_accessor :audit_log_configs
34
+
30
35
  # Specifies the identities that are exempted from "data access" audit logging
31
36
  # for the `service` specified above. Follows the same format of Binding.members.
32
37
  # Corresponds to the JSON property `exemptedMembers`
33
38
  # @return [Array<String>]
34
39
  attr_accessor :exempted_members
35
40
 
36
- # Specifies a service that will be enabled for "data access" audit logging. For
37
- # example, `resourcemanager`, `storage`, `compute`. `allServices` is a special
38
- # value that covers all services.
41
+ # Specifies a service that will be enabled for audit logging. For example, `
42
+ # resourcemanager`, `storage`, `compute`. `allServices` is a special value that
43
+ # covers all services.
39
44
  # Corresponds to the JSON property `service`
40
45
  # @return [String]
41
46
  attr_accessor :service
@@ -46,11 +51,38 @@ module Google
46
51
 
47
52
  # Update properties of this object
48
53
  def update!(**args)
54
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
49
55
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
50
56
  @service = args[:service] if args.key?(:service)
51
57
  end
52
58
  end
53
59
 
60
+ # Provides the configuration for a sub-type of logging.
61
+ class AuditLogConfig
62
+ include Google::Apis::Core::Hashable
63
+
64
+ # Specifies the identities that are exempted from this type of logging Follows
65
+ # the same format of Binding.members.
66
+ # Corresponds to the JSON property `exemptedMembers`
67
+ # @return [Array<String>]
68
+ attr_accessor :exempted_members
69
+
70
+ # The log type that this config enables.
71
+ # Corresponds to the JSON property `logType`
72
+ # @return [String]
73
+ attr_accessor :log_type
74
+
75
+ def initialize(**args)
76
+ update!(**args)
77
+ end
78
+
79
+ # Update properties of this object
80
+ def update!(**args)
81
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
82
+ @log_type = args[:log_type] if args.key?(:log_type)
83
+ end
84
+ end
85
+
54
86
  # Associates `members` with a `role`.
55
87
  class Binding
56
88
  include Google::Apis::Core::Hashable