Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates security marks.
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.findings.updateSecurityMarks
.
Synopsis
- type OrganizationsSourcesFindingsUpdateSecurityMarksResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "startTime" DateTime' :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SecurityMarks :> Patch '[JSON] SecurityMarks))))))))))
- organizationsSourcesFindingsUpdateSecurityMarks :: SecurityMarks -> Text -> OrganizationsSourcesFindingsUpdateSecurityMarks
- data OrganizationsSourcesFindingsUpdateSecurityMarks
- osfusmXgafv :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Xgafv)
- osfusmUploadProtocol :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text)
- osfusmStartTime :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe UTCTime)
- osfusmUpdateMask :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe GFieldMask)
- osfusmAccessToken :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text)
- osfusmUploadType :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text)
- osfusmPayload :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks SecurityMarks
- osfusmName :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks Text
- osfusmCallback :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text)
REST Resource
type OrganizationsSourcesFindingsUpdateSecurityMarksResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "startTime" DateTime' :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SecurityMarks :> Patch '[JSON] SecurityMarks)))))))))) Source #
A resource alias for securitycenter.organizations.sources.findings.updateSecurityMarks
method which the
OrganizationsSourcesFindingsUpdateSecurityMarks
request conforms to.
Creating a Request
organizationsSourcesFindingsUpdateSecurityMarks Source #
Creates a value of OrganizationsSourcesFindingsUpdateSecurityMarks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesFindingsUpdateSecurityMarks Source #
Updates security marks.
See: organizationsSourcesFindingsUpdateSecurityMarks
smart constructor.
Instances
Request Lenses
osfusmXgafv :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Xgafv) Source #
V1 error format.
osfusmUploadProtocol :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osfusmStartTime :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe UTCTime) Source #
The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time.
osfusmUpdateMask :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe GFieldMask) Source #
The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.".
osfusmAccessToken :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text) Source #
OAuth access token.
osfusmUploadType :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osfusmPayload :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks SecurityMarks Source #
Multipart request metadata.
osfusmName :: Lens' OrganizationsSourcesFindingsUpdateSecurityMarks Text Source #
The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/123/assets/456/securityMarks" "organizations/123/sources/456/findings/789/securityMarks".