Class ProjectsResource.AppsResource.TestCasesResource.CreateRequest
Create a new test case.
Inheritance
ProjectsResource.AppsResource.TestCasesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.FirebaseAppDistribution.v1alpha
Assembly: Google.Apis.FirebaseAppDistribution.v1alpha.dll
Syntax
public class ProjectsResource.AppsResource.TestCasesResource.CreateRequest : FirebaseAppDistributionBaseServiceRequest<GoogleFirebaseAppdistroV1alphaTestCase>, IClientServiceRequest<GoogleFirebaseAppdistroV1alphaTestCase>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleFirebaseAppdistroV1alphaTestCase, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleFirebaseAppdistroV1alphaTestCase body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleFirebaseAppdistroV1alphaTestCase | body | |
string | parent |
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
Parent
Required. The parent resource where this test case will be created. Format:
projects/{project_number}/apps/{app_id}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TestCaseId
Optional. The ID to use for the test case, which will become the final component of the test case's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
Declaration
[RequestParameter("testCaseId", RequestParameterType.Query)]
public virtual string TestCaseId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()