google-api-client 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/MIGRATING.md +22 -7
  4. data/README.md +4 -8
  5. data/api_names.yaml +1210 -37815
  6. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
  14. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
  16. data/generated/google/apis/admin_reports_v1.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
  21. data/generated/google/apis/appengine_v1.rb +40 -0
  22. data/generated/google/apis/appengine_v1/classes.rb +2251 -0
  23. data/generated/google/apis/appengine_v1/representations.rb +858 -0
  24. data/generated/google/apis/appengine_v1/service.rb +894 -0
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +11 -6
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +26 -0
  29. data/generated/google/apis/books_v1/representations.rb +15 -0
  30. data/generated/google/apis/books_v1/service.rb +4 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
  35. data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
  36. data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
  37. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  38. data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
  39. data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
  40. data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
  41. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
  42. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
  43. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
  44. data/generated/google/apis/cloudfunctions_v1.rb +35 -0
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
  47. data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
  48. data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
  49. data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
  50. data/generated/google/apis/cloudkms_v1/service.rb +194 -194
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  60. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  61. data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
  62. data/generated/google/apis/compute_beta.rb +1 -1
  63. data/generated/google/apis/compute_beta/classes.rb +32 -7
  64. data/generated/google/apis/compute_beta/representations.rb +2 -0
  65. data/generated/google/apis/compute_beta/service.rb +11 -11
  66. data/generated/google/apis/compute_v1.rb +1 -1
  67. data/generated/google/apis/compute_v1/classes.rb +95 -2
  68. data/generated/google/apis/compute_v1/representations.rb +33 -0
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
  71. data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
  74. data/generated/google/apis/dataproc_v1/representations.rb +200 -200
  75. data/generated/google/apis/dataproc_v1/service.rb +356 -356
  76. data/generated/google/apis/datastore_v1.rb +4 -4
  77. data/generated/google/apis/datastore_v1/classes.rb +701 -690
  78. data/generated/google/apis/datastore_v1/representations.rb +160 -160
  79. data/generated/google/apis/datastore_v1/service.rb +52 -52
  80. data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
  81. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2.rb +1 -1
  83. data/generated/google/apis/drive_v2/classes.rb +158 -35
  84. data/generated/google/apis/drive_v2/representations.rb +39 -0
  85. data/generated/google/apis/drive_v2/service.rb +4 -4
  86. data/generated/google/apis/drive_v3.rb +1 -1
  87. data/generated/google/apis/drive_v3/classes.rb +162 -33
  88. data/generated/google/apis/drive_v3/representations.rb +39 -0
  89. data/generated/google/apis/drive_v3/service.rb +4 -4
  90. data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
  91. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
  92. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
  93. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
  94. data/generated/google/apis/firebaserules_v1.rb +41 -0
  95. data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
  96. data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
  97. data/generated/google/apis/firebaserules_v1/service.rb +495 -0
  98. data/generated/google/apis/games_v1/classes.rb +4 -0
  99. data/generated/google/apis/genomics_v1.rb +7 -7
  100. data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
  101. data/generated/google/apis/genomics_v1/representations.rb +387 -387
  102. data/generated/google/apis/genomics_v1/service.rb +1187 -1187
  103. data/generated/google/apis/gmail_v1/classes.rb +3 -0
  104. data/generated/google/apis/iam_v1.rb +1 -1
  105. data/generated/google/apis/iam_v1/classes.rb +123 -117
  106. data/generated/google/apis/iam_v1/representations.rb +33 -33
  107. data/generated/google/apis/iam_v1/service.rb +109 -109
  108. data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
  109. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  110. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  111. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  112. data/generated/google/apis/language_v1.rb +36 -0
  113. data/generated/google/apis/language_v1/classes.rb +757 -0
  114. data/generated/google/apis/language_v1/representations.rb +338 -0
  115. data/generated/google/apis/language_v1/service.rb +185 -0
  116. data/generated/google/apis/language_v1beta1/classes.rb +407 -407
  117. data/generated/google/apis/language_v1beta1/representations.rb +103 -103
  118. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  119. data/generated/google/apis/logging_v2.rb +46 -0
  120. data/generated/google/apis/logging_v2/classes.rb +1271 -0
  121. data/generated/google/apis/logging_v2/representations.rb +421 -0
  122. data/generated/google/apis/logging_v2/service.rb +1569 -0
  123. data/generated/google/apis/logging_v2beta1.rb +1 -1
  124. data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
  125. data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
  126. data/generated/google/apis/logging_v2beta1/service.rb +235 -235
  127. data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
  128. data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
  129. data/generated/google/apis/ml_v1.rb +34 -0
  130. data/generated/google/apis/ml_v1/classes.rb +1617 -0
  131. data/generated/google/apis/ml_v1/representations.rb +498 -0
  132. data/generated/google/apis/ml_v1/service.rb +769 -0
  133. data/generated/google/apis/monitoring_v3.rb +4 -4
  134. data/generated/google/apis/monitoring_v3/classes.rb +630 -630
  135. data/generated/google/apis/monitoring_v3/representations.rb +134 -134
  136. data/generated/google/apis/monitoring_v3/service.rb +240 -240
  137. data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
  138. data/generated/google/apis/partners_v2.rb +1 -1
  139. data/generated/google/apis/partners_v2/classes.rb +639 -639
  140. data/generated/google/apis/partners_v2/representations.rb +168 -168
  141. data/generated/google/apis/partners_v2/service.rb +381 -381
  142. data/generated/google/apis/people_v1.rb +10 -10
  143. data/generated/google/apis/people_v1/classes.rb +524 -524
  144. data/generated/google/apis/people_v1/representations.rb +143 -143
  145. data/generated/google/apis/people_v1/service.rb +30 -30
  146. data/generated/google/apis/plus_domains_v1.rb +1 -1
  147. data/generated/google/apis/plus_v1.rb +1 -1
  148. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
  149. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
  150. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
  151. data/generated/google/apis/pubsub_v1/classes.rb +175 -173
  152. data/generated/google/apis/pubsub_v1/representations.rb +53 -53
  153. data/generated/google/apis/pubsub_v1/service.rb +210 -210
  154. data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
  155. data/generated/google/apis/runtimeconfig_v1.rb +38 -0
  156. data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
  157. data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
  158. data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
  159. data/generated/google/apis/script_v1.rb +1 -1
  160. data/generated/google/apis/script_v1/classes.rb +6 -6
  161. data/generated/google/apis/script_v1/representations.rb +1 -1
  162. data/generated/google/apis/searchconsole_v1.rb +31 -0
  163. data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
  164. data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
  165. data/generated/google/apis/searchconsole_v1/service.rb +88 -0
  166. data/generated/google/apis/servicecontrol_v1.rb +38 -0
  167. data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
  168. data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
  169. data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
  170. data/generated/google/apis/servicemanagement_v1.rb +45 -0
  171. data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
  172. data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
  173. data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
  174. data/generated/google/apis/serviceuser_v1.rb +42 -0
  175. data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
  176. data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
  177. data/generated/google/apis/serviceuser_v1/service.rb +214 -0
  178. data/generated/google/apis/sheets_v4.rb +3 -3
  179. data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
  180. data/generated/google/apis/sheets_v4/representations.rb +381 -381
  181. data/generated/google/apis/sheets_v4/service.rb +48 -48
  182. data/generated/google/apis/slides_v1.rb +3 -3
  183. data/generated/google/apis/slides_v1/classes.rb +2860 -2860
  184. data/generated/google/apis/slides_v1/representations.rb +693 -693
  185. data/generated/google/apis/slides_v1/service.rb +30 -30
  186. data/generated/google/apis/sourcerepo_v1.rb +34 -0
  187. data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
  188. data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
  189. data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
  190. data/generated/google/apis/spanner_v1.rb +35 -0
  191. data/generated/google/apis/spanner_v1/classes.rb +3294 -0
  192. data/generated/google/apis/spanner_v1/representations.rb +984 -0
  193. data/generated/google/apis/spanner_v1/service.rb +1504 -0
  194. data/generated/google/apis/speech_v1beta1.rb +1 -1
  195. data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
  196. data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
  197. data/generated/google/apis/speech_v1beta1/service.rb +27 -27
  198. data/generated/google/apis/storage_v1.rb +1 -1
  199. data/generated/google/apis/storage_v1/classes.rb +131 -0
  200. data/generated/google/apis/storage_v1/representations.rb +51 -0
  201. data/generated/google/apis/storage_v1/service.rb +182 -0
  202. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  203. data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
  204. data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
  205. data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
  206. data/generated/google/apis/surveys_v2.rb +40 -0
  207. data/generated/google/apis/surveys_v2/classes.rb +806 -0
  208. data/generated/google/apis/surveys_v2/representations.rb +347 -0
  209. data/generated/google/apis/surveys_v2/service.rb +477 -0
  210. data/generated/google/apis/tagmanager_v2.rb +52 -0
  211. data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
  212. data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
  213. data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
  214. data/generated/google/apis/toolresults_v1beta3.rb +34 -0
  215. data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
  216. data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
  217. data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
  218. data/generated/google/apis/tracing_v1.rb +40 -0
  219. data/generated/google/apis/tracing_v1/classes.rb +664 -0
  220. data/generated/google/apis/tracing_v1/representations.rb +279 -0
  221. data/generated/google/apis/tracing_v1/service.rb +225 -0
  222. data/generated/google/apis/vision_v1.rb +1 -1
  223. data/generated/google/apis/vision_v1/classes.rb +1223 -1222
  224. data/generated/google/apis/vision_v1/representations.rb +234 -234
  225. data/generated/google/apis/vision_v1/service.rb +10 -10
  226. data/generated/google/apis/webfonts_v1.rb +33 -0
  227. data/generated/google/apis/webfonts_v1/classes.rb +113 -0
  228. data/generated/google/apis/webfonts_v1/representations.rb +62 -0
  229. data/generated/google/apis/webfonts_v1/service.rb +102 -0
  230. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  231. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  232. data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
  233. data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
  234. data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
  235. data/generated/google/apis/youtube_v3/classes.rb +1 -0
  236. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  237. data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
  238. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  239. data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
  240. data/lib/google/apis/generator/annotator.rb +5 -4
  241. data/lib/google/apis/generator/templates/_class.tmpl +3 -0
  242. data/lib/google/apis/version.rb +1 -1
  243. data/samples/cli/lib/samples/adsense.rb +99 -0
  244. data/samples/cli/lib/samples/analytics.rb +18 -0
  245. data/samples/cli/lib/samples/gmail.rb +33 -0
  246. data/samples/cli/lib/samples/vision.rb +69 -0
  247. metadata +89 -4
  248. data/sync.rb +0 -71
