Struct gapi_grpc::google::cloud::aiplatform::v1beta1::CreateContextRequest[][src]

pub struct CreateContextRequest {
    pub parent: String,
    pub context: Option<Context>,
    pub context_id: String,
}

Request message for [MetadataService.CreateContext][google.cloud.aiplatform.v1beta1.MetadataService.CreateContext].

Fields

parent: String

Required. The resource name of the MetadataStore where the Context should be created. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

context: Option<Context>

Required. The Context to create.

context_id: String

The {context} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}. If not provided, the Context’s ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /[a-z][0-9]-/. Must be unique across all Contexts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can’t view the preexisting Context.)

Trait Implementations

impl Clone for CreateContextRequest[src]

impl Debug for CreateContextRequest[src]

impl Default for CreateContextRequest[src]

impl Message for CreateContextRequest[src]

impl PartialEq<CreateContextRequest> for CreateContextRequest[src]

impl StructuralPartialEq for CreateContextRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateContextRequest

impl Send for CreateContextRequest

impl Sync for CreateContextRequest

impl Unpin for CreateContextRequest

impl UnwindSafe for CreateContextRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]