google-api-client 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +6 -0
  4. data/api_names.yaml +1 -0
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
  12. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
  14. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
  21. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +1 -1
  24. data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
  25. data/generated/google/apis/appengine_v1/representations.rb +229 -229
  26. data/generated/google/apis/appengine_v1/service.rb +188 -188
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +15 -10
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/service.rb +10 -4
  32. data/generated/google/apis/classroom_v1.rb +26 -17
  33. data/generated/google/apis/classroom_v1/classes.rb +990 -990
  34. data/generated/google/apis/classroom_v1/representations.rb +239 -239
  35. data/generated/google/apis/classroom_v1/service.rb +853 -853
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
  40. data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
  41. data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
  42. data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
  43. data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
  44. data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
  45. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
  46. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
  47. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudkms_v1.rb +1 -1
  50. data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
  51. data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
  52. data/generated/google/apis/cloudkms_v1/service.rb +190 -190
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
  56. data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
  57. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
  61. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  62. data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
  63. data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
  64. data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +66 -25
  67. data/generated/google/apis/compute_beta/representations.rb +16 -0
  68. data/generated/google/apis/compute_beta/service.rb +85 -3
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +375 -24
  71. data/generated/google/apis/compute_v1/representations.rb +155 -0
  72. data/generated/google/apis/compute_v1/service.rb +481 -3
  73. data/generated/google/apis/container_v1.rb +1 -1
  74. data/generated/google/apis/container_v1/classes.rb +301 -301
  75. data/generated/google/apis/container_v1/representations.rb +59 -59
  76. data/generated/google/apis/container_v1/service.rb +178 -178
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +37 -2
  79. data/generated/google/apis/content_v2/representations.rb +15 -0
  80. data/generated/google/apis/content_v2/service.rb +58 -3
  81. data/generated/google/apis/dataflow_v1b3.rb +4 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
  84. data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +446 -446
  87. data/generated/google/apis/dataproc_v1/representations.rb +96 -96
  88. data/generated/google/apis/dataproc_v1/service.rb +302 -302
  89. data/generated/google/apis/datastore_v1.rb +1 -1
  90. data/generated/google/apis/datastore_v1/classes.rb +370 -374
  91. data/generated/google/apis/datastore_v1/representations.rb +120 -120
  92. data/generated/google/apis/datastore_v1/service.rb +62 -62
  93. data/generated/google/apis/dns_v1.rb +1 -1
  94. data/generated/google/apis/dns_v2beta1.rb +1 -1
  95. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2.rb +1 -1
  98. data/generated/google/apis/drive_v2/classes.rb +24 -21
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +24 -22
  101. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  102. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
  103. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
  104. data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
  105. data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
  106. data/generated/google/apis/firebaserules_v1/service.rb +68 -68
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_management_v1management.rb +1 -1
  109. data/generated/google/apis/games_v1.rb +1 -1
  110. data/generated/google/apis/genomics_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
  112. data/generated/google/apis/genomics_v1/representations.rb +430 -430
  113. data/generated/google/apis/genomics_v1/service.rb +1159 -1159
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/service.rb +2 -2
  116. data/generated/google/apis/iam_v1.rb +1 -1
  117. data/generated/google/apis/iam_v1/classes.rb +305 -298
  118. data/generated/google/apis/iam_v1/representations.rb +97 -96
  119. data/generated/google/apis/iam_v1/service.rb +86 -86
  120. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  121. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  122. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  123. data/generated/google/apis/language_v1.rb +4 -4
  124. data/generated/google/apis/language_v1/classes.rb +452 -452
  125. data/generated/google/apis/language_v1/representations.rb +93 -93
  126. data/generated/google/apis/language_v1/service.rb +48 -48
  127. data/generated/google/apis/language_v1beta1.rb +4 -4
  128. data/generated/google/apis/language_v1beta1/classes.rb +84 -84
  129. data/generated/google/apis/language_v1beta1/representations.rb +22 -22
  130. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  131. data/generated/google/apis/logging_v2.rb +1 -1
  132. data/generated/google/apis/logging_v2/classes.rb +884 -873
  133. data/generated/google/apis/logging_v2/representations.rb +167 -166
  134. data/generated/google/apis/logging_v2/service.rb +430 -430
  135. data/generated/google/apis/logging_v2beta1.rb +1 -1
  136. data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
  137. data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
  138. data/generated/google/apis/logging_v2beta1/service.rb +292 -292
  139. data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
  140. data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
  141. data/generated/google/apis/ml_v1.rb +1 -1
  142. data/generated/google/apis/ml_v1/classes.rb +501 -494
  143. data/generated/google/apis/ml_v1/representations.rb +92 -91
  144. data/generated/google/apis/ml_v1/service.rb +190 -190
  145. data/generated/google/apis/monitoring_v3.rb +1 -1
  146. data/generated/google/apis/monitoring_v3/classes.rb +878 -878
  147. data/generated/google/apis/monitoring_v3/representations.rb +176 -176
  148. data/generated/google/apis/monitoring_v3/service.rb +223 -262
  149. data/generated/google/apis/oauth2_v2.rb +1 -1
  150. data/generated/google/apis/partners_v2.rb +1 -1
  151. data/generated/google/apis/partners_v2/classes.rb +1506 -1506
  152. data/generated/google/apis/partners_v2/representations.rb +370 -370
  153. data/generated/google/apis/partners_v2/service.rb +393 -393
  154. data/generated/google/apis/people_v1.rb +13 -13
  155. data/generated/google/apis/people_v1/classes.rb +597 -594
  156. data/generated/google/apis/people_v1/representations.rb +121 -121
  157. data/generated/google/apis/people_v1/service.rb +39 -48
  158. data/generated/google/apis/plus_domains_v1.rb +1 -1
  159. data/generated/google/apis/plus_v1.rb +1 -1
  160. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  161. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
  162. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
  163. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
  164. data/generated/google/apis/pubsub_v1.rb +1 -1
  165. data/generated/google/apis/pubsub_v1/classes.rb +178 -178
  166. data/generated/google/apis/pubsub_v1/representations.rb +55 -55
  167. data/generated/google/apis/pubsub_v1/service.rb +357 -357
  168. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  169. data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
  170. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  171. data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
  172. data/generated/google/apis/script_v1.rb +16 -16
  173. data/generated/google/apis/script_v1/classes.rb +113 -113
  174. data/generated/google/apis/script_v1/representations.rb +28 -28
  175. data/generated/google/apis/script_v1/service.rb +4 -4
  176. data/generated/google/apis/searchconsole_v1.rb +1 -1
  177. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  178. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  179. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  180. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  181. data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
  182. data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
  183. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  184. data/generated/google/apis/servicemanagement_v1.rb +4 -4
  185. data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
  186. data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
  187. data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
  188. data/generated/google/apis/serviceuser_v1.rb +1 -1
  189. data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
  190. data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
  191. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
  194. data/generated/google/apis/sheets_v4/representations.rb +548 -548
  195. data/generated/google/apis/sheets_v4/service.rb +170 -170
  196. data/generated/google/apis/slides_v1.rb +4 -4
  197. data/generated/google/apis/slides_v1/classes.rb +2945 -2916
  198. data/generated/google/apis/slides_v1/representations.rb +700 -697
  199. data/generated/google/apis/slides_v1/service.rb +44 -44
  200. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  201. data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
  202. data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
  203. data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
  204. data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
  205. data/generated/google/apis/spanner_v1/representations.rb +323 -323
  206. data/generated/google/apis/spanner_v1/service.rb +383 -383
  207. data/generated/google/apis/speech_v1beta1.rb +1 -1
  208. data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
  209. data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
  210. data/generated/google/apis/speech_v1beta1/service.rb +37 -32
  211. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  212. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
  213. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
  214. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  215. data/generated/google/apis/storage_v1.rb +1 -1
  216. data/generated/google/apis/storage_v1/classes.rb +26 -0
  217. data/generated/google/apis/storage_v1/representations.rb +15 -0
  218. data/generated/google/apis/storage_v1/service.rb +168 -42
  219. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
  221. data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
  222. data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
  223. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  224. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
  225. data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
  226. data/generated/google/apis/translate_v2.rb +11 -4
  227. data/generated/google/apis/translate_v2/classes.rb +140 -37
  228. data/generated/google/apis/translate_v2/representations.rb +62 -15
  229. data/generated/google/apis/translate_v2/service.rb +119 -66
  230. data/generated/google/apis/vision_v1.rb +1 -1
  231. data/generated/google/apis/vision_v1/classes.rb +1265 -1273
  232. data/generated/google/apis/vision_v1/representations.rb +202 -202
  233. data/generated/google/apis/vision_v1/service.rb +4 -4
  234. data/generated/google/apis/webmasters_v3.rb +1 -1
  235. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  236. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  237. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  238. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  239. data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
  240. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  241. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  242. data/lib/google/apis/core/api_command.rb +43 -10
  243. data/lib/google/apis/core/json_representation.rb +1 -1
  244. data/lib/google/apis/options.rb +6 -2
  245. data/lib/google/apis/version.rb +1 -1
  246. metadata +3 -3
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module ClouderrorreportingV1beta1
24
24
 
