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

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

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

The [CreateDependency][google.cloud.apihub.v1.ApiHubDependencies.CreateDependency] method's request.

Inheritance

object > CreateDependencyRequest

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

CreateDependencyRequest()

public CreateDependencyRequest()

CreateDependencyRequest(CreateDependencyRequest)

public CreateDependencyRequest(CreateDependencyRequest other)
Parameter
Name Description
other CreateDependencyRequest

Properties

Dependency

public Dependency Dependency { get; set; }

Required. The dependency resource to create.

Property Value
Type Description
Dependency

DependencyId

public string DependencyId { get; set; }

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

  • If provided, the same will be used. The service will throw an error if duplicate id is provided by the client.
  • 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 dependency 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