Cloud AI Platform v1 API - Class CreatePersistentResourceRequest (2.27.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class CreatePersistentResourceRequest.

Request message for [PersistentResourceService.CreatePersistentResource][google.cloud.aiplatform.v1.PersistentResourceService.CreatePersistentResource].

Inheritance

object > CreatePersistentResourceRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

CreatePersistentResourceRequest()

public CreatePersistentResourceRequest()

CreatePersistentResourceRequest(CreatePersistentResourceRequest)

public CreatePersistentResourceRequest(CreatePersistentResourceRequest other)
Parameter
Name Description
other CreatePersistentResourceRequest

Properties

Parent

public string Parent { get; set; }

Required. The resource name of the Location to create the PersistentResource in. 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

PersistentResource

public PersistentResource PersistentResource { get; set; }

Required. The PersistentResource to create.

Property Value
Type Description
PersistentResource

PersistentResourceId

public string PersistentResourceId { get; set; }

Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name.

The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

Property Value
Type Description
string