25
- class ErrorEvent
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class ReportedErrorEvent
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -70,13 +64,13 @@ module Google
70
64
  include Google::Apis::Core::JsonObjectSupport
71
65
  end
72
66
 
73
- class ServiceContext
67
+ class SourceLocation
74
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
69
 
76
70
  include Google::Apis::Core::JsonObjectSupport
77
71
  end
78
72
 
79
- class SourceLocation
73
+ class ServiceContext
80
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
75
 
82
76
  include Google::Apis::Core::JsonObjectSupport
@@ -106,38 +100,40 @@ module Google
106
100
  include Google::Apis::Core::JsonObjectSupport
107
101
  end
108
102
 
109
- class ErrorEvent
110
- # @private
111
- class Representation < Google::Apis::Core::JsonRepresentation
112
- property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation
103
+ class SourceReference
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
113
105
 
114
- property :message, as: 'message'
115
- property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
116
108
 
117
- property :event_time, as: 'eventTime'
118
- end
109
+ class ErrorEvent
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
119
113
  end
120
114
 
121
115
  class ReportedErrorEvent
122
116
  # @private
123
117
  class Representation < Google::Apis::Core::JsonRepresentation
124
- property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation
125
-
126
118
  property :message, as: 'message'
127
119
  property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
128
120
 