@@ -22,151 +22,225 @@ module Google
22
22
  module Apis
23
23
  module LoggingV2beta1
24
24
 
25
- class RequestLog
25
+ class LogLine
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class ListMonitoredResourceDescriptorsResponse
31
+ class ListLogMetricsResponse
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class SourceReference
37
+ class LogEntry
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class LogMetric
43
+ class Empty
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class WriteLogEntriesResponse
49
+ class SourceLocation
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class LogEntryOperation
55
+ class ListLogEntriesRequest
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class MonitoredResource
61
+ class RequestLog
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class WriteLogEntriesRequest
67
+ class ListMonitoredResourceDescriptorsResponse
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class LogSink
73
+ class SourceReference
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class ListLogsResponse
79
+ class LogEntryOperation
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class ListSinksResponse
85
+ class LogMetric
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class HttpRequest
91
+ class WriteLogEntriesResponse
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class LabelDescriptor
97
+ class MonitoredResource
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class MonitoredResourceDescriptor
103
+ class WriteLogEntriesRequest
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class LogEntrySourceLocation
109
+ class LogSink
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class ListLogEntriesResponse
115
+ class ListLogsResponse
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class LogLine
121
+ class HttpRequest
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class ListLogMetricsResponse
127
+ class ListSinksResponse
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class Empty
133
+ class LabelDescriptor
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class LogEntry
139
+ class MonitoredResourceDescriptor
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class SourceLocation
145
+ class LogEntrySourceLocation
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class ListLogEntriesRequest
151
+ class ListLogEntriesResponse
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class LogLine
158
+ # @private
159
+ class Representation < Google::Apis::Core::JsonRepresentation
160
+ property :severity, as: 'severity'
161
+ property :log_message, as: 'logMessage'
162
+ property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation
163
+
164
+ property :time, as: 'time'
165
+ end
166
+ end
167
+
168
+ class ListLogMetricsResponse
169
+ # @private
170
+ class Representation < Google::Apis::Core::JsonRepresentation
171
+ collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation
172
+
173
+ property :next_page_token, as: 'nextPageToken'
174
+ end
175
+ end
176
+
177
+ class LogEntry
178
+ # @private
179
+ class Representation < Google::Apis::Core::JsonRepresentation
180
+ property :log_name, as: 'logName'
181
+ property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
182
+
183
+ property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation
184
+
185
+ hash :json_payload, as: 'jsonPayload'
186
+ property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation
187
+
188
+ property :insert_id, as: 'insertId'
189
+ property :text_payload, as: 'textPayload'
190
+ hash :proto_payload, as: 'protoPayload'
191
+ hash :labels, as: 'labels'
192
+ property :trace, as: 'trace'
193
+ property :severity, as: 'severity'
194
+ property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation
195
+
196
+ property :timestamp, as: 'timestamp'
197
+ end
198
+ end
199
+
200
+ class Empty
201
+ # @private
202
+ class Representation < Google::Apis::Core::JsonRepresentation
203
+ end
204
+ end
205
+
206
+ class SourceLocation
207
+ # @private
208
+ class Representation < Google::Apis::Core::JsonRepresentation
209
+ property :line, as: 'line'
210
+ property :file, as: 'file'
211
+ property :function_name, as: 'functionName'
212
+ end
213
+ end
214
+
215
+ class ListLogEntriesRequest
216
+ # @private
217
+ class Representation < Google::Apis::Core::JsonRepresentation
218
+ property :page_token, as: 'pageToken'
219
+ property :page_size, as: 'pageSize'
220
+ property :order_by, as: 'orderBy'
221
+ collection :resource_names, as: 'resourceNames'
222
+ property :filter, as: 'filter'
223
+ collection :project_ids, as: 'projectIds'
224
+ end
225
+ end
226
+
157
227
  class RequestLog
