API Gateway v1 API - Class CreateApiRequest (2.3.0)

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

Reference documentation and code samples for the API Gateway v1 API class CreateApiRequest.

Request message for ApiGatewayService.CreateApi

Inheritance

object > CreateApiRequest

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Constructors

CreateApiRequest()

public CreateApiRequest()

CreateApiRequest(CreateApiRequest)

public CreateApiRequest(CreateApiRequest other)
Parameter
Name Description
other CreateApiRequest

Properties

Api

public Api Api { get; set; }

Required. API resource.

Property Value
Type Description
Api

ApiId

public string ApiId { get; set; }

Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. Parent resource of the API, of the form: projects/*/locations/global

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName