Class: Google::Cloud::AIPlatform::V1::CreateContextRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/metadata_service.rb

Overview

Request message for MetadataService.CreateContext.

Instance Attribute Summary collapse

Instance Attribute Details

#context::Google::Cloud::AIPlatform::V1::Context

Returns Required. The Context to create.

Returns:



362
363
364
365
# File 'proto_docs/google/cloud/aiplatform/v1/metadata_service.rb', line 362

class CreateContextRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#context_id::String

Returns 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.).

Returns:

  • (::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.)



362
363
364
365
# File 'proto_docs/google/cloud/aiplatform/v1/metadata_service.rb', line 362

class CreateContextRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

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

Returns:

  • (::String)

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



362
363
364
365
# File 'proto_docs/google/cloud/aiplatform/v1/metadata_service.rb', line 362

class CreateContextRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end