158
228
  # @private
159
229
  class Representation < Google::Apis::Core::JsonRepresentation
230
+ collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
231
+
232
+ property :referrer, as: 'referrer'
233
+ property :task_queue_name, as: 'taskQueueName'
160
234
  property :request_id, as: 'requestId'
161
235
  property :nickname, as: 'nickname'
236
+ property :status, as: 'status'
162
237
  property :pending_time, as: 'pendingTime'
163
238
  property :resource, as: 'resource'
164
- property :status, as: 'status'
165
239
  property :task_name, as: 'taskName'
166
240
  property :url_map_entry, as: 'urlMapEntry'
167
241
  property :instance_index, as: 'instanceIndex'
168
- property :finished, as: 'finished'
169
242
  property :host, as: 'host'
243
+ property :finished, as: 'finished'
170
244
  property :http_version, as: 'httpVersion'
171
245
  property :start_time, as: 'startTime'
172
246
  property :latency, as: 'latency'
@@ -187,27 +261,33 @@ module Google
187
261
 
188
262
  property :response_size, as: 'responseSize'
189
263
  property :trace_id, as: 'traceId'
190
- collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
191
-
192
- property :task_queue_name, as: 'taskQueueName'
193
- property :referrer, as: 'referrer'
194
264
  end
