Class OrganizationsResource.SourcesResource.FindingsResource.SetStateRequest
Updates the state of a finding.
Inheritance
System.Object
OrganizationsResource.SourcesResource.FindingsResource.SetStateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SecurityCommandCenter.v1p1beta1
Assembly: Google.Apis.SecurityCommandCenter.v1p1beta1.dll
Syntax
public class SetStateRequest : SecurityCommandCenterBaseServiceRequest<GoogleCloudSecuritycenterV1p1beta1Finding>, IClientServiceRequest<GoogleCloudSecuritycenterV1p1beta1Finding>, IClientServiceRequest
Constructors
SetStateRequest(IClientService, SetFindingStateRequest, String)
Constructs a new SetState request.
Declaration
public SetStateRequest(IClientService service, SetFindingStateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SetFindingStateRequest | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.GoogleCloudSecuritycenterV1p1beta1Finding>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.GoogleCloudSecuritycenterV1p1beta1Finding>.MethodName
Name
Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.GoogleCloudSecuritycenterV1p1beta1Finding>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.GoogleCloudSecuritycenterV1p1beta1Finding>.GetBody()
InitParameters()
Initializes SetState parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.SecurityCommandCenter.v1p1beta1.SecurityCommandCenterBaseServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.GoogleCloudSecuritycenterV1p1beta1Finding>.InitParameters()