Debian Codegraph @

docs/dyn/logging_v2.billingAccounts.locations.buckets.views.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="logging_v2.html">Cloud Logging API</a> . <a href="logging_v2.billingAccounts.html">billingAccounts</a> . <a href="logging_v2.billingAccounts.locations.html">locations</a> . <a href="logging_v2.billingAccounts.locations.buckets.html">buckets</a> . <a href="logging_v2.billingAccounts.locations.buckets.views.html">views</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="logging_v2.billingAccounts.locations.buckets.views.logs.html">logs()</a></code>
79 </p>
80 <p class="firstline">Returns the logs Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, viewId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets a view on a log bucket.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists views on a log bucket.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, viewId=None, x__xgafv=None)</code>
111 <pre>Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
112
113 Args:
114 parent: string, Required. The bucket in which to create the view `&quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot;` For example:&quot;projects/my-project/locations/global/buckets/my-bucket&quot; (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Describes a view over log entries in a bucket.
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
120 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this view.
121 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND NOT LOG_ID(&quot;stdout&quot;)
122 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
123 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
124 }
125
126 viewId: string, Required. A client-assigned identifier such as &quot;my-view&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 { # Describes a view over log entries in a bucket.
136 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
137 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this view.
138 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND NOT LOG_ID(&quot;stdout&quot;)
139 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
140 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
141 }</pre>
142 </div>
143
144 <div class="method">
145 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
146 <pre>Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
147
148 Args:
149 name: string, Required. The full resource name of the view to delete: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]&quot; For example:&quot;projects/my-project/locations/global/buckets/my-bucket/views/my-view&quot; (required)
150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
154
155 Returns:
156 An object of the form:
157
158 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
159 }</pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="get">get(name, x__xgafv=None)</code>
164 <pre>Gets a view on a log bucket.
165
166 Args:
167 name: string, Required. The resource name of the policy: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]&quot; For example:&quot;projects/my-project/locations/global/buckets/my-bucket/views/my-view&quot; (required)
168 x__xgafv: string, V1 error format.
169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
172
173 Returns:
174 An object of the form:
175
176 { # Describes a view over log entries in a bucket.
177 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
178 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this view.
179 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND NOT LOG_ID(&quot;stdout&quot;)
180 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
181 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
182 }</pre>
183 </div>
184
185 <div class="method">
186 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
187 <pre>Lists views on a log bucket.
188
189 Args:
190 parent: string, Required. The bucket whose views are to be listed: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; (required)
191 pageSize: integer, Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
192 pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
193 x__xgafv: string, V1 error format.
194 Allowed values
195 1 - v1 error format
196 2 - v2 error format
197
198 Returns:
199 An object of the form:
200
201 { # The response from ListViews.
202 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.
203 &quot;views&quot;: [ # A list of views.
204 { # Describes a view over log entries in a bucket.
205 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
206 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this view.
207 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND NOT LOG_ID(&quot;stdout&quot;)
208 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
209 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
210 },
211 ],
212 }</pre>
213 </div>
214
215 <div class="method">
216 <code class="details" id="list_next">list_next()</code>
217 <pre>Retrieves the next page of results.
218
219 Args:
220 previous_request: The request for the previous page. (required)
221 previous_response: The response from the request for the previous page. (required)
222
223 Returns:
224 A request object that you can call &#x27;execute()&#x27; on to request the next
225 page. Returns None if there are no more items in the collection.
226 </pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
231 <pre>Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
232
233 Args:
234 name: string, Required. The full resource name of the view to update &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]&quot; For example:&quot;projects/my-project/locations/global/buckets/my-bucket/views/my-view&quot; (required)
235 body: object, The request body.
236 The object takes the form of:
237
238 { # Describes a view over log entries in a bucket.
239 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
240 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this view.
241 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND NOT LOG_ID(&quot;stdout&quot;)
242 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
243 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
244 }
245
246 updateMask: string, Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
247 x__xgafv: string, V1 error format.
248 Allowed values
249 1 - v1 error format
250 2 - v2 error format
251
252 Returns:
253 An object of the form:
254
255 { # Describes a view over log entries in a bucket.
256 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
257 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this view.
258 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND NOT LOG_ID(&quot;stdout&quot;)
259 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
260 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
261 }</pre>
262 </div>
263
264 </body></html>