gogol-cloudprofiler 0.4.0 → 0.5.0
raw patch · 7 files changed
+62/−41 lines, 7 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/CloudProFiler/Types.hs +3/−3
- gen/Network/Google/CloudProFiler/Types/Product.hs +35/−26
- gen/Network/Google/Resource/CloudProFiler/Projects/ProFiles/Create.hs +7/−3
- gen/Network/Google/Resource/CloudProFiler/Projects/ProFiles/CreateOffline.hs +7/−3
- gen/Network/Google/Resource/CloudProFiler/Projects/ProFiles/Patch.hs +7/−3
- gogol-cloudprofiler.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/CloudProFiler/Types.hs view
@@ -76,13 +76,13 @@ -- | View and manage your data across Google Cloud Platform services cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy;+cloudPlatformScope = Proxy -- | View and write monitoring data for all of your Google and third-party -- Cloud and API projects monitoringScope :: Proxy '["https://www.googleapis.com/auth/monitoring"]-monitoringScope = Proxy;+monitoringScope = Proxy -- | Publish metric data to your Google Cloud projects monitoringWriteScope :: Proxy '["https://www.googleapis.com/auth/monitoring.write"]-monitoringWriteScope = Proxy;+monitoringWriteScope = Proxy
gen/Network/Google/CloudProFiler/Types/Product.hs view
@@ -33,10 +33,13 @@ -- example of a region is \"us-central1\" or \"us-central\". -- -- /See:/ 'deploymentLabels' smart constructor.-newtype DeploymentLabels = DeploymentLabels'+newtype DeploymentLabels =+ DeploymentLabels' { _dlAddtional :: HashMap Text Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeploymentLabels' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -46,10 +49,9 @@ :: HashMap Text Text -- ^ 'dlAddtional' -> DeploymentLabels deploymentLabels pDlAddtional_ =- DeploymentLabels'- { _dlAddtional = _Coerce # pDlAddtional_- }+ DeploymentLabels' {_dlAddtional = _Coerce # pDlAddtional_} + dlAddtional :: Lens' DeploymentLabels (HashMap Text Text) dlAddtional = lens _dlAddtional (\ s a -> s{_dlAddtional = a}) .@@ -66,15 +68,18 @@ -- | Profile resource. -- -- /See:/ 'proFile' smart constructor.-data ProFile = ProFile'+data ProFile =+ ProFile' { _pfProFileBytes :: !(Maybe Bytes) , _pfName :: !(Maybe Text) , _pfLabels :: !(Maybe ProFileLabels) , _pfProFileType :: !(Maybe ProFileProFileType) , _pfDuration :: !(Maybe GDuration) , _pfDeployment :: !(Maybe Deployment)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProFile' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -93,7 +98,7 @@ proFile :: ProFile proFile =- ProFile'+ ProFile' { _pfProFileBytes = Nothing , _pfName = Nothing , _pfLabels = Nothing@@ -102,6 +107,7 @@ , _pfDeployment = Nothing } + -- | Input only. Profile bytes, as a gzip compressed serialized proto, the -- format is -- https:\/\/github.com\/google\/pprof\/blob\/master\/proto\/profile.proto.@@ -172,11 +178,14 @@ -- collected. -- -- /See:/ 'createProFileRequest' smart constructor.-data CreateProFileRequest = CreateProFileRequest'+data CreateProFileRequest =+ CreateProFileRequest' { _cpfrProFileType :: !(Maybe [Text]) , _cpfrDeployment :: !(Maybe Deployment)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateProFileRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -187,11 +196,9 @@ createProFileRequest :: CreateProFileRequest createProFileRequest =- CreateProFileRequest'- { _cpfrProFileType = Nothing- , _cpfrDeployment = Nothing- }+ CreateProFileRequest' {_cpfrProFileType = Nothing, _cpfrDeployment = Nothing} + -- | One or more profile types that the agent is capable of providing. cpfrProFileType :: Lens' CreateProFileRequest [Text] cpfrProFileType@@ -226,10 +233,13 @@ -- documentation on deployment labels for validation rules and limits. -- -- /See:/ 'proFileLabels' smart constructor.-newtype ProFileLabels = ProFileLabels'+newtype ProFileLabels =+ ProFileLabels' { _pflAddtional :: HashMap Text Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProFileLabels' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -239,10 +249,9 @@ :: HashMap Text Text -- ^ 'pflAddtional' -> ProFileLabels proFileLabels pPflAddtional_ =- ProFileLabels'- { _pflAddtional = _Coerce # pPflAddtional_- }+ ProFileLabels' {_pflAddtional = _Coerce # pPflAddtional_} + pflAddtional :: Lens' ProFileLabels (HashMap Text Text) pflAddtional = lens _pflAddtional (\ s a -> s{_pflAddtional = a})@@ -259,12 +268,15 @@ -- | Deployment contains the deployment identification information. -- -- /See:/ 'deployment' smart constructor.-data Deployment = Deployment'+data Deployment =+ Deployment' { _dLabels :: !(Maybe DeploymentLabels) , _dProjectId :: !(Maybe Text) , _dTarget :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Deployment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -277,11 +289,8 @@ deployment :: Deployment deployment =- Deployment'- { _dLabels = Nothing- , _dProjectId = Nothing- , _dTarget = Nothing- }+ Deployment' {_dLabels = Nothing, _dProjectId = Nothing, _dTarget = Nothing}+ -- | Labels identify the deployment within the user universe and same target. -- Validation regex for label names:
gen/Network/Google/Resource/CloudProFiler/Projects/ProFiles/Create.hs view
@@ -81,7 +81,8 @@ -- trailing metadata item named \"google.rpc.retryinfo-bin\". -- -- /See:/ 'projectsProFilesCreate' smart constructor.-data ProjectsProFilesCreate = ProjectsProFilesCreate'+data ProjectsProFilesCreate =+ ProjectsProFilesCreate' { _ppfcParent :: !Text , _ppfcXgafv :: !(Maybe Xgafv) , _ppfcUploadProtocol :: !(Maybe Text)@@ -89,8 +90,10 @@ , _ppfcUploadType :: !(Maybe Text) , _ppfcPayload :: !CreateProFileRequest , _ppfcCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsProFilesCreate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -113,7 +116,7 @@ -> CreateProFileRequest -- ^ 'ppfcPayload' -> ProjectsProFilesCreate projectsProFilesCreate pPpfcParent_ pPpfcPayload_ =- ProjectsProFilesCreate'+ ProjectsProFilesCreate' { _ppfcParent = pPpfcParent_ , _ppfcXgafv = Nothing , _ppfcUploadProtocol = Nothing@@ -122,6 +125,7 @@ , _ppfcPayload = pPpfcPayload_ , _ppfcCallback = Nothing }+ -- | Parent project to create the profile in. ppfcParent :: Lens' ProjectsProFilesCreate Text
gen/Network/Google/Resource/CloudProFiler/Projects/ProFiles/CreateOffline.hs view
@@ -66,7 +66,8 @@ -- the server records it. -- -- /See:/ 'projectsProFilesCreateOffline' smart constructor.-data ProjectsProFilesCreateOffline = ProjectsProFilesCreateOffline'+data ProjectsProFilesCreateOffline =+ ProjectsProFilesCreateOffline' { _ppfcoParent :: !Text , _ppfcoXgafv :: !(Maybe Xgafv) , _ppfcoUploadProtocol :: !(Maybe Text)@@ -74,8 +75,10 @@ , _ppfcoUploadType :: !(Maybe Text) , _ppfcoPayload :: !ProFile , _ppfcoCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsProFilesCreateOffline' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -98,7 +101,7 @@ -> ProFile -- ^ 'ppfcoPayload' -> ProjectsProFilesCreateOffline projectsProFilesCreateOffline pPpfcoParent_ pPpfcoPayload_ =- ProjectsProFilesCreateOffline'+ ProjectsProFilesCreateOffline' { _ppfcoParent = pPpfcoParent_ , _ppfcoXgafv = Nothing , _ppfcoUploadProtocol = Nothing@@ -107,6 +110,7 @@ , _ppfcoPayload = pPpfcoPayload_ , _ppfcoCallback = Nothing }+ -- | Parent project to create the profile in. ppfcoParent :: Lens' ProjectsProFilesCreateOffline Text
gen/Network/Google/Resource/CloudProFiler/Projects/ProFiles/Patch.hs view
@@ -69,7 +69,8 @@ -- content must be provided at the time of the profile creation. -- -- /See:/ 'projectsProFilesPatch' smart constructor.-data ProjectsProFilesPatch = ProjectsProFilesPatch'+data ProjectsProFilesPatch =+ ProjectsProFilesPatch' { _ppfpXgafv :: !(Maybe Xgafv) , _ppfpUploadProtocol :: !(Maybe Text) , _ppfpUpdateMask :: !(Maybe GFieldMask)@@ -78,8 +79,10 @@ , _ppfpPayload :: !ProFile , _ppfpName :: !Text , _ppfpCallback :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProjectsProFilesPatch' 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 -- ^ 'ppfpName' -> ProjectsProFilesPatch projectsProFilesPatch pPpfpPayload_ pPpfpName_ =- ProjectsProFilesPatch'+ ProjectsProFilesPatch' { _ppfpXgafv = Nothing , _ppfpUploadProtocol = Nothing , _ppfpUpdateMask = Nothing@@ -114,6 +117,7 @@ , _ppfpName = pPpfpName_ , _ppfpCallback = Nothing }+ -- | V1 error format. ppfpXgafv :: Lens' ProjectsProFilesPatch (Maybe Xgafv)
gogol-cloudprofiler.cabal view
@@ -1,5 +1,5 @@ name: gogol-cloudprofiler-version: 0.4.0+version: 0.5.0 synopsis: Google Stackdriver Profiler SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -44,5 +44,5 @@ , Network.Google.CloudProFiler.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5