summaryrefslogtreecommitdiff
path: root/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs
diff options
context:
space:
mode:
authorBrendanHay <>2019-08-23 07:38:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-08-23 07:38:00 (GMT)
commit0af3651629f3e89aa162b41a30b0053fbed90862 (patch)
tree59ff9350963a013659ac088f4b1e824af3e35805 /gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs
parent0631d46cd089382f5521238cbe93c6e551d2ee6e (diff)
version 0.5.0HEAD0.5.0master
Diffstat (limited to 'gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs')
-rw-r--r--gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs10
1 files changed, 7 insertions, 3 deletions
diff --git a/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs b/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs
index f24cdea..2ece42c 100644
--- a/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs
+++ b/gen/Network/Google/Resource/Dataflow/Projects/Jobs/Snapshot.hs
@@ -66,7 +66,8 @@ type ProjectsJobsSnapshotResource =
-- | Snapshot the state of a streaming job.
--
-- /See:/ 'projectsJobsSnapshot' smart constructor.
-data ProjectsJobsSnapshot = ProjectsJobsSnapshot'
+data ProjectsJobsSnapshot =
+ ProjectsJobsSnapshot'
{ _pjsXgafv :: !(Maybe Xgafv)
, _pjsJobId :: !Text
, _pjsUploadProtocol :: !(Maybe Text)
@@ -75,7 +76,9 @@ data ProjectsJobsSnapshot = ProjectsJobsSnapshot'
, _pjsPayload :: !SnapshotJobRequest
, _pjsProjectId :: !Text
, _pjsCallback :: !(Maybe Text)
- } deriving (Eq,Show,Data,Typeable,Generic)
+ }
+ deriving (Eq, Show, Data, Typeable, Generic)
+
-- | Creates a value of 'ProjectsJobsSnapshot' with the minimum fields required to make a request.
--
@@ -102,7 +105,7 @@ projectsJobsSnapshot
-> Text -- ^ 'pjsProjectId'
-> ProjectsJobsSnapshot
projectsJobsSnapshot pPjsJobId_ pPjsPayload_ pPjsProjectId_ =
- ProjectsJobsSnapshot'
+ ProjectsJobsSnapshot'
{ _pjsXgafv = Nothing
, _pjsJobId = pPjsJobId_
, _pjsUploadProtocol = Nothing
@@ -113,6 +116,7 @@ projectsJobsSnapshot pPjsJobId_ pPjsPayload_ pPjsProjectId_ =
, _pjsCallback = Nothing
}
+
-- | V1 error format.
pjsXgafv :: Lens' ProjectsJobsSnapshot (Maybe Xgafv)
pjsXgafv = lens _pjsXgafv (\ s a -> s{_pjsXgafv = a})