Class OrganizationsResource.AssetsResource.UpdateSecurityMarksRequest
Updates security marks.
Inheritance
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class OrganizationsResource.AssetsResource.UpdateSecurityMarksRequest : SecurityCommandCenterBaseServiceRequest<SecurityMarks>, IClientServiceRequest<SecurityMarks>, IClientServiceRequest
Constructors
UpdateSecurityMarksRequest(IClientService, SecurityMarks, string)
Constructs a new UpdateSecurityMarks request.
Declaration
public UpdateSecurityMarksRequest(IClientService service, SecurityMarks body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SecurityMarks | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
StartTime
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. Must be earlier or equal to the server time.
Declaration
[RequestParameter("startTime", RequestParameterType.Query)]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateMask
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.".
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateSecurityMarks parameter list.
Declaration
protected override void InitParameters()