gogol-cloudfunctions 0.4.0 → 0.5.0
raw patch · 18 files changed
+418/−274 lines, 18 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
Files
- README.md +1/−1
- gen/Network/Google/CloudFunctions/Types.hs +1/−1
- gen/Network/Google/CloudFunctions/Types/Product.hs +268/−192
- gen/Network/Google/Resource/CloudFunctions/Operations/Get.hs +7/−3
- gen/Network/Google/Resource/CloudFunctions/Operations/List.hs +7/−3
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Call.hs +11/−7
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Create.hs +9/−4
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Delete.hs +9/−4
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GenerateDownloadURL.hs +9/−4
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GenerateUploadURL.hs +23/−8
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Get.hs +7/−3
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GetIAMPolicy.hs +13/−8
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/List.hs +7/−3
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Patch.hs +9/−4
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/SetIAMPolicy.hs +13/−8
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/TestIAMPermissions.hs +15/−16
- gen/Network/Google/Resource/CloudFunctions/Projects/Locations/List.hs +7/−3
- gogol-cloudfunctions.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/CloudFunctions/Types.hs view
@@ -290,4 +290,4 @@ -- | View and manage your data across Google Cloud Platform services cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy;+cloudPlatformScope = Proxy
gen/Network/Google/CloudFunctions/Types/Product.hs view
@@ -57,12 +57,15 @@ -- security\/privacy reasons. -- -- /See:/ 'status' smart constructor.-data Status = Status'+data Status =+ Status' { _sDetails :: !(Maybe [StatusDetailsItem]) , _sCode :: !(Maybe (Textual Int32)) , _sMessage :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Status' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -74,13 +77,9 @@ -- * 'sMessage' status :: Status-status =- Status'- { _sDetails = Nothing- , _sCode = Nothing- , _sMessage = Nothing- }+status = Status' {_sDetails = Nothing, _sCode = Nothing, _sMessage = Nothing} + -- | A list of messages that carry the error details. There is a common set -- of message types for APIs to use. sDetails :: Lens' Status [StatusDetailsItem]@@ -136,11 +135,14 @@ -- DATA_WRITE logging. -- -- /See:/ 'auditConfig' smart constructor.-data AuditConfig = AuditConfig'+data AuditConfig =+ AuditConfig' { _acService :: !(Maybe Text) , _acAuditLogConfigs :: !(Maybe [AuditLogConfig])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AuditConfig' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -150,12 +152,9 @@ -- * 'acAuditLogConfigs' auditConfig :: AuditConfig-auditConfig =- AuditConfig'- { _acService = Nothing- , _acAuditLogConfigs = Nothing- }+auditConfig = AuditConfig' {_acService = Nothing, _acAuditLogConfigs = Nothing} + -- | Specifies a service that will be enabled for audit logging. For example, -- \`storage.googleapis.com\`, \`cloudsql.googleapis.com\`. \`allServices\` -- is a special value that covers all services.@@ -189,14 +188,17 @@ -- | Metadata describing an Operation -- -- /See:/ 'operationMetadataV1Beta2' smart constructor.-data OperationMetadataV1Beta2 = OperationMetadataV1Beta2'+data OperationMetadataV1Beta2 =+ OperationMetadataV1Beta2' { _omvbVersionId :: !(Maybe (Textual Int64)) , _omvbUpdateTime :: !(Maybe DateTime') , _omvbType :: !(Maybe OperationMetadataV1Beta2Type) , _omvbTarget :: !(Maybe Text) , _omvbRequest :: !(Maybe OperationMetadataV1Beta2Request)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationMetadataV1Beta2' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -213,7 +215,7 @@ operationMetadataV1Beta2 :: OperationMetadataV1Beta2 operationMetadataV1Beta2 =- OperationMetadataV1Beta2'+ OperationMetadataV1Beta2' { _omvbVersionId = Nothing , _omvbUpdateTime = Nothing , _omvbType = Nothing@@ -221,6 +223,7 @@ , _omvbRequest = Nothing } + -- | Version id of the function created or updated by an API call. This field -- is only populated for Create and Update operations. omvbVersionId :: Lens' OperationMetadataV1Beta2 (Maybe Int64)@@ -276,13 +279,16 @@ -- expression: \"size(request.user) > 0\" -- -- /See:/ 'expr' smart constructor.-data Expr = Expr'+data Expr =+ Expr' { _eLocation :: !(Maybe Text) , _eExpression :: !(Maybe Text) , _eTitle :: !(Maybe Text) , _eDescription :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Expr' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -297,13 +303,14 @@ expr :: Expr expr =- Expr'+ Expr' { _eLocation = Nothing , _eExpression = Nothing , _eTitle = Nothing , _eDescription = Nothing } + -- | An optional string indicating the location of the expression for error -- reporting, e.g. a file name and a position in the file. eLocation :: Lens' Expr (Maybe Text)@@ -350,11 +357,14 @@ -- | The response message for Locations.ListLocations. -- -- /See:/ 'listLocationsResponse' smart constructor.-data ListLocationsResponse = ListLocationsResponse'+data ListLocationsResponse =+ ListLocationsResponse' { _llrNextPageToken :: !(Maybe Text) , _llrLocations :: !(Maybe [Location])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListLocationsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -365,11 +375,9 @@ listLocationsResponse :: ListLocationsResponse listLocationsResponse =- ListLocationsResponse'- { _llrNextPageToken = Nothing- , _llrLocations = Nothing- }+ ListLocationsResponse' {_llrNextPageToken = Nothing, _llrLocations = Nothing} + -- | The standard List next-page token. llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text) llrNextPageToken@@ -401,11 +409,14 @@ -- | The response message for Operations.ListOperations. -- -- /See:/ 'listOperationsResponse' smart constructor.-data ListOperationsResponse = ListOperationsResponse'+data ListOperationsResponse =+ ListOperationsResponse' { _lorNextPageToken :: !(Maybe Text) , _lorOperations :: !(Maybe [Operation])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListOperationsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -416,11 +427,10 @@ listOperationsResponse :: ListOperationsResponse listOperationsResponse =- ListOperationsResponse'- { _lorNextPageToken = Nothing- , _lorOperations = Nothing- }+ ListOperationsResponse'+ {_lorNextPageToken = Nothing, _lorOperations = Nothing} + -- | The standard List next-page token. lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) lorNextPageToken@@ -454,15 +464,17 @@ -- -- /See:/ 'generateUploadURLRequest' smart constructor. data GenerateUploadURLRequest =- GenerateUploadURLRequest'- deriving (Eq,Show,Data,Typeable,Generic)+ GenerateUploadURLRequest'+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'GenerateUploadURLRequest' with the minimum fields required to make a request. -- generateUploadURLRequest :: GenerateUploadURLRequest generateUploadURLRequest = GenerateUploadURLRequest' + instance FromJSON GenerateUploadURLRequest where parseJSON = withObject "GenerateUploadURLRequest"@@ -474,14 +486,17 @@ -- | A resource that represents Google Cloud Platform location. -- -- /See:/ 'location' smart constructor.-data Location = Location'+data Location =+ Location' { _lName :: !(Maybe Text) , _lMetadata :: !(Maybe LocationMetadata) , _lDisplayName :: !(Maybe Text) , _lLabels :: !(Maybe LocationLabels) , _lLocationId :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Location' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -498,7 +513,7 @@ location :: Location location =- Location'+ Location' { _lName = Nothing , _lMetadata = Nothing , _lDisplayName = Nothing@@ -506,6 +521,7 @@ , _lLocationId = Nothing } + -- | Resource name for the location, which may vary between implementations. -- For example: \`\"projects\/example-project\/locations\/us-east1\"\` lName :: Lens' Location (Maybe Text)@@ -557,14 +573,17 @@ -- a network API call. -- -- /See:/ 'operation' smart constructor.-data Operation = Operation'+data Operation =+ Operation' { _oDone :: !(Maybe Bool) , _oError :: !(Maybe Status) , _oResponse :: !(Maybe OperationResponse) , _oName :: !(Maybe Text) , _oMetadata :: !(Maybe OperationMetadata)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Operation' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -581,7 +600,7 @@ operation :: Operation operation =- Operation'+ Operation' { _oDone = Nothing , _oError = Nothing , _oResponse = Nothing@@ -589,6 +608,7 @@ , _oMetadata = Nothing } + -- | If the value is \`false\`, it means the operation is still in progress. -- If \`true\`, the operation is completed, and either \`error\` or -- \`response\` is available.@@ -647,10 +667,13 @@ -- | Request of \`GenerateDownloadUrl\` method. -- -- /See:/ 'generateDownloadURLRequest' smart constructor.-newtype GenerateDownloadURLRequest = GenerateDownloadURLRequest'+newtype GenerateDownloadURLRequest =+ GenerateDownloadURLRequest' { _gdurVersionId :: Maybe (Textual Word64)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'GenerateDownloadURLRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -659,10 +682,9 @@ generateDownloadURLRequest :: GenerateDownloadURLRequest generateDownloadURLRequest =- GenerateDownloadURLRequest'- { _gdurVersionId = Nothing- }+ GenerateDownloadURLRequest' {_gdurVersionId = Nothing} + -- | The optional version of function. If not set, default, current version -- is used. gdurVersionId :: Lens' GenerateDownloadURLRequest (Maybe Word64)@@ -689,15 +711,17 @@ -- -- /See:/ 'retry' smart constructor. data Retry =- Retry'- deriving (Eq,Show,Data,Typeable,Generic)+ Retry'+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Retry' with the minimum fields required to make a request. -- retry :: Retry retry = Retry' + instance FromJSON Retry where parseJSON = withObject "Retry" (\ o -> pure Retry') @@ -707,10 +731,13 @@ -- | Response of \`GenerateSourceUploadUrl\` method. -- -- /See:/ 'generateUploadURLResponse' smart constructor.-newtype GenerateUploadURLResponse = GenerateUploadURLResponse'+newtype GenerateUploadURLResponse =+ GenerateUploadURLResponse' { _guurUploadURL :: Maybe Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'GenerateUploadURLResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -719,10 +746,9 @@ generateUploadURLResponse :: GenerateUploadURLResponse generateUploadURLResponse =- GenerateUploadURLResponse'- { _guurUploadURL = Nothing- }+ GenerateUploadURLResponse' {_guurUploadURL = Nothing} + -- | The generated Google Cloud Storage signed URL that should be used for a -- function source code upload. The uploaded file should be a zip archive -- which contains a function.@@ -746,10 +772,13 @@ -- then defaults to ignoring failures (i.e. not retrying them). -- -- /See:/ 'failurePolicy' smart constructor.-newtype FailurePolicy = FailurePolicy'+newtype FailurePolicy =+ FailurePolicy' { _fpRetry :: Maybe Retry- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'FailurePolicy' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -757,11 +786,9 @@ -- * 'fpRetry' failurePolicy :: FailurePolicy-failurePolicy =- FailurePolicy'- { _fpRetry = Nothing- }+failurePolicy = FailurePolicy' {_fpRetry = Nothing} + -- | If specified, then the function will be retried in case of a failure. fpRetry :: Lens' FailurePolicy (Maybe Retry) fpRetry = lens _fpRetry (\ s a -> s{_fpRetry = a})@@ -778,12 +805,15 @@ -- | Response of \`CallFunction\` method. -- -- /See:/ 'callFunctionResponse' smart constructor.-data CallFunctionResponse = CallFunctionResponse'+data CallFunctionResponse =+ CallFunctionResponse' { _cfrExecutionId :: !(Maybe Text) , _cfrError :: !(Maybe Text) , _cfrResult :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CallFunctionResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -796,12 +826,10 @@ callFunctionResponse :: CallFunctionResponse callFunctionResponse =- CallFunctionResponse'- { _cfrExecutionId = Nothing- , _cfrError = Nothing- , _cfrResult = Nothing- }+ CallFunctionResponse'+ {_cfrExecutionId = Nothing, _cfrError = Nothing, _cfrResult = Nothing} + -- | Execution id of function invocation. cfrExecutionId :: Lens' CallFunctionResponse (Maybe Text) cfrExecutionId@@ -838,10 +866,13 @@ -- | Describes HttpsTrigger, could be used to connect web hooks to function. -- -- /See:/ 'httpsTrigger' smart constructor.-newtype HTTPSTrigger = HTTPSTrigger'+newtype HTTPSTrigger =+ HTTPSTrigger' { _htURL :: Maybe Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'HTTPSTrigger' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -849,11 +880,9 @@ -- * 'htURL' httpsTrigger :: HTTPSTrigger-httpsTrigger =- HTTPSTrigger'- { _htURL = Nothing- }+httpsTrigger = HTTPSTrigger' {_htURL = Nothing} + -- | Output only. The deployed url for the function. htURL :: Lens' HTTPSTrigger (Maybe Text) htURL = lens _htURL (\ s a -> s{_htURL = a})@@ -869,10 +898,13 @@ -- -- /See:/ 'statusDetailsItem' smart constructor.-newtype StatusDetailsItem = StatusDetailsItem'+newtype StatusDetailsItem =+ StatusDetailsItem' { _sdiAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'StatusDetailsItem' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -882,10 +914,9 @@ :: HashMap Text JSONValue -- ^ 'sdiAddtional' -> StatusDetailsItem statusDetailsItem pSdiAddtional_ =- StatusDetailsItem'- { _sdiAddtional = _Coerce # pSdiAddtional_- }+ StatusDetailsItem' {_sdiAddtional = _Coerce # pSdiAddtional_} + -- | Properties of the object. Contains field \'type with type URL. sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) sdiAddtional@@ -903,10 +934,13 @@ -- | Environment variables that shall be available during function execution. -- -- /See:/ 'cloudFunctionEnvironmentVariables' smart constructor.-newtype CloudFunctionEnvironmentVariables = CloudFunctionEnvironmentVariables'+newtype CloudFunctionEnvironmentVariables =+ CloudFunctionEnvironmentVariables' { _cfevAddtional :: HashMap Text Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CloudFunctionEnvironmentVariables' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -916,10 +950,10 @@ :: HashMap Text Text -- ^ 'cfevAddtional' -> CloudFunctionEnvironmentVariables cloudFunctionEnvironmentVariables pCfevAddtional_ =- CloudFunctionEnvironmentVariables'- { _cfevAddtional = _Coerce # pCfevAddtional_- }+ CloudFunctionEnvironmentVariables'+ {_cfevAddtional = _Coerce # pCfevAddtional_} + cfevAddtional :: Lens' CloudFunctionEnvironmentVariables (HashMap Text Text) cfevAddtional = lens _cfevAddtional@@ -941,10 +975,13 @@ -- | The original request that started the operation. -- -- /See:/ 'operationMetadataV1Request' smart constructor.-newtype OperationMetadataV1Request = OperationMetadataV1Request'+newtype OperationMetadataV1Request =+ OperationMetadataV1Request' { _omvrAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationMetadataV1Request' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -954,10 +991,9 @@ :: HashMap Text JSONValue -- ^ 'omvrAddtional' -> OperationMetadataV1Request operationMetadataV1Request pOmvrAddtional_ =- OperationMetadataV1Request'- { _omvrAddtional = _Coerce # pOmvrAddtional_- }+ OperationMetadataV1Request' {_omvrAddtional = _Coerce # pOmvrAddtional_} + -- | Properties of the object. Contains field \'type with type URL. omvrAddtional :: Lens' OperationMetadataV1Request (HashMap Text JSONValue) omvrAddtional@@ -977,11 +1013,14 @@ -- | Request message for \`SetIamPolicy\` method. -- -- /See:/ 'setIAMPolicyRequest' smart constructor.-data SetIAMPolicyRequest = SetIAMPolicyRequest'+data SetIAMPolicyRequest =+ SetIAMPolicyRequest' { _siprUpdateMask :: !(Maybe GFieldMask) , _siprPolicy :: !(Maybe Policy)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIAMPolicyRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -992,11 +1031,9 @@ setIAMPolicyRequest :: SetIAMPolicyRequest setIAMPolicyRequest =- SetIAMPolicyRequest'- { _siprUpdateMask = Nothing- , _siprPolicy = Nothing- }+ SetIAMPolicyRequest' {_siprUpdateMask = Nothing, _siprPolicy = Nothing} + -- | OPTIONAL: A FieldMask specifying which fields of the policy to modify. -- Only the fields in the mask will be modified. If no mask is provided, -- the following default mask is used: paths: \"bindings, etag\" This field@@ -1032,13 +1069,16 @@ -- service. -- -- /See:/ 'eventTrigger' smart constructor.-data EventTrigger = EventTrigger'+data EventTrigger =+ EventTrigger' { _etService :: !(Maybe Text) , _etFailurePolicy :: !(Maybe FailurePolicy) , _etEventType :: !(Maybe Text) , _etResource :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'EventTrigger' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1053,13 +1093,14 @@ eventTrigger :: EventTrigger eventTrigger =- EventTrigger'+ EventTrigger' { _etService = Nothing , _etFailurePolicy = Nothing , _etEventType = Nothing , _etResource = Nothing } + -- | The hostname of the service that should be observed. If no string is -- provided, the default service implementing the API will be used. For -- example, \`storage.googleapis.com\` is the default for all event types@@ -1126,11 +1167,14 @@ -- source repository where a function is hosted. -- -- /See:/ 'sourceRepository' smart constructor.-data SourceRepository = SourceRepository'+data SourceRepository =+ SourceRepository' { _srURL :: !(Maybe Text) , _srDeployedURL :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SourceRepository' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1141,11 +1185,9 @@ sourceRepository :: SourceRepository sourceRepository =- SourceRepository'- { _srURL = Nothing- , _srDeployedURL = Nothing- }+ SourceRepository' {_srURL = Nothing, _srDeployedURL = Nothing} + -- | The URL pointing to the hosted repository where the function is defined. -- There are supported Cloud Source Repository URLs in the following -- formats: To refer to a specific commit:@@ -1184,14 +1226,17 @@ -- | Metadata describing an Operation -- -- /See:/ 'operationMetadataV1' smart constructor.-data OperationMetadataV1 = OperationMetadataV1'+data OperationMetadataV1 =+ OperationMetadataV1' { _omvVersionId :: !(Maybe (Textual Int64)) , _omvUpdateTime :: !(Maybe DateTime') , _omvType :: !(Maybe OperationMetadataV1Type) , _omvTarget :: !(Maybe Text) , _omvRequest :: !(Maybe OperationMetadataV1Request)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationMetadataV1' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1208,7 +1253,7 @@ operationMetadataV1 :: OperationMetadataV1 operationMetadataV1 =- OperationMetadataV1'+ OperationMetadataV1' { _omvVersionId = Nothing , _omvUpdateTime = Nothing , _omvType = Nothing@@ -1216,6 +1261,7 @@ , _omvRequest = Nothing } + -- | Version id of the function created or updated by an API call. This field -- is only populated for Create and Update operations. omvVersionId :: Lens' OperationMetadataV1 (Maybe Int64)@@ -1268,10 +1314,13 @@ -- | Response of \`GenerateDownloadUrl\` method. -- -- /See:/ 'generateDownloadURLResponse' smart constructor.-newtype GenerateDownloadURLResponse = GenerateDownloadURLResponse'+newtype GenerateDownloadURLResponse =+ GenerateDownloadURLResponse' { _gdurDownloadURL :: Maybe Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'GenerateDownloadURLResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1280,10 +1329,9 @@ generateDownloadURLResponse :: GenerateDownloadURLResponse generateDownloadURLResponse =- GenerateDownloadURLResponse'- { _gdurDownloadURL = Nothing- }+ GenerateDownloadURLResponse' {_gdurDownloadURL = Nothing} + -- | The generated Google Cloud Storage signed URL that should be used for -- function source code download. gdurDownloadURL :: Lens' GenerateDownloadURLResponse (Maybe Text)@@ -1306,10 +1354,13 @@ -- | Request message for \`TestIamPermissions\` method. -- -- /See:/ 'testIAMPermissionsRequest' smart constructor.-newtype TestIAMPermissionsRequest = TestIAMPermissionsRequest'+newtype TestIAMPermissionsRequest =+ TestIAMPermissionsRequest' { _tiprPermissions :: Maybe [Text]- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'TestIAMPermissionsRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1318,10 +1369,9 @@ testIAMPermissionsRequest :: TestIAMPermissionsRequest testIAMPermissionsRequest =- TestIAMPermissionsRequest'- { _tiprPermissions = Nothing- }+ TestIAMPermissionsRequest' {_tiprPermissions = Nothing} + -- | The set of permissions to check for the \`resource\`. Permissions with -- wildcards (such as \'*\' or \'storage.*\') are not allowed. For more -- information see [IAM@@ -1348,10 +1398,13 @@ -- | Response message for \`TestIamPermissions\` method. -- -- /See:/ 'testIAMPermissionsResponse' smart constructor.-newtype TestIAMPermissionsResponse = TestIAMPermissionsResponse'+newtype TestIAMPermissionsResponse =+ TestIAMPermissionsResponse' { _tiamprPermissions :: Maybe [Text]- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'TestIAMPermissionsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1360,10 +1413,9 @@ testIAMPermissionsResponse :: TestIAMPermissionsResponse testIAMPermissionsResponse =- TestIAMPermissionsResponse'- { _tiamprPermissions = Nothing- }+ TestIAMPermissionsResponse' {_tiamprPermissions = Nothing} + -- | A subset of \`TestPermissionsRequest.permissions\` that the caller is -- allowed. tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]@@ -1405,13 +1457,16 @@ -- guide](https:\/\/cloud.google.com\/iam\/docs). -- -- /See:/ 'policy' smart constructor.-data Policy = Policy'+data Policy =+ Policy' { _pAuditConfigs :: !(Maybe [AuditConfig]) , _pEtag :: !(Maybe Bytes) , _pVersion :: !(Maybe (Textual Int32)) , _pBindings :: !(Maybe [Binding])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Policy' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1426,13 +1481,14 @@ policy :: Policy policy =- Policy'+ Policy' { _pAuditConfigs = Nothing , _pEtag = Nothing , _pVersion = Nothing , _pBindings = Nothing } + -- | Specifies cloud audit logging configuration for this policy. pAuditConfigs :: Lens' Policy [AuditConfig] pAuditConfigs@@ -1490,10 +1546,13 @@ -- {\"cloud.googleapis.com\/region\": \"us-east1\"} -- -- /See:/ 'locationLabels' smart constructor.-newtype LocationLabels = LocationLabels'+newtype LocationLabels =+ LocationLabels' { _llAddtional :: HashMap Text Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LocationLabels' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1503,10 +1562,9 @@ :: HashMap Text Text -- ^ 'llAddtional' -> LocationLabels locationLabels pLlAddtional_ =- LocationLabels'- { _llAddtional = _Coerce # pLlAddtional_- }+ LocationLabels' {_llAddtional = _Coerce # pLlAddtional_} + llAddtional :: Lens' LocationLabels (HashMap Text Text) llAddtional = lens _llAddtional (\ s a -> s{_llAddtional = a}) .@@ -1523,11 +1581,14 @@ -- | Response for the \`ListFunctions\` method. -- -- /See:/ 'listFunctionsResponse' smart constructor.-data ListFunctionsResponse = ListFunctionsResponse'+data ListFunctionsResponse =+ ListFunctionsResponse' { _lfrNextPageToken :: !(Maybe Text) , _lfrFunctions :: !(Maybe [CloudFunction])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListFunctionsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1538,11 +1599,9 @@ listFunctionsResponse :: ListFunctionsResponse listFunctionsResponse =- ListFunctionsResponse'- { _lfrNextPageToken = Nothing- , _lfrFunctions = Nothing- }+ ListFunctionsResponse' {_lfrNextPageToken = Nothing, _lfrFunctions = Nothing} + -- | If not empty, indicates that there may be more functions that match the -- request; this value should be passed in a new -- google.cloud.functions.v1.ListFunctionsRequest to get more functions.@@ -1577,10 +1636,13 @@ -- given location. -- -- /See:/ 'locationMetadata' smart constructor.-newtype LocationMetadata = LocationMetadata'+newtype LocationMetadata =+ LocationMetadata' { _lmAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'LocationMetadata' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1590,10 +1652,9 @@ :: HashMap Text JSONValue -- ^ 'lmAddtional' -> LocationMetadata locationMetadata pLmAddtional_ =- LocationMetadata'- { _lmAddtional = _Coerce # pLmAddtional_- }+ LocationMetadata' {_lmAddtional = _Coerce # pLmAddtional_} + -- | Properties of the object. Contains field \'type with type URL. lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue) lmAddtional@@ -1614,10 +1675,13 @@ -- long-running operation should document the metadata type, if any. -- -- /See:/ 'operationMetadata' smart constructor.-newtype OperationMetadata = OperationMetadata'+newtype OperationMetadata =+ OperationMetadata' { _omAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationMetadata' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1627,10 +1691,9 @@ :: HashMap Text JSONValue -- ^ 'omAddtional' -> OperationMetadata operationMetadata pOmAddtional_ =- OperationMetadata'- { _omAddtional = _Coerce # pOmAddtional_- }+ OperationMetadata' {_omAddtional = _Coerce # pOmAddtional_} + -- | Properties of the object. Contains field \'type with type URL. omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) omAddtional@@ -1652,11 +1715,14 @@ -- logging, while exempting foo\'gmail.com from DATA_READ logging. -- -- /See:/ 'auditLogConfig' smart constructor.-data AuditLogConfig = AuditLogConfig'+data AuditLogConfig =+ AuditLogConfig' { _alcLogType :: !(Maybe AuditLogConfigLogType) , _alcExemptedMembers :: !(Maybe [Text])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AuditLogConfig' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1667,11 +1733,9 @@ auditLogConfig :: AuditLogConfig auditLogConfig =- AuditLogConfig'- { _alcLogType = Nothing- , _alcExemptedMembers = Nothing- }+ AuditLogConfig' {_alcLogType = Nothing, _alcExemptedMembers = Nothing} + -- | The log type that this config enables. alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType) alcLogType@@ -1706,7 +1770,8 @@ -- configurations. LINT.IfChange -- -- /See:/ 'cloudFunction' smart constructor.-data CloudFunction = CloudFunction'+data CloudFunction =+ CloudFunction' { _cfRuntime :: !(Maybe Text) , _cfStatus :: !(Maybe CloudFunctionStatus) , _cfSourceArchiveURL :: !(Maybe Text)@@ -1727,8 +1792,10 @@ , _cfTimeout :: !(Maybe GDuration) , _cfVPCConnector :: !(Maybe Text) , _cfDescription :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CloudFunction' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1775,7 +1842,7 @@ cloudFunction :: CloudFunction cloudFunction =- CloudFunction'+ CloudFunction' { _cfRuntime = Nothing , _cfStatus = Nothing , _cfSourceArchiveURL = Nothing@@ -1798,8 +1865,10 @@ , _cfDescription = Nothing } --- | The runtime in which the function is going to run. If empty, defaults to--- Node.js 6.++-- | Required. The runtime in which the function is going to run. Choices: *+-- \`nodejs6\`: Node.js 6 * \`nodejs8\`: Node.js 8 * \`nodejs10\`: Node.js+-- 10 * \`python37\`: Python 3.7 * \`go111\`: Go 1.11 cfRuntime :: Lens' CloudFunction (Maybe Text) cfRuntime = lens _cfRuntime (\ s a -> s{_cfRuntime = a})@@ -1862,8 +1931,7 @@ = lens _cfNetwork (\ s a -> s{_cfNetwork = a}) -- | The limit on the maximum number of function instances that may coexist--- at a given time. This feature is currently in alpha, available only for--- whitelisted users.+-- at a given time. cfMaxInstances :: Lens' CloudFunction (Maybe Int32) cfMaxInstances = lens _cfMaxInstances@@ -1905,7 +1973,8 @@ cfLabels :: Lens' CloudFunction (Maybe CloudFunctionLabels) cfLabels = lens _cfLabels (\ s a -> s{_cfLabels = a}) --- | Output only. The email of the function\'s service account.+-- | The email of the function\'s service account. If empty, defaults to+-- {project_id}\'appspot.gserviceaccount.com. cfServiceAccountEmail :: Lens' CloudFunction (Maybe Text) cfServiceAccountEmail = lens _cfServiceAccountEmail@@ -1999,10 +2068,13 @@ -- | The original request that started the operation. -- -- /See:/ 'operationMetadataV1Beta2Request' smart constructor.-newtype OperationMetadataV1Beta2Request = OperationMetadataV1Beta2Request'+newtype OperationMetadataV1Beta2Request =+ OperationMetadataV1Beta2Request' { _omvbrAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationMetadataV1Beta2Request' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -2012,10 +2084,10 @@ :: HashMap Text JSONValue -- ^ 'omvbrAddtional' -> OperationMetadataV1Beta2Request operationMetadataV1Beta2Request pOmvbrAddtional_ =- OperationMetadataV1Beta2Request'- { _omvbrAddtional = _Coerce # pOmvbrAddtional_- }+ OperationMetadataV1Beta2Request'+ {_omvbrAddtional = _Coerce # pOmvbrAddtional_} + -- | Properties of the object. Contains field \'type with type URL. omvbrAddtional :: Lens' OperationMetadataV1Beta2Request (HashMap Text JSONValue) omvbrAddtional@@ -2037,10 +2109,13 @@ -- | Labels associated with this Cloud Function. -- -- /See:/ 'cloudFunctionLabels' smart constructor.-newtype CloudFunctionLabels = CloudFunctionLabels'+newtype CloudFunctionLabels =+ CloudFunctionLabels' { _cflAddtional :: HashMap Text Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CloudFunctionLabels' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -2050,10 +2125,9 @@ :: HashMap Text Text -- ^ 'cflAddtional' -> CloudFunctionLabels cloudFunctionLabels pCflAddtional_ =- CloudFunctionLabels'- { _cflAddtional = _Coerce # pCflAddtional_- }+ CloudFunctionLabels' {_cflAddtional = _Coerce # pCflAddtional_} + cflAddtional :: Lens' CloudFunctionLabels (HashMap Text Text) cflAddtional = lens _cflAddtional (\ s a -> s{_cflAddtional = a})@@ -2077,10 +2151,13 @@ -- \`TakeSnapshotResponse\`. -- -- /See:/ 'operationResponse' smart constructor.-newtype OperationResponse = OperationResponse'+newtype OperationResponse =+ OperationResponse' { _orAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -2090,10 +2167,9 @@ :: HashMap Text JSONValue -- ^ 'orAddtional' -> OperationResponse operationResponse pOrAddtional_ =- OperationResponse'- { _orAddtional = _Coerce # pOrAddtional_- }+ OperationResponse' {_orAddtional = _Coerce # pOrAddtional_} + -- | Properties of the object. Contains field \'type with type URL. orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) orAddtional@@ -2111,10 +2187,13 @@ -- | Request for the \`CallFunction\` method. -- -- /See:/ 'callFunctionRequest' smart constructor.-newtype CallFunctionRequest = CallFunctionRequest'+newtype CallFunctionRequest =+ CallFunctionRequest' { _cfrData :: Maybe Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CallFunctionRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -2122,11 +2201,9 @@ -- * 'cfrData' callFunctionRequest :: CallFunctionRequest-callFunctionRequest =- CallFunctionRequest'- { _cfrData = Nothing- }+callFunctionRequest = CallFunctionRequest' {_cfrData = Nothing} + -- | Input to be passed to the function. cfrData :: Lens' CallFunctionRequest (Maybe Text) cfrData = lens _cfrData (\ s a -> s{_cfrData = a})@@ -2143,12 +2220,15 @@ -- | Associates \`members\` with a \`role\`. -- -- /See:/ 'binding' smart constructor.-data Binding = Binding'+data Binding =+ Binding' { _bMembers :: !(Maybe [Text]) , _bRole :: !(Maybe Text) , _bCondition :: !(Maybe Expr)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Binding' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -2161,12 +2241,9 @@ binding :: Binding binding =- Binding'- { _bMembers = Nothing- , _bRole = Nothing- , _bCondition = Nothing- }+ Binding' {_bMembers = Nothing, _bRole = Nothing, _bCondition = Nothing} + -- | Specifies the identities requesting access for a Cloud Platform -- resource. \`members\` can have the following values: * \`allUsers\`: A -- special identifier that represents anyone who is on the internet; with@@ -2178,8 +2255,8 @@ -- that represents a service account. For example, -- \`my-other-app\'appspot.gserviceaccount.com\`. * \`group:{emailid}\`: An -- email address that represents a Google group. For example,--- \`admins\'example.com\`. * \`domain:{domain}\`: A Google Apps domain--- name that represents all the users of that domain. For example,+-- \`admins\'example.com\`. * \`domain:{domain}\`: The G Suite domain+-- (primary) that represents all the users of that domain. For example, -- \`google.com\` or \`example.com\`. bMembers :: Lens' Binding [Text] bMembers@@ -2192,10 +2269,9 @@ bRole :: Lens' Binding (Maybe Text) bRole = lens _bRole (\ s a -> s{_bRole = a}) --- | Unimplemented. The condition that is associated with this binding. NOTE:--- an unsatisfied condition will not allow user access via current binding.--- Different bindings, including their conditions, are examined--- independently.+-- | The condition that is associated with this binding. NOTE: An unsatisfied+-- condition will not allow user access via current binding. Different+-- bindings, including their conditions, are examined independently. bCondition :: Lens' Binding (Maybe Expr) bCondition = lens _bCondition (\ s a -> s{_bCondition = a})
gen/Network/Google/Resource/CloudFunctions/Operations/Get.hs view
@@ -63,15 +63,18 @@ -- API service. -- -- /See:/ 'operationsGet' smart constructor.-data OperationsGet = OperationsGet'+data OperationsGet =+ OperationsGet' { _ogXgafv :: !(Maybe Xgafv) , _ogUploadProtocol :: !(Maybe Text) , _ogAccessToken :: !(Maybe Text) , _ogUploadType :: !(Maybe Text) , _ogName :: !Text , _ogCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -91,7 +94,7 @@ :: Text -- ^ 'ogName' -> OperationsGet operationsGet pOgName_ =- OperationsGet'+ OperationsGet' { _ogXgafv = Nothing , _ogUploadProtocol = Nothing , _ogAccessToken = Nothing@@ -99,6 +102,7 @@ , _ogName = pOgName_ , _ogCallback = Nothing }+ -- | V1 error format. ogXgafv :: Lens' OperationsGet (Maybe Xgafv)
gen/Network/Google/Resource/CloudFunctions/Operations/List.hs view
@@ -85,7 +85,8 @@ -- id. -- -- /See:/ 'operationsList' smart constructor.-data OperationsList = OperationsList'+data OperationsList =+ OperationsList' { _olXgafv :: !(Maybe Xgafv) , _olUploadProtocol :: !(Maybe Text) , _olAccessToken :: !(Maybe Text)@@ -95,8 +96,10 @@ , _olPageToken :: !(Maybe Text) , _olPageSize :: !(Maybe (Textual Int32)) , _olCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'OperationsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,7 +124,7 @@ operationsList :: OperationsList operationsList =- OperationsList'+ OperationsList' { _olXgafv = Nothing , _olUploadProtocol = Nothing , _olAccessToken = Nothing@@ -132,6 +135,7 @@ , _olPageSize = Nothing , _olCallback = Nothing }+ -- | V1 error format. olXgafv :: Lens' OperationsList (Maybe Xgafv)
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Call.hs view
@@ -22,8 +22,8 @@ -- -- Synchronously invokes a deployed Cloud Function. To be used for testing -- purposes as very limited traffic is allowed. For more information on the--- actual limits refer to [API Calls](--- https:\/\/cloud.google.com\/functions\/quotas#rate_limits).+-- actual limits, refer to [Rate+-- Limits](https:\/\/cloud.google.com\/functions\/quotas#rate_limits). -- -- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.call@. module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Call@@ -64,11 +64,12 @@ -- | Synchronously invokes a deployed Cloud Function. To be used for testing -- purposes as very limited traffic is allowed. For more information on the--- actual limits refer to [API Calls](--- https:\/\/cloud.google.com\/functions\/quotas#rate_limits).+-- actual limits, refer to [Rate+-- Limits](https:\/\/cloud.google.com\/functions\/quotas#rate_limits). -- -- /See:/ 'projectsLocationsFunctionsCall' smart constructor.-data ProjectsLocationsFunctionsCall = ProjectsLocationsFunctionsCall'+data ProjectsLocationsFunctionsCall =+ ProjectsLocationsFunctionsCall' { _pXgafv :: !(Maybe Xgafv) , _pUploadProtocol :: !(Maybe Text) , _pAccessToken :: !(Maybe Text)@@ -76,8 +77,10 @@ , _pPayload :: !CallFunctionRequest , _pName :: !Text , _pCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsCall' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -100,7 +103,7 @@ -> Text -- ^ 'pName' -> ProjectsLocationsFunctionsCall projectsLocationsFunctionsCall pPPayload_ pPName_ =- ProjectsLocationsFunctionsCall'+ ProjectsLocationsFunctionsCall' { _pXgafv = Nothing , _pUploadProtocol = Nothing , _pAccessToken = Nothing@@ -109,6 +112,7 @@ , _pName = pPName_ , _pCallback = Nothing }+ -- | V1 error format. pXgafv :: Lens' ProjectsLocationsFunctionsCall (Maybe Xgafv)
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Create.hs view
@@ -67,7 +67,8 @@ -- \`ALREADY_EXISTS\` error. -- -- /See:/ 'projectsLocationsFunctionsCreate' smart constructor.-data ProjectsLocationsFunctionsCreate = ProjectsLocationsFunctionsCreate'+data ProjectsLocationsFunctionsCreate =+ ProjectsLocationsFunctionsCreate' { _plfcXgafv :: !(Maybe Xgafv) , _plfcUploadProtocol :: !(Maybe Text) , _plfcLocation :: !Text@@ -75,8 +76,10 @@ , _plfcUploadType :: !(Maybe Text) , _plfcPayload :: !CloudFunction , _plfcCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsCreate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -99,7 +102,7 @@ -> CloudFunction -- ^ 'plfcPayload' -> ProjectsLocationsFunctionsCreate projectsLocationsFunctionsCreate pPlfcLocation_ pPlfcPayload_ =- ProjectsLocationsFunctionsCreate'+ ProjectsLocationsFunctionsCreate' { _plfcXgafv = Nothing , _plfcUploadProtocol = Nothing , _plfcLocation = pPlfcLocation_@@ -109,6 +112,7 @@ , _plfcCallback = Nothing } + -- | V1 error format. plfcXgafv :: Lens' ProjectsLocationsFunctionsCreate (Maybe Xgafv) plfcXgafv@@ -149,7 +153,8 @@ = lens _plfcCallback (\ s a -> s{_plfcCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsCreate where+ ProjectsLocationsFunctionsCreate+ where type Rs ProjectsLocationsFunctionsCreate = Operation type Scopes ProjectsLocationsFunctionsCreate = '["https://www.googleapis.com/auth/cloud-platform"]
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Delete.hs view
@@ -63,15 +63,18 @@ -- to remove this function. -- -- /See:/ 'projectsLocationsFunctionsDelete' smart constructor.-data ProjectsLocationsFunctionsDelete = ProjectsLocationsFunctionsDelete'+data ProjectsLocationsFunctionsDelete =+ ProjectsLocationsFunctionsDelete' { _plfdXgafv :: !(Maybe Xgafv) , _plfdUploadProtocol :: !(Maybe Text) , _plfdAccessToken :: !(Maybe Text) , _plfdUploadType :: !(Maybe Text) , _plfdName :: !Text , _plfdCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsDelete' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -91,7 +94,7 @@ :: Text -- ^ 'plfdName' -> ProjectsLocationsFunctionsDelete projectsLocationsFunctionsDelete pPlfdName_ =- ProjectsLocationsFunctionsDelete'+ ProjectsLocationsFunctionsDelete' { _plfdXgafv = Nothing , _plfdUploadProtocol = Nothing , _plfdAccessToken = Nothing@@ -100,6 +103,7 @@ , _plfdCallback = Nothing } + -- | V1 error format. plfdXgafv :: Lens' ProjectsLocationsFunctionsDelete (Maybe Xgafv) plfdXgafv@@ -133,7 +137,8 @@ = lens _plfdCallback (\ s a -> s{_plfdCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsDelete where+ ProjectsLocationsFunctionsDelete+ where type Rs ProjectsLocationsFunctionsDelete = Operation type Scopes ProjectsLocationsFunctionsDelete = '["https://www.googleapis.com/auth/cloud-platform"]
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GenerateDownloadURL.hs view
@@ -69,7 +69,8 @@ -- https:\/\/cloud.google.com\/storage\/docs\/access-control\/signed-urls -- -- /See:/ 'projectsLocationsFunctionsGenerateDownloadURL' smart constructor.-data ProjectsLocationsFunctionsGenerateDownloadURL = ProjectsLocationsFunctionsGenerateDownloadURL'+data ProjectsLocationsFunctionsGenerateDownloadURL =+ ProjectsLocationsFunctionsGenerateDownloadURL' { _plfgduXgafv :: !(Maybe Xgafv) , _plfgduUploadProtocol :: !(Maybe Text) , _plfgduAccessToken :: !(Maybe Text)@@ -77,8 +78,10 @@ , _plfgduPayload :: !GenerateDownloadURLRequest , _plfgduName :: !Text , _plfgduCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsGenerateDownloadURL' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -101,7 +104,7 @@ -> Text -- ^ 'plfgduName' -> ProjectsLocationsFunctionsGenerateDownloadURL projectsLocationsFunctionsGenerateDownloadURL pPlfgduPayload_ pPlfgduName_ =- ProjectsLocationsFunctionsGenerateDownloadURL'+ ProjectsLocationsFunctionsGenerateDownloadURL' { _plfgduXgafv = Nothing , _plfgduUploadProtocol = Nothing , _plfgduAccessToken = Nothing@@ -111,6 +114,7 @@ , _plfgduCallback = Nothing } + -- | V1 error format. plfgduXgafv :: Lens' ProjectsLocationsFunctionsGenerateDownloadURL (Maybe Xgafv) plfgduXgafv@@ -153,7 +157,8 @@ (\ s a -> s{_plfgduCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsGenerateDownloadURL where+ ProjectsLocationsFunctionsGenerateDownloadURL+ where type Rs ProjectsLocationsFunctionsGenerateDownloadURL = GenerateDownloadURLResponse type Scopes
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GenerateUploadURL.hs view
@@ -28,9 +28,14 @@ -- reference to the function source code. When uploading source code to the -- generated signed URL, please follow these restrictions: * Source file -- type should be a zip file. * Source file size should not exceed 100MB--- limit. When making a HTTP PUT request, these two headers need to be+-- limit. * No credentials should be attached - the signed URLs provide+-- access to the target bucket using internal service identity; if+-- credentials were attached, the identity from the credentials would be+-- used, but that identity does not have permissions to upload files to the+-- URL. When making a HTTP PUT request, these two headers need to be -- specified: * \`content-type: application\/zip\` *--- \`x-goog-content-length-range: 0,104857600\`+-- \`x-goog-content-length-range: 0,104857600\` And this header SHOULD NOT+-- be specified: * \`Authorization: Bearer YOUR_TOKEN\` -- -- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.generateUploadUrl@. module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GenerateUploadURL@@ -79,12 +84,18 @@ -- reference to the function source code. When uploading source code to the -- generated signed URL, please follow these restrictions: * Source file -- type should be a zip file. * Source file size should not exceed 100MB--- limit. When making a HTTP PUT request, these two headers need to be+-- limit. * No credentials should be attached - the signed URLs provide+-- access to the target bucket using internal service identity; if+-- credentials were attached, the identity from the credentials would be+-- used, but that identity does not have permissions to upload files to the+-- URL. When making a HTTP PUT request, these two headers need to be -- specified: * \`content-type: application\/zip\` *--- \`x-goog-content-length-range: 0,104857600\`+-- \`x-goog-content-length-range: 0,104857600\` And this header SHOULD NOT+-- be specified: * \`Authorization: Bearer YOUR_TOKEN\` -- -- /See:/ 'projectsLocationsFunctionsGenerateUploadURL' smart constructor.-data ProjectsLocationsFunctionsGenerateUploadURL = ProjectsLocationsFunctionsGenerateUploadURL'+data ProjectsLocationsFunctionsGenerateUploadURL =+ ProjectsLocationsFunctionsGenerateUploadURL' { _plfguuParent :: !Text , _plfguuXgafv :: !(Maybe Xgafv) , _plfguuUploadProtocol :: !(Maybe Text)@@ -92,8 +103,10 @@ , _plfguuUploadType :: !(Maybe Text) , _plfguuPayload :: !GenerateUploadURLRequest , _plfguuCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsGenerateUploadURL' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -116,7 +129,7 @@ -> GenerateUploadURLRequest -- ^ 'plfguuPayload' -> ProjectsLocationsFunctionsGenerateUploadURL projectsLocationsFunctionsGenerateUploadURL pPlfguuParent_ pPlfguuPayload_ =- ProjectsLocationsFunctionsGenerateUploadURL'+ ProjectsLocationsFunctionsGenerateUploadURL' { _plfguuParent = pPlfguuParent_ , _plfguuXgafv = Nothing , _plfguuUploadProtocol = Nothing@@ -126,6 +139,7 @@ , _plfguuCallback = Nothing } + -- | The project and location in which the Google Cloud Storage signed URL -- should be generated, specified in the format -- \`projects\/*\/locations\/*\`.@@ -169,7 +183,8 @@ (\ s a -> s{_plfguuCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsGenerateUploadURL where+ ProjectsLocationsFunctionsGenerateUploadURL+ where type Rs ProjectsLocationsFunctionsGenerateUploadURL = GenerateUploadURLResponse type Scopes
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Get.hs view
@@ -59,15 +59,18 @@ -- | Returns a function with the given name from the requested project. -- -- /See:/ 'projectsLocationsFunctionsGet' smart constructor.-data ProjectsLocationsFunctionsGet = ProjectsLocationsFunctionsGet'+data ProjectsLocationsFunctionsGet =+ ProjectsLocationsFunctionsGet' { _plfgXgafv :: !(Maybe Xgafv) , _plfgUploadProtocol :: !(Maybe Text) , _plfgAccessToken :: !(Maybe Text) , _plfgUploadType :: !(Maybe Text) , _plfgName :: !Text , _plfgCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -87,7 +90,7 @@ :: Text -- ^ 'plfgName' -> ProjectsLocationsFunctionsGet projectsLocationsFunctionsGet pPlfgName_ =- ProjectsLocationsFunctionsGet'+ ProjectsLocationsFunctionsGet' { _plfgXgafv = Nothing , _plfgUploadProtocol = Nothing , _plfgAccessToken = Nothing@@ -95,6 +98,7 @@ , _plfgName = pPlfgName_ , _plfgCallback = Nothing }+ -- | V1 error format. plfgXgafv :: Lens' ProjectsLocationsFunctionsGet (Maybe Xgafv)
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/GetIAMPolicy.hs view
@@ -20,8 +20,8 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets the access control policy for a resource. Returns an empty policy--- if the resource exists and does not have a policy set.+-- Gets the IAM access control policy for a function. Returns an empty+-- policy if the function exists and does not have a policy set. -- -- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.getIamPolicy@. module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GetIAMPolicy@@ -57,19 +57,22 @@ QueryParam "callback" Text :> QueryParam "alt" AltJSON :> Get '[JSON] Policy --- | Gets the access control policy for a resource. Returns an empty policy--- if the resource exists and does not have a policy set.+-- | Gets the IAM access control policy for a function. Returns an empty+-- policy if the function exists and does not have a policy set. -- -- /See:/ 'projectsLocationsFunctionsGetIAMPolicy' smart constructor.-data ProjectsLocationsFunctionsGetIAMPolicy = ProjectsLocationsFunctionsGetIAMPolicy'+data ProjectsLocationsFunctionsGetIAMPolicy =+ ProjectsLocationsFunctionsGetIAMPolicy' { _plfgipXgafv :: !(Maybe Xgafv) , _plfgipUploadProtocol :: !(Maybe Text) , _plfgipAccessToken :: !(Maybe Text) , _plfgipUploadType :: !(Maybe Text) , _plfgipResource :: !Text , _plfgipCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsGetIAMPolicy' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -89,7 +92,7 @@ :: Text -- ^ 'plfgipResource' -> ProjectsLocationsFunctionsGetIAMPolicy projectsLocationsFunctionsGetIAMPolicy pPlfgipResource_ =- ProjectsLocationsFunctionsGetIAMPolicy'+ ProjectsLocationsFunctionsGetIAMPolicy' { _plfgipXgafv = Nothing , _plfgipUploadProtocol = Nothing , _plfgipAccessToken = Nothing@@ -98,6 +101,7 @@ , _plfgipCallback = Nothing } + -- | V1 error format. plfgipXgafv :: Lens' ProjectsLocationsFunctionsGetIAMPolicy (Maybe Xgafv) plfgipXgafv@@ -135,7 +139,8 @@ (\ s a -> s{_plfgipCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsGetIAMPolicy where+ ProjectsLocationsFunctionsGetIAMPolicy+ where type Rs ProjectsLocationsFunctionsGetIAMPolicy = Policy type Scopes ProjectsLocationsFunctionsGetIAMPolicy =
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/List.hs view
@@ -65,7 +65,8 @@ -- | Returns a list of functions that belong to the requested project. -- -- /See:/ 'projectsLocationsFunctionsList' smart constructor.-data ProjectsLocationsFunctionsList = ProjectsLocationsFunctionsList'+data ProjectsLocationsFunctionsList =+ ProjectsLocationsFunctionsList' { _plflParent :: !Text , _plflXgafv :: !(Maybe Xgafv) , _plflUploadProtocol :: !(Maybe Text)@@ -74,8 +75,10 @@ , _plflPageToken :: !(Maybe Text) , _plflPageSize :: !(Maybe (Textual Int32)) , _plflCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -99,7 +102,7 @@ :: Text -- ^ 'plflParent' -> ProjectsLocationsFunctionsList projectsLocationsFunctionsList pPlflParent_ =- ProjectsLocationsFunctionsList'+ ProjectsLocationsFunctionsList' { _plflParent = pPlflParent_ , _plflXgafv = Nothing , _plflUploadProtocol = Nothing@@ -109,6 +112,7 @@ , _plflPageSize = Nothing , _plflCallback = Nothing }+ -- | The project and location from which the function should be listed, -- specified in the format \`projects\/*\/locations\/*\` If you want to
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/Patch.hs view
@@ -64,7 +64,8 @@ -- | Updates existing function. -- -- /See:/ 'projectsLocationsFunctionsPatch' smart constructor.-data ProjectsLocationsFunctionsPatch = ProjectsLocationsFunctionsPatch'+data ProjectsLocationsFunctionsPatch =+ ProjectsLocationsFunctionsPatch' { _plfpXgafv :: !(Maybe Xgafv) , _plfpUploadProtocol :: !(Maybe Text) , _plfpUpdateMask :: !(Maybe GFieldMask)@@ -73,8 +74,10 @@ , _plfpPayload :: !CloudFunction , _plfpName :: !Text , _plfpCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsPatch' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -99,7 +102,7 @@ -> Text -- ^ 'plfpName' -> ProjectsLocationsFunctionsPatch projectsLocationsFunctionsPatch pPlfpPayload_ pPlfpName_ =- ProjectsLocationsFunctionsPatch'+ ProjectsLocationsFunctionsPatch' { _plfpXgafv = Nothing , _plfpUploadProtocol = Nothing , _plfpUpdateMask = Nothing@@ -110,6 +113,7 @@ , _plfpCallback = Nothing } + -- | V1 error format. plfpXgafv :: Lens' ProjectsLocationsFunctionsPatch (Maybe Xgafv) plfpXgafv@@ -155,7 +159,8 @@ = lens _plfpCallback (\ s a -> s{_plfpCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsPatch where+ ProjectsLocationsFunctionsPatch+ where type Rs ProjectsLocationsFunctionsPatch = Operation type Scopes ProjectsLocationsFunctionsPatch = '["https://www.googleapis.com/auth/cloud-platform"]
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/SetIAMPolicy.hs view
@@ -20,8 +20,8 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the access control policy on the specified resource. Replaces any--- existing policy.+-- Sets the IAM access control policy on the specified function. Replaces+-- any existing policy. -- -- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.setIamPolicy@. module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.SetIAMPolicy@@ -60,11 +60,12 @@ ReqBody '[JSON] SetIAMPolicyRequest :> Post '[JSON] Policy --- | Sets the access control policy on the specified resource. Replaces any--- existing policy.+-- | Sets the IAM access control policy on the specified function. Replaces+-- any existing policy. -- -- /See:/ 'projectsLocationsFunctionsSetIAMPolicy' smart constructor.-data ProjectsLocationsFunctionsSetIAMPolicy = ProjectsLocationsFunctionsSetIAMPolicy'+data ProjectsLocationsFunctionsSetIAMPolicy =+ ProjectsLocationsFunctionsSetIAMPolicy' { _plfsipXgafv :: !(Maybe Xgafv) , _plfsipUploadProtocol :: !(Maybe Text) , _plfsipAccessToken :: !(Maybe Text)@@ -72,8 +73,10 @@ , _plfsipPayload :: !SetIAMPolicyRequest , _plfsipResource :: !Text , _plfsipCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsSetIAMPolicy' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -96,7 +99,7 @@ -> Text -- ^ 'plfsipResource' -> ProjectsLocationsFunctionsSetIAMPolicy projectsLocationsFunctionsSetIAMPolicy pPlfsipPayload_ pPlfsipResource_ =- ProjectsLocationsFunctionsSetIAMPolicy'+ ProjectsLocationsFunctionsSetIAMPolicy' { _plfsipXgafv = Nothing , _plfsipUploadProtocol = Nothing , _plfsipAccessToken = Nothing@@ -106,6 +109,7 @@ , _plfsipCallback = Nothing } + -- | V1 error format. plfsipXgafv :: Lens' ProjectsLocationsFunctionsSetIAMPolicy (Maybe Xgafv) plfsipXgafv@@ -149,7 +153,8 @@ (\ s a -> s{_plfsipCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsSetIAMPolicy where+ ProjectsLocationsFunctionsSetIAMPolicy+ where type Rs ProjectsLocationsFunctionsSetIAMPolicy = Policy type Scopes ProjectsLocationsFunctionsSetIAMPolicy =
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/Functions/TestIAMPermissions.hs view
@@ -20,12 +20,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns permissions that a caller has on the specified resource. If the--- resource does not exist, this will return an empty set of permissions,--- not a NOT_FOUND error. Note: This operation is designed to be used for--- building permission-aware UIs and command-line tools, not for--- authorization checking. This operation may \"fail open\" without--- warning.+-- Tests the specified permissions against the IAM access control policy+-- for a function. If the function does not exist, this will return an+-- empty set of permissions, not a NOT_FOUND error. -- -- /See:/ <https://cloud.google.com/functions Cloud Functions API Reference> for @cloudfunctions.projects.locations.functions.testIamPermissions@. module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions@@ -65,15 +62,13 @@ ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse --- | Returns permissions that a caller has on the specified resource. If the--- resource does not exist, this will return an empty set of permissions,--- not a NOT_FOUND error. Note: This operation is designed to be used for--- building permission-aware UIs and command-line tools, not for--- authorization checking. This operation may \"fail open\" without--- warning.+-- | Tests the specified permissions against the IAM access control policy+-- for a function. If the function does not exist, this will return an+-- empty set of permissions, not a NOT_FOUND error. -- -- /See:/ 'projectsLocationsFunctionsTestIAMPermissions' smart constructor.-data ProjectsLocationsFunctionsTestIAMPermissions = ProjectsLocationsFunctionsTestIAMPermissions'+data ProjectsLocationsFunctionsTestIAMPermissions =+ ProjectsLocationsFunctionsTestIAMPermissions' { _plftipXgafv :: !(Maybe Xgafv) , _plftipUploadProtocol :: !(Maybe Text) , _plftipAccessToken :: !(Maybe Text)@@ -81,8 +76,10 @@ , _plftipPayload :: !TestIAMPermissionsRequest , _plftipResource :: !Text , _plftipCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsFunctionsTestIAMPermissions' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -105,7 +102,7 @@ -> Text -- ^ 'plftipResource' -> ProjectsLocationsFunctionsTestIAMPermissions projectsLocationsFunctionsTestIAMPermissions pPlftipPayload_ pPlftipResource_ =- ProjectsLocationsFunctionsTestIAMPermissions'+ ProjectsLocationsFunctionsTestIAMPermissions' { _plftipXgafv = Nothing , _plftipUploadProtocol = Nothing , _plftipAccessToken = Nothing@@ -115,6 +112,7 @@ , _plftipCallback = Nothing } + -- | V1 error format. plftipXgafv :: Lens' ProjectsLocationsFunctionsTestIAMPermissions (Maybe Xgafv) plftipXgafv@@ -159,7 +157,8 @@ (\ s a -> s{_plftipCallback = a}) instance GoogleRequest- ProjectsLocationsFunctionsTestIAMPermissions where+ ProjectsLocationsFunctionsTestIAMPermissions+ where type Rs ProjectsLocationsFunctionsTestIAMPermissions = TestIAMPermissionsResponse type Scopes
gen/Network/Google/Resource/CloudFunctions/Projects/Locations/List.hs view
@@ -67,7 +67,8 @@ -- | Lists information about the supported locations for this service. -- -- /See:/ 'projectsLocationsList' smart constructor.-data ProjectsLocationsList = ProjectsLocationsList'+data ProjectsLocationsList =+ ProjectsLocationsList' { _pllXgafv :: !(Maybe Xgafv) , _pllUploadProtocol :: !(Maybe Text) , _pllAccessToken :: !(Maybe Text)@@ -77,8 +78,10 @@ , _pllPageToken :: !(Maybe Text) , _pllPageSize :: !(Maybe (Textual Int32)) , _pllCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsLocationsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -104,7 +107,7 @@ :: Text -- ^ 'pllName' -> ProjectsLocationsList projectsLocationsList pPllName_ =- ProjectsLocationsList'+ ProjectsLocationsList' { _pllXgafv = Nothing , _pllUploadProtocol = Nothing , _pllAccessToken = Nothing@@ -115,6 +118,7 @@ , _pllPageSize = Nothing , _pllCallback = Nothing }+ -- | V1 error format. pllXgafv :: Lens' ProjectsLocationsList (Maybe Xgafv)
gogol-cloudfunctions.cabal view
@@ -1,5 +1,5 @@ name: gogol-cloudfunctions-version: 0.4.0+version: 0.5.0 synopsis: Google Cloud Functions SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -56,5 +56,5 @@ , Network.Google.CloudFunctions.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5