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 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:
- Context
Id string - Location string
- Metadata
Store stringId - Project string
- Context
Id string - Location string
- Metadata
Store stringId - Project string
- context
Id String - location String
- metadata
Store StringId - project String
- context
Id string - location string
- metadata
Store stringId - project string
- context_
id str - location str
- metadata_
store_ strid - project str
- context
Id String - location String
- metadata
Store StringId - project String
getContext Result
The following output properties are available:
- Create
Time string - Timestamp when this Context was created.
- Description string
- Description of the Context
- Display
Name 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.
- Parent
Contexts List<string> - A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
- Schema
Title 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.
- Schema
Version 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.
- Update
Time string - Timestamp when this Context was last updated.
- Create
Time string - Timestamp when this Context was created.
- Description string
- Description of the Context
- Display
Name 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.
- Parent
Contexts []string - A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
- Schema
Title 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.
- Schema
Version 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.
- Update
Time string - Timestamp when this Context was last updated.
- create
Time String - Timestamp when this Context was created.
- description String
- Description of the Context
- display
Name 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.
- parent
Contexts List<String> - A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
- schema
Title 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.
- schema
Version 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.
- update
Time String - Timestamp when this Context was last updated.
- create
Time string - Timestamp when this Context was created.
- description string
- Description of the Context
- display
Name 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.
- parent
Contexts string[] - A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
- schema
Title 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.
- schema
Version 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.
- update
Time 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.
- create
Time String - Timestamp when this Context was created.
- description String
- Description of the Context
- display
Name 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.
- parent
Contexts List<String> - A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
- schema
Title 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.
- schema
Version 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.
- update
Time String - Timestamp when this Context was last updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
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