on develop help sign in
Regenerating gogol-logging from latest service definition
50c7f70Brendan Hay
gogol-logging/gen/Network/Google/Logging.hs+27−3
@@ -13,8 +13,8 @@
13-- Stability : auto-generated
13-- Stability : auto-generated
14-- Portability : non-portable (GHC extensions)
14-- Portability : non-portable (GHC extensions)
15--
15--
16−-- The Google Cloud Logging API lets you write log entries and manage your
17−-- logs, log sinks and logs-based metrics.
16+-- Writes log entries and manages your logs, log sinks, and logs-based
17+-- metrics.
18--
18--
19-- /See:/ <https://cloud.google.com/logging/docs/ Google Cloud Logging API Reference>
19-- /See:/ <https://cloud.google.com/logging/docs/ Google Cloud Logging API Reference>
20module Network.Google.Logging
20module Network.Google.Logging
@@ -81,16 +81,25 @@ module Network.Google.Logging
81 -- ** MonitoredResourceDescriptor
81 -- ** MonitoredResourceDescriptor
82 , MonitoredResourceDescriptor
82 , MonitoredResourceDescriptor
83 , monitoredResourceDescriptor
83 , monitoredResourceDescriptor
84+ , mrdName
84 , mrdDisplayName
85 , mrdDisplayName
85 , mrdLabels
86 , mrdLabels
86 , mrdType
87 , mrdType
87 , mrdDescription
88 , mrdDescription
88
89
90+ -- ** Status
91+ , Status
92+ , status
93+ , sDetails
94+ , sCode
95+ , sMessage
96+
89 -- ** ListLogEntriesResponse
97 -- ** ListLogEntriesResponse
90 , ListLogEntriesResponse
98 , ListLogEntriesResponse
91 , listLogEntriesResponse
99 , listLogEntriesResponse
92 , llerNextPageToken
100 , llerNextPageToken
93 , llerEntries
101 , llerEntries
102+ , llerProjectIdErrors
94
103
95 -- ** MonitoredResourceLabels
104 -- ** MonitoredResourceLabels
96 , MonitoredResourceLabels
105 , MonitoredResourceLabels
@@ -107,6 +116,7 @@ module Network.Google.Logging
107 , WriteLogEntriesRequest
116 , WriteLogEntriesRequest
108 , writeLogEntriesRequest
117 , writeLogEntriesRequest
109 , wlerEntries
118 , wlerEntries
119+ , wlerPartialSuccess
110 , wlerResource
120 , wlerResource
111 , wlerLabels
121 , wlerLabels
112 , wlerLogName
122 , wlerLogName
@@ -140,6 +150,7 @@ module Network.Google.Logging
140 , rlTaskName
150 , rlTaskName
141 , rlPendingTime
151 , rlPendingTime
142 , rlWasLoadingRequest
152 , rlWasLoadingRequest
153+ , rlFirst
143 , rlStartTime
154 , rlStartTime
144 , rlLatency
155 , rlLatency
145 , rlURLMapEntry
156 , rlURLMapEntry
@@ -178,6 +189,11 @@ module Network.Google.Logging
178 , lsName
189 , lsName
179 , lsFilter
190 , lsFilter
180
191
192+ -- ** StatusDetailsItem
193+ , StatusDetailsItem
194+ , statusDetailsItem
195+ , sdiAddtional
196+
181 -- ** ListMonitoredResourceDescriptorsResponse
197 -- ** ListMonitoredResourceDescriptorsResponse
182 , ListMonitoredResourceDescriptorsResponse
198 , ListMonitoredResourceDescriptorsResponse
183 , listMonitoredResourceDescriptorsResponse
199 , listMonitoredResourceDescriptorsResponse
@@ -189,15 +205,22 @@ module Network.Google.Logging
189 , hTTPRequest
205 , hTTPRequest
190 , httprStatus
206 , httprStatus
191 , httprRequestURL
207 , httprRequestURL
208+ , httprCacheFillBytes
192 , httprRemoteIP
209 , httprRemoteIP
193− , httprValidatedWithOriginServer
194 , httprRequestSize
210 , httprRequestSize
211+ , httprCacheValidatedWithOriginServer
195 , httprUserAgent
212 , httprUserAgent
213+ , httprCacheLookup
196 , httprResponseSize
214 , httprResponseSize
197 , httprRequestMethod
215 , httprRequestMethod
198 , httprCacheHit
216 , httprCacheHit
199 , httprReferer
217 , httprReferer
200
218
219+ -- ** ListLogEntriesResponseProjectIdErrors
220+ , ListLogEntriesResponseProjectIdErrors
221+ , listLogEntriesResponseProjectIdErrors
222+ , llerpieAddtional
223+
201 -- ** WriteLogEntriesRequestLabels
224 -- ** WriteLogEntriesRequestLabels
202 , WriteLogEntriesRequestLabels
225 , WriteLogEntriesRequestLabels
203 , writeLogEntriesRequestLabels
226 , writeLogEntriesRequestLabels
@@ -228,6 +251,7 @@ module Network.Google.Logging
228 , ListLogEntriesRequest
251 , ListLogEntriesRequest
229 , listLogEntriesRequest
252 , listLogEntriesRequest
230 , llerOrderBy
253 , llerOrderBy
254+ , llerPartialSuccess
231 , llerProjectIds
255 , llerProjectIds
232 , llerFilter
256 , llerFilter
233 , llerPageToken
257 , llerPageToken
gogol-logging/gen/Network/Google/Logging/Types.hs+25−1
@@ -29,16 +29,25 @@ module Network.Google.Logging.Types
29 -- * MonitoredResourceDescriptor
29 -- * MonitoredResourceDescriptor
30 , MonitoredResourceDescriptor
30 , MonitoredResourceDescriptor
31 , monitoredResourceDescriptor
31 , monitoredResourceDescriptor
32+ , mrdName
32 , mrdDisplayName
33 , mrdDisplayName
33 , mrdLabels
34 , mrdLabels
34 , mrdType
35 , mrdType
35 , mrdDescription
36 , mrdDescription
36
37
38+ -- * Status
39+ , Status
40+ , status
41+ , sDetails
42+ , sCode
43+ , sMessage
44+
37 -- * ListLogEntriesResponse
45 -- * ListLogEntriesResponse
38 , ListLogEntriesResponse
46 , ListLogEntriesResponse
39 , listLogEntriesResponse
47 , listLogEntriesResponse
40 , llerNextPageToken
48 , llerNextPageToken
41 , llerEntries
49 , llerEntries
50+ , llerProjectIdErrors
42
51
43 -- * MonitoredResourceLabels
52 -- * MonitoredResourceLabels
44 , MonitoredResourceLabels
53 , MonitoredResourceLabels
@@ -55,6 +64,7 @@ module Network.Google.Logging.Types
55 , WriteLogEntriesRequest
64 , WriteLogEntriesRequest
56 , writeLogEntriesRequest
65 , writeLogEntriesRequest
57 , wlerEntries
66 , wlerEntries
67+ , wlerPartialSuccess
58 , wlerResource
68 , wlerResource
59 , wlerLabels
69 , wlerLabels
60 , wlerLogName
70 , wlerLogName
@@ -88,6 +98,7 @@ module Network.Google.Logging.Types
88 , rlTaskName
98 , rlTaskName
89 , rlPendingTime
99 , rlPendingTime
90 , rlWasLoadingRequest
100 , rlWasLoadingRequest
101+ , rlFirst
91 , rlStartTime
102 , rlStartTime
92 , rlLatency
103 , rlLatency
93 , rlURLMapEntry
104 , rlURLMapEntry
@@ -126,6 +137,11 @@ module Network.Google.Logging.Types
126 , lsName
137 , lsName
127 , lsFilter
138 , lsFilter
128
139
140+ -- * StatusDetailsItem
141+ , StatusDetailsItem
142+ , statusDetailsItem
143+ , sdiAddtional
144+
129 -- * ListMonitoredResourceDescriptorsResponse
145 -- * ListMonitoredResourceDescriptorsResponse
130 , ListMonitoredResourceDescriptorsResponse
146 , ListMonitoredResourceDescriptorsResponse
131 , listMonitoredResourceDescriptorsResponse
147 , listMonitoredResourceDescriptorsResponse
@@ -137,15 +153,22 @@ module Network.Google.Logging.Types
137 , hTTPRequest
153 , hTTPRequest
138 , httprStatus
154 , httprStatus
139 , httprRequestURL
155 , httprRequestURL
156+ , httprCacheFillBytes
140 , httprRemoteIP
157 , httprRemoteIP
141− , httprValidatedWithOriginServer
142 , httprRequestSize
158 , httprRequestSize
159+ , httprCacheValidatedWithOriginServer
143 , httprUserAgent
160 , httprUserAgent
161+ , httprCacheLookup
144 , httprResponseSize
162 , httprResponseSize
145 , httprRequestMethod
163 , httprRequestMethod
146 , httprCacheHit
164 , httprCacheHit
147 , httprReferer
165 , httprReferer
148
166
167+ -- * ListLogEntriesResponseProjectIdErrors
168+ , ListLogEntriesResponseProjectIdErrors
169+ , listLogEntriesResponseProjectIdErrors
170+ , llerpieAddtional
171+
149 -- * WriteLogEntriesRequestLabels
172 -- * WriteLogEntriesRequestLabels
150 , WriteLogEntriesRequestLabels
173 , WriteLogEntriesRequestLabels
151 , writeLogEntriesRequestLabels
174 , writeLogEntriesRequestLabels
@@ -176,6 +199,7 @@ module Network.Google.Logging.Types
176 , ListLogEntriesRequest
199 , ListLogEntriesRequest
177 , listLogEntriesRequest
200 , listLogEntriesRequest
178 , llerOrderBy
201 , llerOrderBy
202+ , llerPartialSuccess
179 , llerProjectIds
203 , llerProjectIds
180 , llerFilter
204 , llerFilter
181 , llerPageToken
205 , llerPageToken
gogol-logging/gen/Network/Google/Logging/Types/Product.hs+384−94
@@ -20,11 +20,19 @@ module Network.Google.Logging.Types.Product where
20import Network.Google.Logging.Types.Sum
20import Network.Google.Logging.Types.Sum
21import Network.Google.Prelude
21import Network.Google.Prelude
22
22
23+-- | An object that describes the schema of a MonitoredResource object using
24+-- a type name and a set of labels. For example, the monitored resource
25+-- descriptor for Google Compute Engine VM instances has a type of
26+-- \`\"gce_instance\"\` and specifies the use of the labels
27+-- \`\"instance_id\"\` and \`\"zone\"\` to identify particular VM
28+-- instances. Different APIs can support different monitored resource
29+-- types. APIs generally provide a \`list\` method that returns the
23−-- | A description of a type of monitored resource.
30+-- monitored resource descriptors used by the API.
24--
31--
25-- /See:/ 'monitoredResourceDescriptor' smart constructor.
32-- /See:/ 'monitoredResourceDescriptor' smart constructor.
26data MonitoredResourceDescriptor = MonitoredResourceDescriptor'
33data MonitoredResourceDescriptor = MonitoredResourceDescriptor'
34+ { _mrdName :: !(Maybe Text)
27− { _mrdDisplayName :: !(Maybe Text)
35+ , _mrdDisplayName :: !(Maybe Text)
28 , _mrdLabels :: !(Maybe [LabelDescriptor])
36 , _mrdLabels :: !(Maybe [LabelDescriptor])
29 , _mrdType :: !(Maybe Text)
37 , _mrdType :: !(Maybe Text)
30 , _mrdDescription :: !(Maybe Text)
38 , _mrdDescription :: !(Maybe Text)
@@ -34,6 +42,8 @@ data MonitoredResourceDescriptor = MonitoredResourceDescriptor'
34--
42--
35-- Use one of the following lenses to modify other fields as desired:
43-- Use one of the following lenses to modify other fields as desired:
36--
44--
45+-- * 'mrdName'
46+--
37-- * 'mrdDisplayName'
47-- * 'mrdDisplayName'
38--
48--
39-- * 'mrdLabels'
49-- * 'mrdLabels'
@@ -45,35 +55,47 @@ monitoredResourceDescriptor
45 :: MonitoredResourceDescriptor
55 :: MonitoredResourceDescriptor
46monitoredResourceDescriptor =
56monitoredResourceDescriptor =
47 MonitoredResourceDescriptor'
57 MonitoredResourceDescriptor'
58+ { _mrdName = Nothing
48− { _mrdDisplayName = Nothing
59+ , _mrdDisplayName = Nothing
49 , _mrdLabels = Nothing
60 , _mrdLabels = Nothing
50 , _mrdType = Nothing
61 , _mrdType = Nothing
51 , _mrdDescription = Nothing
62 , _mrdDescription = Nothing
52 }
63 }
53
64
65+-- | Optional. The resource name of the monitored resource descriptor:
66+-- \`\"projects\/{project_id}\/monitoredResourceDescriptors\/{type}\"\`
67+-- where {type} is the value of the \`type\` field in this object and
68+-- {project_id} is a project ID that provides API-specific context for
69+-- accessing the type. APIs that do not use project information can use the
70+-- resource name format \`\"monitoredResourceDescriptors\/{type}\"\`.
71+mrdName :: Lens' MonitoredResourceDescriptor (Maybe Text)
72+mrdName = lens _mrdName (\ s a -> s{_mrdName = a})
73+
54−-- | A concise name for the monitored resource type, which is displayed in
74+-- | Optional. A concise name for the monitored resource type that might be
55−-- user interfaces. For example, \`\"Cloud SQL Database\"\`.
75+-- displayed in user interfaces. For example, \`\"Google Cloud SQL
76+-- Database\"\`.
56mrdDisplayName :: Lens' MonitoredResourceDescriptor (Maybe Text)
77mrdDisplayName :: Lens' MonitoredResourceDescriptor (Maybe Text)
57mrdDisplayName
78mrdDisplayName
58 = lens _mrdDisplayName
79 = lens _mrdDisplayName
59 (\ s a -> s{_mrdDisplayName = a})
80 (\ s a -> s{_mrdDisplayName = a})
60
81
61−-- | A set of labels that can be used to describe instances of this monitored
82+-- | Required. A set of labels used to describe instances of this monitored
62−-- resource type. For example, Cloud SQL databases can be labeled with
83+-- resource type. For example, an individual Google Cloud SQL database is
63−-- their \`\"database_id\"\` and their \`\"zone\"\`.
84+-- identified by values for the labels \`\"database_id\"\` and
85+-- \`\"zone\"\`.
64mrdLabels :: Lens' MonitoredResourceDescriptor [LabelDescriptor]
86mrdLabels :: Lens' MonitoredResourceDescriptor [LabelDescriptor]
65mrdLabels
87mrdLabels
66 = lens _mrdLabels (\ s a -> s{_mrdLabels = a}) .
88 = lens _mrdLabels (\ s a -> s{_mrdLabels = a}) .
67 _Default
89 _Default
68 . _Coerce
90 . _Coerce
69
91
70−-- | The monitored resource type. For example, the type
92+-- | Required. The monitored resource type. For example, the type
71-- \`\"cloudsql_database\"\` represents databases in Google Cloud SQL.
93-- \`\"cloudsql_database\"\` represents databases in Google Cloud SQL.
72mrdType :: Lens' MonitoredResourceDescriptor (Maybe Text)
94mrdType :: Lens' MonitoredResourceDescriptor (Maybe Text)
73mrdType = lens _mrdType (\ s a -> s{_mrdType = a})
95mrdType = lens _mrdType (\ s a -> s{_mrdType = a})
74
96
75−-- | A detailed description of the monitored resource type, which is used in
97+-- | Optional. A detailed description of the monitored resource type that
76−-- documentation.
98+-- might be used in documentation.
77mrdDescription :: Lens' MonitoredResourceDescriptor (Maybe Text)
99mrdDescription :: Lens' MonitoredResourceDescriptor (Maybe Text)
78mrdDescription
100mrdDescription
79 = lens _mrdDescription
101 = lens _mrdDescription
@@ -84,7 +106,8 @@ instance FromJSON MonitoredResourceDescriptor where
84 = withObject "MonitoredResourceDescriptor"
106 = withObject "MonitoredResourceDescriptor"
85 (\ o ->
107 (\ o ->
86 MonitoredResourceDescriptor' <$>
108 MonitoredResourceDescriptor' <$>
109+ (o .:? "name") <*> (o .:? "displayName") <*>
87− (o .:? "displayName") <*> (o .:? "labels" .!= mempty)
110+ (o .:? "labels" .!= mempty)
88 <*> (o .:? "type")
111 <*> (o .:? "type")
89 <*> (o .:? "description"))
112 <*> (o .:? "description"))
90
113
@@ -92,17 +115,116 @@ instance ToJSON MonitoredResourceDescriptor where
92 toJSON MonitoredResourceDescriptor'{..}
115 toJSON MonitoredResourceDescriptor'{..}
93 = object
116 = object
94 (catMaybes
117 (catMaybes
118+ [("name" .=) <$> _mrdName,
95− [("displayName" .=) <$> _mrdDisplayName,
119+ ("displayName" .=) <$> _mrdDisplayName,
96 ("labels" .=) <$> _mrdLabels,
120 ("labels" .=) <$> _mrdLabels,
97 ("type" .=) <$> _mrdType,
121 ("type" .=) <$> _mrdType,
98 ("description" .=) <$> _mrdDescription])
122 ("description" .=) <$> _mrdDescription])
99
123
124+-- | The \`Status\` type defines a logical error model that is suitable for
125+-- different programming environments, including REST APIs and RPC APIs. It
126+-- is used by [gRPC](https:\/\/github.com\/grpc). The error model is
127+-- designed to be: - Simple to use and understand for most users - Flexible
128+-- enough to meet unexpected needs # Overview The \`Status\` message
129+-- contains three pieces of data: error code, error message, and error
130+-- details. The error code should be an enum value of google.rpc.Code, but
131+-- it may accept additional error codes if needed. The error message should
132+-- be a developer-facing English message that helps developers *understand*
133+-- and *resolve* the error. If a localized user-facing error message is
134+-- needed, put the localized message in the error details or localize it in
135+-- the client. The optional error details may contain arbitrary information
136+-- about the error. There is a predefined set of error detail types in the
137+-- package \`google.rpc\` which can be used for common error conditions. #
138+-- Language mapping The \`Status\` message is the logical representation of
139+-- the error model, but it is not necessarily the actual wire format. When
140+-- the \`Status\` message is exposed in different client libraries and
141+-- different wire protocols, it can be mapped differently. For example, it
142+-- will likely be mapped to some exceptions in Java, but more likely mapped
143+-- to some error codes in C. # Other uses The error model and the
144+-- \`Status\` message can be used in a variety of environments, either with
145+-- or without APIs, to provide a consistent developer experience across
146+-- different environments. Example uses of this error model include: -
147+-- Partial errors. If a service needs to return partial errors to the
148+-- client, it may embed the \`Status\` in the normal response to indicate
149+-- the partial errors. - Workflow errors. A typical workflow has multiple
150+-- steps. Each step may have a \`Status\` message for error reporting
151+-- purpose. - Batch operations. If a client uses batch request and batch
152+-- response, the \`Status\` message should be used directly inside batch
153+-- response, one for each error sub-response. - Asynchronous operations. If
154+-- an API call embeds asynchronous operation results in its response, the
155+-- status of those operations should be represented directly using the
156+-- \`Status\` message. - Logging. If some API errors are stored in logs,
157+-- the message \`Status\` could be used directly after any stripping needed
158+-- for security\/privacy reasons.
159+--
160+-- /See:/ 'status' smart constructor.
161+data Status = Status'
162+ { _sDetails :: !(Maybe [StatusDetailsItem])
163+ , _sCode :: !(Maybe (Textual Int32))
164+ , _sMessage :: !(Maybe Text)
165+ } deriving (Eq,Show,Data,Typeable,Generic)
166+
167+-- | Creates a value of 'Status' with the minimum fields required to make a request.
168+--
169+-- Use one of the following lenses to modify other fields as desired:
170+--
171+-- * 'sDetails'
172+--
173+-- * 'sCode'
174+--
175+-- * 'sMessage'
176+status
177+ :: Status
178+status =
179+ Status'
180+ { _sDetails = Nothing
181+ , _sCode = Nothing
182+ , _sMessage = Nothing
183+ }
184+
185+-- | A list of messages that carry the error details. There will be a common
186+-- set of message types for APIs to use.
187+sDetails :: Lens' Status [StatusDetailsItem]
188+sDetails
189+ = lens _sDetails (\ s a -> s{_sDetails = a}) .
190+ _Default
191+ . _Coerce
192+
193+-- | The status code, which should be an enum value of google.rpc.Code.
194+sCode :: Lens' Status (Maybe Int32)
195+sCode
196+ = lens _sCode (\ s a -> s{_sCode = a}) .
197+ mapping _Coerce
198+
199+-- | A developer-facing error message, which should be in English. Any
200+-- user-facing error message should be localized and sent in the
201+-- google.rpc.Status.details field, or localized by the client.
202+sMessage :: Lens' Status (Maybe Text)
203+sMessage = lens _sMessage (\ s a -> s{_sMessage = a})
204+
205+instance FromJSON Status where
206+ parseJSON
207+ = withObject "Status"
208+ (\ o ->
209+ Status' <$>
210+ (o .:? "details" .!= mempty) <*> (o .:? "code") <*>
211+ (o .:? "message"))
212+
213+instance ToJSON Status where
214+ toJSON Status'{..}
215+ = object
216+ (catMaybes
217+ [("details" .=) <$> _sDetails,
218+ ("code" .=) <$> _sCode,
219+ ("message" .=) <$> _sMessage])
220+
100-- | Result returned from \`ListLogEntries\`.
221-- | Result returned from \`ListLogEntries\`.
101--
222--
102-- /See:/ 'listLogEntriesResponse' smart constructor.
223-- /See:/ 'listLogEntriesResponse' smart constructor.
103data ListLogEntriesResponse = ListLogEntriesResponse'
224data ListLogEntriesResponse = ListLogEntriesResponse'
104− { _llerNextPageToken :: !(Maybe Text)
225+ { _llerNextPageToken :: !(Maybe Text)
105− , _llerEntries :: !(Maybe [LogEntry])
226+ , _llerEntries :: !(Maybe [LogEntry])
227+ , _llerProjectIdErrors :: !(Maybe ListLogEntriesResponseProjectIdErrors)
106 } deriving (Eq,Show,Data,Typeable,Generic)
228 } deriving (Eq,Show,Data,Typeable,Generic)
107
229
108-- | Creates a value of 'ListLogEntriesResponse' with the minimum fields required to make a request.
230-- | Creates a value of 'ListLogEntriesResponse' with the minimum fields required to make a request.
@@ -112,17 +234,20 @@ data ListLogEntriesResponse = ListLogEntriesResponse'
112-- * 'llerNextPageToken'
234-- * 'llerNextPageToken'
113--
235--
114-- * 'llerEntries'
236-- * 'llerEntries'
237+--
238+-- * 'llerProjectIdErrors'
115listLogEntriesResponse
239listLogEntriesResponse
116 :: ListLogEntriesResponse
240 :: ListLogEntriesResponse
117listLogEntriesResponse =
241listLogEntriesResponse =
118 ListLogEntriesResponse'
242 ListLogEntriesResponse'
119 { _llerNextPageToken = Nothing
243 { _llerNextPageToken = Nothing
120 , _llerEntries = Nothing
244 , _llerEntries = Nothing
245+ , _llerProjectIdErrors = Nothing
121 }
246 }
122
247
123-- | If there are more results than were returned, then \`nextPageToken\` is
248-- | If there are more results than were returned, then \`nextPageToken\` is
124−-- given a value in the response. To get the next batch of results, call
249+-- included in the response. To get the next set of results, call this
125−-- this method again using the value of \`nextPageToken\` as \`pageToken\`.
250+-- method again using the value of \`nextPageToken\` as \`pageToken\`.
126llerNextPageToken :: Lens' ListLogEntriesResponse (Maybe Text)
251llerNextPageToken :: Lens' ListLogEntriesResponse (Maybe Text)
127llerNextPageToken
252llerNextPageToken
128 = lens _llerNextPageToken
253 = lens _llerNextPageToken
@@ -135,26 +260,33 @@ llerEntries
135 _Default
260 _Default
136 . _Coerce
261 . _Coerce
137
262
263+-- | If partial_success is true, contains the project ids that had errors and
264+-- the associated errors.
265+llerProjectIdErrors :: Lens' ListLogEntriesResponse (Maybe ListLogEntriesResponseProjectIdErrors)
266+llerProjectIdErrors
267+ = lens _llerProjectIdErrors
268+ (\ s a -> s{_llerProjectIdErrors = a})
269+
138instance FromJSON ListLogEntriesResponse where
270instance FromJSON ListLogEntriesResponse where
139 parseJSON
271 parseJSON
140 = withObject "ListLogEntriesResponse"
272 = withObject "ListLogEntriesResponse"
141 (\ o ->
273 (\ o ->
142 ListLogEntriesResponse' <$>
274 ListLogEntriesResponse' <$>
143 (o .:? "nextPageToken") <*>
275 (o .:? "nextPageToken") <*>
144− (o .:? "entries" .!= mempty))
276+ (o .:? "entries" .!= mempty)
277+ <*> (o .:? "projectIdErrors"))
145
278
146instance ToJSON ListLogEntriesResponse where
279instance ToJSON ListLogEntriesResponse where
147 toJSON ListLogEntriesResponse'{..}
280 toJSON ListLogEntriesResponse'{..}
148 = object
281 = object
149 (catMaybes
282 (catMaybes
150 [("nextPageToken" .=) <$> _llerNextPageToken,
283 [("nextPageToken" .=) <$> _llerNextPageToken,
151− ("entries" .=) <$> _llerEntries])
284+ ("entries" .=) <$> _llerEntries,
285+ ("projectIdErrors" .=) <$> _llerProjectIdErrors])
152
286
153−-- | Values for some or all of the labels listed in the associated monitored
287+-- | Required. Values for all of the labels listed in the associated
154−-- resource descriptor. For example, specify a specific Cloud SQL database
288+-- monitored resource descriptor. For example, Cloud SQL databases use the
155−-- by supplying values for both the \`\"database_id\"\` and \`\"zone\"\`
289+-- labels \`\"database_id\"\` and \`\"zone\"\`.
156−-- labels. Specify the set of all Cloud SQL databases in a particular
157−-- location by supplying a value for only the \`\"zone\"\` label.
158--
290--
159-- /See:/ 'monitoredResourceLabels' smart constructor.
291-- /See:/ 'monitoredResourceLabels' smart constructor.
160newtype MonitoredResourceLabels = MonitoredResourceLabels'
292newtype MonitoredResourceLabels = MonitoredResourceLabels'
@@ -219,8 +351,8 @@ llmrMetrics
219 . _Coerce
351 . _Coerce
220
352
221-- | If there are more results than were returned, then \`nextPageToken\` is
353-- | If there are more results than were returned, then \`nextPageToken\` is
222−-- given a value in the response. To get the next batch of results, call
354+-- included in the response. To get the next set of results, call this
223−-- this method again using the value of \`nextPageToken\` as \`pageToken\`.
355+-- method again using the value of \`nextPageToken\` as \`pageToken\`.
224llmrNextPageToken :: Lens' ListLogMetricsResponse (Maybe Text)
356llmrNextPageToken :: Lens' ListLogMetricsResponse (Maybe Text)
225llmrNextPageToken
357llmrNextPageToken
226 = lens _llmrNextPageToken
358 = lens _llmrNextPageToken
@@ -245,10 +377,11 @@ instance ToJSON ListLogMetricsResponse where
245--
377--
246-- /See:/ 'writeLogEntriesRequest' smart constructor.
378-- /See:/ 'writeLogEntriesRequest' smart constructor.
247data WriteLogEntriesRequest = WriteLogEntriesRequest'
379data WriteLogEntriesRequest = WriteLogEntriesRequest'
248− { _wlerEntries :: !(Maybe [LogEntry])
380+ { _wlerEntries :: !(Maybe [LogEntry])
381+ , _wlerPartialSuccess :: !(Maybe Bool)
249− , _wlerResource :: !(Maybe MonitoredResource)
382+ , _wlerResource :: !(Maybe MonitoredResource)
250− , _wlerLabels :: !(Maybe WriteLogEntriesRequestLabels)
383+ , _wlerLabels :: !(Maybe WriteLogEntriesRequestLabels)
251− , _wlerLogName :: !(Maybe Text)
384+ , _wlerLogName :: !(Maybe Text)
252 } deriving (Eq,Show,Data,Typeable,Generic)
385 } deriving (Eq,Show,Data,Typeable,Generic)
253
386
254-- | Creates a value of 'WriteLogEntriesRequest' with the minimum fields required to make a request.
387-- | Creates a value of 'WriteLogEntriesRequest' with the minimum fields required to make a request.
@@ -257,6 +390,8 @@ data WriteLogEntriesRequest = WriteLogEntriesRequest'
257--
390--
258-- * 'wlerEntries'
391-- * 'wlerEntries'
259--
392--
393+-- * 'wlerPartialSuccess'
394+--
260-- * 'wlerResource'
395-- * 'wlerResource'
261--
396--
262-- * 'wlerLabels'
397-- * 'wlerLabels'
@@ -267,6 +402,7 @@ writeLogEntriesRequest
267writeLogEntriesRequest =
402writeLogEntriesRequest =
268 WriteLogEntriesRequest'
403 WriteLogEntriesRequest'
269 { _wlerEntries = Nothing
404 { _wlerEntries = Nothing
405+ , _wlerPartialSuccess = Nothing
270 , _wlerResource = Nothing
406 , _wlerResource = Nothing
271 , _wlerLabels = Nothing
407 , _wlerLabels = Nothing
272 , _wlerLogName = Nothing
408 , _wlerLogName = Nothing
@@ -280,6 +416,16 @@ wlerEntries
280 _Default
416 _Default
281 . _Coerce
417 . _Coerce
282
418
419+-- | Optional. Whether valid entries should be written even if some other
420+-- entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
421+-- entry is not written, the response status will be the error associated
422+-- with one of the failed entries and include error details in the form of
423+-- WriteLogEntriesPartialErrors.
424+wlerPartialSuccess :: Lens' WriteLogEntriesRequest (Maybe Bool)
425+wlerPartialSuccess
426+ = lens _wlerPartialSuccess
427+ (\ s a -> s{_wlerPartialSuccess = a})
428+
283-- | Optional. A default monitored resource for those log entries in
429-- | Optional. A default monitored resource for those log entries in
284-- \`entries\` that do not specify their own \`resource\`.
430-- \`entries\` that do not specify their own \`resource\`.
285wlerResource :: Lens' WriteLogEntriesRequest (Maybe MonitoredResource)
431wlerResource :: Lens' WriteLogEntriesRequest (Maybe MonitoredResource)
@@ -306,7 +452,9 @@ instance FromJSON WriteLogEntriesRequest where
306 = withObject "WriteLogEntriesRequest"
452 = withObject "WriteLogEntriesRequest"
307 (\ o ->
453 (\ o ->
308 WriteLogEntriesRequest' <$>
454 WriteLogEntriesRequest' <$>
309− (o .:? "entries" .!= mempty) <*> (o .:? "resource")
455+ (o .:? "entries" .!= mempty) <*>
456+ (o .:? "partialSuccess")
457+ <*> (o .:? "resource")
310 <*> (o .:? "labels")
458 <*> (o .:? "labels")
311 <*> (o .:? "logName"))
459 <*> (o .:? "logName"))
312
460
@@ -315,6 +463,7 @@ instance ToJSON WriteLogEntriesRequest where
315 = object
463 = object
316 (catMaybes
464 (catMaybes
317 [("entries" .=) <$> _wlerEntries,
465 [("entries" .=) <$> _wlerEntries,
466+ ("partialSuccess" .=) <$> _wlerPartialSuccess,
318 ("resource" .=) <$> _wlerResource,
467 ("resource" .=) <$> _wlerResource,
319 ("labels" .=) <$> _wlerLabels,
468 ("labels" .=) <$> _wlerLabels,
320 ("logName" .=) <$> _wlerLogName])
469 ("logName" .=) <$> _wlerLogName])
@@ -407,8 +556,8 @@ lsrSinks
407 . _Coerce
556 . _Coerce
408
557
409-- | If there are more results than were returned, then \`nextPageToken\` is
558-- | If there are more results than were returned, then \`nextPageToken\` is
410−-- given a value in the response. To get the next batch of results, call
559+-- included in the response. To get the next set of results, call this
411−-- this method again using the value of \`nextPageToken\` as \`pageToken\`.
560+-- method again using the value of \`nextPageToken\` as \`pageToken\`.
412lsrNextPageToken :: Lens' ListSinksResponse (Maybe Text)
561lsrNextPageToken :: Lens' ListSinksResponse (Maybe Text)
413lsrNextPageToken
562lsrNextPageToken
414 = lens _lsrNextPageToken
563 = lens _lsrNextPageToken
@@ -445,6 +594,7 @@ data RequestLog = RequestLog'
445 , _rlTaskName :: !(Maybe Text)
594 , _rlTaskName :: !(Maybe Text)
446 , _rlPendingTime :: !(Maybe Text)
595 , _rlPendingTime :: !(Maybe Text)
447 , _rlWasLoadingRequest :: !(Maybe Bool)
596 , _rlWasLoadingRequest :: !(Maybe Bool)
597+ , _rlFirst :: !(Maybe Bool)
448 , _rlStartTime :: !(Maybe Text)
598 , _rlStartTime :: !(Maybe Text)
449 , _rlLatency :: !(Maybe Text)
599 , _rlLatency :: !(Maybe Text)
450 , _rlURLMapEntry :: !(Maybe Text)
600 , _rlURLMapEntry :: !(Maybe Text)
@@ -493,6 +643,8 @@ data RequestLog = RequestLog'
493--
643--
494-- * 'rlWasLoadingRequest'
644-- * 'rlWasLoadingRequest'
495--
645--
646+-- * 'rlFirst'
647+--
496-- * 'rlStartTime'
648-- * 'rlStartTime'
497--
649--
498-- * 'rlLatency'
650-- * 'rlLatency'
@@ -547,6 +699,7 @@ requestLog =
547 , _rlTaskName = Nothing
699 , _rlTaskName = Nothing
548 , _rlPendingTime = Nothing
700 , _rlPendingTime = Nothing
549 , _rlWasLoadingRequest = Nothing
701 , _rlWasLoadingRequest = Nothing
702+ , _rlFirst = Nothing
550 , _rlStartTime = Nothing
703 , _rlStartTime = Nothing
551 , _rlLatency = Nothing
704 , _rlLatency = Nothing
552 , _rlURLMapEntry = Nothing
705 , _rlURLMapEntry = Nothing
@@ -634,6 +787,12 @@ rlWasLoadingRequest
634 = lens _rlWasLoadingRequest
787 = lens _rlWasLoadingRequest
635 (\ s a -> s{_rlWasLoadingRequest = a})
788 (\ s a -> s{_rlWasLoadingRequest = a})
636
789
790+-- | Whether this is the first RequestLog entry for this request. If an
791+-- active request has several RequestLog entries written to Cloud Logging,
792+-- this field will be set for one of them.
793+rlFirst :: Lens' RequestLog (Maybe Bool)
794+rlFirst = lens _rlFirst (\ s a -> s{_rlFirst = a})
795+
637-- | Time when the request started.
796-- | Time when the request started.
638rlStartTime :: Lens' RequestLog (Maybe Text)
797rlStartTime :: Lens' RequestLog (Maybe Text)
639rlStartTime
798rlStartTime
@@ -768,6 +927,7 @@ instance FromJSON RequestLog where
768 <*> (o .:? "taskName")
927 <*> (o .:? "taskName")
769 <*> (o .:? "pendingTime")
928 <*> (o .:? "pendingTime")
770 <*> (o .:? "wasLoadingRequest")
929 <*> (o .:? "wasLoadingRequest")
930+ <*> (o .:? "first")
771 <*> (o .:? "startTime")
931 <*> (o .:? "startTime")
772 <*> (o .:? "latency")
932 <*> (o .:? "latency")
773 <*> (o .:? "urlMapEntry")
933 <*> (o .:? "urlMapEntry")
@@ -804,6 +964,7 @@ instance ToJSON RequestLog where
804 ("taskName" .=) <$> _rlTaskName,
964 ("taskName" .=) <$> _rlTaskName,
805 ("pendingTime" .=) <$> _rlPendingTime,
965 ("pendingTime" .=) <$> _rlPendingTime,
806 ("wasLoadingRequest" .=) <$> _rlWasLoadingRequest,
966 ("wasLoadingRequest" .=) <$> _rlWasLoadingRequest,
967+ ("first" .=) <$> _rlFirst,
807 ("startTime" .=) <$> _rlStartTime,
968 ("startTime" .=) <$> _rlStartTime,
808 ("latency" .=) <$> _rlLatency,
969 ("latency" .=) <$> _rlLatency,
809 ("urlMapEntry" .=) <$> _rlURLMapEntry,
970 ("urlMapEntry" .=) <$> _rlURLMapEntry,
@@ -922,9 +1083,9 @@ lsDestination
922 = lens _lsDestination
1083 = lens _lsDestination
923 (\ s a -> s{_lsDestination = a})
1084 (\ s a -> s{_lsDestination = a})
924
1085
925−-- | The log entry version used when exporting log entries from this sink.
1086+-- | The log entry version to use for this sink\'s exported log entries. This
926−-- This version does not have to correspond to the version of the log entry
1087+-- version does not have to correspond to the version of the log entry when
927−-- when it was written to Cloud Logging.
1088+-- it was written to Cloud Logging.
928lsOutputVersionFormat :: Lens' LogSink (Maybe Text)
1089lsOutputVersionFormat :: Lens' LogSink (Maybe Text)
929lsOutputVersionFormat
1090lsOutputVersionFormat
930 = lens _lsOutputVersionFormat
1091 = lens _lsOutputVersionFormat
@@ -937,11 +1098,12 @@ lsOutputVersionFormat
937lsName :: Lens' LogSink (Maybe Text)
1098lsName :: Lens' LogSink (Maybe Text)
938lsName = lens _lsName (\ s a -> s{_lsName = a})
1099lsName = lens _lsName (\ s a -> s{_lsName = a})
939
1100
940−-- | An [advanced logs filter](\/logging\/docs\/view\/advanced_filters) that
1101+-- | An [advanced logs filter](\/logging\/docs\/view\/advanced_filters). Only
941−-- defines the log entries to be exported. The filter must be consistent
1102+-- log entries matching that filter are exported. The filter must be
942−-- with the log entry format designed by the \`outputVersionFormat\`
1103+-- consistent with the log entry format specified by the
943−-- parameter, regardless of the format of the log entry that was originally
1104+-- \`outputVersionFormat\` parameter, regardless of the format of the log
944−-- written to Cloud Logging. Example: \`\"logName:syslog AND
1105+-- entry that was originally written to Cloud Logging. Example (V2 format):
1106+-- \`\"logName=projects\/my-projectid\/logs\/syslog AND
945-- severity>=ERROR\"\`.
1107-- severity>=ERROR\"\`.
946lsFilter :: Lens' LogSink (Maybe Text)
1108lsFilter :: Lens' LogSink (Maybe Text)
947lsFilter = lens _lsFilter (\ s a -> s{_lsFilter = a})
1109lsFilter = lens _lsFilter (\ s a -> s{_lsFilter = a})
@@ -966,6 +1128,39 @@ instance ToJSON LogSink where
966 ("name" .=) <$> _lsName,
1128 ("name" .=) <$> _lsName,
967 ("filter" .=) <$> _lsFilter])
1129 ("filter" .=) <$> _lsFilter])
968
1130
1131+--
1132+-- /See:/ 'statusDetailsItem' smart constructor.
1133+newtype StatusDetailsItem = StatusDetailsItem'
1134+ { _sdiAddtional :: HashMap Text JSONValue
1135+ } deriving (Eq,Show,Data,Typeable,Generic)
1136+
1137+-- | Creates a value of 'StatusDetailsItem' with the minimum fields required to make a request.
1138+--
1139+-- Use one of the following lenses to modify other fields as desired:
1140+--
1141+-- * 'sdiAddtional'
1142+statusDetailsItem
1143+ :: HashMap Text JSONValue -- ^ 'sdiAddtional'
1144+ -> StatusDetailsItem
1145+statusDetailsItem pSdiAddtional_ =
1146+ StatusDetailsItem'
1147+ { _sdiAddtional = _Coerce # pSdiAddtional_
1148+ }
1149+
1150+-- | Properties of the object. Contains field \'ype with type URL.
1151+sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
1152+sdiAddtional
1153+ = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})
1154+ . _Coerce
1155+
1156+instance FromJSON StatusDetailsItem where
1157+ parseJSON
1158+ = withObject "StatusDetailsItem"
1159+ (\ o -> StatusDetailsItem' <$> (parseJSONObject o))
1160+
1161+instance ToJSON StatusDetailsItem where
1162+ toJSON = toJSON . _sdiAddtional
1163+
969-- | Result returned from ListMonitoredResourceDescriptors.
1164-- | Result returned from ListMonitoredResourceDescriptors.
970--
1165--
971-- /See:/ 'listMonitoredResourceDescriptorsResponse' smart constructor.
1166-- /See:/ 'listMonitoredResourceDescriptorsResponse' smart constructor.
@@ -990,7 +1185,7 @@ listMonitoredResourceDescriptorsResponse =
990 }
1185 }
991
1186
992-- | If there are more results than were returned, then \`nextPageToken\` is
1187-- | If there are more results than were returned, then \`nextPageToken\` is
993−-- returned in the response. To get the next batch of results, call this
1188+-- included in the response. To get the next set of results, call this
994-- method again using the value of \`nextPageToken\` as \`pageToken\`.
1189-- method again using the value of \`nextPageToken\` as \`pageToken\`.
995lmrdrNextPageToken :: Lens' ListMonitoredResourceDescriptorsResponse (Maybe Text)
1190lmrdrNextPageToken :: Lens' ListMonitoredResourceDescriptorsResponse (Maybe Text)
996lmrdrNextPageToken
1191lmrdrNextPageToken
@@ -1028,16 +1223,18 @@ instance ToJSON
1028--
1223--
1029-- /See:/ 'hTTPRequest' smart constructor.
1224-- /See:/ 'hTTPRequest' smart constructor.
1030data HTTPRequest = HTTPRequest'
1225data HTTPRequest = HTTPRequest'
1031− { _httprStatus :: !(Maybe (Textual Int32))
1226+ { _httprStatus :: !(Maybe (Textual Int32))
1032− , _httprRequestURL :: !(Maybe Text)
1227+ , _httprRequestURL :: !(Maybe Text)
1228+ , _httprCacheFillBytes :: !(Maybe (Textual Int64))
1033− , _httprRemoteIP :: !(Maybe Text)
1229+ , _httprRemoteIP :: !(Maybe Text)
1034− , _httprValidatedWithOriginServer :: !(Maybe Bool)
1035− , _httprRequestSize :: !(Maybe (Textual Int64))
1230+ , _httprRequestSize :: !(Maybe (Textual Int64))
1231+ , _httprCacheValidatedWithOriginServer :: !(Maybe Bool)
1036− , _httprUserAgent :: !(Maybe Text)
1232+ , _httprUserAgent :: !(Maybe Text)
1233+ , _httprCacheLookup :: !(Maybe Bool)
1037− , _httprResponseSize :: !(Maybe (Textual Int64))
1234+ , _httprResponseSize :: !(Maybe (Textual Int64))
1038− , _httprRequestMethod :: !(Maybe Text)
1235+ , _httprRequestMethod :: !(Maybe Text)
1039− , _httprCacheHit :: !(Maybe Bool)
1236+ , _httprCacheHit :: !(Maybe Bool)
1040− , _httprReferer :: !(Maybe Text)
1237+ , _httprReferer :: !(Maybe Text)
1041 } deriving (Eq,Show,Data,Typeable,Generic)
1238 } deriving (Eq,Show,Data,Typeable,Generic)
1042
1239
1043-- | Creates a value of 'HTTPRequest' with the minimum fields required to make a request.
1240-- | Creates a value of 'HTTPRequest' with the minimum fields required to make a request.
@@ -1048,14 +1245,18 @@ data HTTPRequest = HTTPRequest'
1048--
1245--
1049-- * 'httprRequestURL'
1246-- * 'httprRequestURL'
1050--
1247--
1051−-- * 'httprRemoteIP'
1248+-- * 'httprCacheFillBytes'
1052--
1249--
1053−-- * 'httprValidatedWithOriginServer'
1250+-- * 'httprRemoteIP'
1054--
1251--
1055-- * 'httprRequestSize'
1252-- * 'httprRequestSize'
1056--
1253--
1254+-- * 'httprCacheValidatedWithOriginServer'
1255+--
1057-- * 'httprUserAgent'
1256-- * 'httprUserAgent'
1058--
1257--
1258+-- * 'httprCacheLookup'
1259+--
1059-- * 'httprResponseSize'
1260-- * 'httprResponseSize'
1060--
1261--
1061-- * 'httprRequestMethod'
1262-- * 'httprRequestMethod'
@@ -1069,10 +1270,12 @@ hTTPRequest =
1069 HTTPRequest'
1270 HTTPRequest'
1070 { _httprStatus = Nothing
1271 { _httprStatus = Nothing
1071 , _httprRequestURL = Nothing
1272 , _httprRequestURL = Nothing
1273+ , _httprCacheFillBytes = Nothing
1072 , _httprRemoteIP = Nothing
1274 , _httprRemoteIP = Nothing
1073− , _httprValidatedWithOriginServer = Nothing
1074 , _httprRequestSize = Nothing
1275 , _httprRequestSize = Nothing
1276+ , _httprCacheValidatedWithOriginServer = Nothing
1075 , _httprUserAgent = Nothing
1277 , _httprUserAgent = Nothing
1278+ , _httprCacheLookup = Nothing
1076 , _httprResponseSize = Nothing
1279 , _httprResponseSize = Nothing
1077 , _httprRequestMethod = Nothing
1280 , _httprRequestMethod = Nothing
1078 , _httprCacheHit = Nothing
1281 , _httprCacheHit = Nothing
@@ -1093,6 +1296,14 @@ httprRequestURL
1093 = lens _httprRequestURL
1296 = lens _httprRequestURL
1094 (\ s a -> s{_httprRequestURL = a})
1297 (\ s a -> s{_httprRequestURL = a})
1095
1298
1299+-- | The number of HTTP response bytes inserted into cache. Set only when a
1300+-- cache fill was attempted.
1301+httprCacheFillBytes :: Lens' HTTPRequest (Maybe Int64)
1302+httprCacheFillBytes
1303+ = lens _httprCacheFillBytes
1304+ (\ s a -> s{_httprCacheFillBytes = a})
1305+ . mapping _Coerce
1306+
1096-- | The IP address (IPv4 or IPv6) of the client that issued the HTTP
1307-- | The IP address (IPv4 or IPv6) of the client that issued the HTTP
1097-- request. Examples: \`\"192.168.1.1\"\`,
1308-- request. Examples: \`\"192.168.1.1\"\`,
1098-- \`\"FE80::0202:B3FF:FE1E:8329\"\`.
1309-- \`\"FE80::0202:B3FF:FE1E:8329\"\`.
@@ -1101,14 +1312,6 @@ httprRemoteIP
1101 = lens _httprRemoteIP
1312 = lens _httprRemoteIP
1102 (\ s a -> s{_httprRemoteIP = a})
1313 (\ s a -> s{_httprRemoteIP = a})
1103
1314
1104−-- | Whether or not the response was validated with the origin server before
1105−-- being served from cache. This field is only meaningful if \`cache_hit\`
1106−-- is True.
1107−httprValidatedWithOriginServer :: Lens' HTTPRequest (Maybe Bool)
1108−httprValidatedWithOriginServer
1109− = lens _httprValidatedWithOriginServer
1110− (\ s a -> s{_httprValidatedWithOriginServer = a})
1111−
1112-- | The size of the HTTP request message in bytes, including the request
1315-- | The size of the HTTP request message in bytes, including the request
1113-- headers and the request body.
1316-- headers and the request body.
1114httprRequestSize :: Lens' HTTPRequest (Maybe Int64)
1317httprRequestSize :: Lens' HTTPRequest (Maybe Int64)
@@ -1117,6 +1320,15 @@ httprRequestSize
1117 (\ s a -> s{_httprRequestSize = a})
1320 (\ s a -> s{_httprRequestSize = a})
1118 . mapping _Coerce
1321 . mapping _Coerce
1119
1322
1323+-- | Whether or not the response was validated with the origin server before
1324+-- being served from cache. This field is only meaningful if \`cache_hit\`
1325+-- is True.
1326+httprCacheValidatedWithOriginServer :: Lens' HTTPRequest (Maybe Bool)
1327+httprCacheValidatedWithOriginServer
1328+ = lens _httprCacheValidatedWithOriginServer
1329+ (\ s a ->
1330+ s{_httprCacheValidatedWithOriginServer = a})
1331+
1120-- | The user agent sent by the client. Example: \`\"Mozilla\/4.0
1332-- | The user agent sent by the client. Example: \`\"Mozilla\/4.0
1121-- (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"\`.
1333-- (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"\`.
1122httprUserAgent :: Lens' HTTPRequest (Maybe Text)
1334httprUserAgent :: Lens' HTTPRequest (Maybe Text)
@@ -1124,6 +1336,12 @@ httprUserAgent
1124 = lens _httprUserAgent
1336 = lens _httprUserAgent
1125 (\ s a -> s{_httprUserAgent = a})
1337 (\ s a -> s{_httprUserAgent = a})
1126
1338
1339+-- | Whether or not a cache lookup was attempted.
1340+httprCacheLookup :: Lens' HTTPRequest (Maybe Bool)
1341+httprCacheLookup
1342+ = lens _httprCacheLookup
1343+ (\ s a -> s{_httprCacheLookup = a})
1344+
1127-- | The size of the HTTP response message sent back to the client, in bytes,
1345-- | The size of the HTTP response message sent back to the client, in bytes,
1128-- including the response headers and the response body.
1346-- including the response headers and the response body.
1129httprResponseSize :: Lens' HTTPRequest (Maybe Int64)
1347httprResponseSize :: Lens' HTTPRequest (Maybe Int64)
@@ -1158,10 +1376,12 @@ instance FromJSON HTTPRequest where
1158 (\ o ->
1376 (\ o ->
1159 HTTPRequest' <$>
1377 HTTPRequest' <$>
1160 (o .:? "status") <*> (o .:? "requestUrl") <*>
1378 (o .:? "status") <*> (o .:? "requestUrl") <*>
1161− (o .:? "remoteIp")
1379+ (o .:? "cacheFillBytes")
1162− <*> (o .:? "validatedWithOriginServer")
1380+ <*> (o .:? "remoteIp")
1163 <*> (o .:? "requestSize")
1381 <*> (o .:? "requestSize")
1382+ <*> (o .:? "cacheValidatedWithOriginServer")
1164 <*> (o .:? "userAgent")
1383 <*> (o .:? "userAgent")
1384+ <*> (o .:? "cacheLookup")
1165 <*> (o .:? "responseSize")
1385 <*> (o .:? "responseSize")
1166 <*> (o .:? "requestMethod")
1386 <*> (o .:? "requestMethod")
1167 <*> (o .:? "cacheHit")
1387 <*> (o .:? "cacheHit")
@@ -1173,16 +1393,57 @@ instance ToJSON HTTPRequest where
1173 (catMaybes
1393 (catMaybes
1174 [("status" .=) <$> _httprStatus,
1394 [("status" .=) <$> _httprStatus,
1175 ("requestUrl" .=) <$> _httprRequestURL,
1395 ("requestUrl" .=) <$> _httprRequestURL,
1396+ ("cacheFillBytes" .=) <$> _httprCacheFillBytes,
1176 ("remoteIp" .=) <$> _httprRemoteIP,
1397 ("remoteIp" .=) <$> _httprRemoteIP,
1177− ("validatedWithOriginServer" .=) <$>
1178− _httprValidatedWithOriginServer,
1179 ("requestSize" .=) <$> _httprRequestSize,
1398 ("requestSize" .=) <$> _httprRequestSize,
1399+ ("cacheValidatedWithOriginServer" .=) <$>
1400+ _httprCacheValidatedWithOriginServer,
1180 ("userAgent" .=) <$> _httprUserAgent,
1401 ("userAgent" .=) <$> _httprUserAgent,
1402+ ("cacheLookup" .=) <$> _httprCacheLookup,
1181 ("responseSize" .=) <$> _httprResponseSize,
1403 ("responseSize" .=) <$> _httprResponseSize,
1182 ("requestMethod" .=) <$> _httprRequestMethod,
1404 ("requestMethod" .=) <$> _httprRequestMethod,
1183 ("cacheHit" .=) <$> _httprCacheHit,
1405 ("cacheHit" .=) <$> _httprCacheHit,
1184 ("referer" .=) <$> _httprReferer])
1406 ("referer" .=) <$> _httprReferer])
1185
1407
1408+-- | If partial_success is true, contains the project ids that had errors and
1409+-- the associated errors.
1410+--
1411+-- /See:/ 'listLogEntriesResponseProjectIdErrors' smart constructor.
1412+newtype ListLogEntriesResponseProjectIdErrors = ListLogEntriesResponseProjectIdErrors'
1413+ { _llerpieAddtional :: HashMap Text Status
1414+ } deriving (Eq,Show,Data,Typeable,Generic)
1415+
1416+-- | Creates a value of 'ListLogEntriesResponseProjectIdErrors' with the minimum fields required to make a request.
1417+--
1418+-- Use one of the following lenses to modify other fields as desired:
1419+--
1420+-- * 'llerpieAddtional'
1421+listLogEntriesResponseProjectIdErrors
1422+ :: HashMap Text Status -- ^ 'llerpieAddtional'
1423+ -> ListLogEntriesResponseProjectIdErrors
1424+listLogEntriesResponseProjectIdErrors pLlerpieAddtional_ =
1425+ ListLogEntriesResponseProjectIdErrors'
1426+ { _llerpieAddtional = _Coerce # pLlerpieAddtional_
1427+ }
1428+
1429+llerpieAddtional :: Lens' ListLogEntriesResponseProjectIdErrors (HashMap Text Status)
1430+llerpieAddtional
1431+ = lens _llerpieAddtional
1432+ (\ s a -> s{_llerpieAddtional = a})
1433+ . _Coerce
1434+
1435+instance FromJSON
1436+ ListLogEntriesResponseProjectIdErrors where
1437+ parseJSON
1438+ = withObject "ListLogEntriesResponseProjectIdErrors"
1439+ (\ o ->
1440+ ListLogEntriesResponseProjectIdErrors' <$>
1441+ (parseJSONObject o))
1442+
1443+instance ToJSON ListLogEntriesResponseProjectIdErrors
1444+ where
1445+ toJSON = toJSON . _llerpieAddtional
1446+
1186-- | Optional. User-defined \`key:value\` items that are added to the
1447-- | Optional. User-defined \`key:value\` items that are added to the
1187-- \`labels\` field of each log entry in \`entries\`, except when a log
1448-- \`labels\` field of each log entry in \`entries\`, except when a log
1188-- entry specifies its own \`key:value\` item with the same key. Example:
1449-- entry specifies its own \`key:value\` item with the same key. Example:
@@ -1222,7 +1483,17 @@ instance FromJSON WriteLogEntriesRequestLabels where
1222instance ToJSON WriteLogEntriesRequestLabels where
1483instance ToJSON WriteLogEntriesRequestLabels where
1223 toJSON = toJSON . _wlerlAddtional
1484 toJSON = toJSON . _wlerlAddtional
1224
1485
1225−-- | A specific monitored resource or a group of monitored resources.
1486+-- | An object representing a resource that can be used for monitoring,
1487+-- logging, billing, or other purposes. Examples include virtual machine
1488+-- instances, databases, and storage devices such as disks. The \`type\`
1489+-- field identifies a MonitoredResourceDescriptor object that describes the
1490+-- resource\'s schema. Information in the \`labels\` field identifies the
1491+-- actual resource and its attributes according to the schema. For example,
1492+-- a particular Compute Engine VM instance could be represented by the
1493+-- following object, because the MonitoredResourceDescriptor for
1494+-- \`\"gce_instance\"\` has labels \`\"instance_id\"\` and \`\"zone\"\`: {
1495+-- \"type\": \"gce_instance\", \"labels\": { \"instance_id\":
1496+-- \"my-instance\", \"zone\": \"us-central1-a\" }}
1226--
1497--
1227-- /See:/ 'monitoredResource' smart constructor.
1498-- /See:/ 'monitoredResource' smart constructor.
1228data MonitoredResource = MonitoredResource'
1499data MonitoredResource = MonitoredResource'
@@ -1245,17 +1516,15 @@ monitoredResource =
1245 , _mrType = Nothing
1516 , _mrType = Nothing
1246 }
1517 }
1247
1518
1248−-- | Values for some or all of the labels listed in the associated monitored
1519+-- | Required. Values for all of the labels listed in the associated
1249−-- resource descriptor. For example, specify a specific Cloud SQL database
1520+-- monitored resource descriptor. For example, Cloud SQL databases use the
1250−-- by supplying values for both the \`\"database_id\"\` and \`\"zone\"\`
1521+-- labels \`\"database_id\"\` and \`\"zone\"\`.
1251−-- labels. Specify the set of all Cloud SQL databases in a particular
1252−-- location by supplying a value for only the \`\"zone\"\` label.
1253mrLabels :: Lens' MonitoredResource (Maybe MonitoredResourceLabels)
1522mrLabels :: Lens' MonitoredResource (Maybe MonitoredResourceLabels)
1254mrLabels = lens _mrLabels (\ s a -> s{_mrLabels = a})
1523mrLabels = lens _mrLabels (\ s a -> s{_mrLabels = a})
1255
1524
1256−-- | The type of monitored resource. This field must match the value of the
1525+-- | Required. The monitored resource type. This field must match the
1257−-- \`type\` field in a MonitoredResourceDescriptor object. For example,
1526+-- \`type\` field of a MonitoredResourceDescriptor object. For example, the
1258−-- \`\"cloudsql_database\"\` represents Cloud SQL databases.
1527+-- type of a Cloud SQL database is \`\"cloudsql_database\"\`.
1259mrType :: Lens' MonitoredResource (Maybe Text)
1528mrType :: Lens' MonitoredResource (Maybe Text)
1260mrType = lens _mrType (\ s a -> s{_mrType = a})
1529mrType = lens _mrType (\ s a -> s{_mrType = a})
1261
1530
@@ -1404,11 +1673,12 @@ instance ToJSON LabelDescriptor where
1404--
1673--
1405-- /See:/ 'listLogEntriesRequest' smart constructor.
1674-- /See:/ 'listLogEntriesRequest' smart constructor.
1406data ListLogEntriesRequest = ListLogEntriesRequest'
1675data ListLogEntriesRequest = ListLogEntriesRequest'
1407− { _llerOrderBy :: !(Maybe Text)
1676+ { _llerOrderBy :: !(Maybe Text)
1677+ , _llerPartialSuccess :: !(Maybe Bool)
1408− , _llerProjectIds :: !(Maybe [Text])
1678+ , _llerProjectIds :: !(Maybe [Text])
1409− , _llerFilter :: !(Maybe Text)
1679+ , _llerFilter :: !(Maybe Text)
1410− , _llerPageToken :: !(Maybe Text)
1680+ , _llerPageToken :: !(Maybe Text)
1411− , _llerPageSize :: !(Maybe (Textual Int32))
1681+ , _llerPageSize :: !(Maybe (Textual Int32))
1412 } deriving (Eq,Show,Data,Typeable,Generic)
1682 } deriving (Eq,Show,Data,Typeable,Generic)
1413
1683
1414-- | Creates a value of 'ListLogEntriesRequest' with the minimum fields required to make a request.
1684-- | Creates a value of 'ListLogEntriesRequest' with the minimum fields required to make a request.
@@ -1417,6 +1687,8 @@ data ListLogEntriesRequest = ListLogEntriesRequest'
1417--
1687--
1418-- * 'llerOrderBy'
1688-- * 'llerOrderBy'
1419--
1689--
1690+-- * 'llerPartialSuccess'
1691+--
1420-- * 'llerProjectIds'
1692-- * 'llerProjectIds'
1421--
1693--
1422-- * 'llerFilter'
1694-- * 'llerFilter'
@@ -1429,6 +1701,7 @@ listLogEntriesRequest
1429listLogEntriesRequest =
1701listLogEntriesRequest =
1430 ListLogEntriesRequest'
1702 ListLogEntriesRequest'
1431 { _llerOrderBy = Nothing
1703 { _llerOrderBy = Nothing
1704+ , _llerPartialSuccess = Nothing
1432 , _llerProjectIds = Nothing
1705 , _llerProjectIds = Nothing
1433 , _llerFilter = Nothing
1706 , _llerFilter = Nothing
1434 , _llerPageToken = Nothing
1707 , _llerPageToken = Nothing
@@ -1436,7 +1709,7 @@ listLogEntriesRequest =
1436 }
1709 }
1437
1710
1438-- | Optional. How the results should be sorted. Presently, the only
1711-- | Optional. How the results should be sorted. Presently, the only
1439−-- permitted values are \`\"timestamp\"\` (default) and \`\"timestamp
1712+-- permitted values are \`\"timestamp asc\"\` (default) and \`\"timestamp
1440-- desc\"\`. The first option returns entries in order of increasing values
1713-- desc\"\`. The first option returns entries in order of increasing values
1441-- of \`LogEntry.timestamp\` (oldest first), and the second option returns
1714-- of \`LogEntry.timestamp\` (oldest first), and the second option returns
1442-- entries in order of decreasing timestamps (newest first). Entries with
1715-- entries in order of decreasing timestamps (newest first). Entries with
@@ -1445,6 +1718,14 @@ llerOrderBy :: Lens' ListLogEntriesRequest (Maybe Text)
1445llerOrderBy
1718llerOrderBy
1446 = lens _llerOrderBy (\ s a -> s{_llerOrderBy = a})
1719 = lens _llerOrderBy (\ s a -> s{_llerOrderBy = a})
1447
1720
1721+-- | Optional. If true, read access to all projects is not required and
1722+-- results will be returned for the subset of projects for which read
1723+-- access is permitted (empty subset is permitted).
1724+llerPartialSuccess :: Lens' ListLogEntriesRequest (Maybe Bool)
1725+llerPartialSuccess
1726+ = lens _llerPartialSuccess
1727+ (\ s a -> s{_llerPartialSuccess = a})
1728+
1448-- | Required. One or more project IDs or project numbers from which to
1729-- | Required. One or more project IDs or project numbers from which to
1449-- retrieve log entries. Examples of a project ID: \`\"my-project-1A\"\`,
1730-- retrieve log entries. Examples of a project ID: \`\"my-project-1A\"\`,
1450-- \`\"1234567890\"\`.
1731-- \`\"1234567890\"\`.
@@ -1464,21 +1745,21 @@ llerFilter :: Lens' ListLogEntriesRequest (Maybe Text)
1464llerFilter
1745llerFilter
1465 = lens _llerFilter (\ s a -> s{_llerFilter = a})
1746 = lens _llerFilter (\ s a -> s{_llerFilter = a})
1466
1747
1467−-- | Optional. If the \`pageToken\` request parameter is supplied, then the
1748+-- | Optional. If the \`pageToken\` parameter is supplied, then the next page
1468−-- next page of results in the set are retrieved. The \`pageToken\`
1749+-- of results is retrieved. The \`pageToken\` parameter must be set to the
1469−-- parameter must be set with the value of the \`nextPageToken\` result
1470−-- parameter from the previous request. The values of \`projectIds\`,
1750+-- value of the \`nextPageToken\` from the previous response. The values of
1471−-- \`filter\`, and \`orderBy\` must be the same as in the previous request.
1751+-- \`projectIds\`, \`filter\`, and \`orderBy\` must be the same as in the
1752+-- previous request.
1472llerPageToken :: Lens' ListLogEntriesRequest (Maybe Text)
1753llerPageToken :: Lens' ListLogEntriesRequest (Maybe Text)
1473llerPageToken
1754llerPageToken
1474 = lens _llerPageToken
1755 = lens _llerPageToken
1475 (\ s a -> s{_llerPageToken = a})
1756 (\ s a -> s{_llerPageToken = a})
1476
1757
1477−-- | Optional. The maximum number of results to return from this request.
1758+-- | Optional. The maximum number of results to return from this request. You
1478−-- Fewer results might be returned. You must check for the
1479−-- \`nextPageToken\` result to determine if additional results are
1759+-- must check for presence of \`nextPageToken\` to determine if additional
1480−-- available, which you can retrieve by passing the \`nextPageToken\` value
1760+-- results are available, which you can retrieve by passing the
1481−-- in the \`pageToken\` parameter to the next request.
1761+-- \`nextPageToken\` value as the \`pageToken\` parameter in the next
1762+-- request.
1482llerPageSize :: Lens' ListLogEntriesRequest (Maybe Int32)
1763llerPageSize :: Lens' ListLogEntriesRequest (Maybe Int32)
1483llerPageSize
1764llerPageSize
1484 = lens _llerPageSize (\ s a -> s{_llerPageSize = a})
1765 = lens _llerPageSize (\ s a -> s{_llerPageSize = a})
@@ -1489,7 +1770,8 @@ instance FromJSON ListLogEntriesRequest where
1489 = withObject "ListLogEntriesRequest"
1770 = withObject "ListLogEntriesRequest"
1490 (\ o ->
1771 (\ o ->
1491 ListLogEntriesRequest' <$>
1772 ListLogEntriesRequest' <$>
1773+ (o .:? "orderBy") <*> (o .:? "partialSuccess") <*>
1492− (o .:? "orderBy") <*> (o .:? "projectIds" .!= mempty)
1774+ (o .:? "projectIds" .!= mempty)
1493 <*> (o .:? "filter")
1775 <*> (o .:? "filter")
1494 <*> (o .:? "pageToken")
1776 <*> (o .:? "pageToken")
1495 <*> (o .:? "pageSize"))
1777 <*> (o .:? "pageSize"))
@@ -1499,6 +1781,7 @@ instance ToJSON ListLogEntriesRequest where
1499 = object
1781 = object
1500 (catMaybes
1782 (catMaybes
1501 [("orderBy" .=) <$> _llerOrderBy,
1783 [("orderBy" .=) <$> _llerOrderBy,
1784+ ("partialSuccess" .=) <$> _llerPartialSuccess,
1502 ("projectIds" .=) <$> _llerProjectIds,
1785 ("projectIds" .=) <$> _llerProjectIds,
1503 ("filter" .=) <$> _llerFilter,
1786 ("filter" .=) <$> _llerFilter,
1504 ("pageToken" .=) <$> _llerPageToken,
1787 ("pageToken" .=) <$> _llerPageToken,
@@ -1760,7 +2043,14 @@ leProtoPayload
1760 (\ s a -> s{_leProtoPayload = a})
2043 (\ s a -> s{_leProtoPayload = a})
1761
2044
1762-- | Required. The resource name of the log to which this log entry belongs.
2045-- | Required. The resource name of the log to which this log entry belongs.
1763−-- The format of the name is \`projects\/\/logs\/
2046+-- The format of the name is \`\"projects\/ \/logs\/\"\`. Examples:
2047+-- \`\"projects\/my-projectid\/logs\/syslog\"\`,
2048+-- \`\"projects\/1234567890\/logs\/library.googleapis.com%2Fbook_log\"\`.
2049+-- The log ID part of resource name must be less than 512 characters long
2050+-- and can only include the following characters: upper and lower case
2051+-- alphanumeric characters: [A-Za-z0-9]; and punctuation characters:
2052+-- forward-slash, underscore, hyphen, and period. Forward-slash (\`\/\`)
2053+-- characters in the log ID must be URL-encoded.
1764leLogName :: Lens' LogEntry (Maybe Text)
2054leLogName :: Lens' LogEntry (Maybe Text)
1765leLogName
2055leLogName
1766 = lens _leLogName (\ s a -> s{_leLogName = a})
2056 = lens _leLogName (\ s a -> s{_leLogName = a})
gogol-logging/gen/Network/Google/Resource/Logging/MonitoredResourceDescriptors/List.hs+8−9
@@ -149,20 +149,19 @@ mrdlBearerToken
149 = lens _mrdlBearerToken
149 = lens _mrdlBearerToken
150 (\ s a -> s{_mrdlBearerToken = a})
150 (\ s a -> s{_mrdlBearerToken = a})
151
151
152−-- | Optional. If the \`pageToken\` request parameter is supplied, then the
152+-- | Optional. If the \`pageToken\` parameter is supplied, then the next page
153−-- next page of results in the set are retrieved. The \`pageToken\`
153+-- of results is retrieved. The \`pageToken\` parameter must be set to the
154−-- parameter must be set with the value of the \`nextPageToken\` result
154+-- value of the \`nextPageToken\` from the previous response.
155−-- parameter from the previous request.
156mrdlPageToken :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
155mrdlPageToken :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
157mrdlPageToken
156mrdlPageToken
158 = lens _mrdlPageToken
157 = lens _mrdlPageToken
159 (\ s a -> s{_mrdlPageToken = a})
158 (\ s a -> s{_mrdlPageToken = a})
160
159
161−-- | Optional. The maximum number of results to return from this request.
160+-- | Optional. The maximum number of results to return from this request. You
162−-- Fewer results might be returned. You must check for the
163−-- \`nextPageToken\` result to determine if additional results are
161+-- must check for presence of \`nextPageToken\` to determine if additional
164−-- available, which you can retrieve by passing the \`nextPageToken\` value
162+-- results are available, which you can retrieve by passing the
165−-- in the \`pageToken\` parameter to the next request.
163+-- \`nextPageToken\` value as the \`pageToken\` parameter in the next
164+-- request.
166mrdlPageSize :: Lens' MonitoredResourceDescriptorsList (Maybe Int32)
165mrdlPageSize :: Lens' MonitoredResourceDescriptorsList (Maybe Int32)
167mrdlPageSize
166mrdlPageSize
168 = lens _mrdlPageSize (\ s a -> s{_mrdlPageSize = a})
167 = lens _mrdlPageSize (\ s a -> s{_mrdlPageSize = a})
gogol-logging/gen/Network/Google/Resource/Logging/Projects/Metrics/List.hs+9−10
@@ -161,20 +161,19 @@ pmlProjectName
161 = lens _pmlProjectName
161 = lens _pmlProjectName
162 (\ s a -> s{_pmlProjectName = a})
162 (\ s a -> s{_pmlProjectName = a})
163
163
164−-- | Optional. If the \`pageToken\` request parameter is supplied, then the
164+-- | Optional. If the \`pageToken\` parameter is supplied, then the next page
165−-- next page of results in the set are retrieved. The \`pageToken\`
165+-- of results is retrieved. The \`pageToken\` parameter must be set to the
166−-- parameter must be set with the value of the \`nextPageToken\` result
167−-- parameter from the previous request. The value of \`projectName\` must
166+-- value of the \`nextPageToken\` from the previous response. The value of
168−-- be the same as in the previous request.
167+-- \`projectName\` must be the same as in the previous request.
169pmlPageToken :: Lens' ProjectsMetricsList (Maybe Text)
168pmlPageToken :: Lens' ProjectsMetricsList (Maybe Text)
170pmlPageToken
169pmlPageToken
171 = lens _pmlPageToken (\ s a -> s{_pmlPageToken = a})
170 = lens _pmlPageToken (\ s a -> s{_pmlPageToken = a})
172
171
173−-- | Optional. The maximum number of results to return from this request.
172+-- | Optional. The maximum number of results to return from this request. You
174−-- Fewer results might be returned. You must check for the
175−-- \`nextPageToken\` result to determine if additional results are
173+-- must check for presence of \`nextPageToken\` to determine if additional
176−-- available, which you can retrieve by passing the \`nextPageToken\` value
174+-- results are available, which you can retrieve by passing the
177−-- in the \`pageToken\` parameter to the next request.
175+-- \`nextPageToken\` value as the \`pageToken\` parameter in the next
176+-- request.
178pmlPageSize :: Lens' ProjectsMetricsList (Maybe Int32)
177pmlPageSize :: Lens' ProjectsMetricsList (Maybe Int32)
179pmlPageSize
178pmlPageSize
180 = lens _pmlPageSize (\ s a -> s{_pmlPageSize = a}) .
179 = lens _pmlPageSize (\ s a -> s{_pmlPageSize = a}) .
gogol-logging/gen/Network/Google/Resource/Logging/Projects/Sinks/List.hs+10−12
@@ -155,27 +155,25 @@ pslBearerToken
155 (\ s a -> s{_pslBearerToken = a})
155 (\ s a -> s{_pslBearerToken = a})
156
156
157-- | Required. The resource name of the project containing the sinks.
157-- | Required. The resource name of the project containing the sinks.
158−-- Example: \`\"projects\/my-logging-project\"\`,
158+-- Example: \`\"projects\/my-logging-project\"\`.
159−-- \`\"projects\/01234567890\"\`.
160pslProjectName :: Lens' ProjectsSinksList Text
159pslProjectName :: Lens' ProjectsSinksList Text
161pslProjectName
160pslProjectName
162 = lens _pslProjectName
161 = lens _pslProjectName
163 (\ s a -> s{_pslProjectName = a})
162 (\ s a -> s{_pslProjectName = a})
164
163
165−-- | Optional. If the \`pageToken\` request parameter is supplied, then the
164+-- | Optional. If the \`pageToken\` parameter is supplied, then the next page
166−-- next page of results in the set are retrieved. The \`pageToken\`
165+-- of results is retrieved. The \`pageToken\` parameter must be set to the
167−-- parameter must be set with the value of the \`nextPageToken\` result
168−-- parameter from the previous request. The value of \`projectName\` must
166+-- value of the \`nextPageToken\` from the previous response. The value of
169−-- be the same as in the previous request.
167+-- \`projectName\` must be the same as in the previous request.
170pslPageToken :: Lens' ProjectsSinksList (Maybe Text)
168pslPageToken :: Lens' ProjectsSinksList (Maybe Text)
171pslPageToken
169pslPageToken
172 = lens _pslPageToken (\ s a -> s{_pslPageToken = a})
170 = lens _pslPageToken (\ s a -> s{_pslPageToken = a})
173
171
174−-- | Optional. The maximum number of results to return from this request.
172+-- | Optional. The maximum number of results to return from this request. You
175−-- Fewer results might be returned. You must check for the
176−-- \`nextPageToken\` result to determine if additional results are
173+-- must check for presence of \`nextPageToken\` to determine if additional
177−-- available, which you can retrieve by passing the \`nextPageToken\` value
174+-- results are available, which you can retrieve by passing the
178−-- in the \`pageToken\` parameter to the next request.
175+-- \`nextPageToken\` value as the \`pageToken\` parameter in the next
176+-- request.
179pslPageSize :: Lens' ProjectsSinksList (Maybe Int32)
177pslPageSize :: Lens' ProjectsSinksList (Maybe Int32)
180pslPageSize
178pslPageSize
181 = lens _pslPageSize (\ s a -> s{_pslPageSize = a}) .
179 = lens _pslPageSize (\ s a -> s{_pslPageSize = a}) .
gogol-logging/gogol-logging.cabal+2−2
@@ -14,8 +14,8 @@ cabal-version: >= 1.10
14extra-source-files: README.md
14extra-source-files: README.md
15
15
16description:
16description:
17− The Google Cloud Logging API lets you write log entries and manage your
18− logs, log sinks and logs-based metrics.
17+ Writes log entries and manages your logs, log sinks, and logs-based
18+ metrics.
19 .
19 .
20 /Warning:/ This is an experimental prototype/preview release which is still
20 /Warning:/ This is an experimental prototype/preview release which is still
21 under exploratory development and not intended for public use, caveat emptor!
21 under exploratory development and not intended for public use, caveat emptor!