openSUSE Commits
Threads by month
- ----- 2024 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2017
- 1 participants
- 2097 discussions
Hello community,
here is the log from the commit of package ghc-gogol-classroom for openSUSE:Factory checked in at 2017-08-31 20:52:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-classroom (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-classroom.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-classroom"
Thu Aug 31 20:52:31 2017 rev:2 rq:513287 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-classroom/ghc-gogol-classroom.changes 2017-05-10 20:39:30.312078989 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-classroom.new/ghc-gogol-classroom.changes 2017-08-31 20:52:31.728586662 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:12 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-classroom-0.1.1.tar.gz
New:
----
gogol-classroom-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-classroom.spec ++++++
--- /var/tmp/diff_new_pack.49ZMOc/_old 2017-08-31 20:52:32.532473817 +0200
+++ /var/tmp/diff_new_pack.49ZMOc/_new 2017-08-31 20:52:32.536473256 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-classroom
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Classroom SDK
License: MPL-2.0
++++++ gogol-classroom-0.1.1.tar.gz -> gogol-classroom-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/README.md new/gogol-classroom-0.3.0/README.md
--- old/gogol-classroom-0.1.1/README.md 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/README.md 2017-07-12 16:45:05.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Classroom/Types/Product.hs new/gogol-classroom-0.3.0/gen/Network/Google/Classroom/Types/Product.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Classroom/Types/Product.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Classroom/Types/Product.hs 2017-07-12 16:45:05.000000000 +0200
@@ -188,8 +188,7 @@
mapping _Coerce
-- | Type of this course work. The type is set when the course work is
--- created and cannot be changed. When creating course work, this must be
--- \`ASSIGNMENT\`.
+-- created and cannot be changed.
cwWorkType :: Lens' CourseWork (Maybe Text)
cwWorkType
= lens _cwWorkType (\ s a -> s{_cwWorkType = a})
@@ -213,8 +212,11 @@
cwUpdateTime
= lens _cwUpdateTime (\ s a -> s{_cwUpdateTime = a})
--- | Multiple choice question details. This is populated only when
--- \`work_type\` is \`MULTIPLE_CHOICE_QUESTION\`.
+-- | Multiple choice question details. For read operations, this field is
+-- populated only when \`work_type\` is \`MULTIPLE_CHOICE_QUESTION\`. For
+-- write operations, this field must be specified when creating course work
+-- with a \`work_type\` of \`MULTIPLE_CHOICE_QUESTION\`, and it must not be
+-- set otherwise.
cwMultipleChoiceQuestion :: Lens' CourseWork (Maybe MultipleChoiceQuestion)
cwMultipleChoiceQuestion
= lens _cwMultipleChoiceQuestion
@@ -251,7 +253,7 @@
(\ s a -> s{_cwAlternateLink = a})
-- | Assignment details. This is populated only when \`work_type\` is
--- \`ASSIGNMENT\`.
+-- \`ASSIGNMENT\`. Read-only.
cwAssignment :: Lens' CourseWork (Maybe Assignment)
cwAssignment
= lens _cwAssignment (\ s a -> s{_cwAssignment = a})
@@ -694,11 +696,11 @@
}
-- | Attachments added by the student. Drive files that correspond to
--- materials with a share mode of SUBMISSION_COPY may not exist yet if the
+-- materials with a share mode of STUDENT_COPY may not exist yet if the
-- student has not accessed the assignment in Classroom. Some attachment
-- metadata is only populated if the requesting user has permission to
--- access it. Identifier and alternate_link fields are available, but
--- others (e.g. title) may not be.
+-- access it. Identifier and alternate_link fields are always available,
+-- but others (e.g. title) may not be.
asAttachments :: Lens' AssignmentSubmission [Attachment]
asAttachments
= lens _asAttachments
@@ -738,7 +740,7 @@
}
-- | Attachments to add. A student submission may not have more than 20
--- attachments. This may only contain link attachments.
+-- attachments. Form attachments are not supported.
marAddAttachments :: Lens' ModifyAttachmentsRequest [Attachment]
marAddAttachments
= lens _marAddAttachments
@@ -814,8 +816,8 @@
("studentSubmissions" .=) <$>
_lssrStudentSubmissions])
--- | Material attached to course work. When creating attachments, only the
--- Link field may be specified.
+-- | Material attached to course work. When creating attachments, setting the
+-- \`form\` field is not supported.
--
-- /See:/ 'material' smart constructor.
data Material = Material'
@@ -851,7 +853,8 @@
mDriveFile
= lens _mDriveFile (\ s a -> s{_mDriveFile = a})
--- | Link material.
+-- | Link material. On creation, will be upgraded to a more appropriate type
+-- if possible, and this will be reflected in the response.
mLink :: Lens' Material (Maybe Link)
mLink = lens _mLink (\ s a -> s{_mLink = a})
@@ -1214,7 +1217,7 @@
("id" .=) <$> _iId])
-- | Attachment added to student assignment work. When creating attachments,
--- only the Link field may be specified.
+-- setting the \`form\` field is not supported.
--
-- /See:/ 'attachment' smart constructor.
data Attachment = Attachment'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Classroom.hs new/gogol-classroom-0.3.0/gen/Network/Google/Classroom.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Classroom.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Classroom.hs 2017-07-12 16:45:05.000000000 +0200
@@ -53,12 +53,18 @@
-- ** classroom.courses.courseWork.create
, module Network.Google.Resource.Classroom.Courses.CourseWork.Create
+ -- ** classroom.courses.courseWork.delete
+ , module Network.Google.Resource.Classroom.Courses.CourseWork.Delete
+
-- ** classroom.courses.courseWork.get
, module Network.Google.Resource.Classroom.Courses.CourseWork.Get
-- ** classroom.courses.courseWork.list
, module Network.Google.Resource.Classroom.Courses.CourseWork.List
+ -- ** classroom.courses.courseWork.patch
+ , module Network.Google.Resource.Classroom.Courses.CourseWork.Patch
+
-- ** classroom.courses.courseWork.studentSubmissions.get
, module Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get
@@ -487,8 +493,10 @@
import Network.Google.Resource.Classroom.Courses.Aliases.Delete
import Network.Google.Resource.Classroom.Courses.Aliases.List
import Network.Google.Resource.Classroom.Courses.CourseWork.Create
+import Network.Google.Resource.Classroom.Courses.CourseWork.Delete
import Network.Google.Resource.Classroom.Courses.CourseWork.Get
import Network.Google.Resource.Classroom.Courses.CourseWork.List
+import Network.Google.Resource.Classroom.Courses.CourseWork.Patch
import Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get
import Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.List
import Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.ModifyAttachments
@@ -547,8 +555,10 @@
:<|>
CoursesCourseWorkStudentSubmissionsModifyAttachmentsResource
:<|> CoursesCourseWorkListResource
+ :<|> CoursesCourseWorkPatchResource
:<|> CoursesCourseWorkGetResource
:<|> CoursesCourseWorkCreateResource
+ :<|> CoursesCourseWorkDeleteResource
:<|> CoursesTeachersListResource
:<|> CoursesTeachersGetResource
:<|> CoursesTeachersCreateResource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Create.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Create.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Create.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Create.hs 2017-07-12 16:45:05.000000000 +0200
@@ -29,8 +29,10 @@
-- Developer Console project. This method returns the following error
-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
-- to access the requested course, create course work in the requested
--- course, or for access errors. * \`INVALID_ARGUMENT\` if the request is
--- malformed. * \`NOT_FOUND\` if the requested course does not exist.
+-- course, share a Drive attachment, or for access errors. *
+-- \`INVALID_ARGUMENT\` if the request is malformed. * \`NOT_FOUND\` if the
+-- requested course does not exist. * \`FAILED_PRECONDITION\` for the
+-- following request error: * AttachmentNotVisible
--
-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference> for @classroom.courses.courseWork.create@.
module Network.Google.Resource.Classroom.Courses.CourseWork.Create
@@ -84,8 +86,10 @@
-- Developer Console project. This method returns the following error
-- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
-- to access the requested course, create course work in the requested
--- course, or for access errors. * \`INVALID_ARGUMENT\` if the request is
--- malformed. * \`NOT_FOUND\` if the requested course does not exist.
+-- course, share a Drive attachment, or for access errors. *
+-- \`INVALID_ARGUMENT\` if the request is malformed. * \`NOT_FOUND\` if the
+-- requested course does not exist. * \`FAILED_PRECONDITION\` for the
+-- following request error: * AttachmentNotVisible
--
-- /See:/ 'coursesCourseWorkCreate' smart constructor.
data CoursesCourseWorkCreate = CoursesCourseWorkCreate'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Delete.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Delete.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Delete.hs 1970-01-01 01:00:00.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Delete.hs 2017-07-12 16:45:05.000000000 +0200
@@ -0,0 +1,202 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE DeriveDataTypeable #-}
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+
+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- |
+-- Module : Network.Google.Resource.Classroom.Courses.CourseWork.Delete
+-- Copyright : (c) 2015-2016 Brendan Hay
+-- License : Mozilla Public License, v. 2.0.
+-- Maintainer : Brendan Hay <brendan.g.hay(a)gmail.com>
+-- Stability : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+-- Deletes a course work. This request must be made by the Developer
+-- Console project of the [OAuth client
+-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
+-- the corresponding course work item. This method returns the following
+-- error codes: * \`PERMISSION_DENIED\` if the requesting developer project
+-- did not create the corresponding course work, if the requesting user is
+-- not permitted to delete the requested course or for access errors. *
+-- \`FAILED_PRECONDITION\` if the requested course work has already been
+-- deleted. * \`NOT_FOUND\` if no course exists with the requested ID.
+--
+-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference> for @classroom.courses.courseWork.delete@.
+module Network.Google.Resource.Classroom.Courses.CourseWork.Delete
+ (
+ -- * REST Resource
+ CoursesCourseWorkDeleteResource
+
+ -- * Creating a Request
+ , coursesCourseWorkDelete
+ , CoursesCourseWorkDelete
+
+ -- * Request Lenses
+ , ccwdXgafv
+ , ccwdUploadProtocol
+ , ccwdPp
+ , ccwdCourseId
+ , ccwdAccessToken
+ , ccwdUploadType
+ , ccwdBearerToken
+ , ccwdId
+ , ccwdCallback
+ ) where
+
+import Network.Google.Classroom.Types
+import Network.Google.Prelude
+
+-- | A resource alias for @classroom.courses.courseWork.delete@ method which the
+-- 'CoursesCourseWorkDelete' request conforms to.
+type CoursesCourseWorkDeleteResource =
+ "v1" :>
+ "courses" :>
+ Capture "courseId" Text :>
+ "courseWork" :>
+ Capture "id" Text :>
+ QueryParam "$.xgafv" Text :>
+ QueryParam "upload_protocol" Text :>
+ QueryParam "pp" Bool :>
+ QueryParam "access_token" Text :>
+ QueryParam "uploadType" Text :>
+ QueryParam "bearer_token" Text :>
+ QueryParam "callback" Text :>
+ QueryParam "alt" AltJSON :> Delete '[JSON] Empty
+
+-- | Deletes a course work. This request must be made by the Developer
+-- Console project of the [OAuth client
+-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
+-- the corresponding course work item. This method returns the following
+-- error codes: * \`PERMISSION_DENIED\` if the requesting developer project
+-- did not create the corresponding course work, if the requesting user is
+-- not permitted to delete the requested course or for access errors. *
+-- \`FAILED_PRECONDITION\` if the requested course work has already been
+-- deleted. * \`NOT_FOUND\` if no course exists with the requested ID.
+--
+-- /See:/ 'coursesCourseWorkDelete' smart constructor.
+data CoursesCourseWorkDelete = CoursesCourseWorkDelete'
+ { _ccwdXgafv :: !(Maybe Text)
+ , _ccwdUploadProtocol :: !(Maybe Text)
+ , _ccwdPp :: !Bool
+ , _ccwdCourseId :: !Text
+ , _ccwdAccessToken :: !(Maybe Text)
+ , _ccwdUploadType :: !(Maybe Text)
+ , _ccwdBearerToken :: !(Maybe Text)
+ , _ccwdId :: !Text
+ , _ccwdCallback :: !(Maybe Text)
+ } deriving (Eq,Show,Data,Typeable,Generic)
+
+-- | Creates a value of 'CoursesCourseWorkDelete' with the minimum fields required to make a request.
+--
+-- Use one of the following lenses to modify other fields as desired:
+--
+-- * 'ccwdXgafv'
+--
+-- * 'ccwdUploadProtocol'
+--
+-- * 'ccwdPp'
+--
+-- * 'ccwdCourseId'
+--
+-- * 'ccwdAccessToken'
+--
+-- * 'ccwdUploadType'
+--
+-- * 'ccwdBearerToken'
+--
+-- * 'ccwdId'
+--
+-- * 'ccwdCallback'
+coursesCourseWorkDelete
+ :: Text -- ^ 'ccwdCourseId'
+ -> Text -- ^ 'ccwdId'
+ -> CoursesCourseWorkDelete
+coursesCourseWorkDelete pCcwdCourseId_ pCcwdId_ =
+ CoursesCourseWorkDelete'
+ { _ccwdXgafv = Nothing
+ , _ccwdUploadProtocol = Nothing
+ , _ccwdPp = True
+ , _ccwdCourseId = pCcwdCourseId_
+ , _ccwdAccessToken = Nothing
+ , _ccwdUploadType = Nothing
+ , _ccwdBearerToken = Nothing
+ , _ccwdId = pCcwdId_
+ , _ccwdCallback = Nothing
+ }
+
+-- | V1 error format.
+ccwdXgafv :: Lens' CoursesCourseWorkDelete (Maybe Text)
+ccwdXgafv
+ = lens _ccwdXgafv (\ s a -> s{_ccwdXgafv = a})
+
+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
+ccwdUploadProtocol :: Lens' CoursesCourseWorkDelete (Maybe Text)
+ccwdUploadProtocol
+ = lens _ccwdUploadProtocol
+ (\ s a -> s{_ccwdUploadProtocol = a})
+
+-- | Pretty-print response.
+ccwdPp :: Lens' CoursesCourseWorkDelete Bool
+ccwdPp = lens _ccwdPp (\ s a -> s{_ccwdPp = a})
+
+-- | Identifier of the course. This identifier can be either the
+-- Classroom-assigned identifier or an alias.
+ccwdCourseId :: Lens' CoursesCourseWorkDelete Text
+ccwdCourseId
+ = lens _ccwdCourseId (\ s a -> s{_ccwdCourseId = a})
+
+-- | OAuth access token.
+ccwdAccessToken :: Lens' CoursesCourseWorkDelete (Maybe Text)
+ccwdAccessToken
+ = lens _ccwdAccessToken
+ (\ s a -> s{_ccwdAccessToken = a})
+
+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
+ccwdUploadType :: Lens' CoursesCourseWorkDelete (Maybe Text)
+ccwdUploadType
+ = lens _ccwdUploadType
+ (\ s a -> s{_ccwdUploadType = a})
+
+-- | OAuth bearer token.
+ccwdBearerToken :: Lens' CoursesCourseWorkDelete (Maybe Text)
+ccwdBearerToken
+ = lens _ccwdBearerToken
+ (\ s a -> s{_ccwdBearerToken = a})
+
+-- | Identifier of the course work to delete. This identifier is a
+-- Classroom-assigned identifier.
+ccwdId :: Lens' CoursesCourseWorkDelete Text
+ccwdId = lens _ccwdId (\ s a -> s{_ccwdId = a})
+
+-- | JSONP
+ccwdCallback :: Lens' CoursesCourseWorkDelete (Maybe Text)
+ccwdCallback
+ = lens _ccwdCallback (\ s a -> s{_ccwdCallback = a})
+
+instance GoogleRequest CoursesCourseWorkDelete where
+ type Rs CoursesCourseWorkDelete = Empty
+ type Scopes CoursesCourseWorkDelete =
+ '["https://www.googleapis.com/auth/classroom.coursework.students"]
+ requestClient CoursesCourseWorkDelete'{..}
+ = go _ccwdCourseId _ccwdId _ccwdXgafv
+ _ccwdUploadProtocol
+ (Just _ccwdPp)
+ _ccwdAccessToken
+ _ccwdUploadType
+ _ccwdBearerToken
+ _ccwdCallback
+ (Just AltJSON)
+ classroomService
+ where go
+ = buildClient
+ (Proxy :: Proxy CoursesCourseWorkDeleteResource)
+ mempty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Patch.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Patch.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Patch.hs 1970-01-01 01:00:00.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/Patch.hs 2017-07-12 16:45:05.000000000 +0200
@@ -0,0 +1,244 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE DeriveDataTypeable #-}
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+
+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- |
+-- Module : Network.Google.Resource.Classroom.Courses.CourseWork.Patch
+-- Copyright : (c) 2015-2016 Brendan Hay
+-- License : Mozilla Public License, v. 2.0.
+-- Maintainer : Brendan Hay <brendan.g.hay(a)gmail.com>
+-- Stability : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+-- Updates one or more fields of a course work. See
+-- google.classroom.v1.CourseWork for details of which fields may be
+-- updated and who may change them. This request must be made by the
+-- Developer Console project of the [OAuth client
+-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
+-- the corresponding course work item. This method returns the following
+-- error codes: * \`PERMISSION_DENIED\` if the requesting developer project
+-- did not create the corresponding course work, if the user is not
+-- permitted to make the requested modification to the student submission,
+-- or for access errors. * \`INVALID_ARGUMENT\` if the request is
+-- malformed. * \`FAILED_PRECONDITION\` if the requested course work has
+-- already been deleted. * \`NOT_FOUND\` if the requested course, course
+-- work, or student submission does not exist.
+--
+-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference> for @classroom.courses.courseWork.patch@.
+module Network.Google.Resource.Classroom.Courses.CourseWork.Patch
+ (
+ -- * REST Resource
+ CoursesCourseWorkPatchResource
+
+ -- * Creating a Request
+ , coursesCourseWorkPatch
+ , CoursesCourseWorkPatch
+
+ -- * Request Lenses
+ , ccwpXgafv
+ , ccwpUploadProtocol
+ , ccwpUpdateMask
+ , ccwpPp
+ , ccwpCourseId
+ , ccwpAccessToken
+ , ccwpUploadType
+ , ccwpPayload
+ , ccwpBearerToken
+ , ccwpId
+ , ccwpCallback
+ ) where
+
+import Network.Google.Classroom.Types
+import Network.Google.Prelude
+
+-- | A resource alias for @classroom.courses.courseWork.patch@ method which the
+-- 'CoursesCourseWorkPatch' request conforms to.
+type CoursesCourseWorkPatchResource =
+ "v1" :>
+ "courses" :>
+ Capture "courseId" Text :>
+ "courseWork" :>
+ Capture "id" Text :>
+ QueryParam "$.xgafv" Text :>
+ QueryParam "upload_protocol" Text :>
+ QueryParam "updateMask" Text :>
+ QueryParam "pp" Bool :>
+ QueryParam "access_token" Text :>
+ QueryParam "uploadType" Text :>
+ QueryParam "bearer_token" Text :>
+ QueryParam "callback" Text :>
+ QueryParam "alt" AltJSON :>
+ ReqBody '[JSON] CourseWork :>
+ Patch '[JSON] CourseWork
+
+-- | Updates one or more fields of a course work. See
+-- google.classroom.v1.CourseWork for details of which fields may be
+-- updated and who may change them. This request must be made by the
+-- Developer Console project of the [OAuth client
+-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
+-- the corresponding course work item. This method returns the following
+-- error codes: * \`PERMISSION_DENIED\` if the requesting developer project
+-- did not create the corresponding course work, if the user is not
+-- permitted to make the requested modification to the student submission,
+-- or for access errors. * \`INVALID_ARGUMENT\` if the request is
+-- malformed. * \`FAILED_PRECONDITION\` if the requested course work has
+-- already been deleted. * \`NOT_FOUND\` if the requested course, course
+-- work, or student submission does not exist.
+--
+-- /See:/ 'coursesCourseWorkPatch' smart constructor.
+data CoursesCourseWorkPatch = CoursesCourseWorkPatch'
+ { _ccwpXgafv :: !(Maybe Text)
+ , _ccwpUploadProtocol :: !(Maybe Text)
+ , _ccwpUpdateMask :: !(Maybe Text)
+ , _ccwpPp :: !Bool
+ , _ccwpCourseId :: !Text
+ , _ccwpAccessToken :: !(Maybe Text)
+ , _ccwpUploadType :: !(Maybe Text)
+ , _ccwpPayload :: !CourseWork
+ , _ccwpBearerToken :: !(Maybe Text)
+ , _ccwpId :: !Text
+ , _ccwpCallback :: !(Maybe Text)
+ } deriving (Eq,Show,Data,Typeable,Generic)
+
+-- | Creates a value of 'CoursesCourseWorkPatch' with the minimum fields required to make a request.
+--
+-- Use one of the following lenses to modify other fields as desired:
+--
+-- * 'ccwpXgafv'
+--
+-- * 'ccwpUploadProtocol'
+--
+-- * 'ccwpUpdateMask'
+--
+-- * 'ccwpPp'
+--
+-- * 'ccwpCourseId'
+--
+-- * 'ccwpAccessToken'
+--
+-- * 'ccwpUploadType'
+--
+-- * 'ccwpPayload'
+--
+-- * 'ccwpBearerToken'
+--
+-- * 'ccwpId'
+--
+-- * 'ccwpCallback'
+coursesCourseWorkPatch
+ :: Text -- ^ 'ccwpCourseId'
+ -> CourseWork -- ^ 'ccwpPayload'
+ -> Text -- ^ 'ccwpId'
+ -> CoursesCourseWorkPatch
+coursesCourseWorkPatch pCcwpCourseId_ pCcwpPayload_ pCcwpId_ =
+ CoursesCourseWorkPatch'
+ { _ccwpXgafv = Nothing
+ , _ccwpUploadProtocol = Nothing
+ , _ccwpUpdateMask = Nothing
+ , _ccwpPp = True
+ , _ccwpCourseId = pCcwpCourseId_
+ , _ccwpAccessToken = Nothing
+ , _ccwpUploadType = Nothing
+ , _ccwpPayload = pCcwpPayload_
+ , _ccwpBearerToken = Nothing
+ , _ccwpId = pCcwpId_
+ , _ccwpCallback = Nothing
+ }
+
+-- | V1 error format.
+ccwpXgafv :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpXgafv
+ = lens _ccwpXgafv (\ s a -> s{_ccwpXgafv = a})
+
+-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
+ccwpUploadProtocol :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpUploadProtocol
+ = lens _ccwpUploadProtocol
+ (\ s a -> s{_ccwpUploadProtocol = a})
+
+-- | Mask that identifies which fields on the course work to update. This
+-- field is required to do an update. The update fails if invalid fields
+-- are specified. If a field supports empty values, it can be cleared by
+-- specifying it in the update mask and not in the CourseWork object. If a
+-- field that does not support empty values is included in the update mask
+-- and not set in the CourseWork object, an \`INVALID_ARGUMENT\` error will
+-- be returned. The following fields may be specified by teachers: *
+-- \`title\` * \`description\` * \`state\` * \`due_date\` * \`due_time\` *
+-- \`max_points\` * \`submission_modification_mode\`
+ccwpUpdateMask :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpUpdateMask
+ = lens _ccwpUpdateMask
+ (\ s a -> s{_ccwpUpdateMask = a})
+
+-- | Pretty-print response.
+ccwpPp :: Lens' CoursesCourseWorkPatch Bool
+ccwpPp = lens _ccwpPp (\ s a -> s{_ccwpPp = a})
+
+-- | Identifier of the course. This identifier can be either the
+-- Classroom-assigned identifier or an alias.
+ccwpCourseId :: Lens' CoursesCourseWorkPatch Text
+ccwpCourseId
+ = lens _ccwpCourseId (\ s a -> s{_ccwpCourseId = a})
+
+-- | OAuth access token.
+ccwpAccessToken :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpAccessToken
+ = lens _ccwpAccessToken
+ (\ s a -> s{_ccwpAccessToken = a})
+
+-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
+ccwpUploadType :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpUploadType
+ = lens _ccwpUploadType
+ (\ s a -> s{_ccwpUploadType = a})
+
+-- | Multipart request metadata.
+ccwpPayload :: Lens' CoursesCourseWorkPatch CourseWork
+ccwpPayload
+ = lens _ccwpPayload (\ s a -> s{_ccwpPayload = a})
+
+-- | OAuth bearer token.
+ccwpBearerToken :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpBearerToken
+ = lens _ccwpBearerToken
+ (\ s a -> s{_ccwpBearerToken = a})
+
+-- | Identifier of the course work.
+ccwpId :: Lens' CoursesCourseWorkPatch Text
+ccwpId = lens _ccwpId (\ s a -> s{_ccwpId = a})
+
+-- | JSONP
+ccwpCallback :: Lens' CoursesCourseWorkPatch (Maybe Text)
+ccwpCallback
+ = lens _ccwpCallback (\ s a -> s{_ccwpCallback = a})
+
+instance GoogleRequest CoursesCourseWorkPatch where
+ type Rs CoursesCourseWorkPatch = CourseWork
+ type Scopes CoursesCourseWorkPatch =
+ '["https://www.googleapis.com/auth/classroom.coursework.students"]
+ requestClient CoursesCourseWorkPatch'{..}
+ = go _ccwpCourseId _ccwpId _ccwpXgafv
+ _ccwpUploadProtocol
+ _ccwpUpdateMask
+ (Just _ccwpPp)
+ _ccwpAccessToken
+ _ccwpUploadType
+ _ccwpBearerToken
+ _ccwpCallback
+ (Just AltJSON)
+ _ccwpPayload
+ classroomService
+ where go
+ = buildClient
+ (Proxy :: Proxy CoursesCourseWorkPatchResource)
+ mempty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/ModifyAttachments.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/ModifyAttachments.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/ModifyAttachments.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/ModifyAttachments.hs 2017-07-12 16:45:05.000000000 +0200
@@ -21,8 +21,9 @@
-- Portability : non-portable (GHC extensions)
--
-- Modifies attachments of student submission. Attachments may only be
--- added to student submissions whose type is \`ASSIGNMENT\`. This request
--- must be made by the Developer Console project of the [OAuth client
+-- added to student submissions belonging to course work objects with a
+-- \`workType\` of \`ASSIGNMENT\`. This request must be made by the
+-- Developer Console project of the [OAuth client
-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
-- the corresponding course work item. This method returns the following
-- error codes: * \`PERMISSION_DENIED\` if the requesting user is not
@@ -82,8 +83,9 @@
Post '[JSON] StudentSubmission
-- | Modifies attachments of student submission. Attachments may only be
--- added to student submissions whose type is \`ASSIGNMENT\`. This request
--- must be made by the Developer Console project of the [OAuth client
+-- added to student submissions belonging to course work objects with a
+-- \`workType\` of \`ASSIGNMENT\`. This request must be made by the
+-- Developer Console project of the [OAuth client
-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
-- the corresponding course work item. This method returns the following
-- error codes: * \`PERMISSION_DENIED\` if the requesting user is not
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/Reclaim.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/Reclaim.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/Reclaim.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/Courses/CourseWork/StudentSubmissions/Reclaim.hs 2017-07-12 16:45:05.000000000 +0200
@@ -23,7 +23,7 @@
-- Reclaims a student submission on behalf of the student that owns it.
-- Reclaiming a student submission transfers ownership of attached Drive
-- files to the student and update the submission state. Only the student
--- that ownes the requested student submission may call this method, and
+-- that owns the requested student submission may call this method, and
-- only for a student submission that has been turned in. This request must
-- be made by the Developer Console project of the [OAuth client
-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
@@ -89,7 +89,7 @@
-- | Reclaims a student submission on behalf of the student that owns it.
-- Reclaiming a student submission transfers ownership of attached Drive
-- files to the student and update the submission state. Only the student
--- that ownes the requested student submission may call this method, and
+-- that owns the requested student submission may call this method, and
-- only for a student submission that has been turned in. This request must
-- be made by the Developer Console project of the [OAuth client
-- ID](https:\/\/support.google.com\/cloud\/answer\/6158849) used to create
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/UserProFiles/Get.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/UserProFiles/Get.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/UserProFiles/Get.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/UserProFiles/Get.hs 2017-07-12 16:45:05.000000000 +0200
@@ -22,7 +22,7 @@
--
-- Returns a user profile. This method returns the following error codes: *
-- \`PERMISSION_DENIED\` if the requesting user is not permitted to access
--- this user profile or if no profile exists with the requested ID or for
+-- this user profile, if no profile exists with the requested ID, or for
-- access errors.
--
-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference> for @classroom.userProfiles.get@.
@@ -66,7 +66,7 @@
-- | Returns a user profile. This method returns the following error codes: *
-- \`PERMISSION_DENIED\` if the requesting user is not permitted to access
--- this user profile or if no profile exists with the requested ID or for
+-- this user profile, if no profile exists with the requested ID, or for
-- access errors.
--
-- /See:/ 'userProFilesGet' smart constructor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Delete.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Delete.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Delete.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Delete.hs 2017-07-12 16:45:05.000000000 +0200
@@ -23,14 +23,15 @@
-- Deletes a guardian. The guardian will no longer receive guardian
-- notifications and the guardian will no longer be accessible via the API.
-- This method returns the following error codes: * \`PERMISSION_DENIED\`
--- if the requesting user is not permitted to manage guardians for the
--- student identified by the \`student_id\`, if guardians are not enabled
--- for the domain in question, or for other access errors. *
--- \`INVALID_ARGUMENT\` if a \`student_id\` is specified, but its format
+-- if no user that matches the provided \`student_id\` is visible to the
+-- requesting user, if the requesting user is not permitted to manage
+-- guardians for the student identified by the \`student_id\`, if guardians
+-- are not enabled for the domain in question, or for other access errors.
+-- * \`INVALID_ARGUMENT\` if a \`student_id\` is specified, but its format
-- cannot be recognized (it is not an email address, nor a \`student_id\`
--- from the API). * \`NOT_FOUND\` if Classroom cannot find any record of
--- the given \`student_id\` or \`guardian_id\`, or if the guardian has
--- already been disabled.
+-- from the API). * \`NOT_FOUND\` if the requesting user is permitted to
+-- modify guardians for the requested \`student_id\`, but no \`Guardian\`
+-- record exists for that student with the provided \`guardian_id\`.
--
-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference> for @classroom.userProfiles.guardians.delete@.
module Network.Google.Resource.Classroom.UserProFiles.Guardians.Delete
@@ -77,14 +78,15 @@
-- | Deletes a guardian. The guardian will no longer receive guardian
-- notifications and the guardian will no longer be accessible via the API.
-- This method returns the following error codes: * \`PERMISSION_DENIED\`
--- if the requesting user is not permitted to manage guardians for the
--- student identified by the \`student_id\`, if guardians are not enabled
--- for the domain in question, or for other access errors. *
--- \`INVALID_ARGUMENT\` if a \`student_id\` is specified, but its format
+-- if no user that matches the provided \`student_id\` is visible to the
+-- requesting user, if the requesting user is not permitted to manage
+-- guardians for the student identified by the \`student_id\`, if guardians
+-- are not enabled for the domain in question, or for other access errors.
+-- * \`INVALID_ARGUMENT\` if a \`student_id\` is specified, but its format
-- cannot be recognized (it is not an email address, nor a \`student_id\`
--- from the API). * \`NOT_FOUND\` if Classroom cannot find any record of
--- the given \`student_id\` or \`guardian_id\`, or if the guardian has
--- already been disabled.
+-- from the API). * \`NOT_FOUND\` if the requesting user is permitted to
+-- modify guardians for the requested \`student_id\`, but no \`Guardian\`
+-- record exists for that student with the provided \`guardian_id\`.
--
-- /See:/ 'userProFilesGuardiansDelete' smart constructor.
data UserProFilesGuardiansDelete = UserProFilesGuardiansDelete'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Get.hs new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Get.hs
--- old/gogol-classroom-0.1.1/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Get.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gen/Network/Google/Resource/Classroom/UserProFiles/Guardians/Get.hs 2017-07-12 16:45:05.000000000 +0200
@@ -21,14 +21,17 @@
-- Portability : non-portable (GHC extensions)
--
-- Returns a specific guardian. This method returns the following error
--- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
--- to view guardian information for the student identified by the
--- \`student_id\`, if guardians are not enabled for the domain in question,
--- or for other access errors. * \`INVALID_ARGUMENT\` if a \`student_id\`
--- is specified, but its format cannot be recognized (it is not an email
--- address, nor a \`student_id\` from the API, nor the literal string
--- \`me\`). * \`NOT_FOUND\` if Classroom cannot find any record of the
--- given student or \`guardian_id\`, or if the guardian has been disabled.
+-- codes: * \`PERMISSION_DENIED\` if no user that matches the provided
+-- \`student_id\` is visible to the requesting user, if the requesting user
+-- is not permitted to view guardian information for the student identified
+-- by the \`student_id\`, if guardians are not enabled for the domain in
+-- question, or for other access errors. * \`INVALID_ARGUMENT\` if a
+-- \`student_id\` is specified, but its format cannot be recognized (it is
+-- not an email address, nor a \`student_id\` from the API, nor the literal
+-- string \`me\`). * \`NOT_FOUND\` if the requesting user is permitted to
+-- view guardians for the requested \`student_id\`, but no \`Guardian\`
+-- record exists for that student that matches the provided
+-- \`guardian_id\`.
--
-- /See:/ <https://developers.google.com/classroom/ Google Classroom API Reference> for @classroom.userProfiles.guardians.get@.
module Network.Google.Resource.Classroom.UserProFiles.Guardians.Get
@@ -73,14 +76,17 @@
QueryParam "alt" AltJSON :> Get '[JSON] Guardian
-- | Returns a specific guardian. This method returns the following error
--- codes: * \`PERMISSION_DENIED\` if the requesting user is not permitted
--- to view guardian information for the student identified by the
--- \`student_id\`, if guardians are not enabled for the domain in question,
--- or for other access errors. * \`INVALID_ARGUMENT\` if a \`student_id\`
--- is specified, but its format cannot be recognized (it is not an email
--- address, nor a \`student_id\` from the API, nor the literal string
--- \`me\`). * \`NOT_FOUND\` if Classroom cannot find any record of the
--- given student or \`guardian_id\`, or if the guardian has been disabled.
+-- codes: * \`PERMISSION_DENIED\` if no user that matches the provided
+-- \`student_id\` is visible to the requesting user, if the requesting user
+-- is not permitted to view guardian information for the student identified
+-- by the \`student_id\`, if guardians are not enabled for the domain in
+-- question, or for other access errors. * \`INVALID_ARGUMENT\` if a
+-- \`student_id\` is specified, but its format cannot be recognized (it is
+-- not an email address, nor a \`student_id\` from the API, nor the literal
+-- string \`me\`). * \`NOT_FOUND\` if the requesting user is permitted to
+-- view guardians for the requested \`student_id\`, but no \`Guardian\`
+-- record exists for that student that matches the provided
+-- \`guardian_id\`.
--
-- /See:/ 'userProFilesGuardiansGet' smart constructor.
data UserProFilesGuardiansGet = UserProFilesGuardiansGet'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-classroom-0.1.1/gogol-classroom.cabal new/gogol-classroom-0.3.0/gogol-classroom.cabal
--- old/gogol-classroom-0.1.1/gogol-classroom.cabal 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-classroom-0.3.0/gogol-classroom.cabal 2017-07-12 16:45:05.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-classroom
-version: 0.1.1
+version: 0.3.0
synopsis: Google Classroom SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -39,8 +39,10 @@
, Network.Google.Resource.Classroom.Courses.Aliases.Delete
, Network.Google.Resource.Classroom.Courses.Aliases.List
, Network.Google.Resource.Classroom.Courses.CourseWork.Create
+ , Network.Google.Resource.Classroom.Courses.CourseWork.Delete
, Network.Google.Resource.Classroom.Courses.CourseWork.Get
, Network.Google.Resource.Classroom.Courses.CourseWork.List
+ , Network.Google.Resource.Classroom.Courses.CourseWork.Patch
, Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get
, Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.List
, Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.ModifyAttachments
@@ -81,5 +83,5 @@
, Network.Google.Classroom.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-civicinfo for openSUSE:Factory checked in at 2017-08-31 20:52:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-civicinfo (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-civicinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-civicinfo"
Thu Aug 31 20:52:29 2017 rev:2 rq:513286 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-civicinfo/ghc-gogol-civicinfo.changes 2017-05-10 20:39:27.388491491 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-civicinfo.new/ghc-gogol-civicinfo.changes 2017-08-31 20:52:30.536753963 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:44 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-civicinfo-0.1.1.tar.gz
New:
----
gogol-civicinfo-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-civicinfo.spec ++++++
--- /var/tmp/diff_new_pack.6kYS8W/_old 2017-08-31 20:52:31.432628206 +0200
+++ /var/tmp/diff_new_pack.6kYS8W/_new 2017-08-31 20:52:31.432628206 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-civicinfo
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Civic Information SDK
License: MPL-2.0
++++++ gogol-civicinfo-0.1.1.tar.gz -> gogol-civicinfo-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-civicinfo-0.1.1/README.md new/gogol-civicinfo-0.3.0/README.md
--- old/gogol-civicinfo-0.1.1/README.md 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-civicinfo-0.3.0/README.md 2017-07-12 16:45:05.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-civicinfo-0.1.1/gen/Network/Google/CivicInfo/Types/Product.hs new/gogol-civicinfo-0.3.0/gen/Network/Google/CivicInfo/Types/Product.hs
--- old/gogol-civicinfo-0.1.1/gen/Network/Google/CivicInfo/Types/Product.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-civicinfo-0.3.0/gen/Network/Google/CivicInfo/Types/Product.hs 2017-07-12 16:45:05.000000000 +0200
@@ -899,6 +899,73 @@
("divisions" .=) <$> _rirDivisions,
("offices" .=) <$> _rirOffices])
+--
+-- /See:/ 'voterInfoSegmentResult' smart constructor.
+data VoterInfoSegmentResult = VoterInfoSegmentResult'
+ { _visrResponse :: !(Maybe VoterInfoResponse)
+ , _visrGeneratedMillis :: !(Maybe (Textual Int64))
+ , _visrPostalAddress :: !(Maybe PostalAddress)
+ , _visrRequest :: !(Maybe VoterInfoRequest)
+ } deriving (Eq,Show,Data,Typeable,Generic)
+
+-- | Creates a value of 'VoterInfoSegmentResult' with the minimum fields required to make a request.
+--
+-- Use one of the following lenses to modify other fields as desired:
+--
+-- * 'visrResponse'
+--
+-- * 'visrGeneratedMillis'
+--
+-- * 'visrPostalAddress'
+--
+-- * 'visrRequest'
+voterInfoSegmentResult
+ :: VoterInfoSegmentResult
+voterInfoSegmentResult =
+ VoterInfoSegmentResult'
+ { _visrResponse = Nothing
+ , _visrGeneratedMillis = Nothing
+ , _visrPostalAddress = Nothing
+ , _visrRequest = Nothing
+ }
+
+visrResponse :: Lens' VoterInfoSegmentResult (Maybe VoterInfoResponse)
+visrResponse
+ = lens _visrResponse (\ s a -> s{_visrResponse = a})
+
+visrGeneratedMillis :: Lens' VoterInfoSegmentResult (Maybe Int64)
+visrGeneratedMillis
+ = lens _visrGeneratedMillis
+ (\ s a -> s{_visrGeneratedMillis = a})
+ . mapping _Coerce
+
+visrPostalAddress :: Lens' VoterInfoSegmentResult (Maybe PostalAddress)
+visrPostalAddress
+ = lens _visrPostalAddress
+ (\ s a -> s{_visrPostalAddress = a})
+
+visrRequest :: Lens' VoterInfoSegmentResult (Maybe VoterInfoRequest)
+visrRequest
+ = lens _visrRequest (\ s a -> s{_visrRequest = a})
+
+instance FromJSON VoterInfoSegmentResult where
+ parseJSON
+ = withObject "VoterInfoSegmentResult"
+ (\ o ->
+ VoterInfoSegmentResult' <$>
+ (o .:? "response") <*> (o .:? "generatedMillis") <*>
+ (o .:? "postalAddress")
+ <*> (o .:? "request"))
+
+instance ToJSON VoterInfoSegmentResult where
+ toJSON VoterInfoSegmentResult'{..}
+ = object
+ (catMaybes
+ [("response" .=) <$> _visrResponse,
+ ("generatedMillis" .=) <$> _visrGeneratedMillis,
+ ("postalAddress" .=) <$> _visrPostalAddress,
+ ("request" .=) <$> _visrRequest])
+
-- | Represents a political geographic division that matches the requested
-- query.
--
@@ -1988,22 +2055,31 @@
-- | A request for information about a voter.
--
-- /See:/ 'voterInfoRequest' smart constructor.
-newtype VoterInfoRequest = VoterInfoRequest'
- { _virContextParams :: Maybe ContextParams
+data VoterInfoRequest = VoterInfoRequest'
+ { _virVoterInfoSegmentResult :: !(Maybe VoterInfoSegmentResult)
+ , _virContextParams :: !(Maybe ContextParams)
} deriving (Eq,Show,Data,Typeable,Generic)
-- | Creates a value of 'VoterInfoRequest' with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
+-- * 'virVoterInfoSegmentResult'
+--
-- * 'virContextParams'
voterInfoRequest
:: VoterInfoRequest
voterInfoRequest =
VoterInfoRequest'
- { _virContextParams = Nothing
+ { _virVoterInfoSegmentResult = Nothing
+ , _virContextParams = Nothing
}
+virVoterInfoSegmentResult :: Lens' VoterInfoRequest (Maybe VoterInfoSegmentResult)
+virVoterInfoSegmentResult
+ = lens _virVoterInfoSegmentResult
+ (\ s a -> s{_virVoterInfoSegmentResult = a})
+
virContextParams :: Lens' VoterInfoRequest (Maybe ContextParams)
virContextParams
= lens _virContextParams
@@ -2013,13 +2089,17 @@
parseJSON
= withObject "VoterInfoRequest"
(\ o ->
- VoterInfoRequest' <$> (o .:? "contextParams"))
+ VoterInfoRequest' <$>
+ (o .:? "voterInfoSegmentResult") <*>
+ (o .:? "contextParams"))
instance ToJSON VoterInfoRequest where
toJSON VoterInfoRequest'{..}
= object
(catMaybes
- [("contextParams" .=) <$> _virContextParams])
+ [("voterInfoSegmentResult" .=) <$>
+ _virVoterInfoSegmentResult,
+ ("contextParams" .=) <$> _virContextParams])
-- | A simple representation of an address.
--
@@ -2150,6 +2230,391 @@
(catMaybes
[("clientProfile" .=) <$> _cpClientProFile])
+--
+-- /See:/ 'postalAddress' smart constructor.
+data PostalAddress = PostalAddress'
+ { _paAdministrativeAreaName :: !(Maybe Text)
+ , _paRecipientName :: !(Maybe Text)
+ , _paLanguageCode :: !(Maybe Text)
+ , _paSortingCode :: !(Maybe Text)
+ , _paPremiseName :: !(Maybe Text)
+ , _paPostalCodeNumberExtension :: !(Maybe Text)
+ , _paCountryNameCode :: !(Maybe Text)
+ , _paDependentThoroughfaresConnector :: !(Maybe Text)
+ , _paThoroughfareLeadingType :: !(Maybe Text)
+ , _paSubAdministrativeAreaName :: !(Maybe Text)
+ , _paThoroughfareTrailingType :: !(Maybe Text)
+ , _paPostBoxNumber :: !(Maybe Text)
+ , _paThoroughfarePreDirection :: !(Maybe Text)
+ , _paLocalityName :: !(Maybe Text)
+ , _paDependentThoroughfaresType :: !(Maybe Text)
+ , _paThoroughfarePostDirection :: !(Maybe Text)
+ , _paIsDisputed :: !(Maybe Bool)
+ , _paDependentThoroughfarePreDirection :: !(Maybe Text)
+ , _paThoroughfareNumber :: !(Maybe Text)
+ , _paDependentThoroughfaresIndicator :: !(Maybe Text)
+ , _paDependentLocalityName :: !(Maybe Text)
+ , _paFirmName :: !(Maybe Text)
+ , _paCountryName :: !(Maybe Text)
+ , _paDependentThoroughfareTrailingType :: !(Maybe Text)
+ , _paDependentThoroughfareName :: !(Maybe Text)
+ , _paDependentThoroughfarePostDirection :: !(Maybe Text)
+ , _paAddressLines :: !(Maybe [Text])
+ , _paPostalCodeNumber :: !(Maybe Text)
+ , _paThoroughfareName :: !(Maybe Text)
+ , _paSubPremiseName :: !(Maybe Text)
+ , _paDependentThoroughfareLeadingType :: !(Maybe Text)
+ } deriving (Eq,Show,Data,Typeable,Generic)
+
+-- | Creates a value of 'PostalAddress' with the minimum fields required to make a request.
+--
+-- Use one of the following lenses to modify other fields as desired:
+--
+-- * 'paAdministrativeAreaName'
+--
+-- * 'paRecipientName'
+--
+-- * 'paLanguageCode'
+--
+-- * 'paSortingCode'
+--
+-- * 'paPremiseName'
+--
+-- * 'paPostalCodeNumberExtension'
+--
+-- * 'paCountryNameCode'
+--
+-- * 'paDependentThoroughfaresConnector'
+--
+-- * 'paThoroughfareLeadingType'
+--
+-- * 'paSubAdministrativeAreaName'
+--
+-- * 'paThoroughfareTrailingType'
+--
+-- * 'paPostBoxNumber'
+--
+-- * 'paThoroughfarePreDirection'
+--
+-- * 'paLocalityName'
+--
+-- * 'paDependentThoroughfaresType'
+--
+-- * 'paThoroughfarePostDirection'
+--
+-- * 'paIsDisputed'
+--
+-- * 'paDependentThoroughfarePreDirection'
+--
+-- * 'paThoroughfareNumber'
+--
+-- * 'paDependentThoroughfaresIndicator'
+--
+-- * 'paDependentLocalityName'
+--
+-- * 'paFirmName'
+--
+-- * 'paCountryName'
+--
+-- * 'paDependentThoroughfareTrailingType'
+--
+-- * 'paDependentThoroughfareName'
+--
+-- * 'paDependentThoroughfarePostDirection'
+--
+-- * 'paAddressLines'
+--
+-- * 'paPostalCodeNumber'
+--
+-- * 'paThoroughfareName'
+--
+-- * 'paSubPremiseName'
+--
+-- * 'paDependentThoroughfareLeadingType'
+postalAddress
+ :: PostalAddress
+postalAddress =
+ PostalAddress'
+ { _paAdministrativeAreaName = Nothing
+ , _paRecipientName = Nothing
+ , _paLanguageCode = Nothing
+ , _paSortingCode = Nothing
+ , _paPremiseName = Nothing
+ , _paPostalCodeNumberExtension = Nothing
+ , _paCountryNameCode = Nothing
+ , _paDependentThoroughfaresConnector = Nothing
+ , _paThoroughfareLeadingType = Nothing
+ , _paSubAdministrativeAreaName = Nothing
+ , _paThoroughfareTrailingType = Nothing
+ , _paPostBoxNumber = Nothing
+ , _paThoroughfarePreDirection = Nothing
+ , _paLocalityName = Nothing
+ , _paDependentThoroughfaresType = Nothing
+ , _paThoroughfarePostDirection = Nothing
+ , _paIsDisputed = Nothing
+ , _paDependentThoroughfarePreDirection = Nothing
+ , _paThoroughfareNumber = Nothing
+ , _paDependentThoroughfaresIndicator = Nothing
+ , _paDependentLocalityName = Nothing
+ , _paFirmName = Nothing
+ , _paCountryName = Nothing
+ , _paDependentThoroughfareTrailingType = Nothing
+ , _paDependentThoroughfareName = Nothing
+ , _paDependentThoroughfarePostDirection = Nothing
+ , _paAddressLines = Nothing
+ , _paPostalCodeNumber = Nothing
+ , _paThoroughfareName = Nothing
+ , _paSubPremiseName = Nothing
+ , _paDependentThoroughfareLeadingType = Nothing
+ }
+
+paAdministrativeAreaName :: Lens' PostalAddress (Maybe Text)
+paAdministrativeAreaName
+ = lens _paAdministrativeAreaName
+ (\ s a -> s{_paAdministrativeAreaName = a})
+
+paRecipientName :: Lens' PostalAddress (Maybe Text)
+paRecipientName
+ = lens _paRecipientName
+ (\ s a -> s{_paRecipientName = a})
+
+paLanguageCode :: Lens' PostalAddress (Maybe Text)
+paLanguageCode
+ = lens _paLanguageCode
+ (\ s a -> s{_paLanguageCode = a})
+
+paSortingCode :: Lens' PostalAddress (Maybe Text)
+paSortingCode
+ = lens _paSortingCode
+ (\ s a -> s{_paSortingCode = a})
+
+paPremiseName :: Lens' PostalAddress (Maybe Text)
+paPremiseName
+ = lens _paPremiseName
+ (\ s a -> s{_paPremiseName = a})
+
+paPostalCodeNumberExtension :: Lens' PostalAddress (Maybe Text)
+paPostalCodeNumberExtension
+ = lens _paPostalCodeNumberExtension
+ (\ s a -> s{_paPostalCodeNumberExtension = a})
+
+paCountryNameCode :: Lens' PostalAddress (Maybe Text)
+paCountryNameCode
+ = lens _paCountryNameCode
+ (\ s a -> s{_paCountryNameCode = a})
+
+paDependentThoroughfaresConnector :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfaresConnector
+ = lens _paDependentThoroughfaresConnector
+ (\ s a -> s{_paDependentThoroughfaresConnector = a})
+
+paThoroughfareLeadingType :: Lens' PostalAddress (Maybe Text)
+paThoroughfareLeadingType
+ = lens _paThoroughfareLeadingType
+ (\ s a -> s{_paThoroughfareLeadingType = a})
+
+paSubAdministrativeAreaName :: Lens' PostalAddress (Maybe Text)
+paSubAdministrativeAreaName
+ = lens _paSubAdministrativeAreaName
+ (\ s a -> s{_paSubAdministrativeAreaName = a})
+
+paThoroughfareTrailingType :: Lens' PostalAddress (Maybe Text)
+paThoroughfareTrailingType
+ = lens _paThoroughfareTrailingType
+ (\ s a -> s{_paThoroughfareTrailingType = a})
+
+paPostBoxNumber :: Lens' PostalAddress (Maybe Text)
+paPostBoxNumber
+ = lens _paPostBoxNumber
+ (\ s a -> s{_paPostBoxNumber = a})
+
+paThoroughfarePreDirection :: Lens' PostalAddress (Maybe Text)
+paThoroughfarePreDirection
+ = lens _paThoroughfarePreDirection
+ (\ s a -> s{_paThoroughfarePreDirection = a})
+
+paLocalityName :: Lens' PostalAddress (Maybe Text)
+paLocalityName
+ = lens _paLocalityName
+ (\ s a -> s{_paLocalityName = a})
+
+paDependentThoroughfaresType :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfaresType
+ = lens _paDependentThoroughfaresType
+ (\ s a -> s{_paDependentThoroughfaresType = a})
+
+paThoroughfarePostDirection :: Lens' PostalAddress (Maybe Text)
+paThoroughfarePostDirection
+ = lens _paThoroughfarePostDirection
+ (\ s a -> s{_paThoroughfarePostDirection = a})
+
+paIsDisputed :: Lens' PostalAddress (Maybe Bool)
+paIsDisputed
+ = lens _paIsDisputed (\ s a -> s{_paIsDisputed = a})
+
+paDependentThoroughfarePreDirection :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfarePreDirection
+ = lens _paDependentThoroughfarePreDirection
+ (\ s a ->
+ s{_paDependentThoroughfarePreDirection = a})
+
+paThoroughfareNumber :: Lens' PostalAddress (Maybe Text)
+paThoroughfareNumber
+ = lens _paThoroughfareNumber
+ (\ s a -> s{_paThoroughfareNumber = a})
+
+paDependentThoroughfaresIndicator :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfaresIndicator
+ = lens _paDependentThoroughfaresIndicator
+ (\ s a -> s{_paDependentThoroughfaresIndicator = a})
+
+paDependentLocalityName :: Lens' PostalAddress (Maybe Text)
+paDependentLocalityName
+ = lens _paDependentLocalityName
+ (\ s a -> s{_paDependentLocalityName = a})
+
+paFirmName :: Lens' PostalAddress (Maybe Text)
+paFirmName
+ = lens _paFirmName (\ s a -> s{_paFirmName = a})
+
+paCountryName :: Lens' PostalAddress (Maybe Text)
+paCountryName
+ = lens _paCountryName
+ (\ s a -> s{_paCountryName = a})
+
+paDependentThoroughfareTrailingType :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfareTrailingType
+ = lens _paDependentThoroughfareTrailingType
+ (\ s a ->
+ s{_paDependentThoroughfareTrailingType = a})
+
+paDependentThoroughfareName :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfareName
+ = lens _paDependentThoroughfareName
+ (\ s a -> s{_paDependentThoroughfareName = a})
+
+paDependentThoroughfarePostDirection :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfarePostDirection
+ = lens _paDependentThoroughfarePostDirection
+ (\ s a ->
+ s{_paDependentThoroughfarePostDirection = a})
+
+paAddressLines :: Lens' PostalAddress [Text]
+paAddressLines
+ = lens _paAddressLines
+ (\ s a -> s{_paAddressLines = a})
+ . _Default
+ . _Coerce
+
+paPostalCodeNumber :: Lens' PostalAddress (Maybe Text)
+paPostalCodeNumber
+ = lens _paPostalCodeNumber
+ (\ s a -> s{_paPostalCodeNumber = a})
+
+paThoroughfareName :: Lens' PostalAddress (Maybe Text)
+paThoroughfareName
+ = lens _paThoroughfareName
+ (\ s a -> s{_paThoroughfareName = a})
+
+paSubPremiseName :: Lens' PostalAddress (Maybe Text)
+paSubPremiseName
+ = lens _paSubPremiseName
+ (\ s a -> s{_paSubPremiseName = a})
+
+paDependentThoroughfareLeadingType :: Lens' PostalAddress (Maybe Text)
+paDependentThoroughfareLeadingType
+ = lens _paDependentThoroughfareLeadingType
+ (\ s a -> s{_paDependentThoroughfareLeadingType = a})
+
+instance FromJSON PostalAddress where
+ parseJSON
+ = withObject "PostalAddress"
+ (\ o ->
+ PostalAddress' <$>
+ (o .:? "administrativeAreaName") <*>
+ (o .:? "recipientName")
+ <*> (o .:? "languageCode")
+ <*> (o .:? "sortingCode")
+ <*> (o .:? "premiseName")
+ <*> (o .:? "postalCodeNumberExtension")
+ <*> (o .:? "countryNameCode")
+ <*> (o .:? "dependentThoroughfaresConnector")
+ <*> (o .:? "thoroughfareLeadingType")
+ <*> (o .:? "subAdministrativeAreaName")
+ <*> (o .:? "thoroughfareTrailingType")
+ <*> (o .:? "postBoxNumber")
+ <*> (o .:? "thoroughfarePreDirection")
+ <*> (o .:? "localityName")
+ <*> (o .:? "dependentThoroughfaresType")
+ <*> (o .:? "thoroughfarePostDirection")
+ <*> (o .:? "isDisputed")
+ <*> (o .:? "dependentThoroughfarePreDirection")
+ <*> (o .:? "thoroughfareNumber")
+ <*> (o .:? "dependentThoroughfaresIndicator")
+ <*> (o .:? "dependentLocalityName")
+ <*> (o .:? "firmName")
+ <*> (o .:? "countryName")
+ <*> (o .:? "dependentThoroughfareTrailingType")
+ <*> (o .:? "dependentThoroughfareName")
+ <*> (o .:? "dependentThoroughfarePostDirection")
+ <*> (o .:? "addressLines" .!= mempty)
+ <*> (o .:? "postalCodeNumber")
+ <*> (o .:? "thoroughfareName")
+ <*> (o .:? "subPremiseName")
+ <*> (o .:? "dependentThoroughfareLeadingType"))
+
+instance ToJSON PostalAddress where
+ toJSON PostalAddress'{..}
+ = object
+ (catMaybes
+ [("administrativeAreaName" .=) <$>
+ _paAdministrativeAreaName,
+ ("recipientName" .=) <$> _paRecipientName,
+ ("languageCode" .=) <$> _paLanguageCode,
+ ("sortingCode" .=) <$> _paSortingCode,
+ ("premiseName" .=) <$> _paPremiseName,
+ ("postalCodeNumberExtension" .=) <$>
+ _paPostalCodeNumberExtension,
+ ("countryNameCode" .=) <$> _paCountryNameCode,
+ ("dependentThoroughfaresConnector" .=) <$>
+ _paDependentThoroughfaresConnector,
+ ("thoroughfareLeadingType" .=) <$>
+ _paThoroughfareLeadingType,
+ ("subAdministrativeAreaName" .=) <$>
+ _paSubAdministrativeAreaName,
+ ("thoroughfareTrailingType" .=) <$>
+ _paThoroughfareTrailingType,
+ ("postBoxNumber" .=) <$> _paPostBoxNumber,
+ ("thoroughfarePreDirection" .=) <$>
+ _paThoroughfarePreDirection,
+ ("localityName" .=) <$> _paLocalityName,
+ ("dependentThoroughfaresType" .=) <$>
+ _paDependentThoroughfaresType,
+ ("thoroughfarePostDirection" .=) <$>
+ _paThoroughfarePostDirection,
+ ("isDisputed" .=) <$> _paIsDisputed,
+ ("dependentThoroughfarePreDirection" .=) <$>
+ _paDependentThoroughfarePreDirection,
+ ("thoroughfareNumber" .=) <$> _paThoroughfareNumber,
+ ("dependentThoroughfaresIndicator" .=) <$>
+ _paDependentThoroughfaresIndicator,
+ ("dependentLocalityName" .=) <$>
+ _paDependentLocalityName,
+ ("firmName" .=) <$> _paFirmName,
+ ("countryName" .=) <$> _paCountryName,
+ ("dependentThoroughfareTrailingType" .=) <$>
+ _paDependentThoroughfareTrailingType,
+ ("dependentThoroughfareName" .=) <$>
+ _paDependentThoroughfareName,
+ ("dependentThoroughfarePostDirection" .=) <$>
+ _paDependentThoroughfarePostDirection,
+ ("addressLines" .=) <$> _paAddressLines,
+ ("postalCodeNumber" .=) <$> _paPostalCodeNumber,
+ ("thoroughfareName" .=) <$> _paThoroughfareName,
+ ("subPremiseName" .=) <$> _paSubPremiseName,
+ ("dependentThoroughfareLeadingType" .=) <$>
+ _paDependentThoroughfareLeadingType])
+
-- | Describes information about a regional election administrative area.
--
-- /See:/ 'administrationRegion' smart constructor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-civicinfo-0.1.1/gen/Network/Google/CivicInfo/Types.hs new/gogol-civicinfo-0.3.0/gen/Network/Google/CivicInfo/Types.hs
--- old/gogol-civicinfo-0.1.1/gen/Network/Google/CivicInfo/Types.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-civicinfo-0.3.0/gen/Network/Google/CivicInfo/Types.hs 2017-07-12 16:45:05.000000000 +0200
@@ -118,6 +118,14 @@
, rirDivisions
, rirOffices
+ -- * VoterInfoSegmentResult
+ , VoterInfoSegmentResult
+ , voterInfoSegmentResult
+ , visrResponse
+ , visrGeneratedMillis
+ , visrPostalAddress
+ , visrRequest
+
-- * DivisionSearchResult
, DivisionSearchResult
, divisionSearchResult
@@ -233,6 +241,7 @@
-- * VoterInfoRequest
, VoterInfoRequest
, voterInfoRequest
+ , virVoterInfoSegmentResult
, virContextParams
-- * SimpleAddressType
@@ -251,6 +260,41 @@
, contextParams
, cpClientProFile
+ -- * PostalAddress
+ , PostalAddress
+ , postalAddress
+ , paAdministrativeAreaName
+ , paRecipientName
+ , paLanguageCode
+ , paSortingCode
+ , paPremiseName
+ , paPostalCodeNumberExtension
+ , paCountryNameCode
+ , paDependentThoroughfaresConnector
+ , paThoroughfareLeadingType
+ , paSubAdministrativeAreaName
+ , paThoroughfareTrailingType
+ , paPostBoxNumber
+ , paThoroughfarePreDirection
+ , paLocalityName
+ , paDependentThoroughfaresType
+ , paThoroughfarePostDirection
+ , paIsDisputed
+ , paDependentThoroughfarePreDirection
+ , paThoroughfareNumber
+ , paDependentThoroughfaresIndicator
+ , paDependentLocalityName
+ , paFirmName
+ , paCountryName
+ , paDependentThoroughfareTrailingType
+ , paDependentThoroughfareName
+ , paDependentThoroughfarePostDirection
+ , paAddressLines
+ , paPostalCodeNumber
+ , paThoroughfareName
+ , paSubPremiseName
+ , paDependentThoroughfareLeadingType
+
-- * AdministrationRegion
, AdministrationRegion
, administrationRegion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-civicinfo-0.1.1/gen/Network/Google/CivicInfo.hs new/gogol-civicinfo-0.3.0/gen/Network/Google/CivicInfo.hs
--- old/gogol-civicinfo-0.1.1/gen/Network/Google/CivicInfo.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-civicinfo-0.3.0/gen/Network/Google/CivicInfo.hs 2017-07-12 16:45:05.000000000 +0200
@@ -144,6 +144,14 @@
, rirDivisions
, rirOffices
+ -- ** VoterInfoSegmentResult
+ , VoterInfoSegmentResult
+ , voterInfoSegmentResult
+ , visrResponse
+ , visrGeneratedMillis
+ , visrPostalAddress
+ , visrRequest
+
-- ** DivisionSearchResult
, DivisionSearchResult
, divisionSearchResult
@@ -259,6 +267,7 @@
-- ** VoterInfoRequest
, VoterInfoRequest
, voterInfoRequest
+ , virVoterInfoSegmentResult
, virContextParams
-- ** SimpleAddressType
@@ -277,6 +286,41 @@
, contextParams
, cpClientProFile
+ -- ** PostalAddress
+ , PostalAddress
+ , postalAddress
+ , paAdministrativeAreaName
+ , paRecipientName
+ , paLanguageCode
+ , paSortingCode
+ , paPremiseName
+ , paPostalCodeNumberExtension
+ , paCountryNameCode
+ , paDependentThoroughfaresConnector
+ , paThoroughfareLeadingType
+ , paSubAdministrativeAreaName
+ , paThoroughfareTrailingType
+ , paPostBoxNumber
+ , paThoroughfarePreDirection
+ , paLocalityName
+ , paDependentThoroughfaresType
+ , paThoroughfarePostDirection
+ , paIsDisputed
+ , paDependentThoroughfarePreDirection
+ , paThoroughfareNumber
+ , paDependentThoroughfaresIndicator
+ , paDependentLocalityName
+ , paFirmName
+ , paCountryName
+ , paDependentThoroughfareTrailingType
+ , paDependentThoroughfareName
+ , paDependentThoroughfarePostDirection
+ , paAddressLines
+ , paPostalCodeNumber
+ , paThoroughfareName
+ , paSubPremiseName
+ , paDependentThoroughfareLeadingType
+
-- ** AdministrationRegion
, AdministrationRegion
, administrationRegion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-civicinfo-0.1.1/gogol-civicinfo.cabal new/gogol-civicinfo-0.3.0/gogol-civicinfo.cabal
--- old/gogol-civicinfo-0.1.1/gogol-civicinfo.cabal 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-civicinfo-0.3.0/gogol-civicinfo.cabal 2017-07-12 16:45:05.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-civicinfo
-version: 0.1.1
+version: 0.3.0
synopsis: Google Civic Information SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -48,5 +48,5 @@
, Network.Google.CivicInfo.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-books for openSUSE:Factory checked in at 2017-08-31 20:52:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-books (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-books.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-books"
Thu Aug 31 20:52:27 2017 rev:2 rq:513285 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-books/ghc-gogol-books.changes 2017-05-10 20:39:20.773424838 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-books.new/ghc-gogol-books.changes 2017-08-31 20:52:27.717149761 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:03 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-books-0.1.1.tar.gz
New:
----
gogol-books-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-books.spec ++++++
--- /var/tmp/diff_new_pack.Zm1Ndb/_old 2017-08-31 20:52:28.569030179 +0200
+++ /var/tmp/diff_new_pack.Zm1Ndb/_new 2017-08-31 20:52:28.589027373 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-books
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Books SDK
License: MPL-2.0
++++++ gogol-books-0.1.1.tar.gz -> gogol-books-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-books-0.1.1/README.md new/gogol-books-0.3.0/README.md
--- old/gogol-books-0.1.1/README.md 2016-11-03 14:26:28.000000000 +0100
+++ new/gogol-books-0.3.0/README.md 2017-07-12 16:51:29.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-books-0.1.1/gen/Network/Google/Books/Types/Product.hs new/gogol-books-0.3.0/gen/Network/Google/Books/Types/Product.hs
--- old/gogol-books-0.1.1/gen/Network/Google/Books/Types/Product.hs 2016-11-03 14:26:28.000000000 +0100
+++ new/gogol-books-0.3.0/gen/Network/Google/Books/Types/Product.hs 2017-07-12 16:51:29.000000000 +0200
@@ -404,7 +404,7 @@
--
-- /See:/ 'annotationData' smart constructor.
data AnnotationData = AnnotationData'
- { _annEncodedData :: !(Maybe Base64)
+ { _annEncodedData :: !(Maybe Bytes)
, _annKind :: !Text
, _annData :: !(Maybe JSONValue)
, _annSelfLink :: !(Maybe Text)
@@ -456,7 +456,7 @@
annEncodedData
= lens _annEncodedData
(\ s a -> s{_annEncodedData = a})
- . mapping _Base64
+ . mapping _Bytes
-- | Resource Type
annKind :: Lens' AnnotationData Text
@@ -2401,6 +2401,7 @@
, _nReason :: !(Maybe Text)
, _nDontShowNotification :: !(Maybe Bool)
, _nNotificationType :: !(Maybe Text)
+ , _nNotificationGroup :: !(Maybe Text)
, _nIconURL :: !(Maybe Text)
, _nTitle :: !(Maybe Text)
} deriving (Eq,Show,Data,Typeable,Generic)
@@ -2431,6 +2432,8 @@
--
-- * 'nNotificationType'
--
+-- * 'nNotificationGroup'
+--
-- * 'nIconURL'
--
-- * 'nTitle'
@@ -2449,6 +2452,7 @@
, _nReason = Nothing
, _nDontShowNotification = Nothing
, _nNotificationType = Nothing
+ , _nNotificationGroup = Nothing
, _nIconURL = Nothing
, _nTitle = Nothing
}
@@ -2500,6 +2504,11 @@
= lens _nNotificationType
(\ s a -> s{_nNotificationType = a})
+nNotificationGroup :: Lens' Notification (Maybe Text)
+nNotificationGroup
+ = lens _nNotificationGroup
+ (\ s a -> s{_nNotificationGroup = a})
+
nIconURL :: Lens' Notification (Maybe Text)
nIconURL = lens _nIconURL (\ s a -> s{_nIconURL = a})
@@ -2521,6 +2530,7 @@
<*> (o .:? "reason")
<*> (o .:? "dont_show_notification")
<*> (o .:? "notification_type")
+ <*> (o .:? "notificationGroup")
<*> (o .:? "iconUrl")
<*> (o .:? "title"))
@@ -2540,6 +2550,7 @@
("dont_show_notification" .=) <$>
_nDontShowNotification,
("notification_type" .=) <$> _nNotificationType,
+ ("notificationGroup" .=) <$> _nNotificationGroup,
("iconUrl" .=) <$> _nIconURL,
("title" .=) <$> _nTitle])
@@ -3300,8 +3311,6 @@
sKind :: Lens' Series Text
sKind = lens _sKind (\ s a -> s{_sKind = a})
--- | Series info list. The client always expects this element in the JSON
--- output, hence declared here as OutputAlways.
sSeries :: Lens' Series [SeriesSeriesItem]
sSeries
= lens _sSeries (\ s a -> s{_sSeries = a}) . _Default
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-books-0.1.1/gen/Network/Google/Books/Types.hs new/gogol-books-0.3.0/gen/Network/Google/Books/Types.hs
--- old/gogol-books-0.1.1/gen/Network/Google/Books/Types.hs 2016-11-03 14:26:28.000000000 +0100
+++ new/gogol-books-0.3.0/gen/Network/Google/Books/Types.hs 2017-07-12 16:51:29.000000000 +0200
@@ -299,6 +299,7 @@
, nReason
, nDontShowNotification
, nNotificationType
+ , nNotificationGroup
, nIconURL
, nTitle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-books-0.1.1/gen/Network/Google/Books.hs new/gogol-books-0.3.0/gen/Network/Google/Books.hs
--- old/gogol-books-0.1.1/gen/Network/Google/Books.hs 2016-11-03 14:26:28.000000000 +0100
+++ new/gogol-books-0.3.0/gen/Network/Google/Books.hs 2017-07-12 16:51:29.000000000 +0200
@@ -452,6 +452,7 @@
, nReason
, nDontShowNotification
, nNotificationType
+ , nNotificationGroup
, nIconURL
, nTitle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-books-0.1.1/gogol-books.cabal new/gogol-books-0.3.0/gogol-books.cabal
--- old/gogol-books-0.1.1/gogol-books.cabal 2016-11-03 14:26:28.000000000 +0100
+++ new/gogol-books-0.3.0/gogol-books.cabal 2017-07-12 16:51:29.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-books
-version: 0.1.1
+version: 0.3.0
synopsis: Google Books SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -89,5 +89,5 @@
, Network.Google.Books.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-blogger for openSUSE:Factory checked in at 2017-08-31 20:52:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-blogger (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-blogger.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-blogger"
Thu Aug 31 20:52:24 2017 rev:2 rq:513284 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-blogger/ghc-gogol-blogger.changes 2017-05-10 20:39:15.246204697 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-blogger.new/ghc-gogol-blogger.changes 2017-08-31 20:52:26.077379941 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:05:04 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-blogger-0.1.1.tar.gz
New:
----
gogol-blogger-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-blogger.spec ++++++
--- /var/tmp/diff_new_pack.4sfErU/_old 2017-08-31 20:52:27.165227236 +0200
+++ /var/tmp/diff_new_pack.4sfErU/_new 2017-08-31 20:52:27.181224991 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-blogger
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Blogger SDK
License: MPL-2.0
++++++ gogol-blogger-0.1.1.tar.gz -> gogol-blogger-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-blogger-0.1.1/README.md new/gogol-blogger-0.3.0/README.md
--- old/gogol-blogger-0.1.1/README.md 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-blogger-0.3.0/README.md 2017-07-12 16:51:30.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-blogger-0.1.1/gogol-blogger.cabal new/gogol-blogger-0.3.0/gogol-blogger.cabal
--- old/gogol-blogger-0.1.1/gogol-blogger.cabal 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-blogger-0.3.0/gogol-blogger.cabal 2017-07-12 16:51:30.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-blogger
-version: 0.1.1
+version: 0.3.0
synopsis: Google Blogger SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -78,5 +78,5 @@
, Network.Google.Blogger.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-billing for openSUSE:Factory checked in at 2017-08-31 20:52:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-billing (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-billing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-billing"
Thu Aug 31 20:52:20 2017 rev:2 rq:513283 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-billing/ghc-gogol-billing.changes 2017-05-10 20:39:12.350613247 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-billing.new/ghc-gogol-billing.changes 2017-08-31 20:52:23.797699948 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:03:01 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-billing-0.1.1.tar.gz
New:
----
gogol-billing-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-billing.spec ++++++
--- /var/tmp/diff_new_pack.g2Y0QX/_old 2017-08-31 20:52:24.893546121 +0200
+++ /var/tmp/diff_new_pack.g2Y0QX/_new 2017-08-31 20:52:24.909543874 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-billing
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Cloud Billing SDK
License: MPL-2.0
++++++ gogol-billing-0.1.1.tar.gz -> gogol-billing-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-billing-0.1.1/README.md new/gogol-billing-0.3.0/README.md
--- old/gogol-billing-0.1.1/README.md 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-billing-0.3.0/README.md 2017-07-12 16:45:05.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-billing-0.1.1/gogol-billing.cabal new/gogol-billing-0.3.0/gogol-billing.cabal
--- old/gogol-billing-0.1.1/gogol-billing.cabal 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-billing-0.3.0/gogol-billing.cabal 2017-07-12 16:45:05.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-billing
-version: 0.1.1
+version: 0.3.0
synopsis: Google Cloud Billing SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -47,5 +47,5 @@
, Network.Google.Billing.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-bigquery for openSUSE:Factory checked in at 2017-08-31 20:52:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-bigquery (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-bigquery.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-bigquery"
Thu Aug 31 20:52:18 2017 rev:2 rq:513282 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-bigquery/ghc-gogol-bigquery.changes 2017-05-10 20:39:08.887101927 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-bigquery.new/ghc-gogol-bigquery.changes 2017-08-31 20:52:20.102218695 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:06:29 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-bigquery-0.1.1.tar.gz
New:
----
gogol-bigquery-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-bigquery.spec ++++++
--- /var/tmp/diff_new_pack.dR6cs1/_old 2017-08-31 20:52:21.026089008 +0200
+++ /var/tmp/diff_new_pack.dR6cs1/_new 2017-08-31 20:52:21.086080586 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-bigquery
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google BigQuery SDK
License: MPL-2.0
++++++ gogol-bigquery-0.1.1.tar.gz -> gogol-bigquery-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-bigquery-0.1.1/README.md new/gogol-bigquery-0.3.0/README.md
--- old/gogol-bigquery-0.1.1/README.md 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-bigquery-0.3.0/README.md 2017-07-12 16:45:06.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-bigquery-0.1.1/gen/Network/Google/BigQuery/Types/Product.hs new/gogol-bigquery-0.3.0/gen/Network/Google/BigQuery/Types/Product.hs
--- old/gogol-bigquery-0.1.1/gen/Network/Google/BigQuery/Types/Product.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-bigquery-0.3.0/gen/Network/Google/BigQuery/Types/Product.hs 2017-07-12 16:45:06.000000000 +0200
@@ -420,6 +420,7 @@
, _tltiFriendlyName :: !(Maybe Text)
, _tltiKind :: !Text
, _tltiId :: !(Maybe Text)
+ , _tltiLabels :: !(Maybe TableListTablesItemLabels)
, _tltiType :: !(Maybe Text)
} deriving (Eq,Show,Data,Typeable,Generic)
@@ -435,6 +436,8 @@
--
-- * 'tltiId'
--
+-- * 'tltiLabels'
+--
-- * 'tltiType'
tableListTablesItem
:: TableListTablesItem
@@ -444,6 +447,7 @@
, _tltiFriendlyName = Nothing
, _tltiKind = "bigquery#table"
, _tltiId = Nothing
+ , _tltiLabels = Nothing
, _tltiType = Nothing
}
@@ -467,6 +471,12 @@
tltiId :: Lens' TableListTablesItem (Maybe Text)
tltiId = lens _tltiId (\ s a -> s{_tltiId = a})
+-- | [Experimental] The labels associated with this table. You can use these
+-- to organize and group your tables.
+tltiLabels :: Lens' TableListTablesItem (Maybe TableListTablesItemLabels)
+tltiLabels
+ = lens _tltiLabels (\ s a -> s{_tltiLabels = a})
+
-- | The type of table. Possible values are: TABLE, VIEW.
tltiType :: Lens' TableListTablesItem (Maybe Text)
tltiType = lens _tltiType (\ s a -> s{_tltiType = a})
@@ -479,6 +489,7 @@
(o .:? "tableReference") <*> (o .:? "friendlyName")
<*> (o .:? "kind" .!= "bigquery#table")
<*> (o .:? "id")
+ <*> (o .:? "labels")
<*> (o .:? "type"))
instance ToJSON TableListTablesItem where
@@ -488,6 +499,7 @@
[("tableReference" .=) <$> _tltiTableReference,
("friendlyName" .=) <$> _tltiFriendlyName,
Just ("kind" .= _tltiKind), ("id" .=) <$> _tltiId,
+ ("labels" .=) <$> _tltiLabels,
("type" .=) <$> _tltiType])
--
@@ -1523,8 +1535,10 @@
tfsName = lens _tfsName (\ s a -> s{_tfsName = a})
-- | [Required] The field data type. Possible values include STRING, BYTES,
--- INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, TIME, DATETIME, or RECORD
--- (where RECORD indicates that the field contains a nested schema).
+-- INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT),
+-- BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD
+-- (where RECORD indicates that the field contains a nested schema) or
+-- STRUCT (same as RECORD).
tfsType :: Lens' TableFieldSchema (Maybe Text)
tfsType = lens _tfsType (\ s a -> s{_tfsType = a})
@@ -1910,8 +1924,9 @@
qrQuery :: Lens' QueryRequest (Maybe Text)
qrQuery = lens _qrQuery (\ s a -> s{_qrQuery = a})
--- | [Experimental] Standard SQL only. Whether to use positional (?) or named
--- (\'myparam) query parameters in this query.
+-- | [Experimental] Standard SQL only. Set to POSITIONAL to use positional
+-- (?) query parameters or to NAMED to use named (\'myparam) query
+-- parameters in this query.
qrParameterMode :: Lens' QueryRequest (Maybe Text)
qrParameterMode
= lens _qrParameterMode
@@ -1929,9 +1944,9 @@
= lens _qrTimeoutMs (\ s a -> s{_qrTimeoutMs = a}) .
mapping _Coerce
--- | [Experimental] Specifies whether to use BigQuery\'s legacy SQL dialect
--- for this query. The default value is true. If set to false, the query
--- will use BigQuery\'s standard SQL:
+-- | Specifies whether to use BigQuery\'s legacy SQL dialect for this query.
+-- The default value is true. If set to false, the query will use
+-- BigQuery\'s standard SQL:
-- https:\/\/cloud.google.com\/bigquery\/sql-reference\/ When useLegacySql
-- is set to false, the values of allowLargeResults and flattenResults are
-- ignored; query will be run as if allowLargeResults is true and
@@ -2138,7 +2153,8 @@
--
-- /See:/ 'explainQueryStage' smart constructor.
data ExplainQueryStage = ExplainQueryStage'
- { _eqsWaitRatioMax :: !(Maybe (Textual Double))
+ { _eqsStatus :: !(Maybe Text)
+ , _eqsWaitRatioMax :: !(Maybe (Textual Double))
, _eqsRecordsWritten :: !(Maybe (Textual Int64))
, _eqsSteps :: !(Maybe [ExplainQueryStep])
, _eqsWriteRatioAvg :: !(Maybe (Textual Double))
@@ -2157,6 +2173,8 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
+-- * 'eqsStatus'
+--
-- * 'eqsWaitRatioMax'
--
-- * 'eqsRecordsWritten'
@@ -2186,7 +2204,8 @@
:: ExplainQueryStage
explainQueryStage =
ExplainQueryStage'
- { _eqsWaitRatioMax = Nothing
+ { _eqsStatus = Nothing
+ , _eqsWaitRatioMax = Nothing
, _eqsRecordsWritten = Nothing
, _eqsSteps = Nothing
, _eqsWriteRatioAvg = Nothing
@@ -2201,6 +2220,11 @@
, _eqsReadRatioAvg = Nothing
}
+-- | Current status for the stage.
+eqsStatus :: Lens' ExplainQueryStage (Maybe Text)
+eqsStatus
+ = lens _eqsStatus (\ s a -> s{_eqsStatus = a})
+
-- | Relative amount of time the slowest shard spent waiting to be scheduled.
eqsWaitRatioMax :: Lens' ExplainQueryStage (Maybe Double)
eqsWaitRatioMax
@@ -2294,7 +2318,8 @@
= withObject "ExplainQueryStage"
(\ o ->
ExplainQueryStage' <$>
- (o .:? "waitRatioMax") <*> (o .:? "recordsWritten")
+ (o .:? "status") <*> (o .:? "waitRatioMax") <*>
+ (o .:? "recordsWritten")
<*> (o .:? "steps" .!= mempty)
<*> (o .:? "writeRatioAvg")
<*> (o .:? "recordsRead")
@@ -2311,7 +2336,8 @@
toJSON ExplainQueryStage'{..}
= object
(catMaybes
- [("waitRatioMax" .=) <$> _eqsWaitRatioMax,
+ [("status" .=) <$> _eqsStatus,
+ ("waitRatioMax" .=) <$> _eqsWaitRatioMax,
("recordsWritten" .=) <$> _eqsRecordsWritten,
("steps" .=) <$> _eqsSteps,
("writeRatioAvg" .=) <$> _eqsWriteRatioAvg,
@@ -2341,12 +2367,13 @@
, _jclAllowQuotedNewlines :: !(Maybe Bool)
, _jclSourceFormat :: !(Maybe Text)
, _jclSchema :: !(Maybe TableSchema)
- , _jclQuote :: !Text
+ , _jclQuote :: !(Maybe Text)
, _jclMaxBadRecords :: !(Maybe (Textual Int32))
, _jclAutodetect :: !(Maybe Bool)
, _jclSourceURIs :: !(Maybe [Text])
, _jclEncoding :: !(Maybe Text)
, _jclFieldDelimiter :: !(Maybe Text)
+ , _jclNullMarker :: !(Maybe Text)
} deriving (Eq,Show,Data,Typeable,Generic)
-- | Creates a value of 'JobConfigurationLoad' with the minimum fields required to make a request.
@@ -2390,6 +2417,8 @@
-- * 'jclEncoding'
--
-- * 'jclFieldDelimiter'
+--
+-- * 'jclNullMarker'
jobConfigurationLoad
:: JobConfigurationLoad
jobConfigurationLoad =
@@ -2407,12 +2436,13 @@
, _jclAllowQuotedNewlines = Nothing
, _jclSourceFormat = Nothing
, _jclSchema = Nothing
- , _jclQuote = "\""
+ , _jclQuote = Nothing
, _jclMaxBadRecords = Nothing
, _jclAutodetect = Nothing
, _jclSourceURIs = Nothing
, _jclEncoding = Nothing
, _jclFieldDelimiter = Nothing
+ , _jclNullMarker = Nothing
}
-- | [Optional] The number of rows at the top of a CSV file that BigQuery
@@ -2550,7 +2580,7 @@
-- not contain quoted sections, set the property value to an empty string.
-- If your data contains quoted newline characters, you must also set the
-- allowQuotedNewlines property to true.
-jclQuote :: Lens' JobConfigurationLoad Text
+jclQuote :: Lens' JobConfigurationLoad (Maybe Text)
jclQuote = lens _jclQuote (\ s a -> s{_jclQuote = a})
-- | [Optional] The maximum number of bad records that BigQuery can ignore
@@ -2600,6 +2630,18 @@
= lens _jclFieldDelimiter
(\ s a -> s{_jclFieldDelimiter = a})
+-- | [Optional] Specifies a string that represents a null value in a CSV
+-- file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\"
+-- as a null value when loading a CSV file. The default value is the empty
+-- string. If you set this property to a custom value, BigQuery still
+-- interprets the empty string as a null value for all data types except
+-- for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets
+-- the empty string as an empty value.
+jclNullMarker :: Lens' JobConfigurationLoad (Maybe Text)
+jclNullMarker
+ = lens _jclNullMarker
+ (\ s a -> s{_jclNullMarker = a})
+
instance FromJSON JobConfigurationLoad where
parseJSON
= withObject "JobConfigurationLoad"
@@ -2618,12 +2660,13 @@
<*> (o .:? "allowQuotedNewlines")
<*> (o .:? "sourceFormat")
<*> (o .:? "schema")
- <*> (o .:? "quote" .!= "\"")
+ <*> (o .:? "quote")
<*> (o .:? "maxBadRecords")
<*> (o .:? "autodetect")
<*> (o .:? "sourceUris" .!= mempty)
<*> (o .:? "encoding")
- <*> (o .:? "fieldDelimiter"))
+ <*> (o .:? "fieldDelimiter")
+ <*> (o .:? "nullMarker"))
instance ToJSON JobConfigurationLoad where
toJSON JobConfigurationLoad'{..}
@@ -2645,12 +2688,13 @@
_jclAllowQuotedNewlines,
("sourceFormat" .=) <$> _jclSourceFormat,
("schema" .=) <$> _jclSchema,
- Just ("quote" .= _jclQuote),
+ ("quote" .=) <$> _jclQuote,
("maxBadRecords" .=) <$> _jclMaxBadRecords,
("autodetect" .=) <$> _jclAutodetect,
("sourceUris" .=) <$> _jclSourceURIs,
("encoding" .=) <$> _jclEncoding,
- ("fieldDelimiter" .=) <$> _jclFieldDelimiter])
+ ("fieldDelimiter" .=) <$> _jclFieldDelimiter,
+ ("nullMarker" .=) <$> _jclNullMarker])
--
-- /See:/ 'dataSetReference' smart constructor.
@@ -2881,7 +2925,7 @@
--
-- /See:/ 'bigtableColumn' smart constructor.
data BigtableColumn = BigtableColumn'
- { _bcQualifierEncoded :: !(Maybe Base64)
+ { _bcQualifierEncoded :: !(Maybe Bytes)
, _bcFieldName :: !(Maybe Text)
, _bcQualifierString :: !(Maybe Text)
, _bcOnlyReadLatest :: !(Maybe Bool)
@@ -2928,7 +2972,7 @@
bcQualifierEncoded
= lens _bcQualifierEncoded
(\ s a -> s{_bcQualifierEncoded = a})
- . mapping _Base64
+ . mapping _Bytes
-- | [Optional] If the qualifier is not a valid BigQuery field identifier
-- i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be
@@ -4028,16 +4072,17 @@
= lens _jcqFlattenResults
(\ s a -> s{_jcqFlattenResults = a})
--- | [Experimental] Standard SQL only. Whether to use positional (?) or named
--- (\'myparam) query parameters in this query.
+-- | [Experimental] Standard SQL only. Set to POSITIONAL to use positional
+-- (?) query parameters or to NAMED to use named (\'myparam) query
+-- parameters in this query.
jcqParameterMode :: Lens' JobConfigurationQuery (Maybe Text)
jcqParameterMode
= lens _jcqParameterMode
(\ s a -> s{_jcqParameterMode = a})
--- | [Experimental] Specifies whether to use BigQuery\'s legacy SQL dialect
--- for this query. The default value is true. If set to false, the query
--- will use BigQuery\'s standard SQL:
+-- | Specifies whether to use BigQuery\'s legacy SQL dialect for this query.
+-- The default value is true. If set to false, the query will use
+-- BigQuery\'s standard SQL:
-- https:\/\/cloud.google.com\/bigquery\/sql-reference\/ When useLegacySql
-- is set to false, the values of allowLargeResults and flattenResults are
-- ignored; query will be run as if allowLargeResults is true and
@@ -4440,11 +4485,10 @@
vdQuery :: Lens' ViewDefinition (Maybe Text)
vdQuery = lens _vdQuery (\ s a -> s{_vdQuery = a})
--- | [Experimental] Specifies whether to use BigQuery\'s legacy SQL for this
--- view. The default value is true. If set to false, the view will use
--- BigQuery\'s standard SQL:
--- https:\/\/cloud.google.com\/bigquery\/sql-reference\/ Queries and views
--- that reference this view must use the same flag value.
+-- | Specifies whether to use BigQuery\'s legacy SQL for this view. The
+-- default value is true. If set to false, the view will use BigQuery\'s
+-- standard SQL: https:\/\/cloud.google.com\/bigquery\/sql-reference\/
+-- Queries and views that reference this view must use the same flag value.
vdUseLegacySQL :: Lens' ViewDefinition (Maybe Bool)
vdUseLegacySQL
= lens _vdUseLegacySQL
@@ -4527,6 +4571,7 @@
, _jBillingTier :: !(Maybe (Textual Int32))
, _jUndeclaredQueryParameters :: !(Maybe [QueryParameter])
, _jReferencedTables :: !(Maybe [TableReference])
+ , _jStatementType :: !(Maybe Text)
, _jNumDmlAffectedRows :: !(Maybe (Textual Int64))
, _jQueryPlan :: !(Maybe [ExplainQueryStage])
, _jCacheHit :: !(Maybe Bool)
@@ -4547,6 +4592,8 @@
--
-- * 'jReferencedTables'
--
+-- * 'jStatementType'
+--
-- * 'jNumDmlAffectedRows'
--
-- * 'jQueryPlan'
@@ -4563,6 +4610,7 @@
, _jBillingTier = Nothing
, _jUndeclaredQueryParameters = Nothing
, _jReferencedTables = Nothing
+ , _jStatementType = Nothing
, _jNumDmlAffectedRows = Nothing
, _jQueryPlan = Nothing
, _jCacheHit = Nothing
@@ -4605,6 +4653,12 @@
. _Default
. _Coerce
+-- | [Output-only, Experimental] The type of query statement, if valid.
+jStatementType :: Lens' JobStatistics2 (Maybe Text)
+jStatementType
+ = lens _jStatementType
+ (\ s a -> s{_jStatementType = a})
+
-- | [Output-only, Experimental] The number of rows affected by a DML
-- statement. Present only for DML statements INSERT, UPDATE or DELETE.
jNumDmlAffectedRows :: Lens' JobStatistics2 (Maybe Int64)
@@ -4641,6 +4695,7 @@
<*> (o .:? "billingTier")
<*> (o .:? "undeclaredQueryParameters" .!= mempty)
<*> (o .:? "referencedTables" .!= mempty)
+ <*> (o .:? "statementType")
<*> (o .:? "numDmlAffectedRows")
<*> (o .:? "queryPlan" .!= mempty)
<*> (o .:? "cacheHit")
@@ -4656,6 +4711,7 @@
("undeclaredQueryParameters" .=) <$>
_jUndeclaredQueryParameters,
("referencedTables" .=) <$> _jReferencedTables,
+ ("statementType" .=) <$> _jStatementType,
("numDmlAffectedRows" .=) <$> _jNumDmlAffectedRows,
("queryPlan" .=) <$> _jQueryPlan,
("cacheHit" .=) <$> _jCacheHit,
@@ -4723,6 +4779,45 @@
("errorResult" .=) <$> _jsErrorResult,
("errors" .=) <$> _jsErrors])
+-- | [Experimental] The labels associated with this table. You can use these
+-- to organize and group your tables. Label keys and values can be no
+-- longer than 63 characters, can only contain letters, numeric characters,
+-- underscores and dashes. International characters are allowed. Label
+-- values are optional. Label keys must start with a letter and must be
+-- unique within a dataset. Both keys and values are additionally
+-- constrained to be \<= 128 bytes in size.
+--
+-- /See:/ 'tableLabels' smart constructor.
+newtype TableLabels = TableLabels'
+ { _tlAddtional :: HashMap Text Text
+ } deriving (Eq,Show,Data,Typeable,Generic)
+
+-- | Creates a value of 'TableLabels' with the minimum fields required to make a request.
+--
+-- Use one of the following lenses to modify other fields as desired:
+--
+-- * 'tlAddtional'
+tableLabels
+ :: HashMap Text Text -- ^ 'tlAddtional'
+ -> TableLabels
+tableLabels pTlAddtional_ =
+ TableLabels'
+ { _tlAddtional = _Coerce # pTlAddtional_
+ }
+
+tlAddtional :: Lens' TableLabels (HashMap Text Text)
+tlAddtional
+ = lens _tlAddtional (\ s a -> s{_tlAddtional = a}) .
+ _Coerce
+
+instance FromJSON TableLabels where
+ parseJSON
+ = withObject "TableLabels"
+ (\ o -> TableLabels' <$> (parseJSONObject o))
+
+instance ToJSON TableLabels where
+ toJSON = toJSON . _tlAddtional
+
--
-- /See:/ 'dataSetAccessItem' smart constructor.
data DataSetAccessItem = DataSetAccessItem'
@@ -4954,6 +5049,7 @@
, _tabNumRows :: !(Maybe (Textual Word64))
, _tabView :: !(Maybe ViewDefinition)
, _tabId :: !(Maybe Text)
+ , _tabLabels :: !(Maybe TableLabels)
, _tabType :: !(Maybe Text)
, _tabNumLongTermBytes :: !(Maybe (Textual Int64))
, _tabExpirationTime :: !(Maybe (Textual Int64))
@@ -4996,6 +5092,8 @@
--
-- * 'tabId'
--
+-- * 'tabLabels'
+--
-- * 'tabType'
--
-- * 'tabNumLongTermBytes'
@@ -5023,6 +5121,7 @@
, _tabNumRows = Nothing
, _tabView = Nothing
, _tabId = Nothing
+ , _tabLabels = Nothing
, _tabType = Nothing
, _tabNumLongTermBytes = Nothing
, _tabExpirationTime = Nothing
@@ -5126,6 +5225,17 @@
tabId :: Lens' Table (Maybe Text)
tabId = lens _tabId (\ s a -> s{_tabId = a})
+-- | [Experimental] The labels associated with this table. You can use these
+-- to organize and group your tables. Label keys and values can be no
+-- longer than 63 characters, can only contain letters, numeric characters,
+-- underscores and dashes. International characters are allowed. Label
+-- values are optional. Label keys must start with a letter and must be
+-- unique within a dataset. Both keys and values are additionally
+-- constrained to be \<= 128 bytes in size.
+tabLabels :: Lens' Table (Maybe TableLabels)
+tabLabels
+ = lens _tabLabels (\ s a -> s{_tabLabels = a})
+
-- | [Output-only] Describes the table type. The following values are
-- supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined
-- by a SQL query. EXTERNAL: A table that references data stored in an
@@ -5177,6 +5287,7 @@
<*> (o .:? "numRows")
<*> (o .:? "view")
<*> (o .:? "id")
+ <*> (o .:? "labels")
<*> (o .:? "type")
<*> (o .:? "numLongTermBytes")
<*> (o .:? "expirationTime")
@@ -5202,6 +5313,7 @@
("timePartitioning" .=) <$> _tabTimePartitioning,
("numRows" .=) <$> _tabNumRows,
("view" .=) <$> _tabView, ("id" .=) <$> _tabId,
+ ("labels" .=) <$> _tabLabels,
("type" .=) <$> _tabType,
("numLongTermBytes" .=) <$> _tabNumLongTermBytes,
("expirationTime" .=) <$> _tabExpirationTime,
@@ -5670,3 +5782,39 @@
instance ToJSON DataSetListDataSetsItemLabels where
toJSON = toJSON . _dsldsilAddtional
+
+-- | [Experimental] The labels associated with this table. You can use these
+-- to organize and group your tables.
+--
+-- /See:/ 'tableListTablesItemLabels' smart constructor.
+newtype TableListTablesItemLabels = TableListTablesItemLabels'
+ { _tltilAddtional :: HashMap Text Text
+ } deriving (Eq,Show,Data,Typeable,Generic)
+
+-- | Creates a value of 'TableListTablesItemLabels' with the minimum fields required to make a request.
+--
+-- Use one of the following lenses to modify other fields as desired:
+--
+-- * 'tltilAddtional'
+tableListTablesItemLabels
+ :: HashMap Text Text -- ^ 'tltilAddtional'
+ -> TableListTablesItemLabels
+tableListTablesItemLabels pTltilAddtional_ =
+ TableListTablesItemLabels'
+ { _tltilAddtional = _Coerce # pTltilAddtional_
+ }
+
+tltilAddtional :: Lens' TableListTablesItemLabels (HashMap Text Text)
+tltilAddtional
+ = lens _tltilAddtional
+ (\ s a -> s{_tltilAddtional = a})
+ . _Coerce
+
+instance FromJSON TableListTablesItemLabels where
+ parseJSON
+ = withObject "TableListTablesItemLabels"
+ (\ o ->
+ TableListTablesItemLabels' <$> (parseJSONObject o))
+
+instance ToJSON TableListTablesItemLabels where
+ toJSON = toJSON . _tltilAddtional
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-bigquery-0.1.1/gen/Network/Google/BigQuery/Types.hs new/gogol-bigquery-0.3.0/gen/Network/Google/BigQuery/Types.hs
--- old/gogol-bigquery-0.1.1/gen/Network/Google/BigQuery/Types.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-bigquery-0.3.0/gen/Network/Google/BigQuery/Types.hs 2017-07-12 16:45:06.000000000 +0200
@@ -77,6 +77,7 @@
, tltiFriendlyName
, tltiKind
, tltiId
+ , tltiLabels
, tltiType
-- * TableSchema
@@ -247,6 +248,7 @@
-- * ExplainQueryStage
, ExplainQueryStage
, explainQueryStage
+ , eqsStatus
, eqsWaitRatioMax
, eqsRecordsWritten
, eqsSteps
@@ -283,6 +285,7 @@
, jclSourceURIs
, jclEncoding
, jclFieldDelimiter
+ , jclNullMarker
-- * JobsListStateFilter
, JobsListStateFilter (..)
@@ -492,6 +495,7 @@
, jBillingTier
, jUndeclaredQueryParameters
, jReferencedTables
+ , jStatementType
, jNumDmlAffectedRows
, jQueryPlan
, jCacheHit
@@ -504,6 +508,11 @@
, jsErrorResult
, jsErrors
+ -- * TableLabels
+ , TableLabels
+ , tableLabels
+ , tlAddtional
+
-- * DataSetAccessItem
, DataSetAccessItem
, dataSetAccessItem
@@ -546,6 +555,7 @@
, tabNumRows
, tabView
, tabId
+ , tabLabels
, tabType
, tabNumLongTermBytes
, tabExpirationTime
@@ -596,6 +606,11 @@
, DataSetListDataSetsItemLabels
, dataSetListDataSetsItemLabels
, dsldsilAddtional
+
+ -- * TableListTablesItemLabels
+ , TableListTablesItemLabels
+ , tableListTablesItemLabels
+ , tltilAddtional
) where
import Network.Google.BigQuery.Types.Product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-bigquery-0.1.1/gen/Network/Google/BigQuery.hs new/gogol-bigquery-0.3.0/gen/Network/Google/BigQuery.hs
--- old/gogol-bigquery-0.1.1/gen/Network/Google/BigQuery.hs 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-bigquery-0.3.0/gen/Network/Google/BigQuery.hs 2017-07-12 16:45:06.000000000 +0200
@@ -149,6 +149,7 @@
, tltiFriendlyName
, tltiKind
, tltiId
+ , tltiLabels
, tltiType
-- ** TableSchema
@@ -319,6 +320,7 @@
-- ** ExplainQueryStage
, ExplainQueryStage
, explainQueryStage
+ , eqsStatus
, eqsWaitRatioMax
, eqsRecordsWritten
, eqsSteps
@@ -355,6 +357,7 @@
, jclSourceURIs
, jclEncoding
, jclFieldDelimiter
+ , jclNullMarker
-- ** JobsListStateFilter
, JobsListStateFilter (..)
@@ -564,6 +567,7 @@
, jBillingTier
, jUndeclaredQueryParameters
, jReferencedTables
+ , jStatementType
, jNumDmlAffectedRows
, jQueryPlan
, jCacheHit
@@ -576,6 +580,11 @@
, jsErrorResult
, jsErrors
+ -- ** TableLabels
+ , TableLabels
+ , tableLabels
+ , tlAddtional
+
-- ** DataSetAccessItem
, DataSetAccessItem
, dataSetAccessItem
@@ -618,6 +627,7 @@
, tabNumRows
, tabView
, tabId
+ , tabLabels
, tabType
, tabNumLongTermBytes
, tabExpirationTime
@@ -668,6 +678,11 @@
, DataSetListDataSetsItemLabels
, dataSetListDataSetsItemLabels
, dsldsilAddtional
+
+ -- ** TableListTablesItemLabels
+ , TableListTablesItemLabels
+ , tableListTablesItemLabels
+ , tltilAddtional
) where
import Network.Google.BigQuery.Types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-bigquery-0.1.1/gogol-bigquery.cabal new/gogol-bigquery-0.3.0/gogol-bigquery.cabal
--- old/gogol-bigquery-0.1.1/gogol-bigquery.cabal 2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-bigquery-0.3.0/gogol-bigquery.cabal 2017-07-12 16:45:06.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-bigquery
-version: 0.1.1
+version: 0.3.0
synopsis: Google BigQuery SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -62,5 +62,5 @@
, Network.Google.BigQuery.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-autoscaler for openSUSE:Factory checked in at 2017-08-31 20:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-autoscaler (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-autoscaler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-autoscaler"
Thu Aug 31 20:52:15 2017 rev:2 rq:513281 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-autoscaler/ghc-gogol-autoscaler.changes 2017-05-10 20:39:04.367739581 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-autoscaler.new/ghc-gogol-autoscaler.changes 2017-08-31 20:52:18.226481997 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:12 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-autoscaler-0.1.1.tar.gz
New:
----
gogol-autoscaler-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-autoscaler.spec ++++++
--- /var/tmp/diff_new_pack.zys0oT/_old 2017-08-31 20:52:19.390318626 +0200
+++ /var/tmp/diff_new_pack.zys0oT/_new 2017-08-31 20:52:19.410315820 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-autoscaler
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Compute Engine Autoscaler SDK
License: MPL-2.0
++++++ gogol-autoscaler-0.1.1.tar.gz -> gogol-autoscaler-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-autoscaler-0.1.1/README.md new/gogol-autoscaler-0.3.0/README.md
--- old/gogol-autoscaler-0.1.1/README.md 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-autoscaler-0.3.0/README.md 2017-07-12 16:51:30.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-autoscaler-0.1.1/gogol-autoscaler.cabal new/gogol-autoscaler-0.3.0/gogol-autoscaler.cabal
--- old/gogol-autoscaler-0.1.1/gogol-autoscaler.cabal 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-autoscaler-0.3.0/gogol-autoscaler.cabal 2017-07-12 16:51:30.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-autoscaler
-version: 0.1.1
+version: 0.3.0
synopsis: Google Compute Engine Autoscaler SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -56,5 +56,5 @@
, Network.Google.Autoscaler.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-appstate for openSUSE:Factory checked in at 2017-08-31 20:52:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-appstate (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-appstate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-appstate"
Thu Aug 31 20:52:13 2017 rev:2 rq:513280 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-appstate/ghc-gogol-appstate.changes 2017-05-10 20:39:00.252320241 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-appstate.new/ghc-gogol-appstate.changes 2017-08-31 20:52:15.138915409 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:06:27 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-appstate-0.1.1.tar.gz
New:
----
gogol-appstate-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-appstate.spec ++++++
--- /var/tmp/diff_new_pack.T2Z1qe/_old 2017-08-31 20:52:16.118777863 +0200
+++ /var/tmp/diff_new_pack.T2Z1qe/_new 2017-08-31 20:52:16.142774494 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-appstate
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google App State SDK
License: MPL-2.0
++++++ gogol-appstate-0.1.1.tar.gz -> gogol-appstate-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-appstate-0.1.1/README.md new/gogol-appstate-0.3.0/README.md
--- old/gogol-appstate-0.1.1/README.md 2016-11-03 14:26:27.000000000 +0100
+++ new/gogol-appstate-0.3.0/README.md 2017-07-12 16:45:06.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-appstate-0.1.1/gogol-appstate.cabal new/gogol-appstate-0.3.0/gogol-appstate.cabal
--- old/gogol-appstate-0.1.1/gogol-appstate.cabal 2016-11-03 14:26:27.000000000 +0100
+++ new/gogol-appstate-0.3.0/gogol-appstate.cabal 2017-07-12 16:45:06.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-appstate
-version: 0.1.1
+version: 0.3.0
synopsis: Google App State SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -46,5 +46,5 @@
, Network.Google.AppState.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-apps-tasks for openSUSE:Factory checked in at 2017-08-31 20:52:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-apps-tasks (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-apps-tasks.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-apps-tasks"
Thu Aug 31 20:52:10 2017 rev:2 rq:513279 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-apps-tasks/ghc-gogol-apps-tasks.changes 2017-05-10 20:38:56.264882843 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-apps-tasks.new/ghc-gogol-apps-tasks.changes 2017-08-31 20:52:13.167192186 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:06:08 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-apps-tasks-0.1.1.tar.gz
New:
----
gogol-apps-tasks-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-apps-tasks.spec ++++++
--- /var/tmp/diff_new_pack.81TCW2/_old 2017-08-31 20:52:14.415017025 +0200
+++ /var/tmp/diff_new_pack.81TCW2/_new 2017-08-31 20:52:14.439013657 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-apps-tasks
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Tasks SDK
License: MPL-2.0
++++++ gogol-apps-tasks-0.1.1.tar.gz -> gogol-apps-tasks-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-apps-tasks-0.1.1/README.md new/gogol-apps-tasks-0.3.0/README.md
--- old/gogol-apps-tasks-0.1.1/README.md 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-apps-tasks-0.3.0/README.md 2017-07-12 16:51:30.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-apps-tasks-0.1.1/gen/Network/Google/AppsTasks/Types/Product.hs new/gogol-apps-tasks-0.3.0/gen/Network/Google/AppsTasks/Types/Product.hs
--- old/gogol-apps-tasks-0.1.1/gen/Network/Google/AppsTasks/Types/Product.hs 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-apps-tasks-0.3.0/gen/Network/Google/AppsTasks/Types/Product.hs 2017-07-12 16:51:30.000000000 +0200
@@ -54,7 +54,7 @@
tliType :: Lens' TaskLinksItem (Maybe Text)
tliType = lens _tliType (\ s a -> s{_tliType = a})
--- | The description. In HTML speak: Everything between < and>.
+-- | The description. In HTML speak: Everything between and.
tliDescription :: Lens' TaskLinksItem (Maybe Text)
tliDescription
= lens _tliDescription
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-apps-tasks-0.1.1/gogol-apps-tasks.cabal new/gogol-apps-tasks-0.3.0/gogol-apps-tasks.cabal
--- old/gogol-apps-tasks-0.1.1/gogol-apps-tasks.cabal 2016-11-03 14:26:29.000000000 +0100
+++ new/gogol-apps-tasks-0.3.0/gogol-apps-tasks.cabal 2017-07-12 16:51:30.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-apps-tasks
-version: 0.1.1
+version: 0.3.0
synopsis: Google Tasks SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -55,5 +55,5 @@
, Network.Google.AppsTasks.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0
Hello community,
here is the log from the commit of package ghc-gogol-apps-reseller for openSUSE:Factory checked in at 2017-08-31 20:52:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-apps-reseller (Old)
and /work/SRC/openSUSE:Factory/.ghc-gogol-apps-reseller.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gogol-apps-reseller"
Thu Aug 31 20:52:07 2017 rev:2 rq:513278 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-apps-reseller/ghc-gogol-apps-reseller.changes 2017-05-10 20:38:52.385430209 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-apps-reseller.new/ghc-gogol-apps-reseller.changes 2017-08-31 20:52:10.143616614 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:37 UTC 2017 - psimons(a)suse.com
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------
Old:
----
gogol-apps-reseller-0.1.1.tar.gz
New:
----
gogol-apps-reseller-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-gogol-apps-reseller.spec ++++++
--- /var/tmp/diff_new_pack.avmwvc/_old 2017-08-31 20:52:10.915508262 +0200
+++ /var/tmp/diff_new_pack.avmwvc/_new 2017-08-31 20:52:10.919507701 +0200
@@ -18,7 +18,7 @@
%global pkg_name gogol-apps-reseller
Name: ghc-%{pkg_name}
-Version: 0.1.1
+Version: 0.3.0
Release: 0
Summary: Google Enterprise Apps Reseller SDK
License: MPL-2.0
++++++ gogol-apps-reseller-0.1.1.tar.gz -> gogol-apps-reseller-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-apps-reseller-0.1.1/README.md new/gogol-apps-reseller-0.3.0/README.md
--- old/gogol-apps-reseller-0.1.1/README.md 2016-11-03 14:26:27.000000000 +0100
+++ new/gogol-apps-reseller-0.3.0/README.md 2017-07-12 16:45:06.000000000 +0200
@@ -8,7 +8,7 @@
## Version
-`0.1.1`
+`0.3.0`
## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-apps-reseller-0.1.1/gogol-apps-reseller.cabal new/gogol-apps-reseller-0.3.0/gogol-apps-reseller.cabal
--- old/gogol-apps-reseller-0.1.1/gogol-apps-reseller.cabal 2016-11-03 14:26:27.000000000 +0100
+++ new/gogol-apps-reseller-0.3.0/gogol-apps-reseller.cabal 2017-07-12 16:45:06.000000000 +0200
@@ -1,5 +1,5 @@
name: gogol-apps-reseller
-version: 0.1.1
+version: 0.3.0
synopsis: Google Enterprise Apps Reseller SDK.
homepage: https://github.com/brendanhay/gogol
bug-reports: https://github.com/brendanhay/gogol/issues
@@ -59,5 +59,5 @@
, Network.Google.AppsReseller.Types.Sum
build-depends:
- gogol-core == 0.1.1.*
+ gogol-core == 0.3.0.*
, base >= 4.7 && < 5
1
0