public sealed class CreateApiSpecRequest : IMessage<CreateApiSpecRequest>, IEquatable<CreateApiSpecRequest>, IDeepCloneable<CreateApiSpecRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class CreateApiSpecRequest.
Request message for CreateApiSpec.
Implements
IMessageCreateApiSpecRequest, IEquatableCreateApiSpecRequest, IDeepCloneableCreateApiSpecRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApigeeRegistry.V1Assembly
Google.Cloud.ApigeeRegistry.V1.dll
Constructors
CreateApiSpecRequest()
public CreateApiSpecRequest()
CreateApiSpecRequest(CreateApiSpecRequest)
public CreateApiSpecRequest(CreateApiSpecRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateApiSpecRequest |
Properties
ApiSpec
public ApiSpec ApiSpec { get; set; }
Required. The spec to create.
Property Value | |
---|---|
Type | Description |
ApiSpec |
ApiSpecId
public string ApiSpecId { get; set; }
Required. The ID to use for the spec, which will become the final component of the spec's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
Following AIP-162, IDs must not have the form of a UUID.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The parent, which owns this collection of specs.
Format: projects/*/locations/*/apis/*/versions/*
Property Value | |
---|---|
Type | Description |
string |
ParentAsApiVersionName
public ApiVersionName ParentAsApiVersionName { get; set; }
ApiVersionName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ApiVersionName |