129
121
  property :event_time, as: 'eventTime'
122
+ property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation
123
+
130
124
  end
131
125
  end
132
126
 
133
127
  class ErrorContext
134
128
  # @private
135
129
  class Representation < Google::Apis::Core::JsonRepresentation
136
- property :user, as: 'user'
137
130
  property :report_location, as: 'reportLocation', class: Google::Apis::ClouderrorreportingV1beta1::SourceLocation, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceLocation::Representation
138
131
 
132
+ collection :source_references, as: 'sourceReferences', class: Google::Apis::ClouderrorreportingV1beta1::SourceReference, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceReference::Representation
133
+
139
134
  property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation
140
135
 
136
+ property :user, as: 'user'
141
137
  end
142
138
  end
143
139
 
@@ -151,29 +147,29 @@ module Google
151
147
  class ErrorGroupStats
152
148
  # @private
153
149
  class Representation < Google::Apis::Core::JsonRepresentation
150
+ property :representative, as: 'representative', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation
151
+
152
+ collection :timed_counts, as: 'timedCounts', class: Google::Apis::ClouderrorreportingV1beta1::TimedCount, decorator: Google::Apis::ClouderrorreportingV1beta1::TimedCount::Representation
153
+
154
154
  property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
155
155
 
156
156
  property :first_seen_time, as: 'firstSeenTime'
157
157
  property :count, :numeric_string => true, as: 'count'
158
- property :affected_users_count, :numeric_string => true, as: 'affectedUsersCount'
159
158
  property :last_seen_time, as: 'lastSeenTime'
159
+ property :affected_users_count, :numeric_string => true, as: 'affectedUsersCount'
160
160
  property :num_affected_services, as: 'numAffectedServices'
161
161
  collection :affected_services, as: 'affectedServices', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
162
162
 
163
- property :representative, as: 'representative', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation
164
-
165
- collection :timed_counts, as: 'timedCounts', class: Google::Apis::ClouderrorreportingV1beta1::TimedCount, decorator: Google::Apis::ClouderrorreportingV1beta1::TimedCount::Representation
166
-
167
163
  end
168
164
  end
169
165
 
170
166
  class ListEventsResponse
171
167
  # @private
172
168
  class Representation < Google::Apis::Core::JsonRepresentation
