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.assets.updateSecurityMarks
.
Synopsis
- type OrganizationsAssetsUpdateSecurityMarksResource = "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))))))))))
- organizationsAssetsUpdateSecurityMarks :: SecurityMarks -> Text -> OrganizationsAssetsUpdateSecurityMarks
- data OrganizationsAssetsUpdateSecurityMarks
- oausmXgafv :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Xgafv)
- oausmUploadProtocol :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text)
- oausmStartTime :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe UTCTime)
- oausmUpdateMask :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe GFieldMask)
- oausmAccessToken :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text)
- oausmUploadType :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text)
- oausmPayload :: Lens' OrganizationsAssetsUpdateSecurityMarks SecurityMarks
- oausmName :: Lens' OrganizationsAssetsUpdateSecurityMarks Text
- oausmCallback :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text)
REST Resource
type OrganizationsAssetsUpdateSecurityMarksResource = "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.assets.updateSecurityMarks
method which the
OrganizationsAssetsUpdateSecurityMarks
request conforms to.
Creating a Request
organizationsAssetsUpdateSecurityMarks Source #
Creates a value of OrganizationsAssetsUpdateSecurityMarks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsAssetsUpdateSecurityMarks Source #
Updates security marks.
See: organizationsAssetsUpdateSecurityMarks
smart constructor.
Instances
Request Lenses
oausmXgafv :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Xgafv) Source #
V1 error format.
oausmUploadProtocol :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oausmStartTime :: Lens' OrganizationsAssetsUpdateSecurityMarks (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.
oausmUpdateMask :: Lens' OrganizationsAssetsUpdateSecurityMarks (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.".
oausmAccessToken :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text) Source #
OAuth access token.
oausmUploadType :: Lens' OrganizationsAssetsUpdateSecurityMarks (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oausmPayload :: Lens' OrganizationsAssetsUpdateSecurityMarks SecurityMarks Source #
Multipart request metadata.
oausmName :: Lens' OrganizationsAssetsUpdateSecurityMarks 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".