google-api-client 0.9.8 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +63 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  20. data/generated/google/apis/admin_reports_v1.rb +3 -3
  21. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  22. data/generated/google/apis/adsense_v1_4.rb +1 -1
  23. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  24. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  26. data/generated/google/apis/analytics_v3.rb +1 -1
  27. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  28. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  29. data/generated/google/apis/analytics_v3/service.rb +217 -0
  30. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  31. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
  38. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  39. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
  43. data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  46. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  47. data/generated/google/apis/appstate_v1.rb +1 -1
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +277 -20
  50. data/generated/google/apis/bigquery_v2/representations.rb +86 -0
  51. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  52. data/generated/google/apis/books_v1.rb +2 -2
  53. data/generated/google/apis/books_v1/classes.rb +79 -1
  54. data/generated/google/apis/books_v1/representations.rb +34 -0
  55. data/generated/google/apis/books_v1/service.rb +7 -3
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/civicinfo_v2.rb +3 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  59. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  61. data/generated/google/apis/classroom_v1.rb +1 -1
  62. data/generated/google/apis/classroom_v1/classes.rb +183 -37
  63. data/generated/google/apis/classroom_v1/representations.rb +74 -9
  64. data/generated/google/apis/classroom_v1/service.rb +403 -38
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
  68. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  69. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  70. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  71. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
  74. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
  75. data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
  76. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +2299 -434
  82. data/generated/google/apis/compute_beta/representations.rb +752 -33
  83. data/generated/google/apis/compute_beta/service.rb +6067 -3153
  84. data/generated/google/apis/compute_v1.rb +1 -1
  85. data/generated/google/apis/compute_v1/classes.rb +1681 -207
  86. data/generated/google/apis/compute_v1/representations.rb +552 -0
  87. data/generated/google/apis/compute_v1/service.rb +2797 -1171
  88. data/generated/google/apis/content_v2.rb +1 -1
  89. data/generated/google/apis/content_v2/classes.rb +757 -1
  90. data/generated/google/apis/content_v2/representations.rb +337 -0
  91. data/generated/google/apis/content_v2/service.rb +244 -0
  92. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  93. data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
  94. data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
  95. data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
  96. data/generated/google/apis/dataproc_v1.rb +2 -2
  97. data/generated/google/apis/dataproc_v1/classes.rb +213 -68
  98. data/generated/google/apis/dataproc_v1/representations.rb +38 -0
  99. data/generated/google/apis/dataproc_v1/service.rb +78 -48
  100. data/generated/google/apis/datastore_v1.rb +38 -0
  101. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  102. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  103. data/generated/google/apis/datastore_v1/service.rb +259 -0
  104. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  105. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  106. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  107. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  111. data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
  112. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  113. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  114. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  115. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  116. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  117. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  118. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  119. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +1 -1
  122. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  123. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  124. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +27 -3
  129. data/generated/google/apis/drive_v2/representations.rb +4 -0
  130. data/generated/google/apis/drive_v2/service.rb +16 -3
  131. data/generated/google/apis/drive_v3.rb +1 -1
  132. data/generated/google/apis/drive_v3/classes.rb +50 -16
  133. data/generated/google/apis/drive_v3/representations.rb +4 -0
  134. data/generated/google/apis/drive_v3/service.rb +12 -2
  135. data/generated/google/apis/fitness_v1.rb +8 -2
  136. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  137. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  138. data/generated/google/apis/fitness_v1/service.rb +17 -18
  139. data/generated/google/apis/fusiontables_v2.rb +1 -1
  140. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_management_v1management.rb +1 -1
  143. data/generated/google/apis/games_v1.rb +1 -1
  144. data/generated/google/apis/genomics_v1.rb +2 -4
  145. data/generated/google/apis/genomics_v1/classes.rb +143 -34
  146. data/generated/google/apis/genomics_v1/representations.rb +48 -11
  147. data/generated/google/apis/genomics_v1/service.rb +35 -37
  148. data/generated/google/apis/gmail_v1.rb +10 -1
  149. data/generated/google/apis/gmail_v1/classes.rb +542 -4
  150. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  151. data/generated/google/apis/gmail_v1/service.rb +898 -1
  152. data/generated/google/apis/groupssettings_v1.rb +1 -1
  153. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  154. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  155. data/generated/google/apis/iam_v1.rb +2 -2
  156. data/generated/google/apis/iam_v1/classes.rb +181 -206
  157. data/generated/google/apis/iam_v1/representations.rb +36 -45
  158. data/generated/google/apis/iam_v1/service.rb +101 -67
  159. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  160. data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
  161. data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
  162. data/generated/google/apis/language_v1beta1.rb +36 -0
  163. data/generated/google/apis/language_v1beta1/classes.rb +599 -0
  164. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  165. data/generated/google/apis/language_v1beta1/service.rb +152 -0
  166. data/generated/google/apis/logging_v2beta1.rb +6 -6
  167. data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
  168. data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
  169. data/generated/google/apis/logging_v2beta1/service.rb +290 -209
  170. data/generated/google/apis/mirror_v1.rb +2 -2
  171. data/generated/google/apis/mirror_v1/service.rb +1 -1
  172. data/generated/google/apis/monitoring_v3.rb +45 -0
  173. data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
  174. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  175. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  176. data/generated/google/apis/oauth2_v2.rb +1 -1
  177. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  178. data/generated/google/apis/plus_domains_v1.rb +1 -1
  179. data/generated/google/apis/plus_v1.rb +1 -1
  180. data/generated/google/apis/pubsub_v1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  182. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  183. data/generated/google/apis/qpx_express_v1.rb +1 -1
  184. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  185. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  186. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  187. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  188. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  189. data/generated/google/apis/script_v1.rb +1 -1
  190. data/generated/google/apis/script_v1/classes.rb +6 -0
  191. data/generated/google/apis/script_v1/representations.rb +1 -0
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +910 -89
  194. data/generated/google/apis/sheets_v4/representations.rb +194 -10
  195. data/generated/google/apis/sheets_v4/service.rb +216 -49
  196. data/generated/google/apis/slides_v1.rb +49 -0
  197. data/generated/google/apis/slides_v1/classes.rb +3926 -0
  198. data/generated/google/apis/slides_v1/representations.rb +1722 -0
  199. data/generated/google/apis/slides_v1/service.rb +202 -0
  200. data/generated/google/apis/speech_v1beta1.rb +34 -0
  201. data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
  202. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  203. data/generated/google/apis/speech_v1beta1/service.rb +271 -0
  204. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  205. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
  206. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  207. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  208. data/generated/google/apis/storage_v1.rb +1 -1
  209. data/generated/google/apis/storage_v1/classes.rb +43 -18
  210. data/generated/google/apis/storage_v1/representations.rb +4 -1
  211. data/generated/google/apis/storage_v1/service.rb +5 -2
  212. data/generated/google/apis/translate_v2.rb +2 -2
  213. data/generated/google/apis/translate_v2/service.rb +1 -1
  214. data/generated/google/apis/vision_v1.rb +1 -1
  215. data/generated/google/apis/vision_v1/classes.rb +12 -11
  216. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  217. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  218. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  219. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  220. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  221. data/generated/google/apis/youtube_v3.rb +1 -1
  222. data/generated/google/apis/youtube_v3/classes.rb +183 -21
  223. data/generated/google/apis/youtube_v3/representations.rb +85 -4
  224. data/generated/google/apis/youtube_v3/service.rb +41 -5
  225. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  226. data/google-api-client.gemspec +2 -1
  227. data/lib/google/apis/core/api_command.rb +4 -0
  228. data/lib/google/apis/core/base_service.rb +10 -4
  229. data/lib/google/apis/core/download.rb +7 -2
  230. data/lib/google/apis/core/http_command.rb +5 -1
  231. data/lib/google/apis/core/upload.rb +7 -1
  232. data/lib/google/apis/errors.rb +2 -2
  233. data/lib/google/apis/generator/annotator.rb +6 -0
  234. data/lib/google/apis/version.rb +1 -1
  235. data/samples/cli/lib/samples/bigquery.rb +101 -0
  236. data/samples/cli/lib/samples/sheets.rb +61 -0
  237. data/sync.rb +71 -0
  238. metadata +55 -13