169
+ property :next_page_token, as: 'nextPageToken'
173
170
  property :time_range_begin, as: 'timeRangeBegin'
174
171
  collection :error_events, as: 'errorEvents', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation
175
172
 
176
- property :next_page_token, as: 'nextPageToken'
177
173
  end
178
174
  end
179
175
 
@@ -189,28 +185,28 @@ module Google
189
185
  class ErrorGroup
190
186
  # @private
191
187
  class Representation < Google::Apis::Core::JsonRepresentation
192
- property :name, as: 'name'
193
188
  property :group_id, as: 'groupId'
194
189
  collection :tracking_issues, as: 'trackingIssues', class: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue, decorator: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue::Representation
195
190
 
191
+ property :name, as: 'name'
196
192
  end
197
193
  end
198
194
 
199
- class ServiceContext
195
+ class SourceLocation
200
196
  # @private
201
197
  class Representation < Google::Apis::Core::JsonRepresentation
202
- property :version, as: 'version'
203
- property :service, as: 'service'
204
- property :resource_type, as: 'resourceType'
198
+ property :function_name, as: 'functionName'
199
+ property :file_path, as: 'filePath'
200
+ property :line_number, as: 'lineNumber'
205
201
  end
206
202
  end
207
203
 
208
- class SourceLocation
204
+ class ServiceContext
209
205
  # @private
210
206
  class Representation < Google::Apis::Core::JsonRepresentation
211
- property :function_name, as: 'functionName'
212
- property :file_path, as: 'filePath'
213
- property :line_number, as: 'lineNumber'
207
+ property :resource_type, as: 'resourceType'
208
+ property :version, as: 'version'
209
+ property :service, as: 'service'
214
210
  end
215
211
  end
216
212
 
@@ -223,22 +219,22 @@ module Google
223
219
  class HttpRequestContext
224
220
  # @private
225
221
  class Representation < Google::Apis::Core::JsonRepresentation
222
+ property :url, as: 'url'
223
+ property :response_status_code, as: 'responseStatusCode'
226
224
  property :method_prop, as: 'method'
227
225
  property :remote_ip, as: 'remoteIp'
228
226
  property :referrer, as: 'referrer'
229
227
  property :user_agent, as: 'userAgent'
230
- property :url, as: 'url'
231
- property :response_status_code, as: 'responseStatusCode'
232
228
  end
233
229
  end
234
230
 
235
231
  class ListGroupStatsResponse
236
232
  # @private
237
233
  class Representation < Google::Apis::Core::JsonRepresentation
234
+ property :next_page_token, as: 'nextPageToken'
238
235
  property :time_range_begin, as: 'timeRangeBegin'
239
236
  collection :error_group_stats, as: 'errorGroupStats', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats::Representation
240
237
 
241
- property :next_page_token, as: 'nextPageToken'
242
238
  end
243
239
  end
244
240
 
@@ -247,6 +243,26 @@ module Google
247
243
  class Representation < Google::Apis::Core::JsonRepresentation
248
244
  end
249
245
  end
246
+
247
+ class SourceReference
248
+ # @private
249
+ class Representation < Google::Apis::Core::JsonRepresentation
250
+ property :repository, as: 'repository'
251
+ property :revision_id, as: 'revisionId'
252
+ end
253
+ end
254
+
255
+ class ErrorEvent
256
+ # @private
257
+ class Representation < Google::Apis::Core::JsonRepresentation
258
+ property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
259
+
260
+ property :event_time, as: 'eventTime'
261
+ property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation
262
+
263
+ property :message, as: 'message'
264
+ end
265
+ end
250
266
  end
251
267
  end
252
268
  end
@@ -22,9 +22,8 @@ module Google
22
22
  module ClouderrorreportingV1beta1
23
23
  # Stackdriver Error Reporting API
24
24
  #
25
- # Stackdriver Error Reporting groups and counts similar errors from cloud
26
- # services. The Stackdriver Error Reporting API provides a way to report new
27
- # errors and read access to error groups and their associated errors.
25
+ # Groups and counts similar errors from cloud services and applications, reports
26
+ # new errors, and provides access to error groups and their associated errors.
28
27
  #
29
28
  # @example
30
29
  # require 'google/apis/clouderrorreporting_v1beta1'
@@ -56,11 +55,11 @@ module Google
56
55
  # [Google Cloud Platform project
