You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/logging_v2.billingAccounts.buckets.views.html
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,19 @@ <h3>Method Details</h3>
105
105
"description": "A String", # Describes this view.
106
106
"filter": "A String", # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
107
107
"name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
108
+
"schema": { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
109
+
"fields": [ # Describes the fields in a table.
110
+
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
111
+
"description": "A String", # Optional. The field description.
112
+
"fields": [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
113
+
# Object with schema name: TableFieldSchema
114
+
],
115
+
"mode": "A String", # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
116
+
"name": "A String", # Required. The field name corresponding to fields in the LogEntry.
117
+
"type": "A String", # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
118
+
},
119
+
],
120
+
},
108
121
"updateTime": "A String", # Output only. The last update timestamp of the view.
<pre>Creates a view over log entries in a log bucket. A bucket may contain a maximum of 50 views.
103
+
<pre>Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
104
104
105
105
Args:
106
106
parent: string, Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example:"projects/my-project/locations/global/buckets/my-bucket" (required)
@@ -112,6 +112,19 @@ <h3>Method Details</h3>
112
112
"description": "A String", # Describes this view.
113
113
"filter": "A String", # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
114
114
"name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
115
+
"schema": { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
116
+
"fields": [ # Describes the fields in a table.
117
+
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
118
+
"description": "A String", # Optional. The field description.
119
+
"fields": [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
120
+
# Object with schema name: TableFieldSchema
121
+
],
122
+
"mode": "A String", # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
123
+
"name": "A String", # Required. The field name corresponding to fields in the LogEntry.
124
+
"type": "A String", # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
125
+
},
126
+
],
127
+
},
115
128
"updateTime": "A String", # Output only. The last update timestamp of the view.
116
129
}
117
130
@@ -129,6 +142,19 @@ <h3>Method Details</h3>
129
142
"description": "A String", # Describes this view.
130
143
"filter": "A String", # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
131
144
"name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
145
+
"schema": { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
146
+
"fields": [ # Describes the fields in a table.
147
+
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
148
+
"description": "A String", # Optional. The field description.
149
+
"fields": [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
150
+
# Object with schema name: TableFieldSchema
151
+
],
152
+
"mode": "A String", # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
153
+
"name": "A String", # Required. The field name corresponding to fields in the LogEntry.
154
+
"type": "A String", # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
155
+
},
156
+
],
157
+
},
132
158
"updateTime": "A String", # Output only. The last update timestamp of the view.
133
159
}</pre>
134
160
</div>
@@ -175,6 +201,19 @@ <h3>Method Details</h3>
175
201
"description": "A String", # Describes this view.
176
202
"filter": "A String", # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
177
203
"name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
204
+
"schema": { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
205
+
"fields": [ # Describes the fields in a table.
206
+
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
207
+
"description": "A String", # Optional. The field description.
208
+
"fields": [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
209
+
# Object with schema name: TableFieldSchema
210
+
],
211
+
"mode": "A String", # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
212
+
"name": "A String", # Required. The field name corresponding to fields in the LogEntry.
213
+
"type": "A String", # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
214
+
},
215
+
],
216
+
},
178
217
"updateTime": "A String", # Output only. The last update timestamp of the view.
179
218
},
180
219
],
@@ -209,6 +248,19 @@ <h3>Method Details</h3>
209
248
"description": "A String", # Describes this view.
210
249
"filter": "A String", # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
211
250
"name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
251
+
"schema": { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
252
+
"fields": [ # Describes the fields in a table.
253
+
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
254
+
"description": "A String", # Optional. The field description.
255
+
"fields": [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
256
+
# Object with schema name: TableFieldSchema
257
+
],
258
+
"mode": "A String", # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
259
+
"name": "A String", # Required. The field name corresponding to fields in the LogEntry.
260
+
"type": "A String", # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
261
+
},
262
+
],
263
+
},
212
264
"updateTime": "A String", # Output only. The last update timestamp of the view.
213
265
}
214
266
@@ -226,6 +278,19 @@ <h3>Method Details</h3>
226
278
"description": "A String", # Describes this view.
227
279
"filter": "A String", # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
228
280
"name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
281
+
"schema": { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
282
+
"fields": [ # Describes the fields in a table.
283
+
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
284
+
"description": "A String", # Optional. The field description.
285
+
"fields": [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
286
+
# Object with schema name: TableFieldSchema
287
+
],
288
+
"mode": "A String", # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
289
+
"name": "A String", # Required. The field name corresponding to fields in the LogEntry.
290
+
"type": "A String", # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
291
+
},
292
+
],
293
+
},
229
294
"updateTime": "A String", # Output only. The last update timestamp of the view.
0 commit comments