on develop help sign in
Regenerating gogol-appengine from updated service defintions
ceddac7Brendan Hay
gogol-appengine/gen/Network/Google/AppEngine.hs+64−38
@@ -22,6 +22,8 @@ module Network.Google.AppEngine
22 appEngineService
22 appEngineService
23
23
24 -- * OAuth Scopes
24 -- * OAuth Scopes
25+ , cloudPlatformReadOnlyScope
26+ , appEngineAdminScope
25 , cloudPlatformScope
27 , cloudPlatformScope
26
28
27 -- * API Declaration
29 -- * API Declaration
@@ -29,6 +31,9 @@ module Network.Google.AppEngine
29
31
30 -- * Resources
32 -- * Resources
31
33
34+ -- ** appengine.apps.create
35+ , module Network.Google.Resource.AppEngine.Apps.Create
36+
32 -- ** appengine.apps.get
37 -- ** appengine.apps.get
33 , module Network.Google.Resource.AppEngine.Apps.Get
38 , module Network.Google.Resource.AppEngine.Apps.Get
34
39
@@ -89,14 +94,17 @@ module Network.Google.AppEngine
89 -- ** appengine.apps.services.versions.patch
94 -- ** appengine.apps.services.versions.patch
90 , module Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch
95 , module Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch
91
96
92− -- ** appengine.experimental.apps.operations.get
93− , module Network.Google.Resource.AppEngine.Experimental.Apps.Operations.Get
94−
95− -- ** appengine.experimental.apps.operations.list
96− , module Network.Google.Resource.AppEngine.Experimental.Apps.Operations.List
97−
98 -- * Types
97 -- * Types
99
98
99+ -- ** OperationMetadataExperimental
100+ , OperationMetadataExperimental
101+ , operationMetadataExperimental
102+ , omeInsertTime
103+ , omeUser
104+ , omeMethod
105+ , omeEndTime
106+ , omeTarget
107+
100 -- ** NetworkUtilization
108 -- ** NetworkUtilization
101 , NetworkUtilization
109 , NetworkUtilization
102 , networkUtilization
110 , networkUtilization
@@ -227,6 +235,12 @@ module Network.Google.AppEngine
227 , sName
235 , sName
228 , sId
236 , sId
229
237
238+ -- ** EndpointsAPIService
239+ , EndpointsAPIService
240+ , endpointsAPIService
241+ , easName
242+ , easConfigId
243+
230 -- ** Location
244 -- ** Location
231 , Location
245 , Location
232 , location
246 , location
@@ -295,6 +309,13 @@ module Network.Google.AppEngine
295 , omvbEndTime
309 , omvbEndTime
296 , omvbTarget
310 , omvbTarget
297
311
312+ -- ** Volume
313+ , Volume
314+ , volume
315+ , vSizeGb
316+ , vName
317+ , vVolumeType
318+
298 -- ** APIEndpointHandler
319 -- ** APIEndpointHandler
299 , APIEndpointHandler
320 , APIEndpointHandler
300 , apiEndpointHandler
321 , apiEndpointHandler
@@ -308,6 +329,7 @@ module Network.Google.AppEngine
308 -- ** Network
329 -- ** Network
309 , Network
330 , Network
310 , network
331 , network
332+ , nSubnetworkName
311 , nForwardedPorts
333 , nForwardedPorts
312 , nInstanceTag
334 , nInstanceTag
313 , nName
335 , nName
@@ -315,6 +337,7 @@ module Network.Google.AppEngine
315 -- ** DebugInstanceRequest
337 -- ** DebugInstanceRequest
316 , DebugInstanceRequest
338 , DebugInstanceRequest
317 , debugInstanceRequest
339 , debugInstanceRequest
340+ , dirSSHKey
318
341
319 -- ** StaticFilesHandlerHTTPHeaders
342 -- ** StaticFilesHandlerHTTPHeaders
320 , StaticFilesHandlerHTTPHeaders
343 , StaticFilesHandlerHTTPHeaders
@@ -326,6 +349,7 @@ module Network.Google.AppEngine
326 , resources
349 , resources
327 , rMemoryGb
350 , rMemoryGb
328 , rDiskGb
351 , rDiskGb
352+ , rVolumes
329 , rCPU
353 , rCPU
330
354
331 -- ** DeploymentFiles
355 -- ** DeploymentFiles
@@ -358,43 +382,46 @@ module Network.Google.AppEngine
358 -- ** OperationMetadataV1
382 -- ** OperationMetadataV1
359 , OperationMetadataV1
383 , OperationMetadataV1
360 , operationMetadataV1
384 , operationMetadataV1
385+ , omvEphemeralMessage
361 , omvInsertTime
386 , omvInsertTime
362 , omvUser
387 , omvUser
363 , omvMethod
388 , omvMethod
364 , omvEndTime
389 , omvEndTime
390+ , omvWarning
365 , omvTarget
391 , omvTarget
366
392
367 -- ** Version
393 -- ** Version
368 , Version
394 , Version
369 , version
395 , version
370− , vRuntime
396+ , verRuntime
371− , vNobuildFilesRegex
397+ , verNobuildFilesRegex
372− , vInstanceClass
398+ , verInstanceClass
373− , vHealthCheck
399+ , verHealthCheck
374− , vEnv
400+ , verEndpointsAPIService
375− , vDefaultExpiration
401+ , verEnv
376− , vAutomaticScaling
402+ , verDefaultExpiration
377− , vErrorHandlers
403+ , verAutomaticScaling
378− , vCreatedBy
404+ , verErrorHandlers
379− , vVM
405+ , verCreatedBy
380− , vHandlers
406+ , verVM
381− , vInboundServices
407+ , verHandlers
382− , vNetwork
408+ , verInboundServices
383− , vResources
409+ , verNetwork
384− , vName
410+ , verResources
385− , vThreadsafe
411+ , verName
386− , vBetaSettings
412+ , verThreadsafe
387− , vBasicScaling
413+ , verBetaSettings
388− , vManualScaling
414+ , verBasicScaling
389− , vAPIConfig
415+ , verManualScaling
390− , vId
416+ , verAPIConfig
391− , vEnvVariables
417+ , verId
392− , vServingStatus
418+ , verEnvVariables
393− , vDiskUsageBytes
419+ , verServingStatus
394− , vCreateTime
420+ , verDiskUsageBytes
395− , vLibraries
421+ , verCreateTime
396− , vVersionURL
422+ , verLibraries
397− , vDeployment
423+ , verVersionURL
424+ , verDeployment
398
425
399 -- ** StaticFilesHandler
426 -- ** StaticFilesHandler
400 , StaticFilesHandler
427 , StaticFilesHandler
@@ -467,6 +494,7 @@ module Network.Google.AppEngine
467 , iMemoryUsage
494 , iMemoryUsage
468 , iVMStatus
495 , iVMStatus
469 , iVMZoneName
496 , iVMZoneName
497+ , iVMIP
470 , iStartTime
498 , iStartTime
471 , iVMId
499 , iVMId
472 , iAvailability
500 , iAvailability
@@ -490,6 +518,7 @@ module Network.Google.AppEngine
490
518
491import Network.Google.AppEngine.Types
519import Network.Google.AppEngine.Types
492import Network.Google.Prelude
520import Network.Google.Prelude
521+import Network.Google.Resource.AppEngine.Apps.Create
493import Network.Google.Resource.AppEngine.Apps.Get
522import Network.Google.Resource.AppEngine.Apps.Get
494import Network.Google.Resource.AppEngine.Apps.Locations.Get
523import Network.Google.Resource.AppEngine.Apps.Locations.Get
495import Network.Google.Resource.AppEngine.Apps.Locations.List
524import Network.Google.Resource.AppEngine.Apps.Locations.List
@@ -510,8 +539,6 @@ import Network.Google.Resource.AppEngine.Apps.Services.Versions.Instan
510import Network.Google.Resource.AppEngine.Apps.Services.Versions.Instances.List
539import Network.Google.Resource.AppEngine.Apps.Services.Versions.Instances.List
511import Network.Google.Resource.AppEngine.Apps.Services.Versions.List
540import Network.Google.Resource.AppEngine.Apps.Services.Versions.List
512import Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch
541import Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch
513−import Network.Google.Resource.AppEngine.Experimental.Apps.Operations.Get
514−import Network.Google.Resource.AppEngine.Experimental.Apps.Operations.List
515
542
516{- $resources
543{- $resources
517TODO
544TODO
@@ -538,6 +565,5 @@ type AppEngineAPI =
538 :<|> AppsServicesDeleteResource
565 :<|> AppsServicesDeleteResource
539 :<|> AppsPatchResource
566 :<|> AppsPatchResource
540 :<|> AppsGetResource
567 :<|> AppsGetResource
568+ :<|> AppsCreateResource
541 :<|> AppsRepairResource
569 :<|> AppsRepairResource
542− :<|> ExperimentalAppsOperationsListResource
543− :<|> ExperimentalAppsOperationsGetResource
gogol-appengine/gen/Network/Google/AppEngine/Types.hs+67−28
@@ -20,8 +20,19 @@ module Network.Google.AppEngine.Types
20 appEngineService
20 appEngineService
21
21
22 -- * OAuth Scopes
22 -- * OAuth Scopes
23+ , cloudPlatformReadOnlyScope
24+ , appEngineAdminScope
23 , cloudPlatformScope
25 , cloudPlatformScope
24
26
27+ -- * OperationMetadataExperimental
28+ , OperationMetadataExperimental
29+ , operationMetadataExperimental
30+ , omeInsertTime
31+ , omeUser
32+ , omeMethod
33+ , omeEndTime
34+ , omeTarget
35+
25 -- * NetworkUtilization
36 -- * NetworkUtilization
26 , NetworkUtilization
37 , NetworkUtilization
27 , networkUtilization
38 , networkUtilization
@@ -152,6 +163,12 @@ module Network.Google.AppEngine.Types
152 , sName
163 , sName
153 , sId
164 , sId
154
165
166+ -- * EndpointsAPIService
167+ , EndpointsAPIService
168+ , endpointsAPIService
169+ , easName
170+ , easConfigId
171+
155 -- * Location
172 -- * Location
156 , Location
173 , Location
157 , location
174 , location
@@ -220,6 +237,13 @@ module Network.Google.AppEngine.Types
220 , omvbEndTime
237 , omvbEndTime
221 , omvbTarget
238 , omvbTarget
222
239
240+ -- * Volume
241+ , Volume
242+ , volume
243+ , vSizeGb
244+ , vName
245+ , vVolumeType
246+
223 -- * APIEndpointHandler
247 -- * APIEndpointHandler
224 , APIEndpointHandler
248 , APIEndpointHandler
225 , apiEndpointHandler
249 , apiEndpointHandler
@@ -233,6 +257,7 @@ module Network.Google.AppEngine.Types
233 -- * Network
257 -- * Network
234 , Network
258 , Network
235 , network
259 , network
260+ , nSubnetworkName
236 , nForwardedPorts
261 , nForwardedPorts
237 , nInstanceTag
262 , nInstanceTag
238 , nName
263 , nName
@@ -240,6 +265,7 @@ module Network.Google.AppEngine.Types
240 -- * DebugInstanceRequest
265 -- * DebugInstanceRequest
241 , DebugInstanceRequest
266 , DebugInstanceRequest
242 , debugInstanceRequest
267 , debugInstanceRequest
268+ , dirSSHKey
243
269
244 -- * StaticFilesHandlerHTTPHeaders
270 -- * StaticFilesHandlerHTTPHeaders
245 , StaticFilesHandlerHTTPHeaders
271 , StaticFilesHandlerHTTPHeaders
@@ -251,6 +277,7 @@ module Network.Google.AppEngine.Types
251 , resources
277 , resources
252 , rMemoryGb
278 , rMemoryGb
253 , rDiskGb
279 , rDiskGb
280+ , rVolumes
254 , rCPU
281 , rCPU
255
282
256 -- * DeploymentFiles
283 -- * DeploymentFiles
@@ -283,43 +310,46 @@ module Network.Google.AppEngine.Types
283 -- * OperationMetadataV1
310 -- * OperationMetadataV1
284 , OperationMetadataV1
311 , OperationMetadataV1
285 , operationMetadataV1
312 , operationMetadataV1
313+ , omvEphemeralMessage
286 , omvInsertTime
314 , omvInsertTime
287 , omvUser
315 , omvUser
288 , omvMethod
316 , omvMethod
289 , omvEndTime
317 , omvEndTime
318+ , omvWarning
290 , omvTarget
319 , omvTarget
291
320
292 -- * Version
321 -- * Version
293 , Version
322 , Version
294 , version
323 , version
295− , vRuntime
324+ , verRuntime
296− , vNobuildFilesRegex
325+ , verNobuildFilesRegex
297− , vInstanceClass
326+ , verInstanceClass
298− , vHealthCheck
327+ , verHealthCheck
299− , vEnv
328+ , verEndpointsAPIService
300− , vDefaultExpiration
329+ , verEnv
301− , vAutomaticScaling
330+ , verDefaultExpiration
302− , vErrorHandlers
331+ , verAutomaticScaling
303− , vCreatedBy
332+ , verErrorHandlers
304− , vVM
333+ , verCreatedBy
305− , vHandlers
334+ , verVM
306− , vInboundServices
335+ , verHandlers
307− , vNetwork
336+ , verInboundServices
308− , vResources
337+ , verNetwork
309− , vName
338+ , verResources
310− , vThreadsafe
339+ , verName
311− , vBetaSettings
340+ , verThreadsafe
312− , vBasicScaling
341+ , verBetaSettings
313− , vManualScaling
342+ , verBasicScaling
314− , vAPIConfig
343+ , verManualScaling
315− , vId
344+ , verAPIConfig
316− , vEnvVariables
345+ , verId
317− , vServingStatus
346+ , verEnvVariables
318− , vDiskUsageBytes
347+ , verServingStatus
319− , vCreateTime
348+ , verDiskUsageBytes
320− , vLibraries
349+ , verCreateTime
321− , vVersionURL
350+ , verLibraries
322− , vDeployment
351+ , verVersionURL
352+ , verDeployment
323
353
324 -- * StaticFilesHandler
354 -- * StaticFilesHandler
325 , StaticFilesHandler
355 , StaticFilesHandler
@@ -392,6 +422,7 @@ module Network.Google.AppEngine.Types
392 , iMemoryUsage
422 , iMemoryUsage
393 , iVMStatus
423 , iVMStatus
394 , iVMZoneName
424 , iVMZoneName
425+ , iVMIP
395 , iStartTime
426 , iStartTime
396 , iVMId
427 , iVMId
397 , iAvailability
428 , iAvailability
@@ -423,6 +454,14 @@ appEngineService
423 = defaultService (ServiceId "appengine:v1")
454 = defaultService (ServiceId "appengine:v1")
424 "appengine.googleapis.com"
455 "appengine.googleapis.com"
425
456
457+-- | View your data across Google Cloud Platform services
458+cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]
459+cloudPlatformReadOnlyScope = Proxy;
460+
461+-- | View and manage your applications deployed on Google App Engine
462+appEngineAdminScope :: Proxy '["https://www.googleapis.com/auth/appengine.admin"]
463+appEngineAdminScope = Proxy;
464+
426-- | View and manage your data across Google Cloud Platform services
465-- | View and manage your data across Google Cloud Platform services
427cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
466cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
428cloudPlatformScope = Proxy;
467cloudPlatformScope = Proxy;
gogol-appengine/gen/Network/Google/AppEngine/Types/Product.hs+710−412
@@ -20,6 +20,88 @@ module Network.Google.AppEngine.Types.Product where
20import Network.Google.AppEngine.Types.Sum
20import Network.Google.AppEngine.Types.Sum
21import Network.Google.Prelude
21import Network.Google.Prelude
22
22
23+-- | Metadata for the given google.longrunning.Operation.
24+--
25+-- /See:/ 'operationMetadataExperimental' smart constructor.
26+data OperationMetadataExperimental = OperationMetadataExperimental'
27+ { _omeInsertTime :: !(Maybe Text)
28+ , _omeUser :: !(Maybe Text)
29+ , _omeMethod :: !(Maybe Text)
30+ , _omeEndTime :: !(Maybe Text)
31+ , _omeTarget :: !(Maybe Text)
32+ } deriving (Eq,Show,Data,Typeable,Generic)
33+
34+-- | Creates a value of 'OperationMetadataExperimental' with the minimum fields required to make a request.
35+--
36+-- Use one of the following lenses to modify other fields as desired:
37+--
38+-- * 'omeInsertTime'
39+--
40+-- * 'omeUser'
41+--
42+-- * 'omeMethod'
43+--
44+-- * 'omeEndTime'
45+--
46+-- * 'omeTarget'
47+operationMetadataExperimental
48+ :: OperationMetadataExperimental
49+operationMetadataExperimental =
50+ OperationMetadataExperimental'
51+ { _omeInsertTime = Nothing
52+ , _omeUser = Nothing
53+ , _omeMethod = Nothing
54+ , _omeEndTime = Nothing
55+ , _omeTarget = Nothing
56+ }
57+
58+-- | Time that this operation was created.\'OutputOnly
59+omeInsertTime :: Lens' OperationMetadataExperimental (Maybe Text)
60+omeInsertTime
61+ = lens _omeInsertTime
62+ (\ s a -> s{_omeInsertTime = a})
63+
64+-- | User who requested this operation.\'OutputOnly
65+omeUser :: Lens' OperationMetadataExperimental (Maybe Text)
66+omeUser = lens _omeUser (\ s a -> s{_omeUser = a})
67+
68+-- | API method that initiated this operation. Example:
69+-- google.appengine.experimental.CustomDomains.CreateCustomDomain.\'OutputOnly
70+omeMethod :: Lens' OperationMetadataExperimental (Maybe Text)
71+omeMethod
72+ = lens _omeMethod (\ s a -> s{_omeMethod = a})
73+
74+-- | Time that this operation completed.\'OutputOnly
75+omeEndTime :: Lens' OperationMetadataExperimental (Maybe Text)
76+omeEndTime
77+ = lens _omeEndTime (\ s a -> s{_omeEndTime = a})
78+
79+-- | Name of the resource that this operation is acting on. Example:
80+-- apps\/myapp\/customDomains\/example.com.\'OutputOnly
81+omeTarget :: Lens' OperationMetadataExperimental (Maybe Text)
82+omeTarget
83+ = lens _omeTarget (\ s a -> s{_omeTarget = a})
84+
85+instance FromJSON OperationMetadataExperimental where
86+ parseJSON
87+ = withObject "OperationMetadataExperimental"
88+ (\ o ->
89+ OperationMetadataExperimental' <$>
90+ (o .:? "insertTime") <*> (o .:? "user") <*>
91+ (o .:? "method")
92+ <*> (o .:? "endTime")
93+ <*> (o .:? "target"))
94+
95+instance ToJSON OperationMetadataExperimental where
96+ toJSON OperationMetadataExperimental'{..}
97+ = object
98+ (catMaybes
99+ [("insertTime" .=) <$> _omeInsertTime,
100+ ("user" .=) <$> _omeUser,
101+ ("method" .=) <$> _omeMethod,
102+ ("endTime" .=) <$> _omeEndTime,
103+ ("target" .=) <$> _omeTarget])
104+
23-- | Target scaling by network usage. Only applicable for VM runtimes.
105-- | Target scaling by network usage. Only applicable for VM runtimes.
24--
106--
25-- /See:/ 'networkUtilization' smart constructor.
107-- /See:/ 'networkUtilization' smart constructor.
@@ -102,41 +184,41 @@ instance ToJSON NetworkUtilization where
102 ("targetSentBytesPerSecond" .=) <$>
184 ("targetSentBytesPerSecond" .=) <$>
103 _nuTargetSentBytesPerSecond])
185 _nuTargetSentBytesPerSecond])
104
186
105−-- | The \`Status\` type defines a logical error model that is suitable for
187+-- | The Status type defines a logical error model that is suitable for
106-- different programming environments, including REST APIs and RPC APIs. It
188-- different programming environments, including REST APIs and RPC APIs. It
107−-- is used by [gRPC](https:\/\/github.com\/grpc). The error model is
189+-- is used by gRPC (https:\/\/github.com\/grpc). The error model is
108−-- designed to be: - Simple to use and understand for most users - Flexible
190+-- designed to be: Simple to use and understand for most users Flexible
109−-- enough to meet unexpected needs # Overview The \`Status\` message
191+-- enough to meet unexpected needsOverviewThe Status message contains three
110−-- contains three pieces of data: error code, error message, and error
192+-- pieces of data: error code, error message, and error details. The error
111−-- details. The error code should be an enum value of google.rpc.Code, but
193+-- code should be an enum value of google.rpc.Code, but it may accept
112−-- it may accept additional error codes if needed. The error message should
194+-- additional error codes if needed. The error message should be a
113−-- be a developer-facing English message that helps developers *understand*
195+-- developer-facing English message that helps developers understand and
114−-- and *resolve* the error. If a localized user-facing error message is
196+-- resolve the error. If a localized user-facing error message is needed,
115−-- needed, put the localized message in the error details or localize it in
197+-- put the localized message in the error details or localize it in the
116−-- the client. The optional error details may contain arbitrary information
198+-- client. The optional error details may contain arbitrary information
117-- about the error. There is a predefined set of error detail types in the
199-- about the error. There is a predefined set of error detail types in the
118−-- package \`google.rpc\` which can be used for common error conditions. #
200+-- package google.rpc which can be used for common error
119−-- Language mapping The \`Status\` message is the logical representation of
201+-- conditions.Language mappingThe Status message is the logical
120−-- the error model, but it is not necessarily the actual wire format. When
202+-- representation of the error model, but it is not necessarily the actual
121−-- the \`Status\` message is exposed in different client libraries and
203+-- wire format. When the Status message is exposed in different client
122−-- different wire protocols, it can be mapped differently. For example, it
204+-- libraries and different wire protocols, it can be mapped differently.
123−-- will likely be mapped to some exceptions in Java, but more likely mapped
205+-- For example, it will likely be mapped to some exceptions in Java, but
124−-- to some error codes in C. # Other uses The error model and the
206+-- more likely mapped to some error codes in C.Other usesThe error model
125−-- \`Status\` message can be used in a variety of environments, either with
207+-- and the Status message can be used in a variety of environments, either
126−-- or without APIs, to provide a consistent developer experience across
208+-- with or without APIs, to provide a consistent developer experience
127−-- different environments. Example uses of this error model include: -
209+-- across different environments.Example uses of this error model include:
128-- Partial errors. If a service needs to return partial errors to the
210-- Partial errors. If a service needs to return partial errors to the
129−-- client, it may embed the \`Status\` in the normal response to indicate
211+-- client, it may embed the Status in the normal response to indicate the
130−-- the partial errors. - Workflow errors. A typical workflow has multiple
212+-- partial errors. Workflow errors. A typical workflow has multiple steps.
131−-- steps. Each step may have a \`Status\` message for error reporting
213+-- Each step may have a Status message for error reporting purpose. Batch
132−-- purpose. - Batch operations. If a client uses batch request and batch
214+-- operations. If a client uses batch request and batch response, the
133−-- response, the \`Status\` message should be used directly inside batch
215+-- Status message should be used directly inside batch response, one for
134−-- response, one for each error sub-response. - Asynchronous operations. If
216+-- each error sub-response. Asynchronous operations. If an API call embeds
135−-- an API call embeds asynchronous operation results in its response, the
217+-- asynchronous operation results in its response, the status of those
136−-- status of those operations should be represented directly using the
218+-- operations should be represented directly using the Status message.
137−-- \`Status\` message. - Logging. If some API errors are stored in logs,
219+-- Logging. If some API errors are stored in logs, the message Status could
138−-- the message \`Status\` could be used directly after any stripping needed
220+-- be used directly after any stripping needed for security\/privacy
139−-- for security\/privacy reasons.
221+-- reasons.
140--
222--
141-- /See:/ 'status' smart constructor.
223-- /See:/ 'status' smart constructor.
142data Status = Status'
224data Status = Status'
@@ -364,7 +446,7 @@ instance ToJSON ScriptHandler where
364 = object
446 = object
365 (catMaybes [("scriptPath" .=) <$> _shScriptPath])
447 (catMaybes [("scriptPath" .=) <$> _shScriptPath])
366
448
367−-- | Response message for \`Services.ListServices\`.
449+-- | Response message for Services.ListServices.
368--
450--
369-- /See:/ 'listServicesResponse' smart constructor.
451-- /See:/ 'listServicesResponse' smart constructor.
370data ListServicesResponse = ListServicesResponse'
452data ListServicesResponse = ListServicesResponse'
@@ -488,15 +570,15 @@ umURLRegex :: Lens' URLMap (Maybe Text)
488umURLRegex
570umURLRegex
489 = lens _umURLRegex (\ s a -> s{_umURLRegex = a})
571 = lens _umURLRegex (\ s a -> s{_umURLRegex = a})
490
572
491−-- | \`30x\` code to use when performing redirects for the \`secure\` field.
573+-- | 30x code to use when performing redirects for the secure field. Defaults
492−-- Defaults to \`302\`.
574+-- to 302.
493umRedirectHTTPResponseCode :: Lens' URLMap (Maybe Text)
575umRedirectHTTPResponseCode :: Lens' URLMap (Maybe Text)
494umRedirectHTTPResponseCode
576umRedirectHTTPResponseCode
495 = lens _umRedirectHTTPResponseCode
577 = lens _umRedirectHTTPResponseCode
496 (\ s a -> s{_umRedirectHTTPResponseCode = a})
578 (\ s a -> s{_umRedirectHTTPResponseCode = a})
497
579
498-- | Action to take when users access resources that require authentication.
580-- | Action to take when users access resources that require authentication.
499−-- Defaults to \`redirect\`.
581+-- Defaults to redirect.
500umAuthFailAction :: Lens' URLMap (Maybe Text)
582umAuthFailAction :: Lens' URLMap (Maybe Text)
501umAuthFailAction
583umAuthFailAction
502 = lens _umAuthFailAction
584 = lens _umAuthFailAction
@@ -884,8 +966,8 @@ instance ToJSON HealthCheck where
884 ("timeout" .=) <$> _hcTimeout,
966 ("timeout" .=) <$> _hcTimeout,
885 ("unhealthyThreshold" .=) <$> _hcUnhealthyThreshold])
967 ("unhealthyThreshold" .=) <$> _hcUnhealthyThreshold])
886
968
887−-- | [Google Cloud
969+-- | Google Cloud Endpoints
888−-- Endpoints](https:\/\/cloud.google.com\/appengine\/docs\/python\/endpoints\/)
970+-- (https:\/\/cloud.google.com\/appengine\/docs\/python\/endpoints\/)
889-- configuration for API handlers.
971-- configuration for API handlers.
890--
972--
891-- /See:/ 'apiConfigHandler' smart constructor.
973-- /See:/ 'apiConfigHandler' smart constructor.
@@ -937,14 +1019,13 @@ achURL :: Lens' APIConfigHandler (Maybe Text)
937achURL = lens _achURL (\ s a -> s{_achURL = a})
1019achURL = lens _achURL (\ s a -> s{_achURL = a})
938
1020
939-- | Action to take when users access resources that require authentication.
1021-- | Action to take when users access resources that require authentication.
940−-- Defaults to \`redirect\`.
1022+-- Defaults to redirect.
941achAuthFailAction :: Lens' APIConfigHandler (Maybe Text)
1023achAuthFailAction :: Lens' APIConfigHandler (Maybe Text)
942achAuthFailAction
1024achAuthFailAction
943 = lens _achAuthFailAction
1025 = lens _achAuthFailAction
944 (\ s a -> s{_achAuthFailAction = a})
1026 (\ s a -> s{_achAuthFailAction = a})
945
1027
946−-- | Level of login required to access this resource. Defaults to
1028+-- | Level of login required to access this resource. Defaults to optional.
947−-- \`optional\`.
948achLogin :: Lens' APIConfigHandler (Maybe Text)
1029achLogin :: Lens' APIConfigHandler (Maybe Text)
949achLogin = lens _achLogin (\ s a -> s{_achLogin = a})
1030achLogin = lens _achLogin (\ s a -> s{_achLogin = a})
950
1031
@@ -968,8 +1049,8 @@ instance ToJSON APIConfigHandler where
968 ("authFailAction" .=) <$> _achAuthFailAction,
1049 ("authFailAction" .=) <$> _achAuthFailAction,
969 ("login" .=) <$> _achLogin])
1050 ("login" .=) <$> _achLogin])
970
1051
971−-- | Environment variables available to the application. Only returned in
1052+-- | Environment variables available to the application.Only returned in GET
972−-- \`GET\` requests if \`view=FULL\` is set.
1053+-- requests if view=FULL is set.
973--
1054--
974-- /See:/ 'versionEnvVariables' smart constructor.
1055-- /See:/ 'versionEnvVariables' smart constructor.
975newtype VersionEnvVariables = VersionEnvVariables'
1056newtype VersionEnvVariables = VersionEnvVariables'
@@ -1054,41 +1135,41 @@ application =
1054 , _aLocationId = Nothing
1135 , _aLocationId = Nothing
1055 }
1136 }
1056
1137
1057−-- | Hostname used to reach this application, as resolved by App Engine.
1138+-- | Hostname used to reach this application, as resolved by App
1058−-- \'OutputOnly
1139+-- Engine.\'OutputOnly
1059aDefaultHostname :: Lens' Application (Maybe Text)
1140aDefaultHostname :: Lens' Application (Maybe Text)
1060aDefaultHostname
1141aDefaultHostname
1061 = lens _aDefaultHostname
1142 = lens _aDefaultHostname
1062 (\ s a -> s{_aDefaultHostname = a})
1143 (\ s a -> s{_aDefaultHostname = a})
1063
1144
1064−-- | Cookie expiration policy for this application. \'OutputOnly
1145+-- | Cookie expiration policy for this application.
1065aDefaultCookieExpiration :: Lens' Application (Maybe Text)
1146aDefaultCookieExpiration :: Lens' Application (Maybe Text)
1066aDefaultCookieExpiration
1147aDefaultCookieExpiration
1067 = lens _aDefaultCookieExpiration
1148 = lens _aDefaultCookieExpiration
1068 (\ s a -> s{_aDefaultCookieExpiration = a})
1149 (\ s a -> s{_aDefaultCookieExpiration = a})
1069
1150
1070-- | Google Apps authentication domain that controls which users can access
1151-- | Google Apps authentication domain that controls which users can access
1071−-- this application. Defaults to open access for any Google Account.
1152+-- this application.Defaults to open access for any Google Account.
1072aAuthDomain :: Lens' Application (Maybe Text)
1153aAuthDomain :: Lens' Application (Maybe Text)
1073aAuthDomain
1154aAuthDomain
1074 = lens _aAuthDomain (\ s a -> s{_aAuthDomain = a})
1155 = lens _aAuthDomain (\ s a -> s{_aAuthDomain = a})
1075
1156
1076-- | Google Cloud Storage bucket that can be used for storing files
1157-- | Google Cloud Storage bucket that can be used for storing files
1077-- associated with this application. This bucket is associated with the
1158-- associated with this application. This bucket is associated with the
1078−-- application and can be used by the gcloud deployment commands.
1159+-- application and can be used by the gcloud deployment
1079−-- \'OutputOnly
1160+-- commands.\'OutputOnly
1080aCodeBucket :: Lens' Application (Maybe Text)
1161aCodeBucket :: Lens' Application (Maybe Text)
1081aCodeBucket
1162aCodeBucket
1082 = lens _aCodeBucket (\ s a -> s{_aCodeBucket = a})
1163 = lens _aCodeBucket (\ s a -> s{_aCodeBucket = a})
1083
1164
1084-- | Full path to the Application resource in the API. Example:
1165-- | Full path to the Application resource in the API. Example:
1085−-- \`apps\/myapp\`. \'OutputOnly
1166+-- apps\/myapp.\'OutputOnly
1086aName :: Lens' Application (Maybe Text)
1167aName :: Lens' Application (Maybe Text)
1087aName = lens _aName (\ s a -> s{_aName = a})
1168aName = lens _aName (\ s a -> s{_aName = a})
1088
1169
1089-- | HTTP path dispatch rules for requests to the application that do not
1170-- | HTTP path dispatch rules for requests to the application that do not
1090−-- explicitly target a service or version. Rules are order-dependent.
1171+-- explicitly target a service or version. Rules are
1091−-- \'OutputOnly
1172+-- order-dependent.\'OutputOnly
1092aDispatchRules :: Lens' Application [URLDispatchRule]
1173aDispatchRules :: Lens' Application [URLDispatchRule]
1093aDispatchRules
1174aDispatchRules
1094 = lens _aDispatchRules
1175 = lens _aDispatchRules
@@ -1097,7 +1178,7 @@ aDispatchRules
1097 . _Coerce
1178 . _Coerce
1098
1179
1099-- | Google Cloud Storage bucket that can be used by this application to
1180-- | Google Cloud Storage bucket that can be used by this application to
1100−-- store content. \'OutputOnly
1181+-- store content.\'OutputOnly
1101aDefaultBucket :: Lens' Application (Maybe Text)
1182aDefaultBucket :: Lens' Application (Maybe Text)
1102aDefaultBucket
1183aDefaultBucket
1103 = lens _aDefaultBucket
1184 = lens _aDefaultBucket
@@ -1105,15 +1186,15 @@ aDefaultBucket
1105
1186
1106-- | Identifier of the Application resource. This identifier is equivalent to
1187-- | Identifier of the Application resource. This identifier is equivalent to
1107-- the project ID of the Google Cloud Platform project where you want to
1188-- the project ID of the Google Cloud Platform project where you want to
1108−-- deploy your application. Example: \`myapp\`.
1189+-- deploy your application. Example: myapp.
1109aId :: Lens' Application (Maybe Text)
1190aId :: Lens' Application (Maybe Text)
1110aId = lens _aId (\ s a -> s{_aId = a})
1191aId = lens _aId (\ s a -> s{_aId = a})
1111
1192
1112-- | Location from which this application will be run. Application instances
1193-- | Location from which this application will be run. Application instances
1113-- will run out of data centers in the chosen location, which is also where
1194-- will run out of data centers in the chosen location, which is also where
1114−-- all of the application\'s end user content is stored. Defaults to
1195+-- all of the application\'s end user content is stored.Defaults to
1115−-- \`us-central\`. Options are: \`us-central\` - Central US \`europe-west\`
1196+-- us-central.Options are:us-central - Central USeurope-west - Western
1116−-- - Western Europe \`us-east1\` - Eastern US
1197+-- Europeus-east1 - Eastern US
1117aLocationId :: Lens' Application (Maybe Text)
1198aLocationId :: Lens' Application (Maybe Text)
1118aLocationId
1199aLocationId
1119 = lens _aLocationId (\ s a -> s{_aLocationId = a})
1200 = lens _aLocationId (\ s a -> s{_aLocationId = a})
@@ -1221,12 +1302,12 @@ sSplit :: Lens' Service (Maybe TrafficSplit)
1221sSplit = lens _sSplit (\ s a -> s{_sSplit = a})
1302sSplit = lens _sSplit (\ s a -> s{_sSplit = a})
1222
1303
1223-- | Full path to the Service resource in the API. Example:
1304-- | Full path to the Service resource in the API. Example:
1224−-- \`apps\/myapp\/services\/default\`. \'OutputOnly
1305+-- apps\/myapp\/services\/default.\'OutputOnly
1225sName :: Lens' Service (Maybe Text)
1306sName :: Lens' Service (Maybe Text)
1226sName = lens _sName (\ s a -> s{_sName = a})
1307sName = lens _sName (\ s a -> s{_sName = a})
1227
1308
1228-- | Relative name of the service within the application. Example:
1309-- | Relative name of the service within the application. Example:
1229−-- \`default\`. \'OutputOnly
1310+-- default.\'OutputOnly
1230sId :: Lens' Service (Maybe Text)
1311sId :: Lens' Service (Maybe Text)
1231sId = lens _sId (\ s a -> s{_sId = a})
1312sId = lens _sId (\ s a -> s{_sId = a})
1232
1313
@@ -1244,6 +1325,59 @@ instance ToJSON Service where
1244 [("split" .=) <$> _sSplit, ("name" .=) <$> _sName,
1325 [("split" .=) <$> _sSplit, ("name" .=) <$> _sName,
1245 ("id" .=) <$> _sId])
1326 ("id" .=) <$> _sId])
1246
1327
1328+-- | Cloud Endpoints (https:\/\/cloud.google.com\/endpoints) configuration.
1329+-- The Endpoints API Service provides tooling for serving Open API and gRPC
1330+-- endpoints via an NGINX proxy.The fields here refer to the name and
1331+-- configuration id of a \"service\" resource in the Service Management API
1332+-- (https:\/\/cloud.google.com\/service-management\/overview).
1333+--
1334+-- /See:/ 'endpointsAPIService' smart constructor.
1335+data EndpointsAPIService = EndpointsAPIService'
1336+ { _easName :: !(Maybe Text)
1337+ , _easConfigId :: !(Maybe Text)
1338+ } deriving (Eq,Show,Data,Typeable,Generic)
1339+
1340+-- | Creates a value of 'EndpointsAPIService' with the minimum fields required to make a request.
1341+--
1342+-- Use one of the following lenses to modify other fields as desired:
1343+--
1344+-- * 'easName'
1345+--
1346+-- * 'easConfigId'
1347+endpointsAPIService
1348+ :: EndpointsAPIService
1349+endpointsAPIService =
1350+ EndpointsAPIService'
1351+ { _easName = Nothing
1352+ , _easConfigId = Nothing
1353+ }
1354+
1355+-- | Endpoints service name which is the name of the \"service\" resource in
1356+-- the Service Management API. For example
1357+-- \"myapi.endpoints.myproject.cloud.goog\"
1358+easName :: Lens' EndpointsAPIService (Maybe Text)
1359+easName = lens _easName (\ s a -> s{_easName = a})
1360+
1361+-- | Endpoints service configuration id as specified by the Service
1362+-- Management API. For example \"2016-09-19r1\"
1363+easConfigId :: Lens' EndpointsAPIService (Maybe Text)
1364+easConfigId
1365+ = lens _easConfigId (\ s a -> s{_easConfigId = a})
1366+
1367+instance FromJSON EndpointsAPIService where
1368+ parseJSON
1369+ = withObject "EndpointsAPIService"
1370+ (\ o ->
1371+ EndpointsAPIService' <$>
1372+ (o .:? "name") <*> (o .:? "configId"))
1373+
1374+instance ToJSON EndpointsAPIService where
1375+ toJSON EndpointsAPIService'{..}
1376+ = object
1377+ (catMaybes
1378+ [("name" .=) <$> _easName,
1379+ ("configId" .=) <$> _easConfigId])
1380+
1247-- | A resource that represents Google Cloud Platform location.
1381-- | A resource that represents Google Cloud Platform location.
1248--
1382--
1249-- /See:/ 'location' smart constructor.
1383-- /See:/ 'location' smart constructor.
@@ -1276,7 +1410,7 @@ location =
1276 }
1410 }
1277
1411
1278-- | Resource name for the location, which may vary between implementations.
1412-- | Resource name for the location, which may vary between implementations.
1279−-- For example: \`\"projects\/example-project\/locations\/us-east1\"\`
1413+-- For example: \"projects\/example-project\/locations\/us-east1\"
1280locName :: Lens' Location (Maybe Text)
1414locName :: Lens' Location (Maybe Text)
1281locName = lens _locName (\ s a -> s{_locName = a})
1415locName = lens _locName (\ s a -> s{_locName = a})
1282
1416
@@ -1292,7 +1426,7 @@ locLabels :: Lens' Location (Maybe LocationLabels)
1292locLabels
1426locLabels
1293 = lens _locLabels (\ s a -> s{_locLabels = a})
1427 = lens _locLabels (\ s a -> s{_locLabels = a})
1294
1428
1295−-- | The canonical id for this location. For example: \`\"us-east1\"\`.
1429+-- | The canonical id for this location. For example: \"us-east1\".
1296locLocationId :: Lens' Location (Maybe Text)
1430locLocationId :: Lens' Location (Maybe Text)
1297locLocationId
1431locLocationId
1298 = lens _locLocationId
1432 = lens _locLocationId
@@ -1352,31 +1486,30 @@ operation =
1352 , _oMetadata = Nothing
1486 , _oMetadata = Nothing
1353 }
1487 }
1354
1488
1355−-- | If the value is \`false\`, it means the operation is still in progress.
1489+-- | If the value is false, it means the operation is still in progress. If
1356−-- If true, the operation is completed, and either \`error\` or
1490+-- true, the operation is completed, and either error or response is
1357−-- \`response\` is available.
1491+-- available.
1358oDone :: Lens' Operation (Maybe Bool)
1492oDone :: Lens' Operation (Maybe Bool)
1359oDone = lens _oDone (\ s a -> s{_oDone = a})
1493oDone = lens _oDone (\ s a -> s{_oDone = a})
1360
1494
1361−-- | The error result of the operation in case of failure.
1495+-- | The error result of the operation in case of failure or cancellation.
1362oError :: Lens' Operation (Maybe Status)
1496oError :: Lens' Operation (Maybe Status)
1363oError = lens _oError (\ s a -> s{_oError = a})
1497oError = lens _oError (\ s a -> s{_oError = a})
1364
1498
1365-- | The normal response of the operation in case of success. If the original
1499-- | The normal response of the operation in case of success. If the original
1366−-- method returns no data on success, such as \`Delete\`, the response is
1500+-- method returns no data on success, such as Delete, the response is
1367−-- \`google.protobuf.Empty\`. If the original method is standard
1501+-- google.protobuf.Empty. If the original method is standard
1368−-- \`Get\`\/\`Create\`\/\`Update\`, the response should be the resource.
1502+-- Get\/Create\/Update, the response should be the resource. For other
1369−-- For other methods, the response should have the type \`XxxResponse\`,
1503+-- methods, the response should have the type XxxResponse, where Xxx is the
1370−-- where \`Xxx\` is the original method name. For example, if the original
1504+-- original method name. For example, if the original method name is
1371−-- method name is \`TakeSnapshot()\`, the inferred response type is
1505+-- TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
1372−-- \`TakeSnapshotResponse\`.
1373oResponse :: Lens' Operation (Maybe OperationResponse)
1506oResponse :: Lens' Operation (Maybe OperationResponse)
1374oResponse
1507oResponse
1375 = lens _oResponse (\ s a -> s{_oResponse = a})
1508 = lens _oResponse (\ s a -> s{_oResponse = a})
1376
1509
1377-- | The server-assigned name, which is only unique within the same service
1510-- | The server-assigned name, which is only unique within the same service
1378-- that originally returns it. If you use the default HTTP mapping, the
1511-- that originally returns it. If you use the default HTTP mapping, the
1379−-- \`name\` should have the format of \`operations\/some\/unique\/name\`.
1512+-- name should have the format of operations\/some\/unique\/name.
1380oName :: Lens' Operation (Maybe Text)
1513oName :: Lens' Operation (Maybe Text)
1381oName = lens _oName (\ s a -> s{_oName = a})
1514oName = lens _oName (\ s a -> s{_oName = a})
1382
1515
@@ -1440,7 +1573,7 @@ ziFilesCount
1440
1573
1441-- | URL of the zip file to deploy from. Must be a URL to a resource in
1574-- | URL of the zip file to deploy from. Must be a URL to a resource in
1442-- Google Cloud Storage in the form
1575-- Google Cloud Storage in the form
1443−-- \'http(s):\/\/storage.googleapis.com\/\\\/\\\'.
1576+-- \'http(s):\/\/storage.googleapis.com\/\/\'.
1444ziSourceURL :: Lens' ZipInfo (Maybe Text)
1577ziSourceURL :: Lens' ZipInfo (Maybe Text)
1445ziSourceURL
1578ziSourceURL
1446 = lens _ziSourceURL (\ s a -> s{_ziSourceURL = a})
1579 = lens _ziSourceURL (\ s a -> s{_ziSourceURL = a})
@@ -1486,21 +1619,21 @@ urlDispatchRule =
1486 , _udrDomain = Nothing
1619 , _udrDomain = Nothing
1487 }
1620 }
1488
1621
1489−-- | Pathname within the host. Must start with a \"\`\/\`\". A single
1622+-- | Pathname within the host. Must start with a \"\/\". A single \"*\" can
1490−-- \"\`*\`\" can be included at the end of the path. The sum of the lengths
1623+-- be included at the end of the path. The sum of the lengths of the domain
1491−-- of the domain and path may not exceed 100 characters.
1624+-- and path may not exceed 100 characters.
1492udrPath :: Lens' URLDispatchRule (Maybe Text)
1625udrPath :: Lens' URLDispatchRule (Maybe Text)
1493udrPath = lens _udrPath (\ s a -> s{_udrPath = a})
1626udrPath = lens _udrPath (\ s a -> s{_udrPath = a})
1494
1627
1495-- | Resource ID of a service in this application that should serve the
1628-- | Resource ID of a service in this application that should serve the
1496−-- matched request. The service must already exist. Example: \`default\`.
1629+-- matched request. The service must already exist. Example: default.
1497udrService :: Lens' URLDispatchRule (Maybe Text)
1630udrService :: Lens' URLDispatchRule (Maybe Text)
1498udrService
1631udrService
1499 = lens _udrService (\ s a -> s{_udrService = a})
1632 = lens _udrService (\ s a -> s{_udrService = a})
1500
1633
1501−-- | Domain name to match against. The wildcard \"\`*\`\" is supported if
1634+-- | Domain name to match against. The wildcard \"*\" is supported if
1502−-- specified before a period: \"\`*.\`\". Defaults to matching all domains:
1635+-- specified before a period: \"*.\".Defaults to matching all domains:
1503−-- \"\`*\`\".
1636+-- \"*\".
1504udrDomain :: Lens' URLDispatchRule (Maybe Text)
1637udrDomain :: Lens' URLDispatchRule (Maybe Text)
1505udrDomain
1638udrDomain
1506 = lens _udrDomain (\ s a -> s{_udrDomain = a})
1639 = lens _udrDomain (\ s a -> s{_udrDomain = a})
@@ -1521,7 +1654,7 @@ instance ToJSON URLDispatchRule where
1521 ("service" .=) <$> _udrService,
1654 ("service" .=) <$> _udrService,
1522 ("domain" .=) <$> _udrDomain])
1655 ("domain" .=) <$> _udrDomain])
1523
1656
1524−-- | Response message for \`Versions.ListVersions\`.
1657+-- | Response message for Versions.ListVersions.
1525--
1658--
1526-- /See:/ 'listVersionsResponse' smart constructor.
1659-- /See:/ 'listVersionsResponse' smart constructor.
1527data ListVersionsResponse = ListVersionsResponse'
1660data ListVersionsResponse = ListVersionsResponse'
@@ -1605,7 +1738,7 @@ fiSha1Sum :: Lens' FileInfo (Maybe Text)
1605fiSha1Sum
1738fiSha1Sum
1606 = lens _fiSha1Sum (\ s a -> s{_fiSha1Sum = a})
1739 = lens _fiSha1Sum (\ s a -> s{_fiSha1Sum = a})
1607
1740
1608−-- | The MIME type of the file. Defaults to the value from Google Cloud
1741+-- | The MIME type of the file.Defaults to the value from Google Cloud
1609-- Storage.
1742-- Storage.
1610fiMimeType :: Lens' FileInfo (Maybe Text)
1743fiMimeType :: Lens' FileInfo (Maybe Text)
1611fiMimeType
1744fiMimeType
@@ -1613,7 +1746,7 @@ fiMimeType
1613
1746
1614-- | URL source to use to fetch this file. Must be a URL to a resource in
1747-- | URL source to use to fetch this file. Must be a URL to a resource in
1615-- Google Cloud Storage in the form
1748-- Google Cloud Storage in the form
1616−-- \'http(s):\/\/storage.googleapis.com\/\\\/\\\'.
1749+-- \'http(s):\/\/storage.googleapis.com\/\/\'.
1617fiSourceURL :: Lens' FileInfo (Maybe Text)
1750fiSourceURL :: Lens' FileInfo (Maybe Text)
1618fiSourceURL
1751fiSourceURL
1619 = lens _fiSourceURL (\ s a -> s{_fiSourceURL = a})
1752 = lens _fiSourceURL (\ s a -> s{_fiSourceURL = a})
@@ -1754,7 +1887,7 @@ asMinTotalInstances
1754 . mapping _Coerce
1887 . mapping _Coerce
1755
1888
1756-- | Number of concurrent requests an automatic scaling instance can accept
1889-- | Number of concurrent requests an automatic scaling instance can accept
1757−-- before the scheduler spawns a new instance. Defaults to a
1890+-- before the scheduler spawns a new instance.Defaults to a
1758-- runtime-specific value.
1891-- runtime-specific value.
1759asMaxConcurrentRequests :: Lens' AutomaticScaling (Maybe Int32)
1892asMaxConcurrentRequests :: Lens' AutomaticScaling (Maybe Int32)
1760asMaxConcurrentRequests
1893asMaxConcurrentRequests
@@ -1762,10 +1895,10 @@ asMaxConcurrentRequests
1762 (\ s a -> s{_asMaxConcurrentRequests = a})
1895 (\ s a -> s{_asMaxConcurrentRequests = a})
1763 . mapping _Coerce
1896 . mapping _Coerce
1764
1897
1765−-- | Amount of time that the
1898+-- | Amount of time that the Autoscaler
1766−-- [Autoscaler](https:\/\/cloud.google.com\/compute\/docs\/autoscaler\/)
1899+-- (https:\/\/cloud.google.com\/compute\/docs\/autoscaler\/) should wait
1767−-- should wait between changes to the number of virtual machines. Only
1900+-- between changes to the number of virtual machines. Only applicable for
1768−-- applicable for VM runtimes.
1901+-- VM runtimes.
1769asCoolDownPeriod :: Lens' AutomaticScaling (Maybe Text)
1902asCoolDownPeriod :: Lens' AutomaticScaling (Maybe Text)
1770asCoolDownPeriod
1903asCoolDownPeriod
1771 = lens _asCoolDownPeriod
1904 = lens _asCoolDownPeriod
@@ -1855,29 +1988,29 @@ operationMetadataV1Beta5 =
1855 , _omvbTarget = Nothing
1988 , _omvbTarget = Nothing
1856 }
1989 }
1857
1990
1858−-- | Timestamp that this operation was created. \'OutputOnly
1991+-- | Timestamp that this operation was created.\'OutputOnly
1859omvbInsertTime :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1992omvbInsertTime :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1860omvbInsertTime
1993omvbInsertTime
1861 = lens _omvbInsertTime
1994 = lens _omvbInsertTime
1862 (\ s a -> s{_omvbInsertTime = a})
1995 (\ s a -> s{_omvbInsertTime = a})
1863
1996
1864−-- | User who requested this operation. \'OutputOnly
1997+-- | User who requested this operation.\'OutputOnly
1865omvbUser :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1998omvbUser :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1866omvbUser = lens _omvbUser (\ s a -> s{_omvbUser = a})
1999omvbUser = lens _omvbUser (\ s a -> s{_omvbUser = a})
1867
2000
1868-- | API method name that initiated this operation. Example:
2001-- | API method name that initiated this operation. Example:
1869−-- \`google.appengine.v1beta5.Version.CreateVersion\`. \'OutputOnly
2002+-- google.appengine.v1beta5.Version.CreateVersion.\'OutputOnly
1870omvbMethod :: Lens' OperationMetadataV1Beta5 (Maybe Text)
2003omvbMethod :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1871omvbMethod
2004omvbMethod
1872 = lens _omvbMethod (\ s a -> s{_omvbMethod = a})
2005 = lens _omvbMethod (\ s a -> s{_omvbMethod = a})
1873
2006
1874−-- | Timestamp that this operation completed. \'OutputOnly
2007+-- | Timestamp that this operation completed.\'OutputOnly
1875omvbEndTime :: Lens' OperationMetadataV1Beta5 (Maybe Text)
2008omvbEndTime :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1876omvbEndTime
2009omvbEndTime
1877 = lens _omvbEndTime (\ s a -> s{_omvbEndTime = a})
2010 = lens _omvbEndTime (\ s a -> s{_omvbEndTime = a})
1878
2011
1879-- | Name of the resource that this operation is acting on. Example:
2012-- | Name of the resource that this operation is acting on. Example:
1880−-- \`apps\/myapp\/services\/default\`. \'OutputOnly
2013+-- apps\/myapp\/services\/default.\'OutputOnly
1881omvbTarget :: Lens' OperationMetadataV1Beta5 (Maybe Text)
2014omvbTarget :: Lens' OperationMetadataV1Beta5 (Maybe Text)
1882omvbTarget
2015omvbTarget
1883 = lens _omvbTarget (\ s a -> s{_omvbTarget = a})
2016 = lens _omvbTarget (\ s a -> s{_omvbTarget = a})
@@ -1902,6 +2035,64 @@ instance ToJSON OperationMetadataV1Beta5 where
1902 ("endTime" .=) <$> _omvbEndTime,
2035 ("endTime" .=) <$> _omvbEndTime,
1903 ("target" .=) <$> _omvbTarget])
2036 ("target" .=) <$> _omvbTarget])
1904
2037
2038+-- | Volumes mounted within the app container. Only applicable for VM
2039+-- runtimes.
2040+--
2041+-- /See:/ 'volume' smart constructor.
2042+data Volume = Volume'
2043+ { _vSizeGb :: !(Maybe (Textual Double))
2044+ , _vName :: !(Maybe Text)
2045+ , _vVolumeType :: !(Maybe Text)
2046+ } deriving (Eq,Show,Data,Typeable,Generic)
2047+
2048+-- | Creates a value of 'Volume' with the minimum fields required to make a request.
2049+--
2050+-- Use one of the following lenses to modify other fields as desired:
2051+--
2052+-- * 'vSizeGb'
2053+--
2054+-- * 'vName'
2055+--
2056+-- * 'vVolumeType'
2057+volume
2058+ :: Volume
2059+volume =
2060+ Volume'
2061+ { _vSizeGb = Nothing
2062+ , _vName = Nothing
2063+ , _vVolumeType = Nothing
2064+ }
2065+
2066+-- | Volume size in gigabytes.
2067+vSizeGb :: Lens' Volume (Maybe Double)
2068+vSizeGb
2069+ = lens _vSizeGb (\ s a -> s{_vSizeGb = a}) .
2070+ mapping _Coerce
2071+
2072+-- | Unique name for the volume.
2073+vName :: Lens' Volume (Maybe Text)
2074+vName = lens _vName (\ s a -> s{_vName = a})
2075+
2076+-- | Underlying volume type, e.g. \'tmpfs\'.
2077+vVolumeType :: Lens' Volume (Maybe Text)
2078+vVolumeType
2079+ = lens _vVolumeType (\ s a -> s{_vVolumeType = a})
2080+
2081+instance FromJSON Volume where
2082+ parseJSON
2083+ = withObject "Volume"
2084+ (\ o ->
2085+ Volume' <$>
2086+ (o .:? "sizeGb") <*> (o .:? "name") <*>
2087+ (o .:? "volumeType"))
2088+
2089+instance ToJSON Volume where
2090+ toJSON Volume'{..}
2091+ = object
2092+ (catMaybes
2093+ [("sizeGb" .=) <$> _vSizeGb, ("name" .=) <$> _vName,
2094+ ("volumeType" .=) <$> _vVolumeType])
2095+
1905-- | Uses Google Cloud Endpoints to handle requests.
2096-- | Uses Google Cloud Endpoints to handle requests.
1906--
2097--
1907-- /See:/ 'apiEndpointHandler' smart constructor.
2098-- /See:/ 'apiEndpointHandler' smart constructor.
@@ -1974,7 +2165,8 @@ instance ToJSON StatusDetailsItem where
1974--
2165--
1975-- /See:/ 'network' smart constructor.
2166-- /See:/ 'network' smart constructor.
1976data Network = Network'
2167data Network = Network'
2168+ { _nSubnetworkName :: !(Maybe Text)
1977− { _nForwardedPorts :: !(Maybe [Text])
2169+ , _nForwardedPorts :: !(Maybe [Text])
1978 , _nInstanceTag :: !(Maybe Text)
2170 , _nInstanceTag :: !(Maybe Text)
1979 , _nName :: !(Maybe Text)
2171 , _nName :: !(Maybe Text)
1980 } deriving (Eq,Show,Data,Typeable,Generic)
2172 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -1983,6 +2175,8 @@ data Network = Network'
1983--
2175--
1984-- Use one of the following lenses to modify other fields as desired:
2176-- Use one of the following lenses to modify other fields as desired:
1985--
2177--
2178+-- * 'nSubnetworkName'
2179+--
1986-- * 'nForwardedPorts'
2180-- * 'nForwardedPorts'
1987--
2181--
1988-- * 'nInstanceTag'
2182-- * 'nInstanceTag'
@@ -1992,11 +2186,30 @@ network
1992 :: Network
2186 :: Network
1993network =
2187network =
1994 Network'
2188 Network'
2189+ { _nSubnetworkName = Nothing
1995− { _nForwardedPorts = Nothing
2190+ , _nForwardedPorts = Nothing
1996 , _nInstanceTag = Nothing
2191 , _nInstanceTag = Nothing
1997 , _nName = Nothing
2192 , _nName = Nothing
1998 }
2193 }
1999
2194
2195+-- | Google Cloud Platform sub-network where the virtual machines are
2196+-- created. Specify the short name, not the resource path.If a subnetwork
2197+-- name is specified, a network name will also be required unless it is for
2198+-- the default network. If the network the VM instance is being created in
2199+-- is a Legacy network, then the IP address is allocated from the
2200+-- IPv4Range. If the network the VM instance is being created in is an auto
2201+-- Subnet Mode Network, then only network name should be specified (not the
2202+-- subnetwork_name) and the IP address is created from the IPCidrRange of
2203+-- the subnetwork that exists in that zone for that network. If the network
2204+-- the VM instance is being created in is a custom Subnet Mode Network,
2205+-- then the subnetwork_name must be specified and the IP address is created
2206+-- from the IPCidrRange of the subnetwork.If specified, the subnetwork must
2207+-- exist in the same region as the Flex app.
2208+nSubnetworkName :: Lens' Network (Maybe Text)
2209+nSubnetworkName
2210+ = lens _nSubnetworkName
2211+ (\ s a -> s{_nSubnetworkName = a})
2212+
2000-- | List of ports, or port pairs, to forward from the virtual machine to the
2213-- | List of ports, or port pairs, to forward from the virtual machine to the
2001-- application container.
2214-- application container.
2002nForwardedPorts :: Lens' Network [Text]
2215nForwardedPorts :: Lens' Network [Text]
@@ -2012,7 +2225,7 @@ nInstanceTag
2012 = lens _nInstanceTag (\ s a -> s{_nInstanceTag = a})
2225 = lens _nInstanceTag (\ s a -> s{_nInstanceTag = a})
2013
2226
2014-- | Google Cloud Platform network where the virtual machines are created.
2227-- | Google Cloud Platform network where the virtual machines are created.
2015−-- Specify the short name, not the resource path. Defaults to \`default\`.
2228+-- Specify the short name, not the resource path.Defaults to default.
2016nName :: Lens' Network (Maybe Text)
2229nName :: Lens' Network (Maybe Text)
2017nName = lens _nName (\ s a -> s{_nName = a})
2230nName = lens _nName (\ s a -> s{_nName = a})
2018
2231
@@ -2021,38 +2234,56 @@ instance FromJSON Network where
2021 = withObject "Network"
2234 = withObject "Network"
2022 (\ o ->
2235 (\ o ->
2023 Network' <$>
2236 Network' <$>
2237+ (o .:? "subnetworkName") <*>
2024− (o .:? "forwardedPorts" .!= mempty) <*>
2238+ (o .:? "forwardedPorts" .!= mempty)
2025− (o .:? "instanceTag")
2239+ <*> (o .:? "instanceTag")
2026 <*> (o .:? "name"))
2240 <*> (o .:? "name"))
2027
2241
2028instance ToJSON Network where
2242instance ToJSON Network where
2029 toJSON Network'{..}
2243 toJSON Network'{..}
2030 = object
2244 = object
2031 (catMaybes
2245 (catMaybes
2246+ [("subnetworkName" .=) <$> _nSubnetworkName,
2032− [("forwardedPorts" .=) <$> _nForwardedPorts,
2247+ ("forwardedPorts" .=) <$> _nForwardedPorts,
2033 ("instanceTag" .=) <$> _nInstanceTag,
2248 ("instanceTag" .=) <$> _nInstanceTag,
2034 ("name" .=) <$> _nName])
2249 ("name" .=) <$> _nName])
2035
2250
2036−-- | Request message for \`Instances.DebugInstance\`.
2251+-- | Request message for Instances.DebugInstance.
2037--
2252--
2038-- /See:/ 'debugInstanceRequest' smart constructor.
2253-- /See:/ 'debugInstanceRequest' smart constructor.
2039−data DebugInstanceRequest =
2040− DebugInstanceRequest'
2254+newtype DebugInstanceRequest = DebugInstanceRequest'
2255+ { _dirSSHKey :: Maybe Text
2041− deriving (Eq,Show,Data,Typeable,Generic)
2256+ } deriving (Eq,Show,Data,Typeable,Generic)
2042
2257
2043-- | Creates a value of 'DebugInstanceRequest' with the minimum fields required to make a request.
2258-- | Creates a value of 'DebugInstanceRequest' with the minimum fields required to make a request.
2044--
2259--
2260+-- Use one of the following lenses to modify other fields as desired:
2261+--
2262+-- * 'dirSSHKey'
2045debugInstanceRequest
2263debugInstanceRequest
2046 :: DebugInstanceRequest
2264 :: DebugInstanceRequest
2047−debugInstanceRequest = DebugInstanceRequest'
2265+debugInstanceRequest =
2266+ DebugInstanceRequest'
2267+ { _dirSSHKey = Nothing
2268+ }
2269+
2270+-- | Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
2271+-- [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
2272+-- {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more
2273+-- information, see Adding and Removing SSH Keys
2274+-- (https:\/\/cloud.google.com\/compute\/docs\/instances\/adding-removing-ssh-keys).
2275+dirSSHKey :: Lens' DebugInstanceRequest (Maybe Text)
2276+dirSSHKey
2277+ = lens _dirSSHKey (\ s a -> s{_dirSSHKey = a})
2048
2278
2049instance FromJSON DebugInstanceRequest where
2279instance FromJSON DebugInstanceRequest where
2050 parseJSON
2280 parseJSON
2051 = withObject "DebugInstanceRequest"
2281 = withObject "DebugInstanceRequest"
2052− (\ o -> pure DebugInstanceRequest')
2282+ (\ o -> DebugInstanceRequest' <$> (o .:? "sshKey"))
2053
2283
2054instance ToJSON DebugInstanceRequest where
2284instance ToJSON DebugInstanceRequest where
2055− toJSON = const emptyObject
2285+ toJSON DebugInstanceRequest'{..}
2286+ = object (catMaybes [("sshKey" .=) <$> _dirSSHKey])
2056
2287
2057-- | HTTP headers to use for all responses from these URLs.
2288-- | HTTP headers to use for all responses from these URLs.
2058--
2289--
@@ -2096,6 +2327,7 @@ instance ToJSON StaticFilesHandlerHTTPHeaders where
2096data Resources = Resources'
2327data Resources = Resources'
2097 { _rMemoryGb :: !(Maybe (Textual Double))
2328 { _rMemoryGb :: !(Maybe (Textual Double))
2098 , _rDiskGb :: !(Maybe (Textual Double))
2329 , _rDiskGb :: !(Maybe (Textual Double))
2330+ , _rVolumes :: !(Maybe [Volume])
2099 , _rCPU :: !(Maybe (Textual Double))
2331 , _rCPU :: !(Maybe (Textual Double))
2100 } deriving (Eq,Show,Data,Typeable,Generic)
2332 } deriving (Eq,Show,Data,Typeable,Generic)
2101
2333
@@ -2107,6 +2339,8 @@ data Resources = Resources'
2107--
2339--
2108-- * 'rDiskGb'
2340-- * 'rDiskGb'
2109--
2341--
2342+-- * 'rVolumes'
2343+--
2110-- * 'rCPU'
2344-- * 'rCPU'
2111resources
2345resources
2112 :: Resources
2346 :: Resources
@@ -2114,6 +2348,7 @@ resources =
2114 Resources'
2348 Resources'
2115 { _rMemoryGb = Nothing
2349 { _rMemoryGb = Nothing
2116 , _rDiskGb = Nothing
2350 , _rDiskGb = Nothing
2351+ , _rVolumes = Nothing
2117 , _rCPU = Nothing
2352 , _rCPU = Nothing
2118 }
2353 }
2119
2354
@@ -2129,6 +2364,13 @@ rDiskGb
2129 = lens _rDiskGb (\ s a -> s{_rDiskGb = a}) .
2364 = lens _rDiskGb (\ s a -> s{_rDiskGb = a}) .
2130 mapping _Coerce
2365 mapping _Coerce
2131
2366
2367+-- | User specified volumes.
2368+rVolumes :: Lens' Resources [Volume]
2369+rVolumes
2370+ = lens _rVolumes (\ s a -> s{_rVolumes = a}) .
2371+ _Default
2372+ . _Coerce
2373+
2132-- | Number of CPU cores needed.
2374-- | Number of CPU cores needed.
2133rCPU :: Lens' Resources (Maybe Double)
2375rCPU :: Lens' Resources (Maybe Double)
2134rCPU
2376rCPU
@@ -2141,14 +2383,16 @@ instance FromJSON Resources where
2141 (\ o ->
2383 (\ o ->
2142 Resources' <$>
2384 Resources' <$>
2143 (o .:? "memoryGb") <*> (o .:? "diskGb") <*>
2385 (o .:? "memoryGb") <*> (o .:? "diskGb") <*>
2386+ (o .:? "volumes" .!= mempty)
2144− (o .:? "cpu"))
2387+ <*> (o .:? "cpu"))
2145
2388
2146instance ToJSON Resources where
2389instance ToJSON Resources where
2147 toJSON Resources'{..}
2390 toJSON Resources'{..}
2148 = object
2391 = object
2149 (catMaybes
2392 (catMaybes
2150 [("memoryGb" .=) <$> _rMemoryGb,
2393 [("memoryGb" .=) <$> _rMemoryGb,
2151− ("diskGb" .=) <$> _rDiskGb, ("cpu" .=) <$> _rCPU])
2394+ ("diskGb" .=) <$> _rDiskGb,
2395+ ("volumes" .=) <$> _rVolumes, ("cpu" .=) <$> _rCPU])
2152
2396
2153-- | Manifest of the files stored in Google Cloud Storage that are included
2397-- | Manifest of the files stored in Google Cloud Storage that are included
2154-- as part of this version. All files must be readable using the
2398-- as part of this version. All files must be readable using the
@@ -2300,9 +2544,9 @@ manualScaling =
2300 }
2544 }
2301
2545
2302-- | Number of instances to assign to the service at the start. This number
2546-- | Number of instances to assign to the service at the start. This number
2303−-- can later be altered by using the [Modules
2547+-- can later be altered by using the Modules API
2304−-- API](https:\/\/cloud.google.com\/appengine\/docs\/python\/modules\/functions)
2548+-- (https:\/\/cloud.google.com\/appengine\/docs\/python\/modules\/functions)
2305−-- \`set_num_instances()\` function.
2549+-- set_num_instances() function.
2306msInstances :: Lens' ManualScaling (Maybe Int32)
2550msInstances :: Lens' ManualScaling (Maybe Int32)
2307msInstances
2551msInstances
2308 = lens _msInstances (\ s a -> s{_msInstances = a}) .
2552 = lens _msInstances (\ s a -> s{_msInstances = a}) .
@@ -2376,17 +2620,21 @@ instance ToJSON BasicScaling where
2376--
2620--
2377-- /See:/ 'operationMetadataV1' smart constructor.
2621-- /See:/ 'operationMetadataV1' smart constructor.
2378data OperationMetadataV1 = OperationMetadataV1'
2622data OperationMetadataV1 = OperationMetadataV1'
2623+ { _omvEphemeralMessage :: !(Maybe Text)
2379− { _omvInsertTime :: !(Maybe Text)
2624+ , _omvInsertTime :: !(Maybe Text)
2380− , _omvUser :: !(Maybe Text)
2625+ , _omvUser :: !(Maybe Text)
2381− , _omvMethod :: !(Maybe Text)
2626+ , _omvMethod :: !(Maybe Text)
2382− , _omvEndTime :: !(Maybe Text)
2627+ , _omvEndTime :: !(Maybe Text)
2628+ , _omvWarning :: !(Maybe [Text])
2383− , _omvTarget :: !(Maybe Text)
2629+ , _omvTarget :: !(Maybe Text)
2384 } deriving (Eq,Show,Data,Typeable,Generic)
2630 } deriving (Eq,Show,Data,Typeable,Generic)
2385
2631
2386-- | Creates a value of 'OperationMetadataV1' with the minimum fields required to make a request.
2632-- | Creates a value of 'OperationMetadataV1' with the minimum fields required to make a request.
2387--
2633--
2388-- Use one of the following lenses to modify other fields as desired:
2634-- Use one of the following lenses to modify other fields as desired:
2389--
2635--
2636+-- * 'omvEphemeralMessage'
2637+--
2390-- * 'omvInsertTime'
2638-- * 'omvInsertTime'
2391--
2639--
2392-- * 'omvUser'
2640-- * 'omvUser'
@@ -2395,41 +2643,59 @@ data OperationMetadataV1 = OperationMetadataV1'
2395--
2643--
2396-- * 'omvEndTime'
2644-- * 'omvEndTime'
2397--
2645--
2646+-- * 'omvWarning'
2647+--
2398-- * 'omvTarget'
2648-- * 'omvTarget'
2399operationMetadataV1
2649operationMetadataV1
2400 :: OperationMetadataV1
2650 :: OperationMetadataV1
2401operationMetadataV1 =
2651operationMetadataV1 =
2402 OperationMetadataV1'
2652 OperationMetadataV1'
2653+ { _omvEphemeralMessage = Nothing
2403− { _omvInsertTime = Nothing
2654+ , _omvInsertTime = Nothing
2404 , _omvUser = Nothing
2655 , _omvUser = Nothing
2405 , _omvMethod = Nothing
2656 , _omvMethod = Nothing
2406 , _omvEndTime = Nothing
2657 , _omvEndTime = Nothing
2658+ , _omvWarning = Nothing
2407 , _omvTarget = Nothing
2659 , _omvTarget = Nothing
2408 }
2660 }
2409
2661
2662+-- | Ephemeral message that may change every time the operation is polled.
2663+-- \'OutputOnly
2664+omvEphemeralMessage :: Lens' OperationMetadataV1 (Maybe Text)
2665+omvEphemeralMessage
2666+ = lens _omvEphemeralMessage
2667+ (\ s a -> s{_omvEphemeralMessage = a})
2668+
2410−-- | Time that this operation was created. \'OutputOnly
2669+-- | Time that this operation was created.\'OutputOnly
2411omvInsertTime :: Lens' OperationMetadataV1 (Maybe Text)
2670omvInsertTime :: Lens' OperationMetadataV1 (Maybe Text)
2412omvInsertTime
2671omvInsertTime
2413 = lens _omvInsertTime
2672 = lens _omvInsertTime
2414 (\ s a -> s{_omvInsertTime = a})
2673 (\ s a -> s{_omvInsertTime = a})
2415
2674
2416−-- | User who requested this operation. \'OutputOnly
2675+-- | User who requested this operation.\'OutputOnly
2417omvUser :: Lens' OperationMetadataV1 (Maybe Text)
2676omvUser :: Lens' OperationMetadataV1 (Maybe Text)
2418omvUser = lens _omvUser (\ s a -> s{_omvUser = a})
2677omvUser = lens _omvUser (\ s a -> s{_omvUser = a})
2419
2678
2420-- | API method that initiated this operation. Example:
2679-- | API method that initiated this operation. Example:
2421−-- \`google.appengine.v1.Versions.CreateVersion\`. \'OutputOnly
2680+-- google.appengine.v1.Versions.CreateVersion.\'OutputOnly
2422omvMethod :: Lens' OperationMetadataV1 (Maybe Text)
2681omvMethod :: Lens' OperationMetadataV1 (Maybe Text)
2423omvMethod
2682omvMethod
2424 = lens _omvMethod (\ s a -> s{_omvMethod = a})
2683 = lens _omvMethod (\ s a -> s{_omvMethod = a})
2425
2684
2426−-- | Time that this operation completed. \'OutputOnly
2685+-- | Time that this operation completed.\'OutputOnly
2427omvEndTime :: Lens' OperationMetadataV1 (Maybe Text)
2686omvEndTime :: Lens' OperationMetadataV1 (Maybe Text)
2428omvEndTime
2687omvEndTime
2429 = lens _omvEndTime (\ s a -> s{_omvEndTime = a})
2688 = lens _omvEndTime (\ s a -> s{_omvEndTime = a})
2430
2689
2690+-- | Durable messages that persist on every operation poll. \'OutputOnly
2691+omvWarning :: Lens' OperationMetadataV1 [Text]
2692+omvWarning
2693+ = lens _omvWarning (\ s a -> s{_omvWarning = a}) .
2694+ _Default
2695+ . _Coerce
2696+
2431-- | Name of the resource that this operation is acting on. Example:
2697-- | Name of the resource that this operation is acting on. Example:
2432−-- \`apps\/myapp\/services\/default\`. \'OutputOnly
2698+-- apps\/myapp\/services\/default.\'OutputOnly
2433omvTarget :: Lens' OperationMetadataV1 (Maybe Text)
2699omvTarget :: Lens' OperationMetadataV1 (Maybe Text)
2434omvTarget
2700omvTarget
2435 = lens _omvTarget (\ s a -> s{_omvTarget = a})
2701 = lens _omvTarget (\ s a -> s{_omvTarget = a})
@@ -2439,19 +2705,23 @@ instance FromJSON OperationMetadataV1 where
2439 = withObject "OperationMetadataV1"
2705 = withObject "OperationMetadataV1"
2440 (\ o ->
2706 (\ o ->
2441 OperationMetadataV1' <$>
2707 OperationMetadataV1' <$>
2442− (o .:? "insertTime") <*> (o .:? "user") <*>
2708+ (o .:? "ephemeralMessage") <*> (o .:? "insertTime")
2709+ <*> (o .:? "user")
2443− (o .:? "method")
2710+ <*> (o .:? "method")
2444 <*> (o .:? "endTime")
2711 <*> (o .:? "endTime")
2712+ <*> (o .:? "warning" .!= mempty)
2445 <*> (o .:? "target"))
2713 <*> (o .:? "target"))
2446
2714
2447instance ToJSON OperationMetadataV1 where
2715instance ToJSON OperationMetadataV1 where
2448 toJSON OperationMetadataV1'{..}
2716 toJSON OperationMetadataV1'{..}
2449 = object
2717 = object
2450 (catMaybes
2718 (catMaybes
2719+ [("ephemeralMessage" .=) <$> _omvEphemeralMessage,
2451− [("insertTime" .=) <$> _omvInsertTime,
2720+ ("insertTime" .=) <$> _omvInsertTime,
2452 ("user" .=) <$> _omvUser,
2721 ("user" .=) <$> _omvUser,
2453 ("method" .=) <$> _omvMethod,
2722 ("method" .=) <$> _omvMethod,
2454 ("endTime" .=) <$> _omvEndTime,
2723 ("endTime" .=) <$> _omvEndTime,
2724+ ("warning" .=) <$> _omvWarning,
2455 ("target" .=) <$> _omvTarget])
2725 ("target" .=) <$> _omvTarget])
2456
2726
2457-- | A Version resource is a specific set of source code and configuration
2727-- | A Version resource is a specific set of source code and configuration
@@ -2459,322 +2729,336 @@ instance ToJSON OperationMetadataV1 where
2459--
2729--
2460-- /See:/ 'version' smart constructor.
2730-- /See:/ 'version' smart constructor.
2461data Version = Version'
2731data Version = Version'
2462− { _vRuntime :: !(Maybe Text)
2732+ { _verRuntime :: !(Maybe Text)
2463− , _vNobuildFilesRegex :: !(Maybe Text)
2733+ , _verNobuildFilesRegex :: !(Maybe Text)
2464− , _vInstanceClass :: !(Maybe Text)
2734+ , _verInstanceClass :: !(Maybe Text)
2465− , _vHealthCheck :: !(Maybe HealthCheck)
2735+ , _verHealthCheck :: !(Maybe HealthCheck)
2736+ , _verEndpointsAPIService :: !(Maybe EndpointsAPIService)
2466− , _vEnv :: !(Maybe Text)
2737+ , _verEnv :: !(Maybe Text)
2467− , _vDefaultExpiration :: !(Maybe Text)
2738+ , _verDefaultExpiration :: !(Maybe Text)
2468− , _vAutomaticScaling :: !(Maybe AutomaticScaling)
2739+ , _verAutomaticScaling :: !(Maybe AutomaticScaling)
2469− , _vErrorHandlers :: !(Maybe [ErrorHandler])
2740+ , _verErrorHandlers :: !(Maybe [ErrorHandler])
2470− , _vCreatedBy :: !(Maybe Text)
2741+ , _verCreatedBy :: !(Maybe Text)
2471− , _vVM :: !(Maybe Bool)
2742+ , _verVM :: !(Maybe Bool)
2472− , _vHandlers :: !(Maybe [URLMap])
2743+ , _verHandlers :: !(Maybe [URLMap])
2473− , _vInboundServices :: !(Maybe [Text])
2744+ , _verInboundServices :: !(Maybe [Text])
2474− , _vNetwork :: !(Maybe Network)
2745+ , _verNetwork :: !(Maybe Network)
2475− , _vResources :: !(Maybe Resources)
2746+ , _verResources :: !(Maybe Resources)
2476− , _vName :: !(Maybe Text)
2747+ , _verName :: !(Maybe Text)
2477− , _vThreadsafe :: !(Maybe Bool)
2748+ , _verThreadsafe :: !(Maybe Bool)
2478− , _vBetaSettings :: !(Maybe VersionBetaSettings)
2749+ , _verBetaSettings :: !(Maybe VersionBetaSettings)
2479− , _vBasicScaling :: !(Maybe BasicScaling)
2750+ , _verBasicScaling :: !(Maybe BasicScaling)
2480− , _vManualScaling :: !(Maybe ManualScaling)
2751+ , _verManualScaling :: !(Maybe ManualScaling)
2481− , _vAPIConfig :: !(Maybe APIConfigHandler)
2752+ , _verAPIConfig :: !(Maybe APIConfigHandler)
2482− , _vId :: !(Maybe Text)
2753+ , _verId :: !(Maybe Text)
2483− , _vEnvVariables :: !(Maybe VersionEnvVariables)
2754+ , _verEnvVariables :: !(Maybe VersionEnvVariables)
2484− , _vServingStatus :: !(Maybe Text)
2755+ , _verServingStatus :: !(Maybe Text)
2485− , _vDiskUsageBytes :: !(Maybe (Textual Int64))
2756+ , _verDiskUsageBytes :: !(Maybe (Textual Int64))
2486− , _vCreateTime :: !(Maybe Text)
2757+ , _verCreateTime :: !(Maybe Text)
2487− , _vLibraries :: !(Maybe [Library])
2758+ , _verLibraries :: !(Maybe [Library])
2488− , _vVersionURL :: !(Maybe Text)
2759+ , _verVersionURL :: !(Maybe Text)
2489− , _vDeployment :: !(Maybe Deployment)
2760+ , _verDeployment :: !(Maybe Deployment)
2490 } deriving (Eq,Show,Data,Typeable,Generic)
2761 } deriving (Eq,Show,Data,Typeable,Generic)
2491
2762
2492-- | Creates a value of 'Version' with the minimum fields required to make a request.
2763-- | Creates a value of 'Version' with the minimum fields required to make a request.
2493--
2764--
2494-- Use one of the following lenses to modify other fields as desired:
2765-- Use one of the following lenses to modify other fields as desired:
2495--
2766--
2496−-- * 'vRuntime'
2767+-- * 'verRuntime'
2497--
2768--
2498−-- * 'vNobuildFilesRegex'
2769+-- * 'verNobuildFilesRegex'
2499--
2770--
2500−-- * 'vInstanceClass'
2771+-- * 'verInstanceClass'
2501--
2772--
2502−-- * 'vHealthCheck'
2773+-- * 'verHealthCheck'
2503--
2774--
2504−-- * 'vEnv'
2775+-- * 'verEndpointsAPIService'
2505--
2776--
2506−-- * 'vDefaultExpiration'
2777+-- * 'verEnv'
2507--
2778--
2508−-- * 'vAutomaticScaling'
2779+-- * 'verDefaultExpiration'
2509--
2780--
2510−-- * 'vErrorHandlers'
2781+-- * 'verAutomaticScaling'
2511--
2782--
2512−-- * 'vCreatedBy'
2783+-- * 'verErrorHandlers'
2513--
2784--
2514−-- * 'vVM'
2785+-- * 'verCreatedBy'
2515--
2786--
2516−-- * 'vHandlers'
2787+-- * 'verVM'
2517--
2788--
2518−-- * 'vInboundServices'
2789+-- * 'verHandlers'
2519--
2790--
2520−-- * 'vNetwork'
2791+-- * 'verInboundServices'
2521--
2792--
2522−-- * 'vResources'
2793+-- * 'verNetwork'
2523--
2794--
2524−-- * 'vName'
2795+-- * 'verResources'
2796+--
2797+-- * 'verName'
2525--
2798--
2526−-- * 'vThreadsafe'
2799+-- * 'verThreadsafe'
2527--
2800--
2528−-- * 'vBetaSettings'
2801+-- * 'verBetaSettings'
2529--
2802--
2530−-- * 'vBasicScaling'
2803+-- * 'verBasicScaling'
2531--
2804--
2532−-- * 'vManualScaling'
2805+-- * 'verManualScaling'
2533--
2806--
2534−-- * 'vAPIConfig'
2807+-- * 'verAPIConfig'
2535--
2808--
2536−-- * 'vId'
2809+-- * 'verId'
2537--
2810--
2538−-- * 'vEnvVariables'
2811+-- * 'verEnvVariables'
2539--
2812--
2540−-- * 'vServingStatus'
2813+-- * 'verServingStatus'
2541--
2814--
2542−-- * 'vDiskUsageBytes'
2815+-- * 'verDiskUsageBytes'
2543--
2816--
2544−-- * 'vCreateTime'
2817+-- * 'verCreateTime'
2545--
2818--
2546−-- * 'vLibraries'
2819+-- * 'verLibraries'
2547--
2820--
2548−-- * 'vVersionURL'
2821+-- * 'verVersionURL'
2549--
2822--
2550−-- * 'vDeployment'
2823+-- * 'verDeployment'
2551version
2824version
2552 :: Version
2825 :: Version
2553version =
2826version =
2554 Version'
2827 Version'
2555− { _vRuntime = Nothing
2828+ { _verRuntime = Nothing
2556− , _vNobuildFilesRegex = Nothing
2829+ , _verNobuildFilesRegex = Nothing
2557− , _vInstanceClass = Nothing
2830+ , _verInstanceClass = Nothing
2558− , _vHealthCheck = Nothing
2831+ , _verHealthCheck = Nothing
2559− , _vEnv = Nothing
2832+ , _verEndpointsAPIService = Nothing
2560− , _vDefaultExpiration = Nothing
2833+ , _verEnv = Nothing
2561− , _vAutomaticScaling = Nothing
2834+ , _verDefaultExpiration = Nothing
2562− , _vErrorHandlers = Nothing
2835+ , _verAutomaticScaling = Nothing
2563− , _vCreatedBy = Nothing
2836+ , _verErrorHandlers = Nothing
2564− , _vVM = Nothing
2837+ , _verCreatedBy = Nothing
2565− , _vHandlers = Nothing
2838+ , _verVM = Nothing
2566− , _vInboundServices = Nothing
2839+ , _verHandlers = Nothing
2567− , _vNetwork = Nothing
2840+ , _verInboundServices = Nothing
2568− , _vResources = Nothing
2841+ , _verNetwork = Nothing
2569− , _vName = Nothing
2842+ , _verResources = Nothing
2570− , _vThreadsafe = Nothing
2843+ , _verName = Nothing
2571− , _vBetaSettings = Nothing
2844+ , _verThreadsafe = Nothing
2572− , _vBasicScaling = Nothing
2845+ , _verBetaSettings = Nothing
2573− , _vManualScaling = Nothing
2846+ , _verBasicScaling = Nothing
2574− , _vAPIConfig = Nothing
2847+ , _verManualScaling = Nothing
2848+ , _verAPIConfig = Nothing
2575− , _vId = Nothing
2849+ , _verId = Nothing
2576− , _vEnvVariables = Nothing
2850+ , _verEnvVariables = Nothing
2577− , _vServingStatus = Nothing
2851+ , _verServingStatus = Nothing
2578− , _vDiskUsageBytes = Nothing
2852+ , _verDiskUsageBytes = Nothing
2579− , _vCreateTime = Nothing
2853+ , _verCreateTime = Nothing
2580− , _vLibraries = Nothing
2854+ , _verLibraries = Nothing
2581− , _vVersionURL = Nothing
2855+ , _verVersionURL = Nothing
2582− , _vDeployment = Nothing
2856+ , _verDeployment = Nothing
2583 }
2857 }
2584
2858
2585−-- | Desired runtime. Example: \`python27\`.
2859+-- | Desired runtime. Example: python27.
2586−vRuntime :: Lens' Version (Maybe Text)
2860+verRuntime :: Lens' Version (Maybe Text)
2587−vRuntime = lens _vRuntime (\ s a -> s{_vRuntime = a})
2861+verRuntime
2862+ = lens _verRuntime (\ s a -> s{_verRuntime = a})
2588
2863
2589-- | Files that match this pattern will not be built into this version. Only
2864-- | Files that match this pattern will not be built into this version. Only
2590−-- applicable for Go runtimes. Only returned in \`GET\` requests if
2865+-- applicable for Go runtimes.Only returned in GET requests if view=FULL is
2591−-- \`view=FULL\` is set.
2866+-- set.
2592−vNobuildFilesRegex :: Lens' Version (Maybe Text)
2867+verNobuildFilesRegex :: Lens' Version (Maybe Text)
2593−vNobuildFilesRegex
2868+verNobuildFilesRegex
2594− = lens _vNobuildFilesRegex
2869+ = lens _verNobuildFilesRegex
2595− (\ s a -> s{_vNobuildFilesRegex = a})
2870+ (\ s a -> s{_verNobuildFilesRegex = a})
2596−
2871+
2597−-- | Instance class that is used to run this version. Valid values are: *
2872+-- | Instance class that is used to run this version. Valid values are:
2598−-- AutomaticScaling: \`F1\`, \`F2\`, \`F4\`, \`F4_1G\` * ManualScaling or
2873+-- AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1,
2599−-- BasicScaling: \`B1\`, \`B2\`, \`B4\`, \`B8\`, \`B4_1G\` Defaults to
2600−-- \`F1\` for AutomaticScaling and \`B1\` for ManualScaling or
2874+-- B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for
2601−-- BasicScaling.
2875+-- ManualScaling or BasicScaling.
2602−vInstanceClass :: Lens' Version (Maybe Text)
2876+verInstanceClass :: Lens' Version (Maybe Text)
2603−vInstanceClass
2877+verInstanceClass
2604− = lens _vInstanceClass
2878+ = lens _verInstanceClass
2605− (\ s a -> s{_vInstanceClass = a})
2879+ (\ s a -> s{_verInstanceClass = a})
2606
2880
2607-- | Configures health checking for VM instances. Unhealthy instances are
2881-- | Configures health checking for VM instances. Unhealthy instances are
2608-- stopped and replaced with new instances. Only applicable for VM
2882-- stopped and replaced with new instances. Only applicable for VM
2609−-- runtimes. Only returned in \`GET\` requests if \`view=FULL\` is set.
2883+-- runtimes.Only returned in GET requests if view=FULL is set.
2610−vHealthCheck :: Lens' Version (Maybe HealthCheck)
2884+verHealthCheck :: Lens' Version (Maybe HealthCheck)
2611−vHealthCheck
2885+verHealthCheck
2612− = lens _vHealthCheck (\ s a -> s{_vHealthCheck = a})
2886+ = lens _verHealthCheck
2613−
2887+ (\ s a -> s{_verHealthCheck = a})
2888+
2889+-- | Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud
2890+-- Endpoints Extensible Service Proxy will be provided to serve the API
2891+-- implemented by the app.
2892+verEndpointsAPIService :: Lens' Version (Maybe EndpointsAPIService)
2893+verEndpointsAPIService
2894+ = lens _verEndpointsAPIService
2895+ (\ s a -> s{_verEndpointsAPIService = a})
2896+
2614−-- | App Engine execution environment for this version. Defaults to
2897+-- | App Engine execution environment for this version.Defaults to standard.
2615−-- \`standard\`.
2616−vEnv :: Lens' Version (Maybe Text)
2898+verEnv :: Lens' Version (Maybe Text)
2617−vEnv = lens _vEnv (\ s a -> s{_vEnv = a})
2899+verEnv = lens _verEnv (\ s a -> s{_verEnv = a})
2618
2900
2619-- | Duration that static files should be cached by web proxies and browsers.
2901-- | Duration that static files should be cached by web proxies and browsers.
2620−-- Only applicable if the corresponding
2902+-- Only applicable if the corresponding StaticFilesHandler
2621−-- [StaticFilesHandler](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#staticfileshandler)
2903+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#staticfileshandler)
2622−-- does not specify its own expiration time. Only returned in \`GET\`
2904+-- does not specify its own expiration time.Only returned in GET requests
2623−-- requests if \`view=FULL\` is set.
2905+-- if view=FULL is set.
2624−vDefaultExpiration :: Lens' Version (Maybe Text)
2906+verDefaultExpiration :: Lens' Version (Maybe Text)
2625−vDefaultExpiration
2907+verDefaultExpiration
2626− = lens _vDefaultExpiration
2908+ = lens _verDefaultExpiration
2627− (\ s a -> s{_vDefaultExpiration = a})
2909+ (\ s a -> s{_verDefaultExpiration = a})
2628
2910
2629-- | Automatic scaling is based on request rate, response latencies, and
2911-- | Automatic scaling is based on request rate, response latencies, and
2630-- other application metrics.
2912-- other application metrics.
2631−vAutomaticScaling :: Lens' Version (Maybe AutomaticScaling)
2913+verAutomaticScaling :: Lens' Version (Maybe AutomaticScaling)
2632−vAutomaticScaling
2914+verAutomaticScaling
2633− = lens _vAutomaticScaling
2915+ = lens _verAutomaticScaling
2634− (\ s a -> s{_vAutomaticScaling = a})
2916+ (\ s a -> s{_verAutomaticScaling = a})
2635−
2917+
2636−-- | Custom static error pages. Limited to 10KB per page. Only returned in
2918+-- | Custom static error pages. Limited to 10KB per page.Only returned in GET
2637−-- \`GET\` requests if \`view=FULL\` is set.
2919+-- requests if view=FULL is set.
2638−vErrorHandlers :: Lens' Version [ErrorHandler]
2920+verErrorHandlers :: Lens' Version [ErrorHandler]
2639−vErrorHandlers
2921+verErrorHandlers
2640− = lens _vErrorHandlers
2922+ = lens _verErrorHandlers
2641− (\ s a -> s{_vErrorHandlers = a})
2923+ (\ s a -> s{_verErrorHandlers = a})
2642 . _Default
2924 . _Default
2643 . _Coerce
2925 . _Coerce
2644
2926
2645−-- | Email address of the user who created this version. \'OutputOnly
2927+-- | Email address of the user who created this version.\'OutputOnly
2646−vCreatedBy :: Lens' Version (Maybe Text)
2928+verCreatedBy :: Lens' Version (Maybe Text)
2647−vCreatedBy
2929+verCreatedBy
2648− = lens _vCreatedBy (\ s a -> s{_vCreatedBy = a})
2930+ = lens _verCreatedBy (\ s a -> s{_verCreatedBy = a})
2649
2931
2650-- | Whether to deploy this version in a container on a virtual machine.
2932-- | Whether to deploy this version in a container on a virtual machine.
2651−vVM :: Lens' Version (Maybe Bool)
2933+verVM :: Lens' Version (Maybe Bool)
2652−vVM = lens _vVM (\ s a -> s{_vVM = a})
2934+verVM = lens _verVM (\ s a -> s{_verVM = a})
2653
2935
2654-- | An ordered list of URL-matching patterns that should be applied to
2936-- | An ordered list of URL-matching patterns that should be applied to
2655-- incoming requests. The first matching URL handles the request and other
2937-- incoming requests. The first matching URL handles the request and other
2656−-- request handlers are not attempted. Only returned in \`GET\` requests if
2938+-- request handlers are not attempted.Only returned in GET requests if
2657−-- \`view=FULL\` is set.
2939+-- view=FULL is set.
2658−vHandlers :: Lens' Version [URLMap]
2940+verHandlers :: Lens' Version [URLMap]
2659−vHandlers
2941+verHandlers
2660− = lens _vHandlers (\ s a -> s{_vHandlers = a}) .
2942+ = lens _verHandlers (\ s a -> s{_verHandlers = a}) .
2661 _Default
2943 _Default
2662 . _Coerce
2944 . _Coerce
2663
2945
2664-- | Before an application can receive email or XMPP messages, the
2946-- | Before an application can receive email or XMPP messages, the
2665-- application must be configured to enable the service.
2947-- application must be configured to enable the service.
2666−vInboundServices :: Lens' Version [Text]
2948+verInboundServices :: Lens' Version [Text]
2667−vInboundServices
2949+verInboundServices
2668− = lens _vInboundServices
2950+ = lens _verInboundServices
2669− (\ s a -> s{_vInboundServices = a})
2951+ (\ s a -> s{_verInboundServices = a})
2670 . _Default
2952 . _Default
2671 . _Coerce
2953 . _Coerce
2672
2954
2673-- | Extra network settings. Only applicable for VM runtimes.
2955-- | Extra network settings. Only applicable for VM runtimes.
2674−vNetwork :: Lens' Version (Maybe Network)
2956+verNetwork :: Lens' Version (Maybe Network)
2675−vNetwork = lens _vNetwork (\ s a -> s{_vNetwork = a})
2957+verNetwork
2958+ = lens _verNetwork (\ s a -> s{_verNetwork = a})
2676
2959
2677-- | Machine resources for this version. Only applicable for VM runtimes.
2960-- | Machine resources for this version. Only applicable for VM runtimes.
2678−vResources :: Lens' Version (Maybe Resources)
2961+verResources :: Lens' Version (Maybe Resources)
2679−vResources
2962+verResources
2680− = lens _vResources (\ s a -> s{_vResources = a})
2963+ = lens _verResources (\ s a -> s{_verResources = a})
2681
2964
2682-- | Full path to the Version resource in the API. Example:
2965-- | Full path to the Version resource in the API. Example:
2683−-- \`apps\/myapp\/services\/default\/versions\/v1\`. \'OutputOnly
2966+-- apps\/myapp\/services\/default\/versions\/v1.\'OutputOnly
2684−vName :: Lens' Version (Maybe Text)
2967+verName :: Lens' Version (Maybe Text)
2685−vName = lens _vName (\ s a -> s{_vName = a})
2968+verName = lens _verName (\ s a -> s{_verName = a})
2686
2969
2687-- | Whether multiple requests can be dispatched to this version at once.
2970-- | Whether multiple requests can be dispatched to this version at once.
2688−vThreadsafe :: Lens' Version (Maybe Bool)
2971+verThreadsafe :: Lens' Version (Maybe Bool)
2689−vThreadsafe
2972+verThreadsafe
2690− = lens _vThreadsafe (\ s a -> s{_vThreadsafe = a})
2973+ = lens _verThreadsafe
2974+ (\ s a -> s{_verThreadsafe = a})
2691
2975
2692-- | Metadata settings that are supplied to this version to enable beta
2976-- | Metadata settings that are supplied to this version to enable beta
2693-- runtime features.
2977-- runtime features.
2694−vBetaSettings :: Lens' Version (Maybe VersionBetaSettings)
2978+verBetaSettings :: Lens' Version (Maybe VersionBetaSettings)
2695−vBetaSettings
2979+verBetaSettings
2696− = lens _vBetaSettings
2980+ = lens _verBetaSettings
2697− (\ s a -> s{_vBetaSettings = a})
2981+ (\ s a -> s{_verBetaSettings = a})
2698
2982
2699-- | A service with basic scaling will create an instance when the
2983-- | A service with basic scaling will create an instance when the
2700-- application receives a request. The instance will be turned down when
2984-- application receives a request. The instance will be turned down when
2701-- the app becomes idle. Basic scaling is ideal for work that is
2985-- the app becomes idle. Basic scaling is ideal for work that is
2702-- intermittent or driven by user activity.
2986-- intermittent or driven by user activity.
2703−vBasicScaling :: Lens' Version (Maybe BasicScaling)
2987+verBasicScaling :: Lens' Version (Maybe BasicScaling)
2704−vBasicScaling
2988+verBasicScaling
2705− = lens _vBasicScaling
2989+ = lens _verBasicScaling
2706− (\ s a -> s{_vBasicScaling = a})
2990+ (\ s a -> s{_verBasicScaling = a})
2707
2991
2708-- | A service with manual scaling runs continuously, allowing you to perform
2992-- | A service with manual scaling runs continuously, allowing you to perform
2709-- complex initialization and rely on the state of its memory over time.
2993-- complex initialization and rely on the state of its memory over time.
2710−vManualScaling :: Lens' Version (Maybe ManualScaling)
2994+verManualScaling :: Lens' Version (Maybe ManualScaling)
2711−vManualScaling
2995+verManualScaling
2712− = lens _vManualScaling
2996+ = lens _verManualScaling
2713− (\ s a -> s{_vManualScaling = a})
2997+ (\ s a -> s{_verManualScaling = a})
2714−
2998+
2715−-- | Serving configuration for [Google Cloud
2999+-- | Serving configuration for Google Cloud Endpoints
2716−-- Endpoints](https:\/\/cloud.google.com\/appengine\/docs\/python\/endpoints\/).
3000+-- (https:\/\/cloud.google.com\/appengine\/docs\/python\/endpoints\/).Only
2717−-- Only returned in \`GET\` requests if \`view=FULL\` is set.
3001+-- returned in GET requests if view=FULL is set.
2718−vAPIConfig :: Lens' Version (Maybe APIConfigHandler)
3002+verAPIConfig :: Lens' Version (Maybe APIConfigHandler)
2719−vAPIConfig
3003+verAPIConfig
2720− = lens _vAPIConfig (\ s a -> s{_vAPIConfig = a})
3004+ = lens _verAPIConfig (\ s a -> s{_verAPIConfig = a})
2721−
3005+
2722−-- | Relative name of the version within the service. Example: \`v1\`.
3006+-- | Relative name of the version within the service. Example: v1. Version
2723−-- Version names can contain only lowercase letters, numbers, or hyphens.
3007+-- names can contain only lowercase letters, numbers, or hyphens. Reserved
2724−-- Reserved names: \"default\", \"latest\", and any name with the prefix
3008+-- names: \"default\", \"latest\", and any name with the prefix \"ah-\".
2725−-- \"ah-\".
2726−vId :: Lens' Version (Maybe Text)
3009+verId :: Lens' Version (Maybe Text)
2727−vId = lens _vId (\ s a -> s{_vId = a})
3010+verId = lens _verId (\ s a -> s{_verId = a})
2728−
3011+
2729−-- | Environment variables available to the application. Only returned in
3012+-- | Environment variables available to the application.Only returned in GET
2730−-- \`GET\` requests if \`view=FULL\` is set.
3013+-- requests if view=FULL is set.
2731−vEnvVariables :: Lens' Version (Maybe VersionEnvVariables)
3014+verEnvVariables :: Lens' Version (Maybe VersionEnvVariables)
2732−vEnvVariables
3015+verEnvVariables
2733− = lens _vEnvVariables
3016+ = lens _verEnvVariables
2734− (\ s a -> s{_vEnvVariables = a})
3017+ (\ s a -> s{_verEnvVariables = a})
2735−
3018+
2736−-- | Current serving status of this version. Only the versions with a
3019+-- | Current serving status of this version. Only the versions with a SERVING
2737−-- \`SERVING\` status create instances and can be billed.
3020+-- status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is
2738−-- \`SERVING_STATUS_UNSPECIFIED\` is an invalid value. Defaults to
3021+-- an invalid value. Defaults to SERVING.
2739−-- \`SERVING\`.
2740−vServingStatus :: Lens' Version (Maybe Text)
3022+verServingStatus :: Lens' Version (Maybe Text)
2741−vServingStatus
3023+verServingStatus
2742− = lens _vServingStatus
3024+ = lens _verServingStatus
2743− (\ s a -> s{_vServingStatus = a})
3025+ (\ s a -> s{_verServingStatus = a})
2744
3026
2745-- | Total size in bytes of all the files that are included in this version
3027-- | Total size in bytes of all the files that are included in this version
2746−-- and curerntly hosted on the App Engine disk. \'OutputOnly
3028+-- and curerntly hosted on the App Engine disk.\'OutputOnly
2747−vDiskUsageBytes :: Lens' Version (Maybe Int64)
3029+verDiskUsageBytes :: Lens' Version (Maybe Int64)
2748−vDiskUsageBytes
3030+verDiskUsageBytes
2749− = lens _vDiskUsageBytes
3031+ = lens _verDiskUsageBytes
2750− (\ s a -> s{_vDiskUsageBytes = a})
3032+ (\ s a -> s{_verDiskUsageBytes = a})
2751 . mapping _Coerce
3033 . mapping _Coerce
2752
3034
2753−-- | Time that this version was created. \'OutputOnly
3035+-- | Time that this version was created.\'OutputOnly
2754−vCreateTime :: Lens' Version (Maybe Text)
3036+verCreateTime :: Lens' Version (Maybe Text)
2755−vCreateTime
3037+verCreateTime
2756− = lens _vCreateTime (\ s a -> s{_vCreateTime = a})
3038+ = lens _verCreateTime
3039+ (\ s a -> s{_verCreateTime = a})
2757
3040
2758-- | Configuration for third-party Python runtime libraries that are required
3041-- | Configuration for third-party Python runtime libraries that are required
2759−-- by the application. Only returned in \`GET\` requests if \`view=FULL\`
3042+-- by the application.Only returned in GET requests if view=FULL is set.
2760−-- is set.
2761−vLibraries :: Lens' Version [Library]
3043+verLibraries :: Lens' Version [Library]
2762−vLibraries
3044+verLibraries
2763− = lens _vLibraries (\ s a -> s{_vLibraries = a}) .
3045+ = lens _verLibraries (\ s a -> s{_verLibraries = a})
2764− _Default
3046+ . _Default
2765 . _Coerce
3047 . _Coerce
2766
3048
2767-- | Serving URL for this version. Example:
3049-- | Serving URL for this version. Example:
2768−-- \"https:\/\/myversion-dot-myservice-dot-myapp.appspot.com\" \'OutputOnly
3050+-- \"https:\/\/myversion-dot-myservice-dot-myapp.appspot.com\"\'OutputOnly
2769−vVersionURL :: Lens' Version (Maybe Text)
3051+verVersionURL :: Lens' Version (Maybe Text)
2770−vVersionURL
3052+verVersionURL
2771− = lens _vVersionURL (\ s a -> s{_vVersionURL = a})
3053+ = lens _verVersionURL
2772−
3054+ (\ s a -> s{_verVersionURL = a})
3055+
2773−-- | Code and application artifacts that make up this version. Only returned
3056+-- | Code and application artifacts that make up this version.Only returned
2774−-- in \`GET\` requests if \`view=FULL\` is set.
3057+-- in GET requests if view=FULL is set.
2775−vDeployment :: Lens' Version (Maybe Deployment)
3058+verDeployment :: Lens' Version (Maybe Deployment)
2776−vDeployment
3059+verDeployment
2777− = lens _vDeployment (\ s a -> s{_vDeployment = a})
3060+ = lens _verDeployment
3061+ (\ s a -> s{_verDeployment = a})
2778
3062
2779instance FromJSON Version where
3063instance FromJSON Version where
2780 parseJSON
3064 parseJSON
@@ -2784,6 +3068,7 @@ instance FromJSON Version where
2784 (o .:? "runtime") <*> (o .:? "nobuildFilesRegex") <*>
3068 (o .:? "runtime") <*> (o .:? "nobuildFilesRegex") <*>
2785 (o .:? "instanceClass")
3069 (o .:? "instanceClass")
2786 <*> (o .:? "healthCheck")
3070 <*> (o .:? "healthCheck")
3071+ <*> (o .:? "endpointsApiService")
2787 <*> (o .:? "env")
3072 <*> (o .:? "env")
2788 <*> (o .:? "defaultExpiration")
3073 <*> (o .:? "defaultExpiration")
2789 <*> (o .:? "automaticScaling")
3074 <*> (o .:? "automaticScaling")
@@ -2813,32 +3098,36 @@ instance ToJSON Version where
2813 toJSON Version'{..}
3098 toJSON Version'{..}
2814 = object
3099 = object
2815 (catMaybes
3100 (catMaybes
2816− [("runtime" .=) <$> _vRuntime,
3101+ [("runtime" .=) <$> _verRuntime,
2817− ("nobuildFilesRegex" .=) <$> _vNobuildFilesRegex,
3102+ ("nobuildFilesRegex" .=) <$> _verNobuildFilesRegex,
2818− ("instanceClass" .=) <$> _vInstanceClass,
3103+ ("instanceClass" .=) <$> _verInstanceClass,
2819− ("healthCheck" .=) <$> _vHealthCheck,
3104+ ("healthCheck" .=) <$> _verHealthCheck,
2820− ("env" .=) <$> _vEnv,
3105+ ("endpointsApiService" .=) <$>
3106+ _verEndpointsAPIService,
3107+ ("env" .=) <$> _verEnv,
2821− ("defaultExpiration" .=) <$> _vDefaultExpiration,
3108+ ("defaultExpiration" .=) <$> _verDefaultExpiration,
2822− ("automaticScaling" .=) <$> _vAutomaticScaling,
3109+ ("automaticScaling" .=) <$> _verAutomaticScaling,
2823− ("errorHandlers" .=) <$> _vErrorHandlers,
3110+ ("errorHandlers" .=) <$> _verErrorHandlers,
2824− ("createdBy" .=) <$> _vCreatedBy, ("vm" .=) <$> _vVM,
3111+ ("createdBy" .=) <$> _verCreatedBy,
3112+ ("vm" .=) <$> _verVM,
2825− ("handlers" .=) <$> _vHandlers,
3113+ ("handlers" .=) <$> _verHandlers,
2826− ("inboundServices" .=) <$> _vInboundServices,
3114+ ("inboundServices" .=) <$> _verInboundServices,
2827− ("network" .=) <$> _vNetwork,
3115+ ("network" .=) <$> _verNetwork,
2828− ("resources" .=) <$> _vResources,
3116+ ("resources" .=) <$> _verResources,
2829− ("name" .=) <$> _vName,
3117+ ("name" .=) <$> _verName,
2830− ("threadsafe" .=) <$> _vThreadsafe,
3118+ ("threadsafe" .=) <$> _verThreadsafe,
2831− ("betaSettings" .=) <$> _vBetaSettings,
3119+ ("betaSettings" .=) <$> _verBetaSettings,
2832− ("basicScaling" .=) <$> _vBasicScaling,
3120+ ("basicScaling" .=) <$> _verBasicScaling,
2833− ("manualScaling" .=) <$> _vManualScaling,
3121+ ("manualScaling" .=) <$> _verManualScaling,
2834− ("apiConfig" .=) <$> _vAPIConfig, ("id" .=) <$> _vId,
3122+ ("apiConfig" .=) <$> _verAPIConfig,
3123+ ("id" .=) <$> _verId,
2835− ("envVariables" .=) <$> _vEnvVariables,
3124+ ("envVariables" .=) <$> _verEnvVariables,
2836− ("servingStatus" .=) <$> _vServingStatus,
3125+ ("servingStatus" .=) <$> _verServingStatus,
2837− ("diskUsageBytes" .=) <$> _vDiskUsageBytes,
3126+ ("diskUsageBytes" .=) <$> _verDiskUsageBytes,
2838− ("createTime" .=) <$> _vCreateTime,
3127+ ("createTime" .=) <$> _verCreateTime,
2839− ("libraries" .=) <$> _vLibraries,
3128+ ("libraries" .=) <$> _verLibraries,
2840− ("versionUrl" .=) <$> _vVersionURL,
3129+ ("versionUrl" .=) <$> _verVersionURL,
2841− ("deployment" .=) <$> _vDeployment])
3130+ ("deployment" .=) <$> _verDeployment])
2842
3131
2843-- | Files served directly to the user for a given URL, such as images, CSS
3132-- | Files served directly to the user for a given URL, such as images, CSS
2844-- stylesheets, or JavaScript source files. Static file handlers describe
3133-- stylesheets, or JavaScript source files. Static file handlers describe
@@ -2912,7 +3201,7 @@ sfhExpiration
2912 = lens _sfhExpiration
3201 = lens _sfhExpiration
2913 (\ s a -> s{_sfhExpiration = a})
3202 (\ s a -> s{_sfhExpiration = a})
2914
3203
2915−-- | MIME type used to serve all files served by this handler. Defaults to
3204+-- | MIME type used to serve all files served by this handler.Defaults to
2916-- file-specific MIME types, which are derived from each file\'s filename
3205-- file-specific MIME types, which are derived from each file\'s filename
2917-- extension.
3206-- extension.
2918sfhMimeType :: Lens' StaticFilesHandler (Maybe Text)
3207sfhMimeType :: Lens' StaticFilesHandler (Maybe Text)
@@ -2989,7 +3278,7 @@ errorHandler =
2989 , _ehStaticFile = Nothing
3278 , _ehStaticFile = Nothing
2990 }
3279 }
2991
3280
2992−-- | MIME type of file. Defaults to \`text\/html\`.
3281+-- | MIME type of file. Defaults to text\/html.
2993ehMimeType :: Lens' ErrorHandler (Maybe Text)
3282ehMimeType :: Lens' ErrorHandler (Maybe Text)
2994ehMimeType
3283ehMimeType
2995 = lens _ehMimeType (\ s a -> s{_ehMimeType = a})
3284 = lens _ehMimeType (\ s a -> s{_ehMimeType = a})
@@ -3077,15 +3366,15 @@ locationMetadata =
3077 , _lmFlexibleEnvironmentAvailable = Nothing
3366 , _lmFlexibleEnvironmentAvailable = Nothing
3078 }
3367 }
3079
3368
3080−-- | App Engine Standard Environment is available in the given location.
3369+-- | App Engine Standard Environment is available in the given
3081−-- \'OutputOnly
3370+-- location.\'OutputOnly
3082lmStandardEnvironmentAvailable :: Lens' LocationMetadata (Maybe Bool)
3371lmStandardEnvironmentAvailable :: Lens' LocationMetadata (Maybe Bool)
3083lmStandardEnvironmentAvailable
3372lmStandardEnvironmentAvailable
3084 = lens _lmStandardEnvironmentAvailable
3373 = lens _lmStandardEnvironmentAvailable
3085 (\ s a -> s{_lmStandardEnvironmentAvailable = a})
3374 (\ s a -> s{_lmStandardEnvironmentAvailable = a})
3086
3375
3087−-- | App Engine Flexible Environment is available in the given location.
3376+-- | App Engine Flexible Environment is available in the given
3088−-- \'OutputOnly
3377+-- location.\'OutputOnly
3089lmFlexibleEnvironmentAvailable :: Lens' LocationMetadata (Maybe Bool)
3378lmFlexibleEnvironmentAvailable :: Lens' LocationMetadata (Maybe Bool)
3090lmFlexibleEnvironmentAvailable
3379lmFlexibleEnvironmentAvailable
3091 = lens _lmFlexibleEnvironmentAvailable
3380 = lens _lmFlexibleEnvironmentAvailable
@@ -3147,34 +3436,34 @@ operationMetadata =
3147 , _omTarget = Nothing
3436 , _omTarget = Nothing
3148 }
3437 }
3149
3438
3150−-- | Timestamp that this operation was created. \'OutputOnly
3439+-- | Timestamp that this operation was created.\'OutputOnly
3151omInsertTime :: Lens' OperationMetadata (Maybe Text)
3440omInsertTime :: Lens' OperationMetadata (Maybe Text)
3152omInsertTime
3441omInsertTime
3153 = lens _omInsertTime (\ s a -> s{_omInsertTime = a})
3442 = lens _omInsertTime (\ s a -> s{_omInsertTime = a})
3154
3443
3155−-- | User who requested this operation. \'OutputOnly
3444+-- | User who requested this operation.\'OutputOnly
3156omUser :: Lens' OperationMetadata (Maybe Text)
3445omUser :: Lens' OperationMetadata (Maybe Text)
3157omUser = lens _omUser (\ s a -> s{_omUser = a})
3446omUser = lens _omUser (\ s a -> s{_omUser = a})
3158
3447
3159-- | API method that initiated this operation. Example:
3448-- | API method that initiated this operation. Example:
3160−-- \`google.appengine.v1beta4.Version.CreateVersion\`. \'OutputOnly
3449+-- google.appengine.v1beta4.Version.CreateVersion.\'OutputOnly
3161omMethod :: Lens' OperationMetadata (Maybe Text)
3450omMethod :: Lens' OperationMetadata (Maybe Text)
3162omMethod = lens _omMethod (\ s a -> s{_omMethod = a})
3451omMethod = lens _omMethod (\ s a -> s{_omMethod = a})
3163
3452
3164−-- | Timestamp that this operation completed. \'OutputOnly
3453+-- | Timestamp that this operation completed.\'OutputOnly
3165omEndTime :: Lens' OperationMetadata (Maybe Text)
3454omEndTime :: Lens' OperationMetadata (Maybe Text)
3166omEndTime
3455omEndTime
3167 = lens _omEndTime (\ s a -> s{_omEndTime = a})
3456 = lens _omEndTime (\ s a -> s{_omEndTime = a})
3168
3457
3169-- | Type of this operation. Deprecated, use method field instead. Example:
3458-- | Type of this operation. Deprecated, use method field instead. Example:
3170−-- \"create_version\". \'OutputOnly
3459+-- \"create_version\".\'OutputOnly
3171omOperationType :: Lens' OperationMetadata (Maybe Text)
3460omOperationType :: Lens' OperationMetadata (Maybe Text)
3172omOperationType
3461omOperationType
3173 = lens _omOperationType
3462 = lens _omOperationType
3174 (\ s a -> s{_omOperationType = a})
3463 (\ s a -> s{_omOperationType = a})
3175
3464
3176-- | Name of the resource that this operation is acting on. Example:
3465-- | Name of the resource that this operation is acting on. Example:
3177−-- \`apps\/myapp\/modules\/default\`. \'OutputOnly
3466+-- apps\/myapp\/modules\/default.\'OutputOnly
3178omTarget :: Lens' OperationMetadata (Maybe Text)
3467omTarget :: Lens' OperationMetadata (Maybe Text)
3179omTarget = lens _omTarget (\ s a -> s{_omTarget = a})
3468omTarget = lens _omTarget (\ s a -> s{_omTarget = a})
3180
3469
@@ -3199,7 +3488,7 @@ instance ToJSON OperationMetadata where
3199 ("operationType" .=) <$> _omOperationType,
3488 ("operationType" .=) <$> _omOperationType,
3200 ("target" .=) <$> _omTarget])
3489 ("target" .=) <$> _omTarget])
3201
3490
3202−-- | Response message for \`Instances.ListInstances\`.
3491+-- | Response message for Instances.ListInstances.
3203--
3492--
3204-- /See:/ 'listInstancesResponse' smart constructor.
3493-- /See:/ 'listInstancesResponse' smart constructor.
3205data ListInstancesResponse = ListInstancesResponse'
3494data ListInstancesResponse = ListInstancesResponse'
@@ -3326,13 +3615,12 @@ instance ToJSON RepairApplicationRequest where
3326 toJSON = const emptyObject
3615 toJSON = const emptyObject
3327
3616
3328-- | The normal response of the operation in case of success. If the original
3617-- | The normal response of the operation in case of success. If the original
3329−-- method returns no data on success, such as \`Delete\`, the response is
3618+-- method returns no data on success, such as Delete, the response is
3330−-- \`google.protobuf.Empty\`. If the original method is standard
3619+-- google.protobuf.Empty. If the original method is standard
3331−-- \`Get\`\/\`Create\`\/\`Update\`, the response should be the resource.
3620+-- Get\/Create\/Update, the response should be the resource. For other
3332−-- For other methods, the response should have the type \`XxxResponse\`,
3621+-- methods, the response should have the type XxxResponse, where Xxx is the
3333−-- where \`Xxx\` is the original method name. For example, if the original
3622+-- original method name. For example, if the original method name is
3334−-- method name is \`TakeSnapshot()\`, the inferred response type is
3623+-- TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
3335−-- \`TakeSnapshotResponse\`.
3336--
3624--
3337-- /See:/ 'operationResponse' smart constructor.
3625-- /See:/ 'operationResponse' smart constructor.
3338newtype OperationResponse = OperationResponse'
3626newtype OperationResponse = OperationResponse'
@@ -3410,6 +3698,7 @@ data Instance = Instance'
3410 { _iMemoryUsage :: !(Maybe (Textual Int64))
3698 { _iMemoryUsage :: !(Maybe (Textual Int64))
3411 , _iVMStatus :: !(Maybe Text)
3699 , _iVMStatus :: !(Maybe Text)
3412 , _iVMZoneName :: !(Maybe Text)
3700 , _iVMZoneName :: !(Maybe Text)
3701+ , _iVMIP :: !(Maybe Text)
3413 , _iStartTime :: !(Maybe Text)
3702 , _iStartTime :: !(Maybe Text)
3414 , _iVMId :: !(Maybe Text)
3703 , _iVMId :: !(Maybe Text)
3415 , _iAvailability :: !(Maybe Text)
3704 , _iAvailability :: !(Maybe Text)
@@ -3434,6 +3723,8 @@ data Instance = Instance'
3434--
3723--
3435-- * 'iVMZoneName'
3724-- * 'iVMZoneName'
3436--
3725--
3726+-- * 'iVMIP'
3727+--
3437-- * 'iStartTime'
3728-- * 'iStartTime'
3438--
3729--
3439-- * 'iVMId'
3730-- * 'iVMId'
@@ -3464,6 +3755,7 @@ instance' =
3464 { _iMemoryUsage = Nothing
3755 { _iMemoryUsage = Nothing
3465 , _iVMStatus = Nothing
3756 , _iVMStatus = Nothing
3466 , _iVMZoneName = Nothing
3757 , _iVMZoneName = Nothing
3758+ , _iVMIP = Nothing
3467 , _iStartTime = Nothing
3759 , _iStartTime = Nothing
3468 , _iVMId = Nothing
3760 , _iVMId = Nothing
3469 , _iAvailability = Nothing
3761 , _iAvailability = Nothing
@@ -3478,89 +3770,93 @@ instance' =
3478 , _iAppEngineRelease = Nothing
3770 , _iAppEngineRelease = Nothing
3479 }
3771 }
3480
3772
3481−-- | Total memory in use (bytes). \'OutputOnly
3773+-- | Total memory in use (bytes).\'OutputOnly
3482iMemoryUsage :: Lens' Instance (Maybe Int64)
3774iMemoryUsage :: Lens' Instance (Maybe Int64)
3483iMemoryUsage
3775iMemoryUsage
3484 = lens _iMemoryUsage (\ s a -> s{_iMemoryUsage = a})
3776 = lens _iMemoryUsage (\ s a -> s{_iMemoryUsage = a})
3485 . mapping _Coerce
3777 . mapping _Coerce
3486
3778
3487-- | Status of the virtual machine where this instance lives. Only applicable
3779-- | Status of the virtual machine where this instance lives. Only applicable
3488−-- for instances in App Engine flexible environment. \'OutputOnly
3780+-- for instances in App Engine flexible environment.\'OutputOnly
3489iVMStatus :: Lens' Instance (Maybe Text)
3781iVMStatus :: Lens' Instance (Maybe Text)
3490iVMStatus
3782iVMStatus
3491 = lens _iVMStatus (\ s a -> s{_iVMStatus = a})
3783 = lens _iVMStatus (\ s a -> s{_iVMStatus = a})
3492
3784
3493-- | Zone where the virtual machine is located. Only applicable for instances
3785-- | Zone where the virtual machine is located. Only applicable for instances
3494−-- in App Engine flexible environment. \'OutputOnly
3786+-- in App Engine flexible environment.\'OutputOnly
3495iVMZoneName :: Lens' Instance (Maybe Text)
3787iVMZoneName :: Lens' Instance (Maybe Text)
3496iVMZoneName
3788iVMZoneName
3497 = lens _iVMZoneName (\ s a -> s{_iVMZoneName = a})
3789 = lens _iVMZoneName (\ s a -> s{_iVMZoneName = a})
3498
3790
3791+-- | The IP address of this instance. Only applicable for instances in App
3792+-- Engine flexible environment.\'OutputOnly
3793+iVMIP :: Lens' Instance (Maybe Text)
3794+iVMIP = lens _iVMIP (\ s a -> s{_iVMIP = a})
3795+
3499−-- | Time that this instance was started. \'OutputOnly
3796+-- | Time that this instance was started.\'OutputOnly
3500iStartTime :: Lens' Instance (Maybe Text)
3797iStartTime :: Lens' Instance (Maybe Text)
3501iStartTime
3798iStartTime
3502 = lens _iStartTime (\ s a -> s{_iStartTime = a})
3799 = lens _iStartTime (\ s a -> s{_iStartTime = a})
3503
3800
3504-- | Virtual machine ID of this instance. Only applicable for instances in
3801-- | Virtual machine ID of this instance. Only applicable for instances in
3505−-- App Engine flexible environment. \'OutputOnly
3802+-- App Engine flexible environment.\'OutputOnly
3506iVMId :: Lens' Instance (Maybe Text)
3803iVMId :: Lens' Instance (Maybe Text)
3507iVMId = lens _iVMId (\ s a -> s{_iVMId = a})
3804iVMId = lens _iVMId (\ s a -> s{_iVMId = a})
3508
3805
3509−-- | Availability of the instance. \'OutputOnly
3806+-- | Availability of the instance.\'OutputOnly
3510iAvailability :: Lens' Instance (Maybe Text)
3807iAvailability :: Lens' Instance (Maybe Text)
3511iAvailability
3808iAvailability
3512 = lens _iAvailability
3809 = lens _iAvailability
3513 (\ s a -> s{_iAvailability = a})
3810 (\ s a -> s{_iAvailability = a})
3514
3811
3515-- | Name of the virtual machine where this instance lives. Only applicable
3812-- | Name of the virtual machine where this instance lives. Only applicable
3516−-- for instances in App Engine flexible environment. \'OutputOnly
3813+-- for instances in App Engine flexible environment.\'OutputOnly
3517iVMName :: Lens' Instance (Maybe Text)
3814iVMName :: Lens' Instance (Maybe Text)
3518iVMName = lens _iVMName (\ s a -> s{_iVMName = a})
3815iVMName = lens _iVMName (\ s a -> s{_iVMName = a})
3519
3816
3520-- | Full path to the Instance resource in the API. Example:
3817-- | Full path to the Instance resource in the API. Example:
3521−-- \`apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1\`.
3818+-- apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1.\'OutputOnly
3522−-- \'OutputOnly
3523iName :: Lens' Instance (Maybe Text)
3819iName :: Lens' Instance (Maybe Text)
3524iName = lens _iName (\ s a -> s{_iName = a})
3820iName = lens _iName (\ s a -> s{_iName = a})
3525
3821
3526-- | Whether this instance is in debug mode. Only applicable for instances in
3822-- | Whether this instance is in debug mode. Only applicable for instances in
3527−-- App Engine flexible environment. \'OutputOnly
3823+-- App Engine flexible environment.\'OutputOnly
3528iVMDebugEnabled :: Lens' Instance (Maybe Bool)
3824iVMDebugEnabled :: Lens' Instance (Maybe Bool)
3529iVMDebugEnabled
3825iVMDebugEnabled
3530 = lens _iVMDebugEnabled
3826 = lens _iVMDebugEnabled
3531 (\ s a -> s{_iVMDebugEnabled = a})
3827 (\ s a -> s{_iVMDebugEnabled = a})
3532
3828
3533−-- | Number of requests since this instance was started. \'OutputOnly
3829+-- | Number of requests since this instance was started.\'OutputOnly
3534iRequests :: Lens' Instance (Maybe Int32)
3830iRequests :: Lens' Instance (Maybe Int32)
3535iRequests
3831iRequests
3536 = lens _iRequests (\ s a -> s{_iRequests = a}) .
3832 = lens _iRequests (\ s a -> s{_iRequests = a}) .
3537 mapping _Coerce
3833 mapping _Coerce
3538
3834
3539−-- | Average queries per second (QPS) over the last minute. \'OutputOnly
3835+-- | Average queries per second (QPS) over the last minute.\'OutputOnly
3540iQps :: Lens' Instance (Maybe Double)
3836iQps :: Lens' Instance (Maybe Double)
3541iQps
3837iQps
3542 = lens _iQps (\ s a -> s{_iQps = a}) .
3838 = lens _iQps (\ s a -> s{_iQps = a}) .
3543 mapping _Coerce
3839 mapping _Coerce
3544
3840
3545-- | Relative name of the instance within the version. Example:
3841-- | Relative name of the instance within the version. Example:
3546−-- \`instance-1\`. \'OutputOnly
3842+-- instance-1.\'OutputOnly
3547iId :: Lens' Instance (Maybe Text)
3843iId :: Lens' Instance (Maybe Text)
3548iId = lens _iId (\ s a -> s{_iId = a})
3844iId = lens _iId (\ s a -> s{_iId = a})
3549
3845
3550−-- | Number of errors since this instance was started. \'OutputOnly
3846+-- | Number of errors since this instance was started.\'OutputOnly
3551iErrors :: Lens' Instance (Maybe Int32)
3847iErrors :: Lens' Instance (Maybe Int32)
3552iErrors
3848iErrors
3553 = lens _iErrors (\ s a -> s{_iErrors = a}) .
3849 = lens _iErrors (\ s a -> s{_iErrors = a}) .
3554 mapping _Coerce
3850 mapping _Coerce
3555
3851
3556−-- | Average latency (ms) over the last minute. \'OutputOnly
3852+-- | Average latency (ms) over the last minute.\'OutputOnly
3557iAverageLatency :: Lens' Instance (Maybe Int32)
3853iAverageLatency :: Lens' Instance (Maybe Int32)
3558iAverageLatency
3854iAverageLatency
3559 = lens _iAverageLatency
3855 = lens _iAverageLatency
3560 (\ s a -> s{_iAverageLatency = a})
3856 (\ s a -> s{_iAverageLatency = a})
3561 . mapping _Coerce
3857 . mapping _Coerce
3562
3858
3563−-- | App Engine release this instance is running on. \'OutputOnly
3859+-- | App Engine release this instance is running on.\'OutputOnly
3564iAppEngineRelease :: Lens' Instance (Maybe Text)
3860iAppEngineRelease :: Lens' Instance (Maybe Text)
3565iAppEngineRelease
3861iAppEngineRelease
3566 = lens _iAppEngineRelease
3862 = lens _iAppEngineRelease
@@ -3573,6 +3869,7 @@ instance FromJSON Instance where
3573 Instance' <$>
3869 Instance' <$>
3574 (o .:? "memoryUsage") <*> (o .:? "vmStatus") <*>
3870 (o .:? "memoryUsage") <*> (o .:? "vmStatus") <*>
3575 (o .:? "vmZoneName")
3871 (o .:? "vmZoneName")
3872+ <*> (o .:? "vmIp")
3576 <*> (o .:? "startTime")
3873 <*> (o .:? "startTime")
3577 <*> (o .:? "vmId")
3874 <*> (o .:? "vmId")
3578 <*> (o .:? "availability")
3875 <*> (o .:? "availability")
@@ -3593,6 +3890,7 @@ instance ToJSON Instance where
3593 [("memoryUsage" .=) <$> _iMemoryUsage,
3890 [("memoryUsage" .=) <$> _iMemoryUsage,
3594 ("vmStatus" .=) <$> _iVMStatus,
3891 ("vmStatus" .=) <$> _iVMStatus,
3595 ("vmZoneName" .=) <$> _iVMZoneName,
3892 ("vmZoneName" .=) <$> _iVMZoneName,
3893+ ("vmIp" .=) <$> _iVMIP,
3596 ("startTime" .=) <$> _iStartTime,
3894 ("startTime" .=) <$> _iStartTime,
3597 ("vmId" .=) <$> _iVMId,
3895 ("vmId" .=) <$> _iVMId,
3598 ("availability" .=) <$> _iAvailability,
3896 ("availability" .=) <$> _iAvailability,
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Create.hsnew file+176
@@ -0,0 +1,176 @@
1+{-# LANGUAGE DataKinds #-}
2+{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE FlexibleInstances #-}
5+{-# LANGUAGE NoImplicitPrelude #-}
6+{-# LANGUAGE OverloadedStrings #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE TypeOperators #-}
10+
11+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14+
15+-- |
16+-- Module : Network.Google.Resource.AppEngine.Apps.Create
17+-- Copyright : (c) 2015-2016 Brendan Hay
18+-- License : Mozilla Public License, v. 2.0.
19+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20+-- Stability : auto-generated
21+-- Portability : non-portable (GHC extensions)
22+--
23+-- Creates an App Engine application for a Google Cloud Platform project.
24+-- This requires a project that excludes an App Engine application. For
25+-- details about creating a project without an application, see the Google
26+-- Cloud Resource Manager create project topic
27+-- (https:\/\/cloud.google.com\/resource-manager\/docs\/creating-project).
28+--
29+-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.create@.
30+module Network.Google.Resource.AppEngine.Apps.Create
31+ (
32+ -- * REST Resource
33+ AppsCreateResource
34+
35+ -- * Creating a Request
36+ , appsCreate
37+ , AppsCreate
38+
39+ -- * Request Lenses
40+ , acXgafv
41+ , acUploadProtocol
42+ , acPp
43+ , acAccessToken
44+ , acUploadType
45+ , acPayload
46+ , acBearerToken
47+ , acCallback
48+ ) where
49+
50+import Network.Google.AppEngine.Types
51+import Network.Google.Prelude
52+
53+-- | A resource alias for @appengine.apps.create@ method which the
54+-- 'AppsCreate' request conforms to.
55+type AppsCreateResource =
56+ "v1" :>
57+ "apps" :>
58+ QueryParam "$.xgafv" Text :>
59+ QueryParam "upload_protocol" Text :>
60+ QueryParam "pp" Bool :>
61+ QueryParam "access_token" Text :>
62+ QueryParam "uploadType" Text :>
63+ QueryParam "bearer_token" Text :>
64+ QueryParam "callback" Text :>
65+ QueryParam "alt" AltJSON :>
66+ ReqBody '[JSON] Application :> Post '[JSON] Operation
67+
68+-- | Creates an App Engine application for a Google Cloud Platform project.
69+-- This requires a project that excludes an App Engine application. For
70+-- details about creating a project without an application, see the Google
71+-- Cloud Resource Manager create project topic
72+-- (https:\/\/cloud.google.com\/resource-manager\/docs\/creating-project).
73+--
74+-- /See:/ 'appsCreate' smart constructor.
75+data AppsCreate = AppsCreate'
76+ { _acXgafv :: !(Maybe Text)
77+ , _acUploadProtocol :: !(Maybe Text)
78+ , _acPp :: !Bool
79+ , _acAccessToken :: !(Maybe Text)
80+ , _acUploadType :: !(Maybe Text)
81+ , _acPayload :: !Application
82+ , _acBearerToken :: !(Maybe Text)
83+ , _acCallback :: !(Maybe Text)
84+ } deriving (Eq,Show,Data,Typeable,Generic)
85+
86+-- | Creates a value of 'AppsCreate' with the minimum fields required to make a request.
87+--
88+-- Use one of the following lenses to modify other fields as desired:
89+--
90+-- * 'acXgafv'
91+--
92+-- * 'acUploadProtocol'
93+--
94+-- * 'acPp'
95+--
96+-- * 'acAccessToken'
97+--
98+-- * 'acUploadType'
99+--
100+-- * 'acPayload'
101+--
102+-- * 'acBearerToken'
103+--
104+-- * 'acCallback'
105+appsCreate
106+ :: Application -- ^ 'acPayload'
107+ -> AppsCreate
108+appsCreate pAcPayload_ =
109+ AppsCreate'
110+ { _acXgafv = Nothing
111+ , _acUploadProtocol = Nothing
112+ , _acPp = True
113+ , _acAccessToken = Nothing
114+ , _acUploadType = Nothing
115+ , _acPayload = pAcPayload_
116+ , _acBearerToken = Nothing
117+ , _acCallback = Nothing
118+ }
119+
120+-- | V1 error format.
121+acXgafv :: Lens' AppsCreate (Maybe Text)
122+acXgafv = lens _acXgafv (\ s a -> s{_acXgafv = a})
123+
124+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
125+acUploadProtocol :: Lens' AppsCreate (Maybe Text)
126+acUploadProtocol
127+ = lens _acUploadProtocol
128+ (\ s a -> s{_acUploadProtocol = a})
129+
130+-- | Pretty-print response.
131+acPp :: Lens' AppsCreate Bool
132+acPp = lens _acPp (\ s a -> s{_acPp = a})
133+
134+-- | OAuth access token.
135+acAccessToken :: Lens' AppsCreate (Maybe Text)
136+acAccessToken
137+ = lens _acAccessToken
138+ (\ s a -> s{_acAccessToken = a})
139+
140+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
141+acUploadType :: Lens' AppsCreate (Maybe Text)
142+acUploadType
143+ = lens _acUploadType (\ s a -> s{_acUploadType = a})
144+
145+-- | Multipart request metadata.
146+acPayload :: Lens' AppsCreate Application
147+acPayload
148+ = lens _acPayload (\ s a -> s{_acPayload = a})
149+
150+-- | OAuth bearer token.
151+acBearerToken :: Lens' AppsCreate (Maybe Text)
152+acBearerToken
153+ = lens _acBearerToken
154+ (\ s a -> s{_acBearerToken = a})
155+
156+-- | JSONP
157+acCallback :: Lens' AppsCreate (Maybe Text)
158+acCallback
159+ = lens _acCallback (\ s a -> s{_acCallback = a})
160+
161+instance GoogleRequest AppsCreate where
162+ type Rs AppsCreate = Operation
163+ type Scopes AppsCreate =
164+ '["https://www.googleapis.com/auth/cloud-platform"]
165+ requestClient AppsCreate'{..}
166+ = go _acXgafv _acUploadProtocol (Just _acPp)
167+ _acAccessToken
168+ _acUploadType
169+ _acBearerToken
170+ _acCallback
171+ (Just AltJSON)
172+ _acPayload
173+ appEngineService
174+ where go
175+ = buildClient (Proxy :: Proxy AppsCreateResource)
176+ mempty
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Get.hs+4−2
@@ -141,7 +141,7 @@ agBearerToken
141 (\ s a -> s{_agBearerToken = a})
141 (\ s a -> s{_agBearerToken = a})
142
142
143-- | Part of \`name\`. Name of the Application resource to get. Example:
143-- | Part of \`name\`. Name of the Application resource to get. Example:
144−-- \`apps\/myapp\`.
144+-- apps\/myapp.
145agAppsId :: Lens' AppsGet Text
145agAppsId :: Lens' AppsGet Text
146agAppsId = lens _agAppsId (\ s a -> s{_agAppsId = a})
146agAppsId = lens _agAppsId (\ s a -> s{_agAppsId = a})
147
147
@@ -153,7 +153,9 @@ agCallback
153instance GoogleRequest AppsGet where
153instance GoogleRequest AppsGet where
154 type Rs AppsGet = Application
154 type Rs AppsGet = Application
155 type Scopes AppsGet =
155 type Scopes AppsGet =
156− '["https://www.googleapis.com/auth/cloud-platform"]
156+ '["https://www.googleapis.com/auth/appengine.admin",
157+ "https://www.googleapis.com/auth/cloud-platform",
158+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
157 requestClient AppsGet'{..}
159 requestClient AppsGet'{..}
158 = go _agAppsId _agXgafv _agUploadProtocol
160 = go _agAppsId _agXgafv _agUploadProtocol
159 (Just _agPp)
161 (Just _agPp)
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Locations/Get.hs+3−1
@@ -168,7 +168,9 @@ algCallback
168instance GoogleRequest AppsLocationsGet where
168instance GoogleRequest AppsLocationsGet where
169 type Rs AppsLocationsGet = Location
169 type Rs AppsLocationsGet = Location
170 type Scopes AppsLocationsGet =
170 type Scopes AppsLocationsGet =
171− '["https://www.googleapis.com/auth/cloud-platform"]
171+ '["https://www.googleapis.com/auth/appengine.admin",
172+ "https://www.googleapis.com/auth/cloud-platform",
173+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
172 requestClient AppsLocationsGet'{..}
174 requestClient AppsLocationsGet'{..}
173 = go _algAppsId _algLocationsId _algXgafv
175 = go _algAppsId _algLocationsId _algXgafv
174 _algUploadProtocol
176 _algUploadProtocol
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Locations/List.hs+3−1
@@ -191,7 +191,9 @@ allCallback
191instance GoogleRequest AppsLocationsList where
191instance GoogleRequest AppsLocationsList where
192 type Rs AppsLocationsList = ListLocationsResponse
192 type Rs AppsLocationsList = ListLocationsResponse
193 type Scopes AppsLocationsList =
193 type Scopes AppsLocationsList =
194− '["https://www.googleapis.com/auth/cloud-platform"]
194+ '["https://www.googleapis.com/auth/appengine.admin",
195+ "https://www.googleapis.com/auth/cloud-platform",
196+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
195 requestClient AppsLocationsList'{..}
197 requestClient AppsLocationsList'{..}
196 = go _allAppsId _allXgafv _allUploadProtocol
198 = go _allAppsId _allXgafv _allUploadProtocol
197 (Just _allPp)
199 (Just _allPp)
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Operations/Get.hs+3−1
@@ -172,7 +172,9 @@ aogCallback
172instance GoogleRequest AppsOperationsGet where
172instance GoogleRequest AppsOperationsGet where
173 type Rs AppsOperationsGet = Operation
173 type Rs AppsOperationsGet = Operation
174 type Scopes AppsOperationsGet =
174 type Scopes AppsOperationsGet =
175− '["https://www.googleapis.com/auth/cloud-platform"]
175+ '["https://www.googleapis.com/auth/appengine.admin",
176+ "https://www.googleapis.com/auth/cloud-platform",
177+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
176 requestClient AppsOperationsGet'{..}
178 requestClient AppsOperationsGet'{..}
177 = go _aogAppsId _aogOperationsId _aogXgafv
179 = go _aogAppsId _aogOperationsId _aogXgafv
178 _aogUploadProtocol
180 _aogUploadProtocol
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Operations/List.hs+9−9
@@ -21,10 +21,9 @@
21-- Portability : non-portable (GHC extensions)
21-- Portability : non-portable (GHC extensions)
22--
22--
23-- Lists operations that match the specified filter in the request. If the
23-- Lists operations that match the specified filter in the request. If the
24−-- server doesn\'t support this method, it returns \`UNIMPLEMENTED\`. NOTE:
24+-- server doesn\'t support this method, it returns UNIMPLEMENTED.NOTE: the
25−-- the \`name\` binding below allows API services to override the binding
25+-- name binding below allows API services to override the binding to use
26−-- to use different resource name schemes, such as
26+-- different resource name schemes, such as users\/*\/operations.
27−-- \`users\/*\/operations\`.
28--
27--
29-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.operations.list@.
28-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.operations.list@.
30module Network.Google.Resource.AppEngine.Apps.Operations.List
29module Network.Google.Resource.AppEngine.Apps.Operations.List
@@ -74,10 +73,9 @@ type AppsOperationsListResource =
74 Get '[JSON] ListOperationsResponse
73 Get '[JSON] ListOperationsResponse
75
74
76-- | Lists operations that match the specified filter in the request. If the
75-- | Lists operations that match the specified filter in the request. If the
77−-- server doesn\'t support this method, it returns \`UNIMPLEMENTED\`. NOTE:
76+-- server doesn\'t support this method, it returns UNIMPLEMENTED.NOTE: the
78−-- the \`name\` binding below allows API services to override the binding
77+-- name binding below allows API services to override the binding to use
79−-- to use different resource name schemes, such as
78+-- different resource name schemes, such as users\/*\/operations.
80−-- \`users\/*\/operations\`.
81--
79--
82-- /See:/ 'appsOperationsList' smart constructor.
80-- /See:/ 'appsOperationsList' smart constructor.
83data AppsOperationsList = AppsOperationsList'
81data AppsOperationsList = AppsOperationsList'
@@ -198,7 +196,9 @@ aolCallback
198instance GoogleRequest AppsOperationsList where
196instance GoogleRequest AppsOperationsList where
199 type Rs AppsOperationsList = ListOperationsResponse
197 type Rs AppsOperationsList = ListOperationsResponse
200 type Scopes AppsOperationsList =
198 type Scopes AppsOperationsList =
201− '["https://www.googleapis.com/auth/cloud-platform"]
199+ '["https://www.googleapis.com/auth/appengine.admin",
200+ "https://www.googleapis.com/auth/cloud-platform",
201+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
202 requestClient AppsOperationsList'{..}
202 requestClient AppsOperationsList'{..}
203 = go _aolAppsId _aolXgafv _aolUploadProtocol
203 = go _aolAppsId _aolXgafv _aolUploadProtocol
204 (Just _aolPp)
204 (Just _aolPp)
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Patch.hs+12−4
@@ -20,7 +20,11 @@
20-- Stability : auto-generated
20-- Stability : auto-generated
21-- Portability : non-portable (GHC extensions)
21-- Portability : non-portable (GHC extensions)
22--
22--
23−-- Updates application parameters.
23+-- Updates the specified Application resource. You can update the following
24+-- fields: auth_domain
25+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps#Application.FIELDS.auth_domain)
26+-- default_cookie_expiration
27+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps#Application.FIELDS.default_cookie_expiration)
24--
28--
25-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.patch@.
29-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.patch@.
26module Network.Google.Resource.AppEngine.Apps.Patch
30module Network.Google.Resource.AppEngine.Apps.Patch
@@ -66,7 +70,11 @@ type AppsPatchResource =
66 ReqBody '[JSON] Application :>
70 ReqBody '[JSON] Application :>
67 Patch '[JSON] Operation
71 Patch '[JSON] Operation
68
72
69−-- | Updates application parameters.
73+-- | Updates the specified Application resource. You can update the following
74+-- fields: auth_domain
75+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps#Application.FIELDS.auth_domain)
76+-- default_cookie_expiration
77+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps#Application.FIELDS.default_cookie_expiration)
70--
78--
71-- /See:/ 'appsPatch' smart constructor.
79-- /See:/ 'appsPatch' smart constructor.
72data AppsPatch = AppsPatch'
80data AppsPatch = AppsPatch'
@@ -164,8 +172,8 @@ apBearerToken
164 = lens _apBearerToken
172 = lens _apBearerToken
165 (\ s a -> s{_apBearerToken = a})
173 (\ s a -> s{_apBearerToken = a})
166
174
167−-- | Part of \`name\`. Name of the application to update. Example:
175+-- | Part of \`name\`. Name of the Application resource to update. Example:
168−-- \`apps\/myapp\`.
176+-- apps\/myapp.
169apAppsId :: Lens' AppsPatch Text
177apAppsId :: Lens' AppsPatch Text
170apAppsId = lens _apAppsId (\ s a -> s{_apAppsId = a})
178apAppsId = lens _apAppsId (\ s a -> s{_apAppsId = a})
171
179
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Repair.hs+7−9
@@ -20,11 +20,10 @@
20-- Stability : auto-generated
20-- Stability : auto-generated
21-- Portability : non-portable (GHC extensions)
21-- Portability : non-portable (GHC extensions)
22--
22--
23−-- Recreates the required App Engine features for the application in your
23+-- Recreates the required App Engine features for the specified App Engine
24−-- project, for example a Cloud Storage bucket or App Engine service
24+-- application, for example a Cloud Storage bucket or App Engine service
25-- account. Use this method if you receive an error message about a missing
25-- account. Use this method if you receive an error message about a missing
26−-- feature, for example \"*Error retrieving the App Engine service
26+-- feature, for example, Error retrieving the App Engine service account.
27−-- account*\".
28--
27--
29-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.repair@.
28-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.repair@.
30module Network.Google.Resource.AppEngine.Apps.Repair
29module Network.Google.Resource.AppEngine.Apps.Repair
@@ -68,11 +67,10 @@ type AppsRepairResource =
68 ReqBody '[JSON] RepairApplicationRequest :>
67 ReqBody '[JSON] RepairApplicationRequest :>
69 Post '[JSON] Operation
68 Post '[JSON] Operation
70
69
71−-- | Recreates the required App Engine features for the application in your
70+-- | Recreates the required App Engine features for the specified App Engine
72−-- project, for example a Cloud Storage bucket or App Engine service
71+-- application, for example a Cloud Storage bucket or App Engine service
73-- account. Use this method if you receive an error message about a missing
72-- account. Use this method if you receive an error message about a missing
74−-- feature, for example \"*Error retrieving the App Engine service
73+-- feature, for example, Error retrieving the App Engine service account.
75−-- account*\".
76--
74--
77-- /See:/ 'appsRepair' smart constructor.
75-- /See:/ 'appsRepair' smart constructor.
78data AppsRepair = AppsRepair'
76data AppsRepair = AppsRepair'
@@ -162,7 +160,7 @@ arBearerToken
162 (\ s a -> s{_arBearerToken = a})
160 (\ s a -> s{_arBearerToken = a})
163
161
164-- | Part of \`name\`. Name of the application to repair. Example:
162-- | Part of \`name\`. Name of the application to repair. Example:
165−-- \`apps\/myapp\`
163+-- apps\/myapp
166arAppsId :: Lens' AppsRepair Text
164arAppsId :: Lens' AppsRepair Text
167arAppsId = lens _arAppsId (\ s a -> s{_arAppsId = a})
165arAppsId = lens _arAppsId (\ s a -> s{_arAppsId = a})
168
166
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Delete.hs+1−1
@@ -151,7 +151,7 @@ asdBearerToken
151 (\ s a -> s{_asdBearerToken = a})
151 (\ s a -> s{_asdBearerToken = a})
152
152
153-- | Part of \`name\`. Name of the resource requested. Example:
153-- | Part of \`name\`. Name of the resource requested. Example:
154−-- \`apps\/myapp\/services\/default\`.
154+-- apps\/myapp\/services\/default.
155asdAppsId :: Lens' AppsServicesDelete Text
155asdAppsId :: Lens' AppsServicesDelete Text
156asdAppsId
156asdAppsId
157 = lens _asdAppsId (\ s a -> s{_asdAppsId = a})
157 = lens _asdAppsId (\ s a -> s{_asdAppsId = a})
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Get.hs+4−2
@@ -150,7 +150,7 @@ asgBearerToken
150 (\ s a -> s{_asgBearerToken = a})
150 (\ s a -> s{_asgBearerToken = a})
151
151
152-- | Part of \`name\`. Name of the resource requested. Example:
152-- | Part of \`name\`. Name of the resource requested. Example:
153−-- \`apps\/myapp\/services\/default\`.
153+-- apps\/myapp\/services\/default.
154asgAppsId :: Lens' AppsServicesGet Text
154asgAppsId :: Lens' AppsServicesGet Text
155asgAppsId
155asgAppsId
156 = lens _asgAppsId (\ s a -> s{_asgAppsId = a})
156 = lens _asgAppsId (\ s a -> s{_asgAppsId = a})
@@ -169,7 +169,9 @@ asgCallback
169instance GoogleRequest AppsServicesGet where
169instance GoogleRequest AppsServicesGet where
170 type Rs AppsServicesGet = Service
170 type Rs AppsServicesGet = Service
171 type Scopes AppsServicesGet =
171 type Scopes AppsServicesGet =
172− '["https://www.googleapis.com/auth/cloud-platform"]
172+ '["https://www.googleapis.com/auth/appengine.admin",
173+ "https://www.googleapis.com/auth/cloud-platform",
174+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
173 requestClient AppsServicesGet'{..}
175 requestClient AppsServicesGet'{..}
174 = go _asgAppsId _asgServicesId _asgXgafv
176 = go _asgAppsId _asgServicesId _asgXgafv
175 _asgUploadProtocol
177 _asgUploadProtocol
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/List.hs+4−2
@@ -156,7 +156,7 @@ aslBearerToken
156 (\ s a -> s{_aslBearerToken = a})
156 (\ s a -> s{_aslBearerToken = a})
157
157
158-- | Part of \`parent\`. Name of the parent Application resource. Example:
158-- | Part of \`parent\`. Name of the parent Application resource. Example:
159−-- \`apps\/myapp\`.
159+-- apps\/myapp.
160aslAppsId :: Lens' AppsServicesList Text
160aslAppsId :: Lens' AppsServicesList Text
161aslAppsId
161aslAppsId
162 = lens _aslAppsId (\ s a -> s{_aslAppsId = a})
162 = lens _aslAppsId (\ s a -> s{_aslAppsId = a})
@@ -180,7 +180,9 @@ aslCallback
180instance GoogleRequest AppsServicesList where
180instance GoogleRequest AppsServicesList where
181 type Rs AppsServicesList = ListServicesResponse
181 type Rs AppsServicesList = ListServicesResponse
182 type Scopes AppsServicesList =
182 type Scopes AppsServicesList =
183− '["https://www.googleapis.com/auth/cloud-platform"]
183+ '["https://www.googleapis.com/auth/appengine.admin",
184+ "https://www.googleapis.com/auth/cloud-platform",
185+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
184 requestClient AppsServicesList'{..}
186 requestClient AppsServicesList'{..}
185 = go _aslAppsId _aslXgafv _aslUploadProtocol
187 = go _aslAppsId _aslXgafv _aslUploadProtocol
186 (Just _aslPp)
188 (Just _aslPp)
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Patch.hs+10−10
@@ -174,19 +174,19 @@ aspPayload :: Lens' AppsServicesPatch Service
174aspPayload
174aspPayload
175 = lens _aspPayload (\ s a -> s{_aspPayload = a})
175 = lens _aspPayload (\ s a -> s{_aspPayload = a})
176
176
177−-- | Set to \`true\` to gradually shift traffic from one version to another
177+-- | Set to true to gradually shift traffic from one version to another
178-- single version. By default, traffic is shifted immediately. For gradual
178-- single version. By default, traffic is shifted immediately. For gradual
179-- traffic migration, the target version must be located within instances
179-- traffic migration, the target version must be located within instances
180−-- that are configured for both [warmup
180+-- that are configured for both warmup requests
181−-- requests](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#inboundservicetype)
181+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#inboundservicetype)
182−-- and [automatic
182+-- and automatic scaling
183−-- scaling](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#automaticscaling).
183+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#automaticscaling).
184−-- You must specify the
184+-- You must specify the shardBy
185−-- [\`shardBy\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services#shardby)
185+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services#shardby)
186-- field in the Service resource. Gradual traffic migration is not
186-- field in the Service resource. Gradual traffic migration is not
187-- supported in the App Engine flexible environment. For examples, see
187-- supported in the App Engine flexible environment. For examples, see
188−-- [Migrating and Splitting
188+-- Migrating and Splitting Traffic
189−-- Traffic](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/migrating-splitting-traffic).
189+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/migrating-splitting-traffic).
190aspMigrateTraffic :: Lens' AppsServicesPatch (Maybe Bool)
190aspMigrateTraffic :: Lens' AppsServicesPatch (Maybe Bool)
191aspMigrateTraffic
191aspMigrateTraffic
192 = lens _aspMigrateTraffic
192 = lens _aspMigrateTraffic
@@ -199,7 +199,7 @@ aspBearerToken
199 (\ s a -> s{_aspBearerToken = a})
199 (\ s a -> s{_aspBearerToken = a})
200
200
201-- | Part of \`name\`. Name of the resource to update. Example:
201-- | Part of \`name\`. Name of the resource to update. Example:
202−-- \`apps\/myapp\/services\/default\`.
202+-- apps\/myapp\/services\/default.
203aspAppsId :: Lens' AppsServicesPatch Text
203aspAppsId :: Lens' AppsServicesPatch Text
204aspAppsId
204aspAppsId
205 = lens _aspAppsId (\ s a -> s{_aspAppsId = a})
205 = lens _aspAppsId (\ s a -> s{_aspAppsId = a})
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Create.hs+1−1
@@ -165,7 +165,7 @@ asvcBearerToken
165 (\ s a -> s{_asvcBearerToken = a})
165 (\ s a -> s{_asvcBearerToken = a})
166
166
167-- | Part of \`parent\`. Name of the parent resource to create this version
167-- | Part of \`parent\`. Name of the parent resource to create this version
168−-- under. Example: \`apps\/myapp\/services\/default\`.
168+-- under. Example: apps\/myapp\/services\/default.
169asvcAppsId :: Lens' AppsServicesVersionsCreate Text
169asvcAppsId :: Lens' AppsServicesVersionsCreate Text
170asvcAppsId
170asvcAppsId
171 = lens _asvcAppsId (\ s a -> s{_asvcAppsId = a})
171 = lens _asvcAppsId (\ s a -> s{_asvcAppsId = a})
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Delete.hs+1−1
@@ -166,7 +166,7 @@ asvdBearerToken
166 (\ s a -> s{_asvdBearerToken = a})
166 (\ s a -> s{_asvdBearerToken = a})
167
167
168-- | Part of \`name\`. Name of the resource requested. Example:
168-- | Part of \`name\`. Name of the resource requested. Example:
169−-- \`apps\/myapp\/services\/default\/versions\/v1\`.
169+-- apps\/myapp\/services\/default\/versions\/v1.
170asvdAppsId :: Lens' AppsServicesVersionsDelete Text
170asvdAppsId :: Lens' AppsServicesVersionsDelete Text
171asvdAppsId
171asvdAppsId
172 = lens _asvdAppsId (\ s a -> s{_asvdAppsId = a})
172 = lens _asvdAppsId (\ s a -> s{_asvdAppsId = a})
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Get.hs+9−9
@@ -20,9 +20,8 @@
20-- Stability : auto-generated
20-- Stability : auto-generated
21-- Portability : non-portable (GHC extensions)
21-- Portability : non-portable (GHC extensions)
22--
22--
23−-- Gets the specified Version resource. By default, only a \`BASIC_VIEW\`
23+-- Gets the specified Version resource. By default, only a BASIC_VIEW will
24−-- will be returned. Specify the \`FULL_VIEW\` parameter to get the full
24+-- be returned. Specify the FULL_VIEW parameter to get the full resource.
25−-- resource.
26--
25--
27-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.services.versions.get@.
26-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.services.versions.get@.
28module Network.Google.Resource.AppEngine.Apps.Services.Versions.Get
27module Network.Google.Resource.AppEngine.Apps.Services.Versions.Get
@@ -72,9 +71,8 @@ type AppsServicesVersionsGetResource =
72 QueryParam "alt" AltJSON :>
71 QueryParam "alt" AltJSON :>
73 Get '[JSON] Version
72 Get '[JSON] Version
74
73
75−-- | Gets the specified Version resource. By default, only a \`BASIC_VIEW\`
74+-- | Gets the specified Version resource. By default, only a BASIC_VIEW will
76−-- will be returned. Specify the \`FULL_VIEW\` parameter to get the full
75+-- be returned. Specify the FULL_VIEW parameter to get the full resource.
77−-- resource.
78--
76--
79-- /See:/ 'appsServicesVersionsGet' smart constructor.
77-- /See:/ 'appsServicesVersionsGet' smart constructor.
80data AppsServicesVersionsGet = AppsServicesVersionsGet'
78data AppsServicesVersionsGet = AppsServicesVersionsGet'
@@ -176,12 +174,12 @@ asvgBearerToken
176 (\ s a -> s{_asvgBearerToken = a})
174 (\ s a -> s{_asvgBearerToken = a})
177
175
178-- | Part of \`name\`. Name of the resource requested. Example:
176-- | Part of \`name\`. Name of the resource requested. Example:
179−-- \`apps\/myapp\/services\/default\/versions\/v1\`.
177+-- apps\/myapp\/services\/default\/versions\/v1.
180asvgAppsId :: Lens' AppsServicesVersionsGet Text
178asvgAppsId :: Lens' AppsServicesVersionsGet Text
181asvgAppsId
179asvgAppsId
182 = lens _asvgAppsId (\ s a -> s{_asvgAppsId = a})
180 = lens _asvgAppsId (\ s a -> s{_asvgAppsId = a})
183
181
184−-- | Controls the set of fields returned in the \`Get\` response.
182+-- | Controls the set of fields returned in the Get response.
185asvgView :: Lens' AppsServicesVersionsGet (Maybe Text)
183asvgView :: Lens' AppsServicesVersionsGet (Maybe Text)
186asvgView = lens _asvgView (\ s a -> s{_asvgView = a})
184asvgView = lens _asvgView (\ s a -> s{_asvgView = a})
187
185
@@ -199,7 +197,9 @@ asvgCallback
199instance GoogleRequest AppsServicesVersionsGet where
197instance GoogleRequest AppsServicesVersionsGet where
200 type Rs AppsServicesVersionsGet = Version
198 type Rs AppsServicesVersionsGet = Version
201 type Scopes AppsServicesVersionsGet =
199 type Scopes AppsServicesVersionsGet =
202− '["https://www.googleapis.com/auth/cloud-platform"]
200+ '["https://www.googleapis.com/auth/appengine.admin",
201+ "https://www.googleapis.com/auth/cloud-platform",
202+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
203 requestClient AppsServicesVersionsGet'{..}
203 requestClient AppsServicesVersionsGet'{..}
204 = go _asvgAppsId _asvgServicesId _asvgVersionsId
204 = go _asvgAppsId _asvgServicesId _asvgVersionsId
205 _asvgXgafv
205 _asvgXgafv
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Instances/Debug.hs+3−3
@@ -25,7 +25,7 @@
25-- While in \"debug mode\", the instance continues to serve live traffic.
25-- While in \"debug mode\", the instance continues to serve live traffic.
26-- You should delete the instance when you are done debugging and then
26-- You should delete the instance when you are done debugging and then
27-- allow the system to take over and determine if another instance should
27-- allow the system to take over and determine if another instance should
28−-- be started. Only applicable for instances in App Engine flexible
28+-- be started.Only applicable for instances in App Engine flexible
29-- environment.
29-- environment.
30--
30--
31-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.services.versions.instances.debug@.
31-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.apps.services.versions.instances.debug@.
@@ -84,7 +84,7 @@ type AppsServicesVersionsInstancesDebugResource =
84-- While in \"debug mode\", the instance continues to serve live traffic.
84-- While in \"debug mode\", the instance continues to serve live traffic.
85-- You should delete the instance when you are done debugging and then
85-- You should delete the instance when you are done debugging and then
86-- allow the system to take over and determine if another instance should
86-- allow the system to take over and determine if another instance should
87−-- be started. Only applicable for instances in App Engine flexible
87+-- be started.Only applicable for instances in App Engine flexible
88-- environment.
88-- environment.
89--
89--
90-- /See:/ 'appsServicesVersionsInstancesDebug' smart constructor.
90-- /See:/ 'appsServicesVersionsInstancesDebug' smart constructor.
@@ -204,7 +204,7 @@ asvidBearerToken
204 (\ s a -> s{_asvidBearerToken = a})
204 (\ s a -> s{_asvidBearerToken = a})
205
205
206-- | Part of \`name\`. Name of the resource requested. Example:
206-- | Part of \`name\`. Name of the resource requested. Example:
207−-- \`apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1\`.
207+-- apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1.
208asvidAppsId :: Lens' AppsServicesVersionsInstancesDebug Text
208asvidAppsId :: Lens' AppsServicesVersionsInstancesDebug Text
209asvidAppsId
209asvidAppsId
210 = lens _asvidAppsId (\ s a -> s{_asvidAppsId = a})
210 = lens _asvidAppsId (\ s a -> s{_asvidAppsId = a})
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Instances/Delete.hs+1−1
@@ -174,7 +174,7 @@ aBearerToken
174 = lens _aBearerToken (\ s a -> s{_aBearerToken = a})
174 = lens _aBearerToken (\ s a -> s{_aBearerToken = a})
175
175
176-- | Part of \`name\`. Name of the resource requested. Example:
176-- | Part of \`name\`. Name of the resource requested. Example:
177−-- \`apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1\`.
177+-- apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1.
178aAppsId :: Lens' AppsServicesVersionsInstancesDelete Text
178aAppsId :: Lens' AppsServicesVersionsInstancesDelete Text
179aAppsId = lens _aAppsId (\ s a -> s{_aAppsId = a})
179aAppsId = lens _aAppsId (\ s a -> s{_aAppsId = a})
180
180
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Instances/Get.hs+4−2
@@ -180,7 +180,7 @@ asvigBearerToken
180 (\ s a -> s{_asvigBearerToken = a})
180 (\ s a -> s{_asvigBearerToken = a})
181
181
182-- | Part of \`name\`. Name of the resource requested. Example:
182-- | Part of \`name\`. Name of the resource requested. Example:
183−-- \`apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1\`.
183+-- apps\/myapp\/services\/default\/versions\/v1\/instances\/instance-1.
184asvigAppsId :: Lens' AppsServicesVersionsInstancesGet Text
184asvigAppsId :: Lens' AppsServicesVersionsInstancesGet Text
185asvigAppsId
185asvigAppsId
186 = lens _asvigAppsId (\ s a -> s{_asvigAppsId = a})
186 = lens _asvigAppsId (\ s a -> s{_asvigAppsId = a})
@@ -201,7 +201,9 @@ instance GoogleRequest
201 AppsServicesVersionsInstancesGet where
201 AppsServicesVersionsInstancesGet where
202 type Rs AppsServicesVersionsInstancesGet = Instance
202 type Rs AppsServicesVersionsInstancesGet = Instance
203 type Scopes AppsServicesVersionsInstancesGet =
203 type Scopes AppsServicesVersionsInstancesGet =
204− '["https://www.googleapis.com/auth/cloud-platform"]
204+ '["https://www.googleapis.com/auth/appengine.admin",
205+ "https://www.googleapis.com/auth/cloud-platform",
206+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
205 requestClient AppsServicesVersionsInstancesGet'{..}
207 requestClient AppsServicesVersionsInstancesGet'{..}
206 = go _asvigAppsId _asvigServicesId _asvigVersionsId
208 = go _asvigAppsId _asvigServicesId _asvigVersionsId
207 _asvigInstancesId
209 _asvigInstancesId
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Instances/List.hs+4−2
@@ -179,7 +179,7 @@ asvilBearerToken
179 (\ s a -> s{_asvilBearerToken = a})
179 (\ s a -> s{_asvilBearerToken = a})
180
180
181-- | Part of \`parent\`. Name of the parent Version resource. Example:
181-- | Part of \`parent\`. Name of the parent Version resource. Example:
182−-- \`apps\/myapp\/services\/default\/versions\/v1\`.
182+-- apps\/myapp\/services\/default\/versions\/v1.
183asvilAppsId :: Lens' AppsServicesVersionsInstancesList Text
183asvilAppsId :: Lens' AppsServicesVersionsInstancesList Text
184asvilAppsId
184asvilAppsId
185 = lens _asvilAppsId (\ s a -> s{_asvilAppsId = a})
185 = lens _asvilAppsId (\ s a -> s{_asvilAppsId = a})
@@ -214,7 +214,9 @@ instance GoogleRequest
214 type Rs AppsServicesVersionsInstancesList =
214 type Rs AppsServicesVersionsInstancesList =
215 ListInstancesResponse
215 ListInstancesResponse
216 type Scopes AppsServicesVersionsInstancesList =
216 type Scopes AppsServicesVersionsInstancesList =
217− '["https://www.googleapis.com/auth/cloud-platform"]
217+ '["https://www.googleapis.com/auth/appengine.admin",
218+ "https://www.googleapis.com/auth/cloud-platform",
219+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
218 requestClient AppsServicesVersionsInstancesList'{..}
220 requestClient AppsServicesVersionsInstancesList'{..}
219 = go _asvilAppsId _asvilServicesId _asvilVersionsId
221 = go _asvilAppsId _asvilServicesId _asvilVersionsId
220 _asvilXgafv
222 _asvilXgafv
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/List.hs+5−3
@@ -171,12 +171,12 @@ asvlBearerToken
171 (\ s a -> s{_asvlBearerToken = a})
171 (\ s a -> s{_asvlBearerToken = a})
172
172
173-- | Part of \`parent\`. Name of the parent Service resource. Example:
173-- | Part of \`parent\`. Name of the parent Service resource. Example:
174−-- \`apps\/myapp\/services\/default\`.
174+-- apps\/myapp\/services\/default.
175asvlAppsId :: Lens' AppsServicesVersionsList Text
175asvlAppsId :: Lens' AppsServicesVersionsList Text
176asvlAppsId
176asvlAppsId
177 = lens _asvlAppsId (\ s a -> s{_asvlAppsId = a})
177 = lens _asvlAppsId (\ s a -> s{_asvlAppsId = a})
178
178
179−-- | Controls the set of fields returned in the \`List\` response.
179+-- | Controls the set of fields returned in the List response.
180asvlView :: Lens' AppsServicesVersionsList (Maybe Text)
180asvlView :: Lens' AppsServicesVersionsList (Maybe Text)
181asvlView = lens _asvlView (\ s a -> s{_asvlView = a})
181asvlView = lens _asvlView (\ s a -> s{_asvlView = a})
182
182
@@ -207,7 +207,9 @@ instance GoogleRequest AppsServicesVersionsList where
207 type Rs AppsServicesVersionsList =
207 type Rs AppsServicesVersionsList =
208 ListVersionsResponse
208 ListVersionsResponse
209 type Scopes AppsServicesVersionsList =
209 type Scopes AppsServicesVersionsList =
210− '["https://www.googleapis.com/auth/cloud-platform"]
210+ '["https://www.googleapis.com/auth/appengine.admin",
211+ "https://www.googleapis.com/auth/cloud-platform",
212+ "https://www.googleapis.com/auth/cloud-platform.read-only"]
211 requestClient AppsServicesVersionsList'{..}
213 requestClient AppsServicesVersionsList'{..}
212 = go _asvlAppsId _asvlServicesId _asvlXgafv
214 = go _asvlAppsId _asvlServicesId _asvlXgafv
213 _asvlUploadProtocol
215 _asvlUploadProtocol
gogol-appengine/gen/Network/Google/Resource/AppEngine/Apps/Services/Versions/Patch.hs+19−17
@@ -22,16 +22,17 @@
22--
22--
23-- Updates the specified Version resource. You can specify the following
23-- Updates the specified Version resource. You can specify the following
24-- fields depending on the App Engine environment and type of scaling that
24-- fields depending on the App Engine environment and type of scaling that
25−-- the version resource uses: *
25+-- the version resource uses: serving_status
26−-- [\`serving_status\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.serving_status):
26+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.serving_status):
27-- For Version resources that use basic scaling, manual scaling, or run in
27-- For Version resources that use basic scaling, manual scaling, or run in
28−-- the App Engine flexible environment. *
28+-- the App Engine flexible environment. instance_class
29−-- [\`instance_class\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.instance_class):
29+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.instance_class):
30−-- For Version resources that run in the App Engine standard environment. *
30+-- For Version resources that run in the App Engine standard environment.
31+-- automatic_scaling.min_idle_instances
31−-- [\`automatic_scaling.min_idle_instances\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
32+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
32-- For Version resources that use automatic scaling and run in the App
33-- For Version resources that use automatic scaling and run in the App
33−-- Engine standard environment. *
34+-- Engine standard environment. automatic_scaling.max_idle_instances
34−-- [\`automatic_scaling.max_idle_instances\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
35+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
35-- For Version resources that use automatic scaling and run in the App
36-- For Version resources that use automatic scaling and run in the App
36-- Engine standard environment.
37-- Engine standard environment.
37--
38--
@@ -87,16 +88,17 @@ type AppsServicesVersionsPatchResource =
87
88
88-- | Updates the specified Version resource. You can specify the following
89-- | Updates the specified Version resource. You can specify the following
89-- fields depending on the App Engine environment and type of scaling that
90-- fields depending on the App Engine environment and type of scaling that
90−-- the version resource uses: *
91+-- the version resource uses: serving_status
91−-- [\`serving_status\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.serving_status):
92+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.serving_status):
92-- For Version resources that use basic scaling, manual scaling, or run in
93-- For Version resources that use basic scaling, manual scaling, or run in
93−-- the App Engine flexible environment. *
94+-- the App Engine flexible environment. instance_class
94−-- [\`instance_class\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.instance_class):
95+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.instance_class):
95−-- For Version resources that run in the App Engine standard environment. *
96+-- For Version resources that run in the App Engine standard environment.
97+-- automatic_scaling.min_idle_instances
96−-- [\`automatic_scaling.min_idle_instances\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
98+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
97-- For Version resources that use automatic scaling and run in the App
99-- For Version resources that use automatic scaling and run in the App
98−-- Engine standard environment. *
100+-- Engine standard environment. automatic_scaling.max_idle_instances
99−-- [\`automatic_scaling.max_idle_instances\`](https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
101+-- (https:\/\/cloud.google.com\/appengine\/docs\/admin-api\/reference\/rest\/v1\/apps.services.versions#Version.FIELDS.automatic_scaling):
100-- For Version resources that use automatic scaling and run in the App
102-- For Version resources that use automatic scaling and run in the App
101-- Engine standard environment.
103-- Engine standard environment.
102--
104--
@@ -216,7 +218,7 @@ asvpBearerToken
216 (\ s a -> s{_asvpBearerToken = a})
218 (\ s a -> s{_asvpBearerToken = a})
217
219
218-- | Part of \`name\`. Name of the resource to update. Example:
220-- | Part of \`name\`. Name of the resource to update. Example:
219−-- \`apps\/myapp\/services\/default\/versions\/1\`.
221+-- apps\/myapp\/services\/default\/versions\/1.
220asvpAppsId :: Lens' AppsServicesVersionsPatch Text
222asvpAppsId :: Lens' AppsServicesVersionsPatch Text
221asvpAppsId
223asvpAppsId
222 = lens _asvpAppsId (\ s a -> s{_asvpAppsId = a})
224 = lens _asvpAppsId (\ s a -> s{_asvpAppsId = a})
gogol-appengine/gen/Network/Google/Resource/AppEngine/Experimental/Apps/Operations/Get.hsdeleted−192
@@ -1,192 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.AppEngine.Experimental.Apps.Operations.Get
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Gets the latest state of a long-running operation. Clients can use this
24−-- method to poll the operation result at intervals as recommended by the
25−-- API service.
26−--
27−-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.experimental.apps.operations.get@.
28−module Network.Google.Resource.AppEngine.Experimental.Apps.Operations.Get
29− (
30− -- * REST Resource
31− ExperimentalAppsOperationsGetResource
32−
33− -- * Creating a Request
34− , experimentalAppsOperationsGet
35− , ExperimentalAppsOperationsGet
36−
37− -- * Request Lenses
38− , eaogXgafv
39− , eaogUploadProtocol
40− , eaogPp
41− , eaogAccessToken
42− , eaogUploadType
43− , eaogBearerToken
44− , eaogAppsId
45− , eaogOperationsId
46− , eaogCallback
47− ) where
48−
49−import Network.Google.AppEngine.Types
50−import Network.Google.Prelude
51−
52−-- | A resource alias for @appengine.experimental.apps.operations.get@ method which the
53−-- 'ExperimentalAppsOperationsGet' request conforms to.
54−type ExperimentalAppsOperationsGetResource =
55− "experimental" :>
56− "apps" :>
57− Capture "appsId" Text :>
58− "operations" :>
59− Capture "operationsId" Text :>
60− QueryParam "$.xgafv" Text :>
61− QueryParam "upload_protocol" Text :>
62− QueryParam "pp" Bool :>
63− QueryParam "access_token" Text :>
64− QueryParam "uploadType" Text :>
65− QueryParam "bearer_token" Text :>
66− QueryParam "callback" Text :>
67− QueryParam "alt" AltJSON :> Get '[JSON] Operation
68−
69−-- | Gets the latest state of a long-running operation. Clients can use this
70−-- method to poll the operation result at intervals as recommended by the
71−-- API service.
72−--
73−-- /See:/ 'experimentalAppsOperationsGet' smart constructor.
74−data ExperimentalAppsOperationsGet = ExperimentalAppsOperationsGet'
75− { _eaogXgafv :: !(Maybe Text)
76− , _eaogUploadProtocol :: !(Maybe Text)
77− , _eaogPp :: !Bool
78− , _eaogAccessToken :: !(Maybe Text)
79− , _eaogUploadType :: !(Maybe Text)
80− , _eaogBearerToken :: !(Maybe Text)
81− , _eaogAppsId :: !Text
82− , _eaogOperationsId :: !Text
83− , _eaogCallback :: !(Maybe Text)
84− } deriving (Eq,Show,Data,Typeable,Generic)
85−
86−-- | Creates a value of 'ExperimentalAppsOperationsGet' with the minimum fields required to make a request.
87−--
88−-- Use one of the following lenses to modify other fields as desired:
89−--
90−-- * 'eaogXgafv'
91−--
92−-- * 'eaogUploadProtocol'
93−--
94−-- * 'eaogPp'
95−--
96−-- * 'eaogAccessToken'
97−--
98−-- * 'eaogUploadType'
99−--
100−-- * 'eaogBearerToken'
101−--
102−-- * 'eaogAppsId'
103−--
104−-- * 'eaogOperationsId'
105−--
106−-- * 'eaogCallback'
107−experimentalAppsOperationsGet
108− :: Text -- ^ 'eaogAppsId'
109− -> Text -- ^ 'eaogOperationsId'
110− -> ExperimentalAppsOperationsGet
111−experimentalAppsOperationsGet pEaogAppsId_ pEaogOperationsId_ =
112− ExperimentalAppsOperationsGet'
113− { _eaogXgafv = Nothing
114− , _eaogUploadProtocol = Nothing
115− , _eaogPp = True
116− , _eaogAccessToken = Nothing
117− , _eaogUploadType = Nothing
118− , _eaogBearerToken = Nothing
119− , _eaogAppsId = pEaogAppsId_
120− , _eaogOperationsId = pEaogOperationsId_
121− , _eaogCallback = Nothing
122− }
123−
124−-- | V1 error format.
125−eaogXgafv :: Lens' ExperimentalAppsOperationsGet (Maybe Text)
126−eaogXgafv
127− = lens _eaogXgafv (\ s a -> s{_eaogXgafv = a})
128−
129−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
130−eaogUploadProtocol :: Lens' ExperimentalAppsOperationsGet (Maybe Text)
131−eaogUploadProtocol
132− = lens _eaogUploadProtocol
133− (\ s a -> s{_eaogUploadProtocol = a})
134−
135−-- | Pretty-print response.
136−eaogPp :: Lens' ExperimentalAppsOperationsGet Bool
137−eaogPp = lens _eaogPp (\ s a -> s{_eaogPp = a})
138−
139−-- | OAuth access token.
140−eaogAccessToken :: Lens' ExperimentalAppsOperationsGet (Maybe Text)
141−eaogAccessToken
142− = lens _eaogAccessToken
143− (\ s a -> s{_eaogAccessToken = a})
144−
145−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
146−eaogUploadType :: Lens' ExperimentalAppsOperationsGet (Maybe Text)
147−eaogUploadType
148− = lens _eaogUploadType
149− (\ s a -> s{_eaogUploadType = a})
150−
151−-- | OAuth bearer token.
152−eaogBearerToken :: Lens' ExperimentalAppsOperationsGet (Maybe Text)
153−eaogBearerToken
154− = lens _eaogBearerToken
155− (\ s a -> s{_eaogBearerToken = a})
156−
157−-- | Part of \`name\`. The name of the operation resource.
158−eaogAppsId :: Lens' ExperimentalAppsOperationsGet Text
159−eaogAppsId
160− = lens _eaogAppsId (\ s a -> s{_eaogAppsId = a})
161−
162−-- | Part of \`name\`. See documentation of \`appsId\`.
163−eaogOperationsId :: Lens' ExperimentalAppsOperationsGet Text
164−eaogOperationsId
165− = lens _eaogOperationsId
166− (\ s a -> s{_eaogOperationsId = a})
167−
168−-- | JSONP
169−eaogCallback :: Lens' ExperimentalAppsOperationsGet (Maybe Text)
170−eaogCallback
171− = lens _eaogCallback (\ s a -> s{_eaogCallback = a})
172−
173−instance GoogleRequest ExperimentalAppsOperationsGet
174− where
175− type Rs ExperimentalAppsOperationsGet = Operation
176− type Scopes ExperimentalAppsOperationsGet =
177− '["https://www.googleapis.com/auth/cloud-platform"]
178− requestClient ExperimentalAppsOperationsGet'{..}
179− = go _eaogAppsId _eaogOperationsId _eaogXgafv
180− _eaogUploadProtocol
181− (Just _eaogPp)
182− _eaogAccessToken
183− _eaogUploadType
184− _eaogBearerToken
185− _eaogCallback
186− (Just AltJSON)
187− appEngineService
188− where go
189− = buildClient
190− (Proxy ::
191− Proxy ExperimentalAppsOperationsGetResource)
192− mempty
gogol-appengine/gen/Network/Google/Resource/AppEngine/Experimental/Apps/Operations/List.hsdeleted−222
@@ -1,222 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.AppEngine.Experimental.Apps.Operations.List
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Lists operations that match the specified filter in the request. If the
24−-- server doesn\'t support this method, it returns \`UNIMPLEMENTED\`. NOTE:
25−-- the \`name\` binding below allows API services to override the binding
26−-- to use different resource name schemes, such as
27−-- \`users\/*\/operations\`.
28−--
29−-- /See:/ <https://cloud.google.com/appengine/docs/admin-api/ Google App Engine Admin API Reference> for @appengine.experimental.apps.operations.list@.
30−module Network.Google.Resource.AppEngine.Experimental.Apps.Operations.List
31− (
32− -- * REST Resource
33− ExperimentalAppsOperationsListResource
34−
35− -- * Creating a Request
36− , experimentalAppsOperationsList
37− , ExperimentalAppsOperationsList
38−
39− -- * Request Lenses
40− , eaolXgafv
41− , eaolUploadProtocol
42− , eaolPp
43− , eaolAccessToken
44− , eaolUploadType
45− , eaolBearerToken
46− , eaolAppsId
47− , eaolFilter
48− , eaolPageToken
49− , eaolPageSize
50− , eaolCallback
51− ) where
52−
53−import Network.Google.AppEngine.Types
54−import Network.Google.Prelude
55−
56−-- | A resource alias for @appengine.experimental.apps.operations.list@ method which the
57−-- 'ExperimentalAppsOperationsList' request conforms to.
58−type ExperimentalAppsOperationsListResource =
59− "experimental" :>
60− "apps" :>
61− Capture "appsId" Text :>
62− "operations" :>
63− QueryParam "$.xgafv" Text :>
64− QueryParam "upload_protocol" Text :>
65− QueryParam "pp" Bool :>
66− QueryParam "access_token" Text :>
67− QueryParam "uploadType" Text :>
68− QueryParam "bearer_token" Text :>
69− QueryParam "filter" Text :>
70− QueryParam "pageToken" Text :>
71− QueryParam "pageSize" (Textual Int32) :>
72− QueryParam "callback" Text :>
73− QueryParam "alt" AltJSON :>
74− Get '[JSON] ListOperationsResponse
75−
76−-- | Lists operations that match the specified filter in the request. If the
77−-- server doesn\'t support this method, it returns \`UNIMPLEMENTED\`. NOTE:
78−-- the \`name\` binding below allows API services to override the binding
79−-- to use different resource name schemes, such as
80−-- \`users\/*\/operations\`.
81−--
82−-- /See:/ 'experimentalAppsOperationsList' smart constructor.
83−data ExperimentalAppsOperationsList = ExperimentalAppsOperationsList'
84− { _eaolXgafv :: !(Maybe Text)
85− , _eaolUploadProtocol :: !(Maybe Text)
86− , _eaolPp :: !Bool
87− , _eaolAccessToken :: !(Maybe Text)
88− , _eaolUploadType :: !(Maybe Text)
89− , _eaolBearerToken :: !(Maybe Text)
90− , _eaolAppsId :: !Text
91− , _eaolFilter :: !(Maybe Text)
92− , _eaolPageToken :: !(Maybe Text)
93− , _eaolPageSize :: !(Maybe (Textual Int32))
94− , _eaolCallback :: !(Maybe Text)
95− } deriving (Eq,Show,Data,Typeable,Generic)
96−
97−-- | Creates a value of 'ExperimentalAppsOperationsList' with the minimum fields required to make a request.
98−--
99−-- Use one of the following lenses to modify other fields as desired:
100−--
101−-- * 'eaolXgafv'
102−--
103−-- * 'eaolUploadProtocol'
104−--
105−-- * 'eaolPp'
106−--
107−-- * 'eaolAccessToken'
108−--
109−-- * 'eaolUploadType'
110−--
111−-- * 'eaolBearerToken'
112−--
113−-- * 'eaolAppsId'
114−--
115−-- * 'eaolFilter'
116−--
117−-- * 'eaolPageToken'
118−--
119−-- * 'eaolPageSize'
120−--
121−-- * 'eaolCallback'
122−experimentalAppsOperationsList
123− :: Text -- ^ 'eaolAppsId'
124− -> ExperimentalAppsOperationsList
125−experimentalAppsOperationsList pEaolAppsId_ =
126− ExperimentalAppsOperationsList'
127− { _eaolXgafv = Nothing
128− , _eaolUploadProtocol = Nothing
129− , _eaolPp = True
130− , _eaolAccessToken = Nothing
131− , _eaolUploadType = Nothing
132− , _eaolBearerToken = Nothing
133− , _eaolAppsId = pEaolAppsId_
134− , _eaolFilter = Nothing
135− , _eaolPageToken = Nothing
136− , _eaolPageSize = Nothing
137− , _eaolCallback = Nothing
138− }
139−
140−-- | V1 error format.
141−eaolXgafv :: Lens' ExperimentalAppsOperationsList (Maybe Text)
142−eaolXgafv
143− = lens _eaolXgafv (\ s a -> s{_eaolXgafv = a})
144−
145−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
146−eaolUploadProtocol :: Lens' ExperimentalAppsOperationsList (Maybe Text)
147−eaolUploadProtocol
148− = lens _eaolUploadProtocol
149− (\ s a -> s{_eaolUploadProtocol = a})
150−
151−-- | Pretty-print response.
152−eaolPp :: Lens' ExperimentalAppsOperationsList Bool
153−eaolPp = lens _eaolPp (\ s a -> s{_eaolPp = a})
154−
155−-- | OAuth access token.
156−eaolAccessToken :: Lens' ExperimentalAppsOperationsList (Maybe Text)
157−eaolAccessToken
158− = lens _eaolAccessToken
159− (\ s a -> s{_eaolAccessToken = a})
160−
161−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
162−eaolUploadType :: Lens' ExperimentalAppsOperationsList (Maybe Text)
163−eaolUploadType
164− = lens _eaolUploadType
165− (\ s a -> s{_eaolUploadType = a})
166−
167−-- | OAuth bearer token.
168−eaolBearerToken :: Lens' ExperimentalAppsOperationsList (Maybe Text)
169−eaolBearerToken
170− = lens _eaolBearerToken
171− (\ s a -> s{_eaolBearerToken = a})
172−
173−-- | Part of \`name\`. The name of the operation collection.
174−eaolAppsId :: Lens' ExperimentalAppsOperationsList Text
175−eaolAppsId
176− = lens _eaolAppsId (\ s a -> s{_eaolAppsId = a})
177−
178−-- | The standard list filter.
179−eaolFilter :: Lens' ExperimentalAppsOperationsList (Maybe Text)
180−eaolFilter
181− = lens _eaolFilter (\ s a -> s{_eaolFilter = a})
182−
183−-- | The standard list page token.
184−eaolPageToken :: Lens' ExperimentalAppsOperationsList (Maybe Text)
185−eaolPageToken
186− = lens _eaolPageToken
187− (\ s a -> s{_eaolPageToken = a})
188−
189−-- | The standard list page size.
190−eaolPageSize :: Lens' ExperimentalAppsOperationsList (Maybe Int32)
191−eaolPageSize
192− = lens _eaolPageSize (\ s a -> s{_eaolPageSize = a})
193− . mapping _Coerce
194−
195−-- | JSONP
196−eaolCallback :: Lens' ExperimentalAppsOperationsList (Maybe Text)
197−eaolCallback
198− = lens _eaolCallback (\ s a -> s{_eaolCallback = a})
199−
200−instance GoogleRequest ExperimentalAppsOperationsList
201− where
202− type Rs ExperimentalAppsOperationsList =
203− ListOperationsResponse
204− type Scopes ExperimentalAppsOperationsList =
205− '["https://www.googleapis.com/auth/cloud-platform"]
206− requestClient ExperimentalAppsOperationsList'{..}
207− = go _eaolAppsId _eaolXgafv _eaolUploadProtocol
208− (Just _eaolPp)
209− _eaolAccessToken
210− _eaolUploadType
211− _eaolBearerToken
212− _eaolFilter
213− _eaolPageToken
214− _eaolPageSize
215− _eaolCallback
216− (Just AltJSON)
217− appEngineService
218− where go
219− = buildClient
220− (Proxy ::
221− Proxy ExperimentalAppsOperationsListResource)
222− mempty
gogol-appengine/gogol-appengine.cabal+1−2
@@ -35,6 +35,7 @@ library
35 exposed-modules:
35 exposed-modules:
36 Network.Google.AppEngine
36 Network.Google.AppEngine
37 , Network.Google.AppEngine.Types
37 , Network.Google.AppEngine.Types
38+ , Network.Google.Resource.AppEngine.Apps.Create
38 , Network.Google.Resource.AppEngine.Apps.Get
39 , Network.Google.Resource.AppEngine.Apps.Get
39 , Network.Google.Resource.AppEngine.Apps.Locations.Get
40 , Network.Google.Resource.AppEngine.Apps.Locations.Get
40 , Network.Google.Resource.AppEngine.Apps.Locations.List
41 , Network.Google.Resource.AppEngine.Apps.Locations.List
@@ -55,8 +56,6 @@ library
55 , Network.Google.Resource.AppEngine.Apps.Services.Versions.Instances.List
56 , Network.Google.Resource.AppEngine.Apps.Services.Versions.Instances.List
56 , Network.Google.Resource.AppEngine.Apps.Services.Versions.List
57 , Network.Google.Resource.AppEngine.Apps.Services.Versions.List
57 , Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch
58 , Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch
58− , Network.Google.Resource.AppEngine.Experimental.Apps.Operations.Get
59− , Network.Google.Resource.AppEngine.Experimental.Apps.Operations.List
60
59
61 other-modules:
60 other-modules:
62 Network.Google.AppEngine.Types.Product
61 Network.Google.AppEngine.Types.Product