57
56
  # ID](https://support.google.com/cloud/answer/6158840).
58
57
  # Example: `projects/my-project-123`.
59
- # @param [String] fields
60
- # Selector specifying which fields to include in a partial response.
61
58
  # @param [String] quota_user
62
59
  # Available to use for quota purposes for server-side applications. Can be any
63
60
  # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
64
63
  # @param [Google::Apis::RequestOptions] options
65
64
  # Request-specific options
66
65
  #
@@ -73,13 +72,13 @@ module Google
73
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def delete_project_events(project_name, fields: nil, quota_user: nil, options: nil, &block)
75
+ def delete_project_events(project_name, quota_user: nil, fields: nil, options: nil, &block)
77
76
  command = make_simple_command(:delete, 'v1beta1/{+projectName}/events', options)
78
77
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse::Representation
79
78
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse
80
79
  command.params['projectName'] = project_name unless project_name.nil?
81
- command.query['fields'] = fields unless fields.nil?
82
80
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ command.query['fields'] = fields unless fields.nil?
83
82
  execute_or_queue_command(command, &block)
84
83
  end
85
84
 
@@ -98,11 +97,11 @@ module Google
98
97
  # 6158840).
99
98
  # Example: `projects/my-project-123`.
100
99
  # @param [Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent] reported_error_event_object
101
- # @param [String] fields
102
- # Selector specifying which fields to include in a partial response.
103
100
  # @param [String] quota_user
104
101
  # Available to use for quota purposes for server-side applications. Can be any
105
102
  # arbitrary string assigned to a user, but should not exceed 40 characters.
103
+ # @param [String] fields
104
+ # Selector specifying which fields to include in a partial response.
106
105
  # @param [Google::Apis::RequestOptions] options
107
106
  # Request-specific options
108
107
  #