195
265
  end
196
266
 
197
267
  class ListMonitoredResourceDescriptorsResponse
198
268
  # @private
199
269
  class Representation < Google::Apis::Core::JsonRepresentation
200
- property :next_page_token, as: 'nextPageToken'
201
270
  collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation
202
271
 
272
+ property :next_page_token, as: 'nextPageToken'
203
273
  end
204
274
  end
205
275
 
206
276
  class SourceReference
207
277
  # @private
208
278
  class Representation < Google::Apis::Core::JsonRepresentation
209
- property :revision_id, as: 'revisionId'
210
279
  property :repository, as: 'repository'
280
+ property :revision_id, as: 'revisionId'
281
+ end
282
+ end
283
+
284
+ class LogEntryOperation
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ property :producer, as: 'producer'
288
+ property :first, as: 'first'
289
+ property :last, as: 'last'
290
+ property :id, as: 'id'
211
291
  end
212
292
  end
213
293
 
@@ -227,16 +307,6 @@ module Google
227
307
  end
228
308
  end
229
309
 
230
- class LogEntryOperation
231
- # @private
232
- class Representation < Google::Apis::Core::JsonRepresentation
233
- property :last, as: 'last'
234
- property :id, as: 'id'
235
- property :producer, as: 'producer'
236
- property :first, as: 'first'
237
- end
238
- end
239
-
240
310
  class MonitoredResource
