Grafeas v1 API - Class CreateOccurrenceRequest (3.6.0)

public sealed class CreateOccurrenceRequest : IMessage<CreateOccurrenceRequest>, IEquatable<CreateOccurrenceRequest>, IDeepCloneable<CreateOccurrenceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Grafeas v1 API class CreateOccurrenceRequest.

Request to create a new occurrence.

Inheritance

object > CreateOccurrenceRequest

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

CreateOccurrenceRequest()

public CreateOccurrenceRequest()

CreateOccurrenceRequest(CreateOccurrenceRequest)

public CreateOccurrenceRequest(CreateOccurrenceRequest other)
Parameter
NameDescription
otherCreateOccurrenceRequest

Properties

Occurrence

public Occurrence Occurrence { get; set; }

The occurrence to create.

Property Value
TypeDescription
Occurrence

Parent

public string Parent { get; set; }

The name of the project in the form of projects/[PROJECT_ID], under which the occurrence is to be created.

Property Value
TypeDescription
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName