Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::UpdateContextRequest (v0.4.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::UpdateContextRequest.

Request message for MetadataService.UpdateContext.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_missing

def allow_missing() -> ::Boolean
Returns
  • (::Boolean) — If set to true, and the Context is not found, a new Context is created.

#allow_missing=

def allow_missing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, and the Context is not found, a new Context is created.
Returns
  • (::Boolean) — If set to true, and the Context is not found, a new Context is created.

#context

def context() -> ::Google::Cloud::AIPlatform::V1::Context
Returns
  • (::Google::Cloud::AIPlatform::V1::Context) — Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

#context=

def context=(value) -> ::Google::Cloud::AIPlatform::V1::Context
Parameter
  • value (::Google::Cloud::AIPlatform::V1::Context) — Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Returns
  • (::Google::Cloud::AIPlatform::V1::Context) — Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Optional. A FieldMask indicating which fields should be updated. Functionality of this field is not yet supported.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Optional. A FieldMask indicating which fields should be updated. Functionality of this field is not yet supported.
Returns
  • (::Google::Protobuf::FieldMask) — Optional. A FieldMask indicating which fields should be updated. Functionality of this field is not yet supported.