@@ -22,103 +22,103 @@ module Google
22
22
  module Apis
23
23
  module LoggingV2beta1
24
24
 
25
- class Empty
25
+ class ListLogEntriesResponse
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 WriteLogEntriesRequest
31
+ class ListSinksResponse
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 MonitoredResource
37
+ class SourceLocation
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 LogEntry
43
+ class LogSink
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 HttpRequest
49
+ class LogMetric
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 LogEntry
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 WriteLogEntriesResponse
61
+ class LogLine
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 ListLogEntriesRequest
67
+ class SourceReference
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 ListLogEntriesResponse
73
+ class MonitoredResource
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 Status
79
+ class WriteLogEntriesRequest
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 ListMonitoredResourceDescriptorsResponse
85
+ class LabelDescriptor
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 MonitoredResourceDescriptor
91
+ class ListLogMetricsResponse
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 MonitoredResourceDescriptor
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 ListSinksResponse
103
+ class ListMonitoredResourceDescriptorsResponse
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 LogSink
109
+ class LogEntryOperation
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 ListLogMetricsResponse
115
+ class Empty
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 LogMetric
121
+ class HttpRequest
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
@@ -130,141 +130,141 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class LogLine
133
+ class WriteLogEntriesResponse
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 SourceLocation
139
+ class ListLogEntriesRequest
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 SourceReference
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
145
+ class ListLogEntriesResponse
146
+ # @private
147
+ class Representation < Google::Apis::Core::JsonRepresentation
148
+ collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
147
149
 
