blob: 54a118ca96117b8f47e23fc0671fa34d938be413 [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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_v1beta3.html">Google Cloud Logging API</a> . <a href="logging_v1beta3.projects.html">projects</a> . <a href="logging_v1beta3.projects.logs.html">logs</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="logging_v1beta3.projects.logs.entries.html">entries()</a></code>
79</p>
80<p class="firstline">Returns the entries Resource.</p>
81
82<p class="toc_element">
83 <code><a href="logging_v1beta3.projects.logs.sinks.html">sinks()</a></code>
84</p>
85<p class="firstline">Returns the sinks Resource.</p>
86
87<p class="toc_element">
88 <code><a href="#delete">delete(projectsId, logsId, x__xgafv=None)</a></code></p>
89<p class="firstline">Deletes the specified log resource and all log entries contained in it.</p>
90<p class="toc_element">
91 <code><a href="#list">list(projectsId, pageSize=None, serviceName=None, pageToken=None, x__xgafv=None, serviceIndexPrefix=None)</a></code></p>
92<p class="firstline">Lists log resources belonging to the specified project.</p>
93<p class="toc_element">
94 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
95<p class="firstline">Retrieves the next page of results.</p>
96<h3>Method Details</h3>
97<div class="method">
98 <code class="details" id="delete">delete(projectsId, logsId, x__xgafv=None)</code>
99 <pre>Deletes the specified log resource and all log entries contained in it.
100
101Args:
102 projectsId: string, Part of `logName`. The log resource to delete. (required)
103 logsId: string, Part of `logName`. See documentation of `projectsId`. (required)
104 x__xgafv: string, V1 error format.
105
106Returns:
107 An object of the form:
108
109 { # 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); }
110 }</pre>
111</div>
112
113<div class="method">
114 <code class="details" id="list">list(projectsId, pageSize=None, serviceName=None, pageToken=None, x__xgafv=None, serviceIndexPrefix=None)</code>
115 <pre>Lists log resources belonging to the specified project.
116
117Args:
118 projectsId: string, Part of `projectName`. The project name for which to list the log resources. (required)
119 pageSize: integer, The maximum number of results to return.
120 serviceName: string, A service name for which to list logs. Only logs containing entries whose metadata includes this service name are returned. If `serviceName` and `serviceIndexPrefix` are both empty, then all log names are returned. To list all log names, regardless of service, leave both the `serviceName` and `serviceIndexPrefix` empty. To list log names containing entries with a particular service name (or explicitly empty service name) set `serviceName` to the desired value and `serviceIndexPrefix` to `"/"`.
121 pageToken: string, An opaque token, returned as `nextPageToken` by a prior `ListLogs` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogs` operation is continued.
122 x__xgafv: string, V1 error format.
123 serviceIndexPrefix: string, A log service index prefix for which to list logs. Only logs containing entries whose metadata that includes these label values (associated with index keys) are returned. The prefix is a slash separated list of values, and need not specify all index labels. An empty index (or a single slash) matches all log service indexes.
124
125Returns:
126 An object of the form:
127
128 { # Result returned from ListLogs.
129 "nextPageToken": "A String", # If there are more results, then `nextPageToken` is returned in the response. To get the next batch of logs, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogs`. If `nextPageToken` is empty, then there are no more results.
130 "logs": [ # A list of log resources.
131 { # A log object.
132 "payloadType": "A String", # Type URL describing the expected payload type for the log.
133 "displayName": "A String", # Name used when displaying the log to the user (for example, in a UI). Example: `"activity_log"`
134 "name": "A String", # REQUIRED: The log's name name. Example: `"compute.googleapis.com/activity_log"`.
135 },
136 ],
137 }</pre>
138</div>
139
140<div class="method">
141 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
142 <pre>Retrieves the next page of results.
143
144Args:
145 previous_request: The request for the previous page. (required)
146 previous_response: The response from the request for the previous page. (required)
147
148Returns:
149 A request object that you can call 'execute()' on to request the next
150 page. Returns None if there are no more items in the collection.
151 </pre>
152</div>
153
154</body></html>