google-api-client 0.9.20 → 0.9.21

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