Class TestEnvironmentCatalogResource.GetRequest
Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
Inheritance
TestEnvironmentCatalogResource.GetRequest
Inherited Members
Namespace: Google.Apis.Testing.v1
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class TestEnvironmentCatalogResource.GetRequest : TestingBaseServiceRequest<TestEnvironmentCatalog>, IClientServiceRequest<TestEnvironmentCatalog>, IClientServiceRequest
Constructors
GetRequest(IClientService, EnvironmentTypeEnum)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, TestEnvironmentCatalogResource.GetRequest.EnvironmentTypeEnum environmentType)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TestEnvironmentCatalogResource.GetRequest.EnvironmentTypeEnum | environmentType |
Properties
EnvironmentType
Required. The type of environment that should be listed.
Declaration
[RequestParameter("environmentType", RequestParameterType.Path)]
public virtual TestEnvironmentCatalogResource.GetRequest.EnvironmentTypeEnum EnvironmentType { get; }
Property Value
Type | Description |
---|---|
TestEnvironmentCatalogResource.GetRequest.EnvironmentTypeEnum |
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
ProjectId
For authorization, the cloud project requesting the TestEnvironmentCatalog.
Declaration
[RequestParameter("projectId", RequestParameterType.Query)]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()