148
- include Google::Apis::Core::JsonObjectSupport
150
+ property :next_page_token, as: 'nextPageToken'
151
+ end
149
152
  end
150
153
 
151
- class Empty
154
+ class ListSinksResponse
152
155
  # @private
153
156
  class Representation < Google::Apis::Core::JsonRepresentation
157
+ property :next_page_token, as: 'nextPageToken'
158
+ collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation
159
+
154
160
  end
155
161
  end
156
162
 
157
- class WriteLogEntriesRequest
163
+ class SourceLocation
158
164
  # @private
159
165
  class Representation < Google::Apis::Core::JsonRepresentation
160
- property :log_name, as: 'logName'
161
- property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
162
-
163
- hash :labels, as: 'labels'
164
- collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
166
+ property :file, as: 'file'
167
+ property :function_name, as: 'functionName'
168
+ property :line, as: 'line'
169
+ end
170
+ end
165
171
 
166
- property :partial_success, as: 'partialSuccess'
172
+ class LogSink
173
+ # @private
174
+ class Representation < Google::Apis::Core::JsonRepresentation
175
+ property :destination, as: 'destination'
176
+ property :filter, as: 'filter'
177
+ property :end_time, as: 'endTime'
178
+ property :name, as: 'name'
179
+ property :start_time, as: 'startTime'
180
+ property :output_version_format, as: 'outputVersionFormat'
181
+ property :writer_identity, as: 'writerIdentity'
167
182
  end
168
183
  end
169
184
 
170
- class MonitoredResource
185
+ class LogMetric
171
186
  # @private
172
187
  class Representation < Google::Apis::Core::JsonRepresentation
173
- property :type, as: 'type'
174
- hash :labels, as: 'labels'
188
+ property :description, as: 'description'
189
+ property :filter, as: 'filter'
190
+ property :name, as: 'name'
191
+ property :version, as: 'version'
175
192
  end
