API hub v1 API - Class CreateDeploymentRequest (1.0.0-beta01)

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

Reference documentation and code samples for the API hub v1 API class CreateDeploymentRequest.

The [CreateDeployment][google.cloud.apihub.v1.ApiHub.CreateDeployment] method's request.

Inheritance

object > CreateDeploymentRequest

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

CreateDeploymentRequest()

public CreateDeploymentRequest()

CreateDeploymentRequest(CreateDeploymentRequest)

public CreateDeploymentRequest(CreateDeploymentRequest other)
Parameter
Name Description
other CreateDeploymentRequest

Properties

Deployment

public Deployment Deployment { get; set; }

Required. The deployment resource to create.

Property Value
Type Description
Deployment

DeploymentId

public string DeploymentId { get; set; }

Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub.
  • If not provided, a system generated id will be used.

This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource for the deployment resource. Format: projects/{project}/locations/{location}

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