241
311
  # @private
242
312
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -248,50 +318,40 @@ module Google
248
318
  class WriteLogEntriesRequest
249
319
  # @private
250
320
  class Representation < Google::Apis::Core::JsonRepresentation
321
+ hash :labels, as: 'labels'
322
+ property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
323
+
251
324
  property :log_name, as: 'logName'
252
325
  collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
253
326
 
254
327
  property :partial_success, as: 'partialSuccess'
255
- hash :labels, as: 'labels'
256
- property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
257
-
258
328
  end
259
329
  end
260
330
 
261
331
  class LogSink
262
332
  # @private
263
333
  class Representation < Google::Apis::Core::JsonRepresentation
264
- property :destination, as: 'destination'
265
- property :filter, as: 'filter'
266
- property :end_time, as: 'endTime'
267
- property :start_time, as: 'startTime'
268
334
  property :writer_identity, as: 'writerIdentity'
335
+ property :start_time, as: 'startTime'
269
336
  property :output_version_format, as: 'outputVersionFormat'
270
337
  property :name, as: 'name'
338
+ property :filter, as: 'filter'
339
+ property :destination, as: 'destination'
340
+ property :end_time, as: 'endTime'
271
341
  end
272
342
  end
273
343
 
274
344
  class ListLogsResponse
275
345
  # @private
276
346
  class Representation < Google::Apis::Core::JsonRepresentation
277
- property :next_page_token, as: 'nextPageToken'
278
347
  collection :log_names, as: 'logNames'
279
- end
280
- end
281
-
282
- class ListSinksResponse
283
- # @private
284
- class Representation < Google::Apis::Core::JsonRepresentation
285
348
  property :next_page_token, as: 'nextPageToken'
286
- collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation
287
-
288
349
  end
289
350
  end
290
351
 
291
352
  class HttpRequest
292
353
  # @private
293
354
  class Representation < Google::Apis::Core::JsonRepresentation
294
- property :cache_lookup, as: 'cacheLookup'
295
355
  property :cache_hit, as: 'cacheHit'
296
356
  property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
297
357
  property :status, as: 'status'
@@ -305,115 +365,55 @@ module Google
305
365
  property :request_url, as: 'requestUrl'