176
193
  end
177
194
 
178
195
  class LogEntry
179
196
  # @private
180
197
  class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :text_payload, as: 'textPayload'
199
+ property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation
200
+
201
+ hash :json_payload, as: 'jsonPayload'
202
+ hash :labels, as: 'labels'
181
203
  property :log_name, as: 'logName'
204
+ property :severity, as: 'severity'
182
205
  property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
183
206
 
184
207
  hash :proto_payload, as: 'protoPayload'
185
- property :text_payload, as: 'textPayload'
186
- hash :json_payload, as: 'jsonPayload'
187
208
  property :timestamp, as: 'timestamp'
188
- property :severity, as: 'severity'
189
209
  property :insert_id, as: 'insertId'
190
- property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation
191
-
192
- hash :labels, as: 'labels'
193
210
  property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation
194
211
 
195
212
  end
196
213
  end
197
214
 
198
- class HttpRequest
215
+ class LogLine
199
216
  # @private
200
217
  class Representation < Google::Apis::Core::JsonRepresentation
201
- property :request_method, as: 'requestMethod'
202
- property :request_url, as: 'requestUrl'
203
- property :request_size, as: 'requestSize'
204
- property :status, as: 'status'
205
- property :response_size, as: 'responseSize'
206
- property :user_agent, as: 'userAgent'
207
- property :remote_ip, as: 'remoteIp'
208
- property :referer, as: 'referer'
209
- property :cache_lookup, as: 'cacheLookup'
210
- property :cache_hit, as: 'cacheHit'
211
- property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
212
- property :cache_fill_bytes, as: 'cacheFillBytes'
213
- end
214
- end
218
+ property :time, as: 'time'
219
+ property :severity, as: 'severity'
220
+ property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation
215
221
 
216
- class LogEntryOperation
217
- # @private
218
- class Representation < Google::Apis::Core::JsonRepresentation
219
- property :id, as: 'id'
220
- property :producer, as: 'producer'
221
- property :first, as: 'first'
222
- property :last, as: 'last'
222
+ property :log_message, as: 'logMessage'
223
223
  end
224
224
  end
225
225
 
226
- class WriteLogEntriesResponse
226
+ class SourceReference
227
227
  # @private
228
228
  class Representation < Google::Apis::Core::JsonRepresentation
229
+ property :repository, as: 'repository'
230
+ property :revision_id, as: 'revisionId'
229
231
  end
230
232
  end
231
233
 
232
- class ListLogEntriesRequest
234
+ class MonitoredResource
233
235
  # @private
234
236
  class Representation < Google::Apis::Core::JsonRepresentation
235
- collection :project_ids, as: 'projectIds'
236
- property :filter, as: 'filter'
237
- property :order_by, as: 'orderBy'
238
- property :page_size, as: 'pageSize'
239
- property :page_token, as: 'pageToken'
240
- property :partial_success, as: 'partialSuccess'
237
+ hash :labels, as: 'labels'
238
+ property :type, as: 'type'
241
239
  end
242
240
  end
243
241
 
244
- class ListLogEntriesResponse
242
+ class WriteLogEntriesRequest
245
243
  # @private
246
244
  class Representation < Google::Apis::Core::JsonRepresentation
245
+ hash :labels, as: 'labels'
247
246
  collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
248
247
 
249
- property :next_page_token, as: 'nextPageToken'
250
- hash :project_id_errors, as: 'projectIdErrors', class: Google::Apis::LoggingV2beta1::Status, decorator: Google::Apis::LoggingV2beta1::Status::Representation
248
+ property :log_name, as: 'logName'
249
+ property :partial_success, as: 'partialSuccess'
250
+ property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation
251
251
 
252
252
  end
253
253
  end
254
254
 
255
- class Status
255
+ class LabelDescriptor
256
256
  # @private
257
257
  class Representation < Google::Apis::Core::JsonRepresentation
