google-api-client 0.9.28 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module LanguageV1beta1
|
24
24
|
|
25
|
+
class PartOfSpeech
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AnalyzeSyntaxRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class AnalyzeSentimentResponse
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -34,13 +46,13 @@ module Google
|
|
34
46
|
include Google::Apis::Core::JsonObjectSupport
|
35
47
|
end
|
36
48
|
|
37
|
-
class
|
49
|
+
class Entity
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
40
52
|
include Google::Apis::Core::JsonObjectSupport
|
41
53
|
end
|
42
54
|
|
43
|
-
class
|
55
|
+
class AnalyzeSyntaxResponse
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
46
58
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -70,13 +82,13 @@ module Google
|
|
70
82
|
include Google::Apis::Core::JsonObjectSupport
|
71
83
|
end
|
72
84
|
|
73
|
-
class
|
85
|
+
class Token
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
76
88
|
include Google::Apis::Core::JsonObjectSupport
|
77
89
|
end
|
78
90
|
|
79
|
-
class
|
91
|
+
class TextSpan
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
93
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -88,13 +100,13 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
91
|
-
class
|
103
|
+
class Features
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
105
|
|
94
106
|
include Google::Apis::Core::JsonObjectSupport
|
95
107
|
end
|
96
108
|
|
97
|
-
class
|
109
|
+
class EntityMention
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
100
112
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -112,38 +124,53 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
115
|
-
class
|
127
|
+
class Sentiment
|
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
|
133
|
+
class AnalyzeEntitiesRequest
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
124
136
|
include Google::Apis::Core::JsonObjectSupport
|
125
137
|
end
|
126
138
|
|
127
139
|
class PartOfSpeech
|
128
|
-
|
129
|
-
|
130
|
-
|
140
|
+
# @private
|
141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
142
|
+
property :reciprocity, as: 'reciprocity'
|
143
|
+
property :form, as: 'form'
|
144
|
+
property :number, as: 'number'
|
145
|
+
property :voice, as: 'voice'
|
146
|
+
property :aspect, as: 'aspect'
|
147
|
+
property :mood, as: 'mood'
|
148
|
+
property :tag, as: 'tag'
|
149
|
+
property :gender, as: 'gender'
|
150
|
+
property :person, as: 'person'
|
151
|
+
property :proper, as: 'proper'
|
152
|
+
property :case, as: 'case'
|
153
|
+
property :tense, as: 'tense'
|
154
|
+
end
|
131
155
|
end
|
132
156
|
|
133
157
|
class AnalyzeSyntaxRequest
|
134
|
-
|
158
|
+
# @private
|
159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
+
property :encoding_type, as: 'encodingType'
|
161
|
+
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
135
162
|
|
136
|
-
|
163
|
+
end
|
137
164
|
end
|
138
165
|
|
139
166
|
class AnalyzeSentimentResponse
|
140
167
|
# @private
|
141
168
|
class Representation < Google::Apis::Core::JsonRepresentation
|
169
|
+
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
170
|
+
|
142
171
|
property :language, as: 'language'
|
143
172
|
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
144
173
|
|
145
|
-
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
146
|
-
|
147
174
|
end
|
148
175
|
end
|
149
176
|
|
@@ -156,17 +183,6 @@ module Google
|
|
156
183
|
end
|
157
184
|
end
|
158
185
|
|
159
|
-
class AnalyzeSyntaxResponse
|
160
|
-
# @private
|
161
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
162
|
-
property :language, as: 'language'
|
163
|
-
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
164
|
-
|
165
|
-
collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation
|
166
|
-
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
186
|
class Entity
|
171
187
|
# @private
|
172
188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -179,6 +195,17 @@ module Google
|
|
179
195
|
end
|
180
196
|
end
|
181
197
|
|
198
|
+
class AnalyzeSyntaxResponse
|
199
|
+
# @private
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
201
|
+
collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation
|
202
|
+
|
203
|
+
property :language, as: 'language'
|
204
|
+
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
205
|
+
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
182
209
|
class AnnotateTextRequest
|
183
210
|
# @private
|
184
211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -193,6 +220,8 @@ module Google
|
|
193
220
|
class AnnotateTextResponse
|
194
221
|
# @private
|
195
222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
223
|
+
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
224
|
+
|
196
225
|
property :language, as: 'language'
|
197
226
|
collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation
|
198
227
|
|
@@ -200,8 +229,6 @@ module Google
|
|
200
229
|
|
201
230
|
collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation
|
202
231
|
|
203
|
-
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation
|
204
|
-
|
205
232
|
end
|
206
233
|
end
|
207
234
|
|
@@ -217,47 +244,38 @@ module Google
|
|
217
244
|
class DependencyEdge
|
218
245
|
# @private
|
219
246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
220
|
-
property :head_token_index, as: 'headTokenIndex'
|
221
247
|
property :label, as: 'label'
|
222
|
-
|
223
|
-
end
|
224
|
-
|
225
|
-
class TextSpan
|
226
|
-
# @private
|
227
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
228
|
-
property :begin_offset, as: 'beginOffset'
|
229
|
-
property :content, as: 'content'
|
248
|
+
property :head_token_index, as: 'headTokenIndex'
|
230
249
|
end
|
231
250
|
end
|
232
251
|
|
233
252
|
class Token
|
234
253
|
# @private
|
235
254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
-
property :lemma, as: 'lemma'
|
237
255
|
property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation
|
238
256
|
|
239
257
|
property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation
|
240
258
|
|
241
259
|
property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation
|
242
260
|
|
261
|
+
property :lemma, as: 'lemma'
|
243
262
|
end
|
244
263
|
end
|
245
264
|
|
246
|
-
class
|
265
|
+
class TextSpan
|
247
266
|
# @private
|
248
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
249
|
-
|
250
|
-
property :
|
251
|
-
property :message, as: 'message'
|
268
|
+
property :begin_offset, as: 'beginOffset'
|
269
|
+
property :content, as: 'content'
|
252
270
|
end
|
253
271
|
end
|
254
272
|
|
255
|
-
class
|
273
|
+
class Status
|
256
274
|
# @private
|
257
275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
-
|
259
|
-
|
260
|
-
property :
|
276
|
+
collection :details, as: 'details'
|
277
|
+
property :code, as: 'code'
|
278
|
+
property :message, as: 'message'
|
261
279
|
end
|
262
280
|
end
|
263
281
|
|
@@ -270,13 +288,22 @@ module Google
|
|
270
288
|
end
|
271
289
|
end
|
272
290
|
|
291
|
+
class EntityMention
|
292
|
+
# @private
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
+
property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation
|
295
|
+
|
296
|
+
property :type, as: 'type'
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
273
300
|
class Document
|
274
301
|
# @private
|
275
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
-
property :gcs_content_uri, as: 'gcsContentUri'
|
277
303
|
property :language, as: 'language'
|
278
304
|
property :type, as: 'type'
|
279
305
|
property :content, as: 'content'
|
306
|
+
property :gcs_content_uri, as: 'gcsContentUri'
|
280
307
|
end
|
281
308
|
end
|
282
309
|
|
@@ -290,15 +317,6 @@ module Google
|
|
290
317
|
end
|
291
318
|
end
|
292
319
|
|
293
|
-
class AnalyzeEntitiesRequest
|
294
|
-
# @private
|
295
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
296
|
-
property :encoding_type, as: 'encodingType'
|
297
|
-
property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation
|
298
|
-
|
299
|
-
end
|
300
|
-
end
|
301
|
-
|
302
320
|
class Sentiment
|
303
321
|
# @private
|
304
322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -308,25 +326,7 @@ module Google
|
|
308
326
|
end
|
309
327
|
end
|
310
328
|
|
311
|
-
class
|
312
|
-
# @private
|
313
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
-
property :case, as: 'case'
|
315
|
-
property :tense, as: 'tense'
|
316
|
-
property :reciprocity, as: 'reciprocity'
|
317
|
-
property :form, as: 'form'
|
318
|
-
property :number, as: 'number'
|
319
|
-
property :voice, as: 'voice'
|
320
|
-
property :aspect, as: 'aspect'
|
321
|
-
property :mood, as: 'mood'
|
322
|
-
property :tag, as: 'tag'
|
323
|
-
property :gender, as: 'gender'
|
324
|
-
property :person, as: 'person'
|
325
|
-
property :proper, as: 'proper'
|
326
|
-
end
|
327
|
-
end
|
328
|
-
|
329
|
-
class AnalyzeSyntaxRequest
|
329
|
+
class AnalyzeEntitiesRequest
|
330
330
|
# @private
|
331
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
332
332
|
property :encoding_type, as: 'encodingType'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
26
26
|
module LoggingV2beta1
|
27
27
|
VERSION = 'V2beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170210'
|
29
29
|
|
30
30
|
# View your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
@@ -26,11 +26,6 @@ module Google
|
|
26
26
|
class ListMonitoredResourceDescriptorsResponse
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# A list of resource descriptors.
|
30
|
-
# Corresponds to the JSON property `resourceDescriptors`
|
31
|
-
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
32
|
-
attr_accessor :resource_descriptors
|
33
|
-
|
34
29
|
# If there might be more results than those appearing in this response, then
|
35
30
|
# nextPageToken is included. To get the next set of results, call this method
|
36
31
|
# again using the value of nextPageToken as pageToken.
|
@@ -38,14 +33,19 @@ module Google
|
|
38
33
|
# @return [String]
|
39
34
|
attr_accessor :next_page_token
|
40
35
|
|
36
|
+
# A list of resource descriptors.
|
37
|
+
# Corresponds to the JSON property `resourceDescriptors`
|
38
|
+
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
39
|
+
attr_accessor :resource_descriptors
|
40
|
+
|
41
41
|
def initialize(**args)
|
42
42
|
update!(**args)
|
43
43
|
end
|
44
44
|
|
45
45
|
# Update properties of this object
|
46
46
|
def update!(**args)
|
47
|
-
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
48
47
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
48
|
+
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -54,26 +54,26 @@ module Google
|
|
54
54
|
class SourceReference
|
55
55
|
include Google::Apis::Core::Hashable
|
56
56
|
|
57
|
-
# The canonical and persistent identifier of the deployed revision. Example (git)
|
58
|
-
# : "0035781c50ec7aa23385dc841529ce8a4b70db1b"
|
59
|
-
# Corresponds to the JSON property `revisionId`
|
60
|
-
# @return [String]
|
61
|
-
attr_accessor :revision_id
|
62
|
-
|
63
57
|
# Optional. A URI string identifying the repository. Example: "https://github.
|
64
58
|
# com/GoogleCloudPlatform/kubernetes.git"
|
65
59
|
# Corresponds to the JSON property `repository`
|
66
60
|
# @return [String]
|
67
61
|
attr_accessor :repository
|
68
62
|
|
63
|
+
# The canonical and persistent identifier of the deployed revision. Example (git)
|
64
|
+
# : "0035781c50ec7aa23385dc841529ce8a4b70db1b"
|
65
|
+
# Corresponds to the JSON property `revisionId`
|
66
|
+
# @return [String]
|
67
|
+
attr_accessor :revision_id
|
68
|
+
|
69
69
|
def initialize(**args)
|
70
70
|
update!(**args)
|
71
71
|
end
|
72
72
|
|
73
73
|
# Update properties of this object
|
74
74
|
def update!(**args)
|
75
|
-
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
76
75
|
@repository = args[:repository] if args.key?(:repository)
|
76
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
@@ -223,10 +223,85 @@ module Google
|
|
223
223
|
end
|
224
224
|
end
|
225
225
|
|
226
|
+
# The parameters to WriteLogEntries.
|
227
|
+
class WriteLogEntriesRequest
|
228
|
+
include Google::Apis::Core::Hashable
|
229
|
+
|
230
|
+
# Optional. Default labels that are added to the labels field of all log entries
|
231
|
+
# in entries. If a log entry already has a label with the same key as a label in
|
232
|
+
# this parameter, then the log entry's label is not changed. See LogEntry.
|
233
|
+
# Corresponds to the JSON property `labels`
|
234
|
+
# @return [Hash<String,String>]
|
235
|
+
attr_accessor :labels
|
236
|
+
|
237
|
+
# An object representing a resource that can be used for monitoring, logging,
|
238
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
239
|
+
# databases, and storage devices such as disks. The type field identifies a
|
240
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
241
|
+
# Information in the labels field identifies the actual resource and its
|
242
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
243
|
+
# VM instance could be represented by the following object, because the
|
244
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
245
|
+
# zone":
|
246
|
+
# ` "type": "gce_instance",
|
247
|
+
# "labels": ` "instance_id": "12345678901234",
|
248
|
+
# "zone": "us-central1-a" ``
|
249
|
+
# Corresponds to the JSON property `resource`
|
250
|
+
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
251
|
+
attr_accessor :resource
|
252
|
+
|
253
|
+
# Optional. A default log resource name that is assigned to all log entries in
|
254
|
+
# entries that do not specify a value for log_name:
|
255
|
+
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
256
|
+
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
257
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
258
|
+
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
259
|
+
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
|
260
|
+
# or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
261
|
+
# 2Factivity". For more information about log names, see LogEntry.
|
262
|
+
# Corresponds to the JSON property `logName`
|
263
|
+
# @return [String]
|
264
|
+
attr_accessor :log_name
|
265
|
+
|
266
|
+
# Required. The log entries to write. Values supplied for the fields log_name,
|
267
|
+
# resource, and labels in this entries.write request are added to those log
|
268
|
+
# entries that do not provide their own values for the fields.To improve
|
269
|
+
# throughput and to avoid exceeding the quota limit for calls to entries.write,
|
270
|
+
# you should write multiple log entries at once rather than calling this method
|
271
|
+
# for each individual log entry.
|
272
|
+
# Corresponds to the JSON property `entries`
|
273
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
274
|
+
attr_accessor :entries
|
275
|
+
|
276
|
+
# Optional. Whether valid entries should be written even if some other entries
|
277
|
+
# fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
|
278
|
+
# written, the response status will be the error associated with one of the
|
279
|
+
# failed entries and include error details in the form of
|
280
|
+
# WriteLogEntriesPartialErrors.
|
281
|
+
# Corresponds to the JSON property `partialSuccess`
|
282
|
+
# @return [Boolean]
|
283
|
+
attr_accessor :partial_success
|
284
|
+
alias_method :partial_success?, :partial_success
|
285
|
+
|
286
|
+
def initialize(**args)
|
287
|
+
update!(**args)
|
288
|
+
end
|
289
|
+
|
290
|
+
# Update properties of this object
|
291
|
+
def update!(**args)
|
292
|
+
@labels = args[:labels] if args.key?(:labels)
|
293
|
+
@resource = args[:resource] if args.key?(:resource)
|
294
|
+
@log_name = args[:log_name] if args.key?(:log_name)
|
295
|
+
@entries = args[:entries] if args.key?(:entries)
|
296
|
+
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
226
300
|
# Describes a sink used to export log entries to one of the following
|
227
301
|
# destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a
|
228
302
|
# Cloud Pub/Sub topic. A logs filter controls which log entries are exported.
|
229
|
-
# The sink must be created within a project or
|
303
|
+
# The sink must be created within a project, organization, billing account, or
|
304
|
+
# folder.
|
230
305
|
class LogSink
|
231
306
|
include Google::Apis::Core::Hashable
|
232
307
|
|
@@ -238,6 +313,15 @@ module Google
|
|
238
313
|
# @return [String]
|
239
314
|
attr_accessor :name
|
240
315
|
|
316
|
+
# Optional. An advanced logs filter. The only exported log entries are those
|
317
|
+
# that are in the resource owning the sink and that match the filter. The filter
|
318
|
+
# must use the log entry format specified by the output_version_format parameter.
|
319
|
+
# For example, in the v2 format:
|
320
|
+
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
321
|
+
# Corresponds to the JSON property `filter`
|
322
|
+
# @return [String]
|
323
|
+
attr_accessor :filter
|
324
|
+
|
241
325
|
# Required. The export destination:
|
242
326
|
# "storage.googleapis.com/[GCS_BUCKET]"
|
243
327
|
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
@@ -249,15 +333,6 @@ module Google
|
|
249
333
|
# @return [String]
|
250
334
|
attr_accessor :destination
|
251
335
|
|
252
|
-
# Optional. An advanced logs filter. The only exported log entries are those
|
253
|
-
# that are in the resource owning the sink and that match the filter. The filter
|
254
|
-
# must use the log entry format specified by the output_version_format parameter.
|
255
|
-
# For example, in the v2 format:
|
256
|
-
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
257
|
-
# Corresponds to the JSON property `filter`
|
258
|
-
# @return [String]
|
259
|
-
attr_accessor :filter
|
260
|
-
|
261
336
|
# Optional. The time at which this sink will stop exporting log entries. Log
|
262
337
|
# entries are exported only if their timestamp is earlier than the end time. If
|
263
338
|
# this field is not supplied, there is no end time. If both a start time and an
|
@@ -300,8 +375,8 @@ module Google
|
|
300
375
|
# Update properties of this object
|
301
376
|
def update!(**args)
|
302
377
|
@name = args[:name] if args.key?(:name)
|
303
|
-
@destination = args[:destination] if args.key?(:destination)
|
304
378
|
@filter = args[:filter] if args.key?(:filter)
|
379
|
+
@destination = args[:destination] if args.key?(:destination)
|
305
380
|
@end_time = args[:end_time] if args.key?(:end_time)
|
306
381
|
@start_time = args[:start_time] if args.key?(:start_time)
|
307
382
|
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
@@ -309,82 +384,16 @@ module Google
|
|
309
384
|
end
|
310
385
|
end
|
311
386
|
|
312
|
-
# The parameters to WriteLogEntries.
|
313
|
-
class WriteLogEntriesRequest
|
314
|
-
include Google::Apis::Core::Hashable
|
315
|
-
|
316
|
-
# Optional. Default labels that are added to the labels field of all log entries
|
317
|
-
# in entries. If a log entry already has a label with the same key as a label in
|
318
|
-
# this parameter, then the log entry's label is not changed. See LogEntry.
|
319
|
-
# Corresponds to the JSON property `labels`
|
320
|
-
# @return [Hash<String,String>]
|
321
|
-
attr_accessor :labels
|
322
|
-
|
323
|
-
# An object representing a resource that can be used for monitoring, logging,
|
324
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
325
|
-
# databases, and storage devices such as disks. The type field identifies a
|
326
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
327
|
-
# Information in the labels field identifies the actual resource and its
|
328
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
329
|
-
# VM instance could be represented by the following object, because the
|
330
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
331
|
-
# zone":
|
332
|
-
# ` "type": "gce_instance",
|
333
|
-
# "labels": ` "instance_id": "12345678901234",
|
334
|
-
# "zone": "us-central1-a" ``
|
335
|
-
# Corresponds to the JSON property `resource`
|
336
|
-
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
337
|
-
attr_accessor :resource
|
338
|
-
|
339
|
-
# Optional. A default log resource name that is assigned to all log entries in
|
340
|
-
# entries that do not specify a value for log_name:
|
341
|
-
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
342
|
-
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
343
|
-
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
|
344
|
-
# or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
345
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
346
|
-
# Corresponds to the JSON property `logName`
|
347
|
-
# @return [String]
|
348
|
-
attr_accessor :log_name
|
349
|
-
|
350
|
-
# Required. The log entries to write. Values supplied for the fields log_name,
|
351
|
-
# resource, and labels in this entries.write request are added to those log
|
352
|
-
# entries that do not provide their own values for the fields.To improve
|
353
|
-
# throughput and to avoid exceeding the quota limit for calls to entries.write,
|
354
|
-
# you should write multiple log entries at once rather than calling this method
|
355
|
-
# for each individual log entry.
|
356
|
-
# Corresponds to the JSON property `entries`
|
357
|
-
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
358
|
-
attr_accessor :entries
|
359
|
-
|
360
|
-
# Optional. Whether valid entries should be written even if some other entries
|
361
|
-
# fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
|
362
|
-
# written, the response status will be the error associated with one of the
|
363
|
-
# failed entries and include error details in the form of
|
364
|
-
# WriteLogEntriesPartialErrors.
|
365
|
-
# Corresponds to the JSON property `partialSuccess`
|
366
|
-
# @return [Boolean]
|
367
|
-
attr_accessor :partial_success
|
368
|
-
alias_method :partial_success?, :partial_success
|
369
|
-
|
370
|
-
def initialize(**args)
|
371
|
-
update!(**args)
|
372
|
-
end
|
373
|
-
|
374
|
-
# Update properties of this object
|
375
|
-
def update!(**args)
|
376
|
-
@labels = args[:labels] if args.key?(:labels)
|
377
|
-
@resource = args[:resource] if args.key?(:resource)
|
378
|
-
@log_name = args[:log_name] if args.key?(:log_name)
|
379
|
-
@entries = args[:entries] if args.key?(:entries)
|
380
|
-
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
381
|
-
end
|
382
|
-
end
|
383
|
-
|
384
387
|
# Result returned from ListLogs.
|
385
388
|
class ListLogsResponse
|
386
389
|
include Google::Apis::Core::Hashable
|
387
390
|
|
391
|
+
# A list of log names. For example, "projects/my-project/syslog" or "
|
392
|
+
# organizations/123/cloudresourcemanager.googleapis.com%2Factivity".
|
393
|
+
# Corresponds to the JSON property `logNames`
|
394
|
+
# @return [Array<String>]
|
395
|
+
attr_accessor :log_names
|
396
|
+
|
388
397
|
# If there might be more results than those appearing in this response, then
|
389
398
|
# nextPageToken is included. To get the next set of results, call this method
|
390
399
|
# again using the value of nextPageToken as pageToken.
|
@@ -392,20 +401,14 @@ module Google
|
|
392
401
|
# @return [String]
|
393
402
|
attr_accessor :next_page_token
|
394
403
|
|
395
|
-
# A list of log names. For example, "projects/my-project/syslog" or "
|
396
|
-
# organizations/123/cloudresourcemanager.googleapis.com%2Factivity".
|
397
|
-
# Corresponds to the JSON property `logNames`
|
398
|
-
# @return [Array<String>]
|
399
|
-
attr_accessor :log_names
|
400
|
-
|
401
404
|
def initialize(**args)
|
402
405
|
update!(**args)
|
403
406
|
end
|
404
407
|
|
405
408
|
# Update properties of this object
|
406
409
|
def update!(**args)
|
407
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
408
410
|
@log_names = args[:log_names] if args.key?(:log_names)
|
411
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
409
412
|
end
|
410
413
|
end
|
411
414
|
|
@@ -415,6 +418,47 @@ module Google
|
|
415
418
|
class HttpRequest
|
416
419
|
include Google::Apis::Core::Hashable
|
417
420
|
|
421
|
+
# The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
|
422
|
+
# Windows 98; Q312461; .NET CLR 1.0.3705)".
|
423
|
+
# Corresponds to the JSON property `userAgent`
|
424
|
+
# @return [String]
|
425
|
+
attr_accessor :user_agent
|
426
|
+
|
427
|
+
# The request processing latency on the server, from the time the request was
|
428
|
+
# received until the response was sent.
|
429
|
+
# Corresponds to the JSON property `latency`
|
430
|
+
# @return [String]
|
431
|
+
attr_accessor :latency
|
432
|
+
|
433
|
+
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
434
|
+
# fill was attempted.
|
435
|
+
# Corresponds to the JSON property `cacheFillBytes`
|
436
|
+
# @return [String]
|
437
|
+
attr_accessor :cache_fill_bytes
|
438
|
+
|
439
|
+
# The request method. Examples: "GET", "HEAD", "PUT", "POST".
|
440
|
+
# Corresponds to the JSON property `requestMethod`
|
441
|
+
# @return [String]
|
442
|
+
attr_accessor :request_method
|
443
|
+
|
444
|
+
# The size of the HTTP response message sent back to the client, in bytes,
|
445
|
+
# including the response headers and the response body.
|
446
|
+
# Corresponds to the JSON property `responseSize`
|
447
|
+
# @return [String]
|
448
|
+
attr_accessor :response_size
|
449
|
+
|
450
|
+
# The size of the HTTP request message in bytes, including the request headers
|
451
|
+
# and the request body.
|
452
|
+
# Corresponds to the JSON property `requestSize`
|
453
|
+
# @return [String]
|
454
|
+
attr_accessor :request_size
|
455
|
+
|
456
|
+
# The scheme (http, https), the host name, the path and the query portion of the
|
457
|
+
# URL that was requested. Example: "http://example.com/some/info?color=red".
|
458
|
+
# Corresponds to the JSON property `requestUrl`
|
459
|
+
# @return [String]
|
460
|
+
attr_accessor :request_url
|
461
|
+
|
418
462
|
# The IP address (IPv4 or IPv6) of the origin server that the request was sent
|
419
463
|
# to.
|
420
464
|
# Corresponds to the JSON property `serverIp`
|
@@ -457,53 +501,19 @@ module Google
|
|
457
501
|
# @return [String]
|
458
502
|
attr_accessor :referer
|
459
503
|
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
# @return [String]
|
464
|
-
attr_accessor :user_agent
|
465
|
-
|
466
|
-
# The request processing latency on the server, from the time the request was
|
467
|
-
# received until the response was sent.
|
468
|
-
# Corresponds to the JSON property `latency`
|
469
|
-
# @return [String]
|
470
|
-
attr_accessor :latency
|
471
|
-
|
472
|
-
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
473
|
-
# fill was attempted.
|
474
|
-
# Corresponds to the JSON property `cacheFillBytes`
|
475
|
-
# @return [String]
|
476
|
-
attr_accessor :cache_fill_bytes
|
477
|
-
|
478
|
-
# The request method. Examples: "GET", "HEAD", "PUT", "POST".
|
479
|
-
# Corresponds to the JSON property `requestMethod`
|
480
|
-
# @return [String]
|
481
|
-
attr_accessor :request_method
|
482
|
-
|
483
|
-
# The size of the HTTP request message in bytes, including the request headers
|
484
|
-
# and the request body.
|
485
|
-
# Corresponds to the JSON property `requestSize`
|
486
|
-
# @return [String]
|
487
|
-
attr_accessor :request_size
|
488
|
-
|
489
|
-
# The size of the HTTP response message sent back to the client, in bytes,
|
490
|
-
# including the response headers and the response body.
|
491
|
-
# Corresponds to the JSON property `responseSize`
|
492
|
-
# @return [String]
|
493
|
-
attr_accessor :response_size
|
494
|
-
|
495
|
-
# The scheme (http, https), the host name, the path and the query portion of the
|
496
|
-
# URL that was requested. Example: "http://example.com/some/info?color=red".
|
497
|
-
# Corresponds to the JSON property `requestUrl`
|
498
|
-
# @return [String]
|
499
|
-
attr_accessor :request_url
|
500
|
-
|
501
|
-
def initialize(**args)
|
502
|
-
update!(**args)
|
503
|
-
end
|
504
|
+
def initialize(**args)
|
505
|
+
update!(**args)
|
506
|
+
end
|
504
507
|
|
505
508
|
# Update properties of this object
|
506
509
|
def update!(**args)
|
510
|
+
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
511
|
+
@latency = args[:latency] if args.key?(:latency)
|
512
|
+
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
513
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
514
|
+
@response_size = args[:response_size] if args.key?(:response_size)
|
515
|
+
@request_size = args[:request_size] if args.key?(:request_size)
|
516
|
+
@request_url = args[:request_url] if args.key?(:request_url)
|
507
517
|
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
508
518
|
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
509
519
|
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
@@ -511,13 +521,6 @@ module Google
|
|
511
521
|
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
512
522
|
@status = args[:status] if args.key?(:status)
|
513
523
|
@referer = args[:referer] if args.key?(:referer)
|
514
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
515
|
-
@latency = args[:latency] if args.key?(:latency)
|
516
|
-
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
517
|
-
@request_method = args[:request_method] if args.key?(:request_method)
|
518
|
-
@request_size = args[:request_size] if args.key?(:request_size)
|
519
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
520
|
-
@request_url = args[:request_url] if args.key?(:request_url)
|
521
524
|
end
|
522
525
|
end
|
523
526
|
|
@@ -525,11 +528,6 @@ module Google
|
|
525
528
|
class ListSinksResponse
|
526
529
|
include Google::Apis::Core::Hashable
|
527
530
|
|
528
|
-
# A list of sinks.
|
529
|
-
# Corresponds to the JSON property `sinks`
|
530
|
-
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
531
|
-
attr_accessor :sinks
|
532
|
-
|
533
531
|
# If there might be more results than appear in this response, then
|
534
532
|
# nextPageToken is included. To get the next set of results, call the same
|
535
533
|
# method again using the value of nextPageToken as pageToken.
|
@@ -537,14 +535,19 @@ module Google
|
|
537
535
|
# @return [String]
|
538
536
|
attr_accessor :next_page_token
|
539
537
|
|
538
|
+
# A list of sinks.
|
539
|
+
# Corresponds to the JSON property `sinks`
|
540
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
541
|
+
attr_accessor :sinks
|
542
|
+
|
540
543
|
def initialize(**args)
|
541
544
|
update!(**args)
|
542
545
|
end
|
543
546
|
|
544
547
|
# Update properties of this object
|
545
548
|
def update!(**args)
|
546
|
-
@sinks = args[:sinks] if args.key?(:sinks)
|
547
549
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
550
|
+
@sinks = args[:sinks] if args.key?(:sinks)
|
548
551
|
end
|
549
552
|
end
|
550
553
|
|
@@ -552,11 +555,6 @@ module Google
|
|
552
555
|
class LabelDescriptor
|
553
556
|
include Google::Apis::Core::Hashable
|
554
557
|
|
555
|
-
# The type of data that can be assigned to the label.
|
556
|
-
# Corresponds to the JSON property `valueType`
|
557
|
-
# @return [String]
|
558
|
-
attr_accessor :value_type
|
559
|
-
|
560
558
|
# The label key.
|
561
559
|
# Corresponds to the JSON property `key`
|
562
560
|
# @return [String]
|
@@ -567,15 +565,20 @@ module Google
|
|
567
565
|
# @return [String]
|
568
566
|
attr_accessor :description
|
569
567
|
|
568
|
+
# The type of data that can be assigned to the label.
|
569
|
+
# Corresponds to the JSON property `valueType`
|
570
|
+
# @return [String]
|
571
|
+
attr_accessor :value_type
|
572
|
+
|
570
573
|
def initialize(**args)
|
571
574
|
update!(**args)
|
572
575
|
end
|
573
576
|
|
574
577
|
# Update properties of this object
|
575
578
|
def update!(**args)
|
576
|
-
@value_type = args[:value_type] if args.key?(:value_type)
|
577
579
|
@key = args[:key] if args.key?(:key)
|
578
580
|
@description = args[:description] if args.key?(:description)
|
581
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
579
582
|
end
|
580
583
|
end
|
581
584
|
|
@@ -645,6 +648,12 @@ module Google
|
|
645
648
|
class LogEntrySourceLocation
|
646
649
|
include Google::Apis::Core::Hashable
|
647
650
|
|
651
|
+
# Optional. Source file name. Depending on the runtime environment, this might
|
652
|
+
# be a simple name or a fully-qualified name.
|
653
|
+
# Corresponds to the JSON property `file`
|
654
|
+
# @return [String]
|
655
|
+
attr_accessor :file
|
656
|
+
|
648
657
|
# Optional. Human-readable name of the function or method being invoked, with
|
649
658
|
# optional context such as the class or package name. This information may be
|
650
659
|
# used in contexts such as the logs viewer, where a file and line number are
|
@@ -660,21 +669,15 @@ module Google
|
|
660
669
|
# @return [String]
|
661
670
|
attr_accessor :line
|
662
671
|
|
663
|
-
# Optional. Source file name. Depending on the runtime environment, this might
|
664
|
-
# be a simple name or a fully-qualified name.
|
665
|
-
# Corresponds to the JSON property `file`
|
666
|
-
# @return [String]
|
667
|
-
attr_accessor :file
|
668
|
-
|
669
672
|
def initialize(**args)
|
670
673
|
update!(**args)
|
671
674
|
end
|
672
675
|
|
673
676
|
# Update properties of this object
|
674
677
|
def update!(**args)
|
678
|
+
@file = args[:file] if args.key?(:file)
|
675
679
|
@function = args[:function] if args.key?(:function)
|
676
680
|
@line = args[:line] if args.key?(:line)
|
677
|
-
@file = args[:file] if args.key?(:file)
|
678
681
|
end
|
679
682
|
end
|
680
683
|
|
@@ -682,6 +685,11 @@ module Google
|
|
682
685
|
class ListLogEntriesResponse
|
683
686
|
include Google::Apis::Core::Hashable
|
684
687
|
|
688
|
+
# A list of log entries.
|
689
|
+
# Corresponds to the JSON property `entries`
|
690
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
691
|
+
attr_accessor :entries
|
692
|
+
|
685
693
|
# If there might be more results than those appearing in this response, then
|
686
694
|
# nextPageToken is included. To get the next set of results, call this method
|
687
695
|
# again using the value of nextPageToken as pageToken.If a value for
|
@@ -695,19 +703,14 @@ module Google
|
|
695
703
|
# @return [String]
|
696
704
|
attr_accessor :next_page_token
|
697
705
|
|
698
|
-
# A list of log entries.
|
699
|
-
# Corresponds to the JSON property `entries`
|
700
|
-
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
701
|
-
attr_accessor :entries
|
702
|
-
|
703
706
|
def initialize(**args)
|
704
707
|
update!(**args)
|
705
708
|
end
|
706
709
|
|
707
710
|
# Update properties of this object
|
708
711
|
def update!(**args)
|
709
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
710
712
|
@entries = args[:entries] if args.key?(:entries)
|
713
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
711
714
|
end
|
712
715
|
end
|
713
716
|
|
@@ -715,16 +718,6 @@ module Google
|
|
715
718
|
class LogLine
|
716
719
|
include Google::Apis::Core::Hashable
|
717
720
|
|
718
|
-
# Severity of this log entry.
|
719
|
-
# Corresponds to the JSON property `severity`
|
720
|
-
# @return [String]
|
721
|
-
attr_accessor :severity
|
722
|
-
|
723
|
-
# App-provided log message.
|
724
|
-
# Corresponds to the JSON property `logMessage`
|
725
|
-
# @return [String]
|
726
|
-
attr_accessor :log_message
|
727
|
-
|
728
721
|
# Specifies a location in a source code file.
|
729
722
|
# Corresponds to the JSON property `sourceLocation`
|
730
723
|
# @return [Google::Apis::LoggingV2beta1::SourceLocation]
|
@@ -735,16 +728,26 @@ module Google
|
|
735
728
|
# @return [String]
|
736
729
|
attr_accessor :time
|
737
730
|
|
731
|
+
# Severity of this log entry.
|
732
|
+
# Corresponds to the JSON property `severity`
|
733
|
+
# @return [String]
|
734
|
+
attr_accessor :severity
|
735
|
+
|
736
|
+
# App-provided log message.
|
737
|
+
# Corresponds to the JSON property `logMessage`
|
738
|
+
# @return [String]
|
739
|
+
attr_accessor :log_message
|
740
|
+
|
738
741
|
def initialize(**args)
|
739
742
|
update!(**args)
|
740
743
|
end
|
741
744
|
|
742
745
|
# Update properties of this object
|
743
746
|
def update!(**args)
|
744
|
-
@severity = args[:severity] if args.key?(:severity)
|
745
|
-
@log_message = args[:log_message] if args.key?(:log_message)
|
746
747
|
@source_location = args[:source_location] if args.key?(:source_location)
|
747
748
|
@time = args[:time] if args.key?(:time)
|
749
|
+
@severity = args[:severity] if args.key?(:severity)
|
750
|
+
@log_message = args[:log_message] if args.key?(:log_message)
|
748
751
|
end
|
749
752
|
end
|
750
753
|
|
@@ -779,21 +782,11 @@ module Google
|
|
779
782
|
class LogEntry
|
780
783
|
include Google::Apis::Core::Hashable
|
781
784
|
|
782
|
-
# Additional information about the source code location that produced the log
|
783
|
-
# entry.
|
784
|
-
# Corresponds to the JSON property `sourceLocation`
|
785
|
-
# @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
|
786
|
-
attr_accessor :source_location
|
787
|
-
|
788
|
-
# Optional. The time the event described by the log entry occurred. If omitted,
|
789
|
-
# Stackdriver Logging will use the time the log entry is received.
|
790
|
-
# Corresponds to the JSON property `timestamp`
|
791
|
-
# @return [String]
|
792
|
-
attr_accessor :timestamp
|
793
|
-
|
794
785
|
# Required. The resource name of the log to which this log entry belongs:
|
795
786
|
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
796
787
|
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
788
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
789
|
+
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
797
790
|
# [LOG_ID] must be URL-encoded within log_name. Example: "organizations/
|
798
791
|
# 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must
|
799
792
|
# be less than 512 characters long and can only include the following characters:
|
@@ -807,6 +800,13 @@ module Google
|
|
807
800
|
# @return [String]
|
808
801
|
attr_accessor :log_name
|
809
802
|
|
803
|
+
# A common proto for logging HTTP requests. Only contains semantics defined by
|
804
|
+
# the HTTP specification. Product-specific logging information MUST be defined
|
805
|
+
# in a separate message.
|
806
|
+
# Corresponds to the JSON property `httpRequest`
|
807
|
+
# @return [Google::Apis::LoggingV2beta1::HttpRequest]
|
808
|
+
attr_accessor :http_request
|
809
|
+
|
810
810
|
# An object representing a resource that can be used for monitoring, logging,
|
811
811
|
# billing, or other purposes. Examples include virtual machine instances,
|
812
812
|
# databases, and storage devices such as disks. The type field identifies a
|
@@ -823,13 +823,6 @@ module Google
|
|
823
823
|
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
824
824
|
attr_accessor :resource
|
825
825
|
|
826
|
-
# A common proto for logging HTTP requests. Only contains semantics defined by
|
827
|
-
# the HTTP specification. Product-specific logging information MUST be defined
|
828
|
-
# in a separate message.
|
829
|
-
# Corresponds to the JSON property `httpRequest`
|
830
|
-
# @return [Google::Apis::LoggingV2beta1::HttpRequest]
|
831
|
-
attr_accessor :http_request
|
832
|
-
|
833
826
|
# The log entry payload, represented as a structure that is expressed as a JSON
|
834
827
|
# object.
|
835
828
|
# Corresponds to the JSON property `jsonPayload`
|
@@ -881,17 +874,27 @@ module Google
|
|
881
874
|
# @return [String]
|
882
875
|
attr_accessor :severity
|
883
876
|
|
877
|
+
# Additional information about the source code location that produced the log
|
878
|
+
# entry.
|
879
|
+
# Corresponds to the JSON property `sourceLocation`
|
880
|
+
# @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
|
881
|
+
attr_accessor :source_location
|
882
|
+
|
883
|
+
# Optional. The time the event described by the log entry occurred. If omitted,
|
884
|
+
# Stackdriver Logging will use the time the log entry is received.
|
885
|
+
# Corresponds to the JSON property `timestamp`
|
886
|
+
# @return [String]
|
887
|
+
attr_accessor :timestamp
|
888
|
+
|
884
889
|
def initialize(**args)
|
885
890
|
update!(**args)
|
886
891
|
end
|
887
892
|
|
888
893
|
# Update properties of this object
|
889
894
|
def update!(**args)
|
890
|
-
@source_location = args[:source_location] if args.key?(:source_location)
|
891
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
892
895
|
@log_name = args[:log_name] if args.key?(:log_name)
|
893
|
-
@resource = args[:resource] if args.key?(:resource)
|
894
896
|
@http_request = args[:http_request] if args.key?(:http_request)
|
897
|
+
@resource = args[:resource] if args.key?(:resource)
|
895
898
|
@json_payload = args[:json_payload] if args.key?(:json_payload)
|
896
899
|
@insert_id = args[:insert_id] if args.key?(:insert_id)
|
897
900
|
@operation = args[:operation] if args.key?(:operation)
|
@@ -900,6 +903,8 @@ module Google
|
|
900
903
|
@trace = args[:trace] if args.key?(:trace)
|
901
904
|
@labels = args[:labels] if args.key?(:labels)
|
902
905
|
@severity = args[:severity] if args.key?(:severity)
|
906
|
+
@source_location = args[:source_location] if args.key?(:source_location)
|
907
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
903
908
|
end
|
904
909
|
end
|
905
910
|
|
@@ -972,22 +977,17 @@ module Google
|
|
972
977
|
# @return [String]
|
973
978
|
attr_accessor :order_by
|
974
979
|
|
975
|
-
# Required. Names of one or more resources from which to retrieve log
|
980
|
+
# Required. Names of one or more parent resources from which to retrieve log
|
981
|
+
# entries:
|
976
982
|
# "projects/[PROJECT_ID]"
|
977
983
|
# "organizations/[ORGANIZATION_ID]"
|
984
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
985
|
+
# "folders/[FOLDER_ID]"
|
978
986
|
# Projects listed in the project_ids field are added to this list.
|
979
987
|
# Corresponds to the JSON property `resourceNames`
|
980
988
|
# @return [Array<String>]
|
981
989
|
attr_accessor :resource_names
|
982
990
|
|
983
|
-
# Deprecated. Use resource_names instead. One or more project identifiers or
|
984
|
-
# project numbers from which to retrieve log entries. Example: "my-project-1A".
|
985
|
-
# If present, these project identifiers are converted to resource name format
|
986
|
-
# and added to the list of resources in resource_names.
|
987
|
-
# Corresponds to the JSON property `projectIds`
|
988
|
-
# @return [Array<String>]
|
989
|
-
attr_accessor :project_ids
|
990
|
-
|
991
991
|
# Optional. A filter that chooses which log entries to return. See Advanced Logs
|
992
992
|
# Filters. Only log entries that match the filter are returned. An empty filter
|
993
993
|
# matches all log entries in the resources listed in resource_names. Referencing
|
@@ -997,6 +997,14 @@ module Google
|
|
997
997
|
# @return [String]
|
998
998
|
attr_accessor :filter
|
999
999
|
|
1000
|
+
# Deprecated. Use resource_names instead. One or more project identifiers or
|
1001
|
+
# project numbers from which to retrieve log entries. Example: "my-project-1A".
|
1002
|
+
# If present, these project identifiers are converted to resource name format
|
1003
|
+
# and added to the list of resources in resource_names.
|
1004
|
+
# Corresponds to the JSON property `projectIds`
|
1005
|
+
# @return [Array<String>]
|
1006
|
+
attr_accessor :project_ids
|
1007
|
+
|
1000
1008
|
# Optional. If present, then retrieve the next batch of results from the
|
1001
1009
|
# preceding call to this method. pageToken must be the value of nextPageToken
|
1002
1010
|
# from the previous response. The values of other method parameters should be
|
@@ -1020,8 +1028,8 @@ module Google
|
|
1020
1028
|
def update!(**args)
|
1021
1029
|
@order_by = args[:order_by] if args.key?(:order_by)
|
1022
1030
|
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
1023
|
-
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
1024
1031
|
@filter = args[:filter] if args.key?(:filter)
|
1032
|
+
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
1025
1033
|
@page_token = args[:page_token] if args.key?(:page_token)
|
1026
1034
|
@page_size = args[:page_size] if args.key?(:page_size)
|
1027
1035
|
end
|
@@ -1032,89 +1040,6 @@ module Google
|
|
1032
1040
|
class RequestLog
|
1033
1041
|
include Google::Apis::Core::Hashable
|
1034
1042
|
|
1035
|
-
# An identifier for the instance that handled the request.
|
1036
|
-
# Corresponds to the JSON property `instanceId`
|
1037
|
-
# @return [String]
|
1038
|
-
attr_accessor :instance_id
|
1039
|
-
|
1040
|
-
# Number of CPU megacycles used to process request.
|
1041
|
-
# Corresponds to the JSON property `megaCycles`
|
1042
|
-
# @return [String]
|
1043
|
-
attr_accessor :mega_cycles
|
1044
|
-
|
1045
|
-
# Whether this is the first RequestLog entry for this request. If an active
|
1046
|
-
# request has several RequestLog entries written to Stackdriver Logging, then
|
1047
|
-
# this field will be set for one of them.
|
1048
|
-
# Corresponds to the JSON property `first`
|
1049
|
-
# @return [Boolean]
|
1050
|
-
attr_accessor :first
|
1051
|
-
alias_method :first?, :first
|
1052
|
-
|
1053
|
-
# Version of the application that handled this request.
|
1054
|
-
# Corresponds to the JSON property `versionId`
|
1055
|
-
# @return [String]
|
1056
|
-
attr_accessor :version_id
|
1057
|
-
|
1058
|
-
# Module of the application that handled this request.
|
1059
|
-
# Corresponds to the JSON property `moduleId`
|
1060
|
-
# @return [String]
|
1061
|
-
attr_accessor :module_id
|
1062
|
-
|
1063
|
-
# Time when the request finished.
|
1064
|
-
# Corresponds to the JSON property `endTime`
|
1065
|
-
# @return [String]
|
1066
|
-
attr_accessor :end_time
|
1067
|
-
|
1068
|
-
# User agent that made the request.
|
1069
|
-
# Corresponds to the JSON property `userAgent`
|
1070
|
-
# @return [String]
|
1071
|
-
attr_accessor :user_agent
|
1072
|
-
|
1073
|
-
# Whether this was a loading request for the instance.
|
1074
|
-
# Corresponds to the JSON property `wasLoadingRequest`
|
1075
|
-
# @return [Boolean]
|
1076
|
-
attr_accessor :was_loading_request
|
1077
|
-
alias_method :was_loading_request?, :was_loading_request
|
1078
|
-
|
1079
|
-
# Source code for the application that handled this request. There can be more
|
1080
|
-
# than one source reference per deployed application if source code is
|
1081
|
-
# distributed among multiple repositories.
|
1082
|
-
# Corresponds to the JSON property `sourceReference`
|
1083
|
-
# @return [Array<Google::Apis::LoggingV2beta1::SourceReference>]
|
1084
|
-
attr_accessor :source_reference
|
1085
|
-
|
1086
|
-
# Size in bytes sent back to client by request.
|
1087
|
-
# Corresponds to the JSON property `responseSize`
|
1088
|
-
# @return [String]
|
1089
|
-
attr_accessor :response_size
|
1090
|
-
|
1091
|
-
# Stackdriver Trace identifier for this request.
|
1092
|
-
# Corresponds to the JSON property `traceId`
|
1093
|
-
# @return [String]
|
1094
|
-
attr_accessor :trace_id
|
1095
|
-
|
1096
|
-
# A list of log lines emitted by the application while serving this request.
|
1097
|
-
# Corresponds to the JSON property `line`
|
1098
|
-
# @return [Array<Google::Apis::LoggingV2beta1::LogLine>]
|
1099
|
-
attr_accessor :line
|
1100
|
-
|
1101
|
-
# Queue name of the request, in the case of an offline request.
|
1102
|
-
# Corresponds to the JSON property `taskQueueName`
|
1103
|
-
# @return [String]
|
1104
|
-
attr_accessor :task_queue_name
|
1105
|
-
|
1106
|
-
# Referrer URL of request.
|
1107
|
-
# Corresponds to the JSON property `referrer`
|
1108
|
-
# @return [String]
|
1109
|
-
attr_accessor :referrer
|
1110
|
-
|
1111
|
-
# Globally unique identifier for a request, which is based on the request start
|
1112
|
-
# time. Request IDs for requests which started later will compare greater as
|
1113
|
-
# strings than those for requests which started earlier.
|
1114
|
-
# Corresponds to the JSON property `requestId`
|
1115
|
-
# @return [String]
|
1116
|
-
attr_accessor :request_id
|
1117
|
-
|
1118
1043
|
# The logged-in user who made the request.Most likely, this is the part of the
|
1119
1044
|
# user's email before the @ sign. The field value is the same for different
|
1120
1045
|
# requests from the same user, but different users can have similar names. This
|
@@ -1124,10 +1049,10 @@ module Google
|
|
1124
1049
|
# @return [String]
|
1125
1050
|
attr_accessor :nickname
|
1126
1051
|
|
1127
|
-
#
|
1128
|
-
# Corresponds to the JSON property `
|
1129
|
-
# @return [
|
1130
|
-
attr_accessor :
|
1052
|
+
# HTTP response status code. Example: 200, 404.
|
1053
|
+
# Corresponds to the JSON property `status`
|
1054
|
+
# @return [Fixnum]
|
1055
|
+
attr_accessor :status
|
1131
1056
|
|
1132
1057
|
# Contains the path and query portion of the URL that was requested. For example,
|
1133
1058
|
# if the URL was "http://example.com/app?name=val", the resource would be "/app?
|
@@ -1137,10 +1062,10 @@ module Google
|
|
1137
1062
|
# @return [String]
|
1138
1063
|
attr_accessor :resource
|
1139
1064
|
|
1140
|
-
#
|
1141
|
-
# Corresponds to the JSON property `
|
1142
|
-
# @return [
|
1143
|
-
attr_accessor :
|
1065
|
+
# Time this request spent in the pending request queue.
|
1066
|
+
# Corresponds to the JSON property `pendingTime`
|
1067
|
+
# @return [String]
|
1068
|
+
attr_accessor :pending_time
|
1144
1069
|
|
1145
1070
|
# Task name of the request, in the case of an offline request.
|
1146
1071
|
# Corresponds to the JSON property `taskName`
|
@@ -1158,17 +1083,17 @@ module Google
|
|
1158
1083
|
# @return [Fixnum]
|
1159
1084
|
attr_accessor :instance_index
|
1160
1085
|
|
1161
|
-
# Internet host and port number of the resource being requested.
|
1162
|
-
# Corresponds to the JSON property `host`
|
1163
|
-
# @return [String]
|
1164
|
-
attr_accessor :host
|
1165
|
-
|
1166
1086
|
# Whether this request is finished or active.
|
1167
1087
|
# Corresponds to the JSON property `finished`
|
1168
1088
|
# @return [Boolean]
|
1169
1089
|
attr_accessor :finished
|
1170
1090
|
alias_method :finished?, :finished
|
1171
1091
|
|
1092
|
+
# Internet host and port number of the resource being requested.
|
1093
|
+
# Corresponds to the JSON property `host`
|
1094
|
+
# @return [String]
|
1095
|
+
attr_accessor :host
|
1096
|
+
|
1172
1097
|
# HTTP version of request. Example: "HTTP/1.1".
|
1173
1098
|
# Corresponds to the JSON property `httpVersion`
|
1174
1099
|
# @return [String]
|
@@ -1209,36 +1134,104 @@ module Google
|
|
1209
1134
|
# @return [Float]
|
1210
1135
|
attr_accessor :cost
|
1211
1136
|
|
1137
|
+
# An identifier for the instance that handled the request.
|
1138
|
+
# Corresponds to the JSON property `instanceId`
|
1139
|
+
# @return [String]
|
1140
|
+
attr_accessor :instance_id
|
1141
|
+
|
1142
|
+
# Number of CPU megacycles used to process request.
|
1143
|
+
# Corresponds to the JSON property `megaCycles`
|
1144
|
+
# @return [String]
|
1145
|
+
attr_accessor :mega_cycles
|
1146
|
+
|
1147
|
+
# Whether this is the first RequestLog entry for this request. If an active
|
1148
|
+
# request has several RequestLog entries written to Stackdriver Logging, then
|
1149
|
+
# this field will be set for one of them.
|
1150
|
+
# Corresponds to the JSON property `first`
|
1151
|
+
# @return [Boolean]
|
1152
|
+
attr_accessor :first
|
1153
|
+
alias_method :first?, :first
|
1154
|
+
|
1155
|
+
# Version of the application that handled this request.
|
1156
|
+
# Corresponds to the JSON property `versionId`
|
1157
|
+
# @return [String]
|
1158
|
+
attr_accessor :version_id
|
1159
|
+
|
1160
|
+
# Module of the application that handled this request.
|
1161
|
+
# Corresponds to the JSON property `moduleId`
|
1162
|
+
# @return [String]
|
1163
|
+
attr_accessor :module_id
|
1164
|
+
|
1165
|
+
# Time when the request finished.
|
1166
|
+
# Corresponds to the JSON property `endTime`
|
1167
|
+
# @return [String]
|
1168
|
+
attr_accessor :end_time
|
1169
|
+
|
1170
|
+
# User agent that made the request.
|
1171
|
+
# Corresponds to the JSON property `userAgent`
|
1172
|
+
# @return [String]
|
1173
|
+
attr_accessor :user_agent
|
1174
|
+
|
1175
|
+
# Whether this was a loading request for the instance.
|
1176
|
+
# Corresponds to the JSON property `wasLoadingRequest`
|
1177
|
+
# @return [Boolean]
|
1178
|
+
attr_accessor :was_loading_request
|
1179
|
+
alias_method :was_loading_request?, :was_loading_request
|
1180
|
+
|
1181
|
+
# Source code for the application that handled this request. There can be more
|
1182
|
+
# than one source reference per deployed application if source code is
|
1183
|
+
# distributed among multiple repositories.
|
1184
|
+
# Corresponds to the JSON property `sourceReference`
|
1185
|
+
# @return [Array<Google::Apis::LoggingV2beta1::SourceReference>]
|
1186
|
+
attr_accessor :source_reference
|
1187
|
+
|
1188
|
+
# Size in bytes sent back to client by request.
|
1189
|
+
# Corresponds to the JSON property `responseSize`
|
1190
|
+
# @return [String]
|
1191
|
+
attr_accessor :response_size
|
1192
|
+
|
1193
|
+
# Stackdriver Trace identifier for this request.
|
1194
|
+
# Corresponds to the JSON property `traceId`
|
1195
|
+
# @return [String]
|
1196
|
+
attr_accessor :trace_id
|
1197
|
+
|
1198
|
+
# A list of log lines emitted by the application while serving this request.
|
1199
|
+
# Corresponds to the JSON property `line`
|
1200
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogLine>]
|
1201
|
+
attr_accessor :line
|
1202
|
+
|
1203
|
+
# Referrer URL of request.
|
1204
|
+
# Corresponds to the JSON property `referrer`
|
1205
|
+
# @return [String]
|
1206
|
+
attr_accessor :referrer
|
1207
|
+
|
1208
|
+
# Queue name of the request, in the case of an offline request.
|
1209
|
+
# Corresponds to the JSON property `taskQueueName`
|
1210
|
+
# @return [String]
|
1211
|
+
attr_accessor :task_queue_name
|
1212
|
+
|
1213
|
+
# Globally unique identifier for a request, which is based on the request start
|
1214
|
+
# time. Request IDs for requests which started later will compare greater as
|
1215
|
+
# strings than those for requests which started earlier.
|
1216
|
+
# Corresponds to the JSON property `requestId`
|
1217
|
+
# @return [String]
|
1218
|
+
attr_accessor :request_id
|
1219
|
+
|
1212
1220
|
def initialize(**args)
|
1213
1221
|
update!(**args)
|
1214
1222
|
end
|
1215
1223
|
|
1216
1224
|
# Update properties of this object
|
1217
1225
|
def update!(**args)
|
1218
|
-
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1219
|
-
@mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles)
|
1220
|
-
@first = args[:first] if args.key?(:first)
|
1221
|
-
@version_id = args[:version_id] if args.key?(:version_id)
|
1222
|
-
@module_id = args[:module_id] if args.key?(:module_id)
|
1223
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1224
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
1225
|
-
@was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request)
|
1226
|
-
@source_reference = args[:source_reference] if args.key?(:source_reference)
|
1227
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
1228
|
-
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
1229
|
-
@line = args[:line] if args.key?(:line)
|
1230
|
-
@task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name)
|
1231
|
-
@referrer = args[:referrer] if args.key?(:referrer)
|
1232
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
1233
1226
|
@nickname = args[:nickname] if args.key?(:nickname)
|
1234
|
-
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
1235
|
-
@resource = args[:resource] if args.key?(:resource)
|
1236
1227
|
@status = args[:status] if args.key?(:status)
|
1228
|
+
@resource = args[:resource] if args.key?(:resource)
|
1229
|
+
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
1237
1230
|
@task_name = args[:task_name] if args.key?(:task_name)
|
1238
1231
|
@url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry)
|
1239
1232
|
@instance_index = args[:instance_index] if args.key?(:instance_index)
|
1240
|
-
@host = args[:host] if args.key?(:host)
|
1241
1233
|
@finished = args[:finished] if args.key?(:finished)
|
1234
|
+
@host = args[:host] if args.key?(:host)
|
1242
1235
|
@http_version = args[:http_version] if args.key?(:http_version)
|
1243
1236
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1244
1237
|
@latency = args[:latency] if args.key?(:latency)
|
@@ -1247,6 +1240,21 @@ module Google
|
|
1247
1240
|
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
1248
1241
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
1249
1242
|
@cost = args[:cost] if args.key?(:cost)
|
1243
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1244
|
+
@mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles)
|
1245
|
+
@first = args[:first] if args.key?(:first)
|
1246
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
1247
|
+
@module_id = args[:module_id] if args.key?(:module_id)
|
1248
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1249
|
+
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
1250
|
+
@was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request)
|
1251
|
+
@source_reference = args[:source_reference] if args.key?(:source_reference)
|
1252
|
+
@response_size = args[:response_size] if args.key?(:response_size)
|
1253
|
+
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
1254
|
+
@line = args[:line] if args.key?(:line)
|
1255
|
+
@referrer = args[:referrer] if args.key?(:referrer)
|
1256
|
+
@task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name)
|
1257
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
1250
1258
|
end
|
1251
1259
|
end
|
1252
1260
|
end
|