306
366
  property :remote_ip, as: 'remoteIp'
307
367
  property :server_ip, as: 'serverIp'
368
+ property :cache_lookup, as: 'cacheLookup'
369
+ end
370
+ end
371
+
372
+ class ListSinksResponse
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation
376
+
377
+ property :next_page_token, as: 'nextPageToken'
308
378
  end
309
379
  end
310
380
 
311
381
  class LabelDescriptor
312
382
  # @private
313
383
  class Representation < Google::Apis::Core::JsonRepresentation
384
+ property :description, as: 'description'
314
385
  property :value_type, as: 'valueType'
315
386
  property :key, as: 'key'
316
- property :description, as: 'description'
317
387
  end
318
388
  end
319
389
 
320
390
  class MonitoredResourceDescriptor
321
391
  # @private
322
392
  class Representation < Google::Apis::Core::JsonRepresentation
323
- collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
324
-
325
- property :name, as: 'name'
326
393
  property :display_name, as: 'displayName'
327
394
  property :description, as: 'description'
328
395
  property :type, as: 'type'
396
+ collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
397
+
398
+ property :name, as: 'name'
329
399
  end
330
400
  end
331
401
 
332
402
  class LogEntrySourceLocation
333
403
  # @private
334
404
  class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :file, as: 'file'
335
406
  property :function, as: 'function'
336
407
  property :line, as: 'line'
337
- property :file, as: 'file'
338
408
  end
339
409
  end
340
410
 
341
411
  class ListLogEntriesResponse
342
412
  # @private
343
413
  class Representation < Google::Apis::Core::JsonRepresentation
344
- property :next_page_token, as: 'nextPageToken'
345
414
  collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
346
415
 
347
- end
348
- end
349
-
350
- class LogLine
351
- # @private
352
- class Representation < Google::Apis::Core::JsonRepresentation
353
- property :severity, as: 'severity'
354
- property :log_message, as: 'logMessage'
355
- property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation
356
-
357
- property :time, as: 'time'
358
- end
359
- end
360
-
361
- class ListLogMetricsResponse
362
- # @private
363
- class Representation < Google::Apis::Core::JsonRepresentation
364
416
  property :next_page_token, as: 'nextPageToken'
365
- collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation
366
-
367
- end
368
- end
369
-
370
- class Empty
371
- # @private
372
- class Representation < Google::Apis::Core::JsonRepresentation
373
- end
374
- end
375
-
376
- class LogEntry
377
- # @private
378
- class Representation < Google::Apis::Core::JsonRepresentation
379
- property :log_name, as: 'logName'
380
- property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation
381
-
382
- property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
383
-
384
- hash :json_payload, as: 'jsonPayload'
385
- property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation
386
-
387
- property :insert_id, as: 'insertId'
388
- property :text_payload, as: 'textPayload'
389
- hash :proto_payload, as: 'protoPayload'
390
- property :trace, as: 'trace'
391
- hash :labels, as: 'labels'
392
- property :severity, as: 'severity'
393
- property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation
394
-
395
- property :timestamp, as: 'timestamp'
396
- end
397
- end
398
-
399
- class SourceLocation
400
- # @private
401
- class Representation < Google::Apis::Core::JsonRepresentation
402
- property :function_name, as: 'functionName'
403
- property :line, as: 'line'
404
- property :file, as: 'file'
405
- end
406
- end
407
-
408
- class ListLogEntriesRequest
409
- # @private
410
- class Representation < Google::Apis::Core::JsonRepresentation
411
- property :order_by, as: 'orderBy'
412
- collection :resource_names, as: 'resourceNames'
413
- property :filter, as: 'filter'
414
- collection :project_ids, as: 'projectIds'
415
- property :page_token, as: 'pageToken'
416
- property :page_size, as: 'pageSize'
417
417
  end
418
418
  end
419
419
  end