258
- property :code, as: 'code'
259
- property :message, as: 'message'
260
- collection :details, as: 'details'
258
+ property :description, as: 'description'
259
+ property :value_type, as: 'valueType'
260
+ property :key, as: 'key'
261
261
  end
262
262
  end
263
263
 
264
- class ListMonitoredResourceDescriptorsResponse
264
+ class ListLogMetricsResponse
265
265
  # @private
266
266
  class Representation < Google::Apis::Core::JsonRepresentation
267
- collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation
267
+ collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation
268
268
 
269
269
  property :next_page_token, as: 'nextPageToken'
270
270
  end
@@ -273,126 +273,115 @@ module Google
273
273
  class MonitoredResourceDescriptor
274
274
  # @private
275
275
  class Representation < Google::Apis::Core::JsonRepresentation
276
- property :name, as: 'name'
277
- property :type, as: 'type'
278
276
  property :display_name, as: 'displayName'
279
277
  property :description, as: 'description'
280
278
  collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
281
279
 
280
+ property :type, as: 'type'
281
+ property :name, as: 'name'
282
282
  end
283
283
  end
284
284
 
285
- class LabelDescriptor
286
- # @private
287
- class Representation < Google::Apis::Core::JsonRepresentation
288
- property :key, as: 'key'
289
- property :value_type, as: 'valueType'
290
- property :description, as: 'description'
291
- end
292
- end
293
-
294
- class ListSinksResponse
285
+ class ListMonitoredResourceDescriptorsResponse
295
286
  # @private
296
287
  class Representation < Google::Apis::Core::JsonRepresentation
297
- collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation
298
-
299
288
  property :next_page_token, as: 'nextPageToken'
289
+ collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation
290
+
300
291
  end
301
292
  end
302
293
 
303
- class LogSink
294
+ class LogEntryOperation
304
295
  # @private
305
296
  class Representation < Google::Apis::Core::JsonRepresentation
306
- property :name, as: 'name'
307
- property :destination, as: 'destination'
308
- property :filter, as: 'filter'
309
- property :output_version_format, as: 'outputVersionFormat'
297
+ property :producer, as: 'producer'
298
+ property :last, as: 'last'
299
+ property :first, as: 'first'
300
+ property :id, as: 'id'
310
301
  end
311
302
  end
312
303
 
313
- class ListLogMetricsResponse
304
+ class Empty
314
305
  # @private
315
306
  class Representation < Google::Apis::Core::JsonRepresentation
316
- collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation
317
-
318
- property :next_page_token, as: 'nextPageToken'
319
307
  end
320
308
  end
321
309
 
322
- class LogMetric
310
+ class HttpRequest
323
311
  # @private
324
312
  class Representation < Google::Apis::Core::JsonRepresentation
325
- property :name, as: 'name'
326
- property :description, as: 'description'
327
- property :filter, as: 'filter'
313
+ property :cache_lookup, as: 'cacheLookup'
314
+ property :response_size, as: 'responseSize'
315
+ property :status, as: 'status'
316
+ property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
317
+ property :referer, as: 'referer'
318
+ property :cache_hit, as: 'cacheHit'
319
+ property :request_url, as: 'requestUrl'
320
+ property :latency, as: 'latency'
321
+ property :cache_fill_bytes, as: 'cacheFillBytes'
322
+ property :request_method, as: 'requestMethod'
323
+ property :remote_ip, as: 'remoteIp'
324
+ property :server_ip, as: 'serverIp'
325
+ property :user_agent, as: 'userAgent'
326
+ property :request_size, as: 'requestSize'
328
327
  end
329
328
  end
330
329
 
331
330
  class RequestLog
332
331
  # @private
333
332
  class Representation < Google::Apis::Core::JsonRepresentation
