Class ProjectsResource.AttestorsResource.ValidateAttestationOccurrenceRequest
Returns whether the given Attestation
for the given image URI was signed by the given Attestor
Inheritance
ProjectsResource.AttestorsResource.ValidateAttestationOccurrenceRequest
Inherited Members
Namespace: Google.Apis.BinaryAuthorization.v1
Assembly: Google.Apis.BinaryAuthorization.v1.dll
Syntax
public class ProjectsResource.AttestorsResource.ValidateAttestationOccurrenceRequest : BinaryAuthorizationBaseServiceRequest<ValidateAttestationOccurrenceResponse>, IClientServiceRequest<ValidateAttestationOccurrenceResponse>, IClientServiceRequest
Constructors
ValidateAttestationOccurrenceRequest(IClientService, ValidateAttestationOccurrenceRequest, string)
Constructs a new ValidateAttestationOccurrence request.
Declaration
public ValidateAttestationOccurrenceRequest(IClientService service, ValidateAttestationOccurrenceRequest body, string attestor)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ValidateAttestationOccurrenceRequest | body | |
string | attestor |
Properties
Attestor
Required. The resource name of the Attestor of the occurrence, in the format
projects/*/attestors/*
.
Declaration
[RequestParameter("attestor", RequestParameterType.Path)]
public virtual string Attestor { get; }
Property Value
Type | Description |
---|---|
string |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ValidateAttestationOccurrence parameter list.
Declaration
protected override void InitParameters()