Class OrganizationsResource.AssetsResource.UpdateSecurityMarksRequest
Updates security marks.
Inheritance
OrganizationsResource.AssetsResource.UpdateSecurityMarksRequest
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta1
Assembly: Google.Apis.SecurityCommandCenter.v1beta1.dll
Syntax
public class OrganizationsResource.AssetsResource.UpdateSecurityMarksRequest : SecurityCommandCenterBaseServiceRequest<GoogleCloudSecuritycenterV1beta1SecurityMarks>, IClientServiceRequest<GoogleCloudSecuritycenterV1beta1SecurityMarks>, IClientServiceRequest
Constructors
UpdateSecurityMarksRequest(IClientService, GoogleCloudSecuritycenterV1beta1SecurityMarks, string)
Constructs a new UpdateSecurityMarks request.
Declaration
public UpdateSecurityMarksRequest(IClientService service, GoogleCloudSecuritycenterV1beta1SecurityMarks body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudSecuritycenterV1beta1SecurityMarks | 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
object representation of StartTimeRaw.
Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
Declaration
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
String representation of StartTimeDateTimeOffset, formatted for inclusion in the HTTP request.
Declaration
[RequestParameter("startTime", RequestParameterType.Query)]
public virtual string StartTimeRaw { get; }
Property Value
Type | Description |
---|---|
string |
UpdateMask
The FieldMask to use when updating the security marks resource.
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()