334
- property :app_id, as: 'appId'
335
- property :module_id, as: 'moduleId'
336
- property :version_id, as: 'versionId'
333
+ property :response_size, as: 'responseSize'
337
334
  property :request_id, as: 'requestId'
338
- property :ip, as: 'ip'
339
- property :start_time, as: 'startTime'
340
- property :end_time, as: 'endTime'
341
- property :latency, as: 'latency'
342
- property :mega_cycles, as: 'megaCycles'
335
+ property :first, as: 'first'
343
336
  property :method_prop, as: 'method'
344
- property :resource, as: 'resource'
345
- property :http_version, as: 'httpVersion'
337
+ property :version_id, as: 'versionId'
346
338
  property :status, as: 'status'
347
- property :response_size, as: 'responseSize'
348
- property :referrer, as: 'referrer'
349
- property :user_agent, as: 'userAgent'
339
+ property :was_loading_request, as: 'wasLoadingRequest'
340
+ property :ip, as: 'ip'
350
341
  property :nickname, as: 'nickname'
351
- property :url_map_entry, as: 'urlMapEntry'
352
- property :host, as: 'host'
353
- property :cost, as: 'cost'
354
342
  property :task_queue_name, as: 'taskQueueName'
355
- property :task_name, as: 'taskName'
356
- property :was_loading_request, as: 'wasLoadingRequest'
357
343
  property :pending_time, as: 'pendingTime'
358
344
  property :instance_index, as: 'instanceIndex'
359
- property :finished, as: 'finished'
360
- property :first, as: 'first'
361
- property :instance_id, as: 'instanceId'
362
- collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
363
-
364
- property :app_engine_release, as: 'appEngineRelease'
365
- property :trace_id, as: 'traceId'
366
345
  collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation
367
346
 
368
- end
369
- end
370
-
371
- class LogLine
372
- # @private
373
- class Representation < Google::Apis::Core::JsonRepresentation
374
- property :time, as: 'time'
375
- property :severity, as: 'severity'
376
- property :log_message, as: 'logMessage'
377
- property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation
347
+ property :module_id, as: 'moduleId'
348
+ property :host, as: 'host'
349
+ property :latency, as: 'latency'
350
+ property :url_map_entry, as: 'urlMapEntry'
351
+ property :end_time, as: 'endTime'
352
+ collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
378
353
 
354
+ property :mega_cycles, as: 'megaCycles'
355
+ property :app_id, as: 'appId'
356
+ property :trace_id, as: 'traceId'
357
+ property :task_name, as: 'taskName'
358
+ property :cost, as: 'cost'
359
+ property :instance_id, as: 'instanceId'
360
+ property :start_time, as: 'startTime'
361
+ property :app_engine_release, as: 'appEngineRelease'
362
+ property :resource, as: 'resource'
363
+ property :http_version, as: 'httpVersion'
364
+ property :referrer, as: 'referrer'
365
+ property :user_agent, as: 'userAgent'
366
+ property :finished, as: 'finished'
379
367
  end
380
368
  end
381
369
 
382
- class SourceLocation
370
+ class WriteLogEntriesResponse
383
371
  # @private
384
372
  class Representation < Google::Apis::Core::JsonRepresentation
385
- property :file, as: 'file'
386
- property :line, as: 'line'
387
- property :function_name, as: 'functionName'
388
373
  end
389
374
  end
390
375
 
391
- class SourceReference
376
+ class ListLogEntriesRequest
392
377
  # @private
393
378
  class Representation < Google::Apis::Core::JsonRepresentation
394
- property :repository, as: 'repository'
395
- property :revision_id, as: 'revisionId'
379
+ property :filter, as: 'filter'
380
+ collection :project_ids, as: 'projectIds'
381
+ collection :resource_names, as: 'resourceNames'
382
+ property :page_size, as: 'pageSize'
383
+ property :order_by, as: 'orderBy'
384
+ property :page_token, as: 'pageToken'
396
385
  end
397
386
  end
398
387
  end