1. Packages
  2. Google Cloud Native
  3. API Docs
  4. aiplatform
  5. aiplatform/v1
  6. getContext

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.aiplatform/v1.getContext

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Retrieves a specific Context.

    Using getContext

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getContext(args: GetContextArgs, opts?: InvokeOptions): Promise<GetContextResult>
    function getContextOutput(args: GetContextOutputArgs, opts?: InvokeOptions): Output<GetContextResult>
    def get_context(context_id: Optional[str] = None,
                    location: Optional[str] = None,
                    metadata_store_id: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetContextResult
    def get_context_output(context_id: Optional[pulumi.Input[str]] = None,
                    location: Optional[pulumi.Input[str]] = None,
                    metadata_store_id: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetContextResult]
    func LookupContext(ctx *Context, args *LookupContextArgs, opts ...InvokeOption) (*LookupContextResult, error)
    func LookupContextOutput(ctx *Context, args *LookupContextOutputArgs, opts ...InvokeOption) LookupContextResultOutput

    > Note: This function is named LookupContext in the Go SDK.

    public static class GetContext 
    {
        public static Task<GetContextResult> InvokeAsync(GetContextArgs args, InvokeOptions? opts = null)
        public static Output<GetContextResult> Invoke(GetContextInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetContextResult> getContext(GetContextArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:aiplatform/v1:getContext
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ContextId string
    Location string
    MetadataStoreId string
    Project string
    ContextId string
    Location string
    MetadataStoreId string
    Project string
    contextId String
    location String
    metadataStoreId String
    project String
    contextId string
    location string
    metadataStoreId string
    project string
    contextId String
    location String
    metadataStoreId String
    project String

    getContext Result

    The following output properties are available:

    CreateTime string
    Timestamp when this Context was created.
    Description string
    Description of the Context
    DisplayName string
    User provided display name of the Context. May be up to 128 Unicode characters.
    Etag string
    An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    Labels Dictionary<string, string>
    The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
    Metadata Dictionary<string, string>
    Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
    Name string
    Immutable. The resource name of the Context.
    ParentContexts List<string>
    A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
    SchemaTitle string
    The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    SchemaVersion string
    The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    UpdateTime string
    Timestamp when this Context was last updated.
    CreateTime string
    Timestamp when this Context was created.
    Description string
    Description of the Context
    DisplayName string
    User provided display name of the Context. May be up to 128 Unicode characters.
    Etag string
    An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    Labels map[string]string
    The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
    Metadata map[string]string
    Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
    Name string
    Immutable. The resource name of the Context.
    ParentContexts []string
    A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
    SchemaTitle string
    The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    SchemaVersion string
    The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    UpdateTime string
    Timestamp when this Context was last updated.
    createTime String
    Timestamp when this Context was created.
    description String
    Description of the Context
    displayName String
    User provided display name of the Context. May be up to 128 Unicode characters.
    etag String
    An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    labels Map<String,String>
    The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
    metadata Map<String,String>
    Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
    name String
    Immutable. The resource name of the Context.
    parentContexts List<String>
    A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
    schemaTitle String
    The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    schemaVersion String
    The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    updateTime String
    Timestamp when this Context was last updated.
    createTime string
    Timestamp when this Context was created.
    description string
    Description of the Context
    displayName string
    User provided display name of the Context. May be up to 128 Unicode characters.
    etag string
    An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    labels {[key: string]: string}
    The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
    metadata {[key: string]: string}
    Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
    name string
    Immutable. The resource name of the Context.
    parentContexts string[]
    A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
    schemaTitle string
    The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    schemaVersion string
    The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    updateTime string
    Timestamp when this Context was last updated.
    create_time str
    Timestamp when this Context was created.
    description str
    Description of the Context
    display_name str
    User provided display name of the Context. May be up to 128 Unicode characters.
    etag str
    An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    labels Mapping[str, str]
    The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
    metadata Mapping[str, str]
    Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
    name str
    Immutable. The resource name of the Context.
    parent_contexts Sequence[str]
    A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
    schema_title str
    The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    schema_version str
    The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    update_time str
    Timestamp when this Context was last updated.
    createTime String
    Timestamp when this Context was created.
    description String
    Description of the Context
    displayName String
    User provided display name of the Context. May be up to 128 Unicode characters.
    etag String
    An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
    labels Map<String>
    The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
    metadata Map<String>
    Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
    name String
    Immutable. The resource name of the Context.
    parentContexts List<String>
    A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
    schemaTitle String
    The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    schemaVersion String
    The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
    updateTime String
    Timestamp when this Context was last updated.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi