Class CreateApiRequest (2.0.0)

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

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
NameDescription
otherCreateApiRequest

Properties

Api

public Api Api { get; set; }

Required. API resource.

Property Value
TypeDescription
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
TypeDescription
String

Parent

public string Parent { get; set; }

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

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName