@@ -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
23+-- | Metadata for the given google.longrunning.Operation.
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)
34+-- | Creates a value of 'OperationMetadataExperimental' with the minimum fields required to make a request.
36+-- Use one of the following lenses to modify other fields as desired:
47+operationMetadataExperimental
48+ :: OperationMetadataExperimental
49+operationMetadataExperimental =
50+ OperationMetadataExperimental'
51+ { _omeInsertTime = Nothing
53+ , _omeMethod = Nothing
54+ , _omeEndTime = Nothing
55+ , _omeTarget = Nothing
58+-- | Time that this operation was created.\'OutputOnly
59+omeInsertTime :: Lens' OperationMetadataExperimental (Maybe Text)
61+ = lens _omeInsertTime
62+ (\ s a -> s{_omeInsertTime = a})
64+-- | User who requested this operation.\'OutputOnly
65+omeUser :: Lens' OperationMetadataExperimental (Maybe Text)
66+omeUser = lens _omeUser (\ s a -> s{_omeUser = a})
68+-- | API method that initiated this operation. Example:
69+-- google.appengine.experimental.CustomDomains.CreateCustomDomain.\'OutputOnly
70+omeMethod :: Lens' OperationMetadataExperimental (Maybe Text)
72+ = lens _omeMethod (\ s a -> s{_omeMethod = a})
74+-- | Time that this operation completed.\'OutputOnly
75+omeEndTime :: Lens' OperationMetadataExperimental (Maybe Text)
77+ = lens _omeEndTime (\ s a -> s{_omeEndTime = a})
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)
83+ = lens _omeTarget (\ s a -> s{_omeTarget = a})
85+instance FromJSON OperationMetadataExperimental where
87+ = withObject "OperationMetadataExperimental"
89+ OperationMetadataExperimental' <$>
90+ (o .:? "insertTime") <*> (o .:? "user") <*>
92+ <*> (o .:? "endTime")
93+ <*> (o .:? "target"))
95+instance ToJSON OperationMetadataExperimental where
96+ toJSON OperationMetadataExperimental'{..}
99+ [("insertTime" .=) <$> _omeInsertTime,
100+ ("user" .=) <$> _omeUser,
101+ ("method" .=) <$> _omeMethod,
102+ ("endTime" .=) <$> _omeEndTime,
103+ ("target" .=) <$> _omeTarget])
23-- | Target scaling by network usage. Only applicable for VM runtimes.
105-- | Target scaling by network usage. Only applicable for VM runtimes.
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])
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.
141-- /See:/ 'status' smart constructor.
223-- /See:/ 'status' smart constructor.
142data Status = Status'
224data Status = Status'
@@ -364,7 +446,7 @@ instance ToJSON ScriptHandler where
365 (catMaybes [("scriptPath" .=) <$> _shScriptPath])
447 (catMaybes [("scriptPath" .=) <$> _shScriptPath])
367−-- | Response message for \`Services.ListServices\`.
449+-- | Response message for Services.ListServices.
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})
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})
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])
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.
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})
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})
946−-- | Level of login required to access this resource. Defaults to
1028+-- | Level of login required to access this resource. Defaults to 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})
@@ -968,8 +1049,8 @@ instance ToJSON APIConfigHandler where
968 ("authFailAction" .=) <$> _achAuthFailAction,
1049 ("authFailAction" .=) <$> _achAuthFailAction,
969 ("login" .=) <$> _achLogin])
1050 ("login" .=) <$> _achLogin])
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.
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
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})
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})
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})
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})
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})
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
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
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})
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})
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})
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})
@@ -1244,6 +1325,59 @@ instance ToJSON Service where
1244 [("split" .=) <$> _sSplit, ("name" .=) <$> _sName,
1325 [("split" .=) <$> _sSplit, ("name" .=) <$> _sName,
1245 ("id" .=) <$> _sId])
1326 ("id" .=) <$> _sId])
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).
1334+-- /See:/ 'endpointsAPIService' smart constructor.
1335+data EndpointsAPIService = EndpointsAPIService'
1336+ { _easName :: !(Maybe Text)
1337+ , _easConfigId :: !(Maybe Text)
1338+ } deriving (Eq,Show,Data,Typeable,Generic)
1340+-- | Creates a value of 'EndpointsAPIService' with the minimum fields required to make a request.
1342+-- Use one of the following lenses to modify other fields as desired:
1348+ :: EndpointsAPIService
1349+endpointsAPIService =
1350+ EndpointsAPIService'
1351+ { _easName = Nothing
1352+ , _easConfigId = Nothing
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})
1361+-- | Endpoints service configuration id as specified by the Service
1362+-- Management API. For example \"2016-09-19r1\"
1363+easConfigId :: Lens' EndpointsAPIService (Maybe Text)
1365+ = lens _easConfigId (\ s a -> s{_easConfigId = a})
1367+instance FromJSON EndpointsAPIService where
1369+ = withObject "EndpointsAPIService"
1371+ EndpointsAPIService' <$>
1372+ (o .:? "name") <*> (o .:? "configId"))
1374+instance ToJSON EndpointsAPIService where
1375+ toJSON EndpointsAPIService'{..}
1378+ [("name" .=) <$> _easName,
1379+ ("configId" .=) <$> _easConfigId])
1247-- | A resource that represents Google Cloud Platform location.
1381-- | A resource that represents Google Cloud Platform location.
1249-- /See:/ 'location' smart constructor.
1383-- /See:/ 'location' smart constructor.
@@ -1276,7 +1410,7 @@ location =
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})
@@ -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})
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
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})
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})
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})
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})
@@ -1440,7 +1573,7 @@ ziFilesCount
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
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})
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})
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])
1524−-- | Response message for \`Versions.ListVersions\`.
1657+-- | Response message for Versions.ListVersions.
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})
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
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
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
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
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})
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})
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})
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})
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])
2038+-- | Volumes mounted within the app container. Only applicable for VM
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)
2048+-- | Creates a value of 'Volume' with the minimum fields required to make a request.
2050+-- Use one of the following lenses to modify other fields as desired:
2061+ { _vSizeGb = Nothing
2063+ , _vVolumeType = Nothing
2066+-- | Volume size in gigabytes.
2067+vSizeGb :: Lens' Volume (Maybe Double)
2069+ = lens _vSizeGb (\ s a -> s{_vSizeGb = a}) .
2072+-- | Unique name for the volume.
2073+vName :: Lens' Volume (Maybe Text)
2074+vName = lens _vName (\ s a -> s{_vName = a})
2076+-- | Underlying volume type, e.g. \'tmpfs\'.
2077+vVolumeType :: Lens' Volume (Maybe Text)
2079+ = lens _vVolumeType (\ s a -> s{_vVolumeType = a})
2081+instance FromJSON Volume where
2083+ = withObject "Volume"
2086+ (o .:? "sizeGb") <*> (o .:? "name") <*>
2087+ (o .:? "volumeType"))
2089+instance ToJSON Volume where
2093+ [("sizeGb" .=) <$> _vSizeGb, ("name" .=) <$> _vName,
2094+ ("volumeType" .=) <$> _vVolumeType])
1905-- | Uses Google Cloud Endpoints to handle requests.
2096-- | Uses Google Cloud Endpoints to handle requests.
1907-- /See:/ 'apiEndpointHandler' smart constructor.
2098-- /See:/ 'apiEndpointHandler' smart constructor.
@@ -1974,7 +2165,8 @@ instance ToJSON StatusDetailsItem where
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'
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:
2178+-- * 'nSubnetworkName'
1986-- * 'nForwardedPorts'
2180-- * 'nForwardedPorts'
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
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)
2210+ = lens _nSubnetworkName
2211+ (\ s a -> s{_nSubnetworkName = a})
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})
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})
@@ -2021,38 +2234,56 @@ instance FromJSON Network where
2021 = withObject "Network"
2234 = withObject "Network"
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"))
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])
2036−-- | Request message for \`Instances.DebugInstance\`.
2251+-- | Request message for Instances.DebugInstance.
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)
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.
2260+-- Use one of the following lenses to modify other fields as desired:
2045debugInstanceRequest
2263debugInstanceRequest
2046 :: DebugInstanceRequest
2264 :: DebugInstanceRequest
2047−debugInstanceRequest = DebugInstanceRequest'
2265+debugInstanceRequest =
2266+ DebugInstanceRequest'
2267+ { _dirSSHKey = Nothing
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)
2277+ = lens _dirSSHKey (\ s a -> s{_dirSSHKey = a})
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"))
2054instance ToJSON DebugInstanceRequest where
2284instance ToJSON DebugInstanceRequest where
2055− toJSON = const emptyObject
2285+ toJSON DebugInstanceRequest'{..}
2286+ = object (catMaybes [("sshKey" .=) <$> _dirSSHKey])
2057-- | HTTP headers to use for all responses from these URLs.
2288-- | HTTP headers to use for all responses from these URLs.
@@ -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)
@@ -2107,6 +2339,8 @@ data Resources = Resources'
2108-- * 'rDiskGb'
2340-- * 'rDiskGb'
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
@@ -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
2367+-- | User specified volumes.
2368+rVolumes :: Lens' Resources [Volume]
2370+ = lens _rVolumes (\ s a -> s{_rVolumes = a}) .
2132-- | Number of CPU cores needed.
2374-- | Number of CPU cores needed.
2133rCPU :: Lens' Resources (Maybe Double)
2375rCPU :: Lens' Resources (Maybe Double)
@@ -2141,14 +2383,16 @@ instance FromJSON Resources where
2142 Resources' <$>
2384 Resources' <$>
2143 (o .:? "memoryGb") <*> (o .:? "diskGb") <*>
2385 (o .:? "memoryGb") <*> (o .:? "diskGb") <*>
2386+ (o .:? "volumes" .!= mempty)
2144− (o .:? "cpu"))
2387+ <*> (o .:? "cpu"))
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])
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 =
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
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)
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.
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:
2636+-- * 'omvEphemeralMessage'
2390-- * 'omvInsertTime'
2638-- * 'omvInsertTime'
2392-- * 'omvUser'
2640-- * 'omvUser'
@@ -2395,41 +2643,59 @@ data OperationMetadataV1 = OperationMetadataV1'
2396-- * 'omvEndTime'
2644-- * 'omvEndTime'
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
2662+-- | Ephemeral message that may change every time the operation is polled.
2664+omvEphemeralMessage :: Lens' OperationMetadataV1 (Maybe Text)
2666+ = lens _omvEphemeralMessage
2667+ (\ s a -> s{_omvEphemeralMessage = a})
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})
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})
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})
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})
2690+-- | Durable messages that persist on every operation poll. \'OutputOnly
2691+omvWarning :: Lens' OperationMetadataV1 [Text]
2693+ = lens _omvWarning (\ s a -> s{_omvWarning = a}) .
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"
2441 OperationMetadataV1' <$>
2707 OperationMetadataV1' <$>
2442− (o .:? "insertTime") <*> (o .:? "user") <*>
2708+ (o .:? "ephemeralMessage") <*> (o .:? "insertTime")
2443− (o .:? "method")
2710+ <*> (o .:? "method")
2444 <*> (o .:? "endTime")
2711 <*> (o .:? "endTime")
2712+ <*> (o .:? "warning" .!= mempty)
2445 <*> (o .:? "target"))
2713 <*> (o .:? "target"))
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])
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
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)
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.
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:
2496−-- * 'vRuntime'
2767+-- * 'verRuntime'
2498−-- * 'vNobuildFilesRegex'
2769+-- * 'verNobuildFilesRegex'
2500−-- * 'vInstanceClass'
2771+-- * 'verInstanceClass'
2502−-- * 'vHealthCheck'
2773+-- * 'verHealthCheck'
2504−-- * 'vEnv'
2775+-- * 'verEndpointsAPIService'
2506−-- * 'vDefaultExpiration'
2777+-- * 'verEnv'
2508−-- * 'vAutomaticScaling'
2779+-- * 'verDefaultExpiration'
2510−-- * 'vErrorHandlers'
2781+-- * 'verAutomaticScaling'
2512−-- * 'vCreatedBy'
2783+-- * 'verErrorHandlers'
2514−-- * 'vVM'
2785+-- * 'verCreatedBy'
2516−-- * 'vHandlers'
2787+-- * 'verVM'
2518−-- * 'vInboundServices'
2789+-- * 'verHandlers'
2520−-- * 'vNetwork'
2791+-- * 'verInboundServices'
2522−-- * 'vResources'
2793+-- * 'verNetwork'
2524−-- * 'vName'
2795+-- * 'verResources'
2526−-- * 'vThreadsafe'
2799+-- * 'verThreadsafe'
2528−-- * 'vBetaSettings'
2801+-- * 'verBetaSettings'
2530−-- * 'vBasicScaling'
2803+-- * 'verBasicScaling'
2532−-- * 'vManualScaling'
2805+-- * 'verManualScaling'
2534−-- * 'vAPIConfig'
2807+-- * 'verAPIConfig'
2536−-- * 'vId'
2809+-- * 'verId'
2538−-- * 'vEnvVariables'
2811+-- * 'verEnvVariables'
2540−-- * 'vServingStatus'
2813+-- * 'verServingStatus'
2542−-- * 'vDiskUsageBytes'
2815+-- * 'verDiskUsageBytes'
2544−-- * 'vCreateTime'
2817+-- * 'verCreateTime'
2546−-- * 'vLibraries'
2819+-- * 'verLibraries'
2548−-- * 'vVersionURL'
2821+-- * 'verVersionURL'
2550−-- * 'vDeployment'
2823+-- * 'verDeployment'
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
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})
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})
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})
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})
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})
2614−-- | App Engine execution environment for this version. Defaults to
2897+-- | App Engine execution environment for this version.Defaults to 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})
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})
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})
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
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})
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})
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
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
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})
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})
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})
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})
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})
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})
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})
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})
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-\".
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})
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})
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.
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})
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
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})
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.
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
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})
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})
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])
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})
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
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
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})
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
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})
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})
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})
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})
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})
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})
@@ -3199,7 +3488,7 @@ instance ToJSON OperationMetadata where
3199 ("operationType" .=) <$> _omOperationType,
3488 ("operationType" .=) <$> _omOperationType,
3200 ("target" .=) <$> _omTarget])
3489 ("target" .=) <$> _omTarget])
3202−-- | Response message for \`Instances.ListInstances\`.
3491+-- | Response message for Instances.ListInstances.
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
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\`.
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'
3435-- * 'iVMZoneName'
3724-- * 'iVMZoneName'
3437-- * 'iStartTime'
3728-- * 'iStartTime'
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
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
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
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})
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})
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})
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})
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})
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})
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})
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
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})
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})
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
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)
3542 = lens _iQps (\ s a -> s{_iQps = a}) .
3838 = lens _iQps (\ s a -> s{_iQps = a}) .
3543 mapping _Coerce
3839 mapping _Coerce
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})
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)
3553 = lens _iErrors (\ s a -> s{_iErrors = a}) .
3849 = lens _iErrors (\ s a -> s{_iErrors = a}) .
3554 mapping _Coerce
3850 mapping _Coerce
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
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")
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,