Class ProjectsResource.LocationsResource.ApisResource.CreateRequest
Creates a new Api in a given project and location.
Inheritance
ProjectsResource.LocationsResource.ApisResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Apigateway.v1beta
Assembly: Google.Apis.Apigateway.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.CreateRequest : ApigatewayBaseServiceRequest<ApigatewayOperation>, IClientServiceRequest<ApigatewayOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, ApigatewayApi, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, ApigatewayApi body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApigatewayApi | body | |
string | parent |
Properties
ApiId
Required. Identifier to assign to the API. Must be unique within scope of the parent resource.
Declaration
[RequestParameter("apiId", RequestParameterType.Query)]
public virtual string ApiId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Apigateway.v1beta.Data.ApigatewayOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Apigateway.v1beta.Data.ApigatewayOperation>.MethodName
Parent
Required. Parent resource of the API, of the form: projects/*/locations/global
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Apigateway.v1beta.Data.ApigatewayOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Apigateway.v1beta.Data.ApigatewayOperation>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()