@@ -115,15 +114,15 @@ module Google
115
114
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
118
- def report_project_event(project_name, reported_error_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
117
+ def report_project_event(project_name, reported_error_event_object = nil, quota_user: nil, fields: nil, options: nil, &block)
119
118
  command = make_simple_command(:post, 'v1beta1/{+projectName}/events:report', options)
120
119
  command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent::Representation
121
120
  command.request_object = reported_error_event_object
122
121
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse::Representation
123
122
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse
124
123
  command.params['projectName'] = project_name unless project_name.nil?
125
- command.query['fields'] = fields unless fields.nil?
126
124
  command.query['quotaUser'] = quota_user unless quota_user.nil?
125
+ command.query['fields'] = fields unless fields.nil?
127
126
  execute_or_queue_command(command, &block)
128
127
  end
129
128
 
@@ -134,6 +133,14 @@ module Google
134
133
  # [Google Cloud Platform project
135
134
  # ID](https://support.google.com/cloud/answer/6158840).
136
135
  # Example: `projects/my-project-123`.
136
+ # @param [String] service_filter_resource_type
137
+ # [Optional] The exact value to match against
138
+ # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/
139
+ # ServiceContext#FIELDS.resource_type).
140
+ # @param [String] time_range_period
141
+ # Restricts the query to the specified time range.
142
+ # @param [String] group_id
143
+ # [Required] The group for which events shall be returned.
137
144
  # @param [String] page_token
138
145
  # [Optional] A `next_page_token` provided by a previous response.
139
146
  # @param [String] service_filter_service
@@ -146,19 +153,11 @@ module Google
146
153
  # [Optional] The exact value to match against
147
154
  # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/
148
155
  # ServiceContext#FIELDS.version).
149
- # @param [String] service_filter_resource_type
150
- # [Optional] The exact value to match against
151
- # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/
152
- # ServiceContext#FIELDS.resource_type).
153
- # @param [String] time_range_period
154
- # Restricts the query to the specified time range.
155
- # @param [String] group_id
156
- # [Required] The group for which events shall be returned.
157
- # @param [String] fields
158
- # Selector specifying which fields to include in a partial response.
159
156
  # @param [String] quota_user
160
157
  # Available to use for quota purposes for server-side applications. Can be any
161
158
  # arbitrary string assigned to a user, but should not exceed 40 characters.
159
+ # @param [String] fields
160
+ # Selector specifying which fields to include in a partial response.
162
161
  # @param [Google::Apis::RequestOptions] options
163
162
  # Request-specific options
164
163
  #
@@ -171,20 +170,20 @@ module Google
171
170
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
171
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
172
  # @raise [Google::Apis::AuthorizationError] Authorization is required
174
- def list_project_events(project_name, page_token: nil, service_filter_service: nil, page_size: nil, service_filter_version: nil, service_filter_resource_type: nil, time_range_period: nil, group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
173
+ def list_project_events(project_name, service_filter_resource_type: nil, time_range_period: nil, group_id: nil, page_token: nil, service_filter_service: nil, page_size: nil, service_filter_version: nil, quota_user: nil, fields: nil, options: nil, &block)
175
174
  command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options)
176
175
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation
177
176
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse
178
177
  command.params['projectName'] = project_name unless project_name.nil?
178
+ command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
179
+ command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
180
+ command.query['groupId'] = group_id unless group_id.nil?
179
181
  command.query['pageToken'] = page_token unless page_token.nil?
180
182
  command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil?
181
183
  command.query['pageSize'] = page_size unless page_size.nil?
182
184
  command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil?
183
- command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
184
- command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
185
- command.query['groupId'] = group_id unless group_id.nil?
186
- command.query['fields'] = fields unless fields.nil?
187
185
  command.query['quotaUser'] = quota_user unless quota_user.nil?
186
+ command.query['fields'] = fields unless fields.nil?
188
187
  execute_or_queue_command(command, &block)
189
188
  end
190
189
 
@@ -197,11 +196,11 @@ module Google
197
196
  # <code>groupStats.list</code></a> to return a list of groups belonging to
198
197
  # this project.
199
198
  # Example: <code>projects/my-project-123/groups/my-group</code>
200
- # @param [String] fields
201
- # Selector specifying which fields to include in a partial response.
202
199
  # @param [String] quota_user
203
200
  # Available to use for quota purposes for server-side applications. Can be any
204
201
  # arbitrary string assigned to a user, but should not exceed 40 characters.
202
+ # @param [String] fields
203
+ # Selector specifying which fields to include in a partial response.
205
204
  # @param [Google::Apis::RequestOptions] options
206
205
  # Request-specific options
207
206
  #
@@ -214,13 +213,13 @@ module Google
214
213
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
215
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
216
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
217
- def get_project_group(group_name, fields: nil, quota_user: nil, options: nil, &block)
216
+ def get_project_group(group_name, quota_user: nil, fields: nil, options: nil, &block)
218
217
  command = make_simple_command(:get, 'v1beta1/{+groupName}', options)
219
218
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
220
219
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
221
220
  command.params['groupName'] = group_name unless group_name.nil?
222
- command.query['fields'] = fields unless fields.nil?
223
221
  command.query['quotaUser'] = quota_user unless quota_user.nil?
222
+ command.query['fields'] = fields unless fields.nil?
224
223
  execute_or_queue_command(command, &block)
225
224
  end
226
225
 
@@ -230,11 +229,11 @@ module Google
230
229
  # The group resource name.
231
230
  # Example: <code>projects/my-project-123/groups/my-groupid</code>
232
231
  # @param [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] error_group_object
233
- # @param [String] fields
234
- # Selector specifying which fields to include in a partial response.
235
232
  # @param [String] quota_user
236
233
  # Available to use for quota purposes for server-side applications. Can be any
237
234
  # arbitrary string assigned to a user, but should not exceed 40 characters.
235
+ # @param [String] fields
236
+ # Selector specifying which fields to include in a partial response.
238
237
  # @param [Google::Apis::RequestOptions] options
239
238
  # Request-specific options
240
239
  #
@@ -247,15 +246,15 @@ module Google
247
246
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
248
247
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
249
248
  # @raise [Google::Apis::AuthorizationError] Authorization is required
250
- def update_project_group(name, error_group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
249
+ def update_project_group(name, error_group_object = nil, quota_user: nil, fields: nil, options: nil, &block)
251
250
  command = make_simple_command(:put, 'v1beta1/{+name}', options)
252
251
  command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
253
252
  command.request_object = error_group_object
254
253
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
255
254
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
256
255
  command.params['name'] = name unless name.nil?
257
- command.query['fields'] = fields unless fields.nil?
258
256
  command.query['quotaUser'] = quota_user unless quota_user.nil?
257
+ command.query['fields'] = fields unless fields.nil?
259
258
  execute_or_queue_command(command, &block)
260
259
  end
261
260
 
@@ -266,6 +265,13 @@ module Google
266
265
  # <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
267
266
  # Platform project ID</a>.
268
267
  # Example: <code>projects/my-project-123</code>.
268
+ # @param [String] timed_count_duration
269
+ # [Optional] The preferred duration for a single returned `TimedCount`.
270
+ # If not set, no timed counts are returned.
271
+ # @param [String] page_token
272
+ # [Optional] A `next_page_token` provided by a previous response. To view
273
+ # additional results, pass this token along with the identical query
274
+ # parameters as the first request.
269
275
  # @param [String] time_range_period
270
276
  # Restricts the query to the specified time range.
271
277
  # @param [String] alignment
@@ -280,13 +286,13 @@ module Google
280
286
  # @param [Fixnum] page_size
281
287
  # [Optional] The maximum number of results to return per response.
282
288
  # Default is 20.
283
- # @param [String] order
284
- # [Optional] The sort order in which the results are returned.
285
- # Default is `COUNT_DESC`.
286
289
  # @param [String] service_filter_version
287
290
  # [Optional] The exact value to match against
288
291
  # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/
289
292
  # ServiceContext#FIELDS.version).
293
+ # @param [String] order
294
+ # [Optional] The sort order in which the results are returned.
295
+ # Default is `COUNT_DESC`.
290
296
  # @param [String] service_filter_resource_type
291
297
  # [Optional] The exact value to match against
292
298
  # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/
@@ -294,18 +300,11 @@ module Google
294
300
  # @param [String] alignment_time
295
301
  # [Optional] Time where the timed counts shall be aligned if rounded
296
302
  # alignment is chosen. Default is 00:00 UTC.
297
- # @param [String] timed_count_duration
298
- # [Optional] The preferred duration for a single returned `TimedCount`.
299
- # If not set, no timed counts are returned.
300
- # @param [String] page_token
301
- # [Optional] A `next_page_token` provided by a previous response. To view
302
- # additional results, pass this token along with the identical query
303
- # parameters as the first request.
304
- # @param [String] fields
305
- # Selector specifying which fields to include in a partial response.
306
303
  # @param [String] quota_user
307
304
  # Available to use for quota purposes for server-side applications. Can be any
308
305
  # arbitrary string assigned to a user, but should not exceed 40 characters.
306
+ # @param [String] fields
307
+ # Selector specifying which fields to include in a partial response.
309
308
  # @param [Google::Apis::RequestOptions] options
310
309
  # Request-specific options
311
310
  #
@@ -318,24 +317,24 @@ module Google
318
317
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
319
318
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
320
319
  # @raise [Google::Apis::AuthorizationError] Authorization is required
321
- def list_project_group_stats(project_name, time_range_period: nil, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, order: nil, service_filter_version: nil, service_filter_resource_type: nil, alignment_time: nil, timed_count_duration: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
320
+ def list_project_group_stats(project_name, timed_count_duration: nil, page_token: nil, time_range_period: nil, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, service_filter_version: nil, order: nil, service_filter_resource_type: nil, alignment_time: nil, quota_user: nil, fields: nil, options: nil, &block)
322
321
  command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options)
323
322
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation
324
323
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse
325
324
  command.params['projectName'] = project_name unless project_name.nil?
325
+ command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil?
326
+ command.query['pageToken'] = page_token unless page_token.nil?
326
327
  command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
327
328
  command.query['alignment'] = alignment unless alignment.nil?
328
329
  command.query['groupId'] = group_id unless group_id.nil?
329
330
  command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil?
330
331
  command.query['pageSize'] = page_size unless page_size.nil?
331
- command.query['order'] = order unless order.nil?
332
332
  command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil?
333
+ command.query['order'] = order unless order.nil?
333
334
  command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
334
335
  command.query['alignmentTime'] = alignment_time unless alignment_time.nil?
335
- command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil?
336
- command.query['pageToken'] = page_token unless page_token.nil?
337
- command.query['fields'] = fields unless fields.nil?
338
336
  command.query['quotaUser'] = quota_user unless quota_user.nil?
337
+ command.query['fields'] = fields unless fields.nil?
339
338
  execute_or_queue_command(command, &block)
340
339
  end
341
340