Class ProjectsResource.OccurrencesResource.BatchCreateRequest
Creates new occurrences in batch.
Inheritance
System.Object
ProjectsResource.OccurrencesResource.BatchCreateRequest
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.ContainerAnalysis.v1beta1
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class BatchCreateRequest : ContainerAnalysisBaseServiceRequest<BatchCreateOccurrencesResponse>, IClientServiceRequest<BatchCreateOccurrencesResponse>, IClientServiceRequest
Constructors
BatchCreateRequest(IClientService, BatchCreateOccurrencesRequest, String)
Constructs a new BatchCreate request.
Declaration
public BatchCreateRequest(IClientService service, BatchCreateOccurrencesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchCreateOccurrencesRequest | body | |
System.String | parent |
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.ContainerAnalysis.v1beta1.Data.BatchCreateOccurrencesResponse>.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.ContainerAnalysis.v1beta1.Data.BatchCreateOccurrencesResponse>.MethodName
Parent
Required. The name of the project in the form of projects/[PROJECT_ID]
, under which the
occurrences are to be created.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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.ContainerAnalysis.v1beta1.Data.BatchCreateOccurrencesResponse>.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.ContainerAnalysis.v1beta1.Data.BatchCreateOccurrencesResponse>.GetBody()
InitParameters()
Initializes BatchCreate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ContainerAnalysis.v1beta1.ContainerAnalysisBaseServiceRequest<Google.Apis.ContainerAnalysis.v1beta1.Data.BatchCreateOccurrencesResponse>.InitParameters()