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.dataplex/v1.getContentitem
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
Get a content resource.
Using getContentitem
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 getContentitem(args: GetContentitemArgs, opts?: InvokeOptions): Promise<GetContentitemResult>
function getContentitemOutput(args: GetContentitemOutputArgs, opts?: InvokeOptions): Output<GetContentitemResult>
def get_contentitem(contentitem_id: Optional[str] = None,
lake_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
view: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContentitemResult
def get_contentitem_output(contentitem_id: Optional[pulumi.Input[str]] = None,
lake_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
view: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContentitemResult]
func LookupContentitem(ctx *Context, args *LookupContentitemArgs, opts ...InvokeOption) (*LookupContentitemResult, error)
func LookupContentitemOutput(ctx *Context, args *LookupContentitemOutputArgs, opts ...InvokeOption) LookupContentitemResultOutput
> Note: This function is named LookupContentitem
in the Go SDK.
public static class GetContentitem
{
public static Task<GetContentitemResult> InvokeAsync(GetContentitemArgs args, InvokeOptions? opts = null)
public static Output<GetContentitemResult> Invoke(GetContentitemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContentitemResult> getContentitem(GetContentitemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dataplex/v1:getContentitem
arguments:
# arguments dictionary
The following arguments are supported:
- Contentitem
Id string - Lake
Id string - Location string
- Project string
- View string
- Contentitem
Id string - Lake
Id string - Location string
- Project string
- View string
- contentitem
Id String - lake
Id String - location String
- project String
- view String
- contentitem
Id string - lake
Id string - location string
- project string
- view string
- contentitem_
id str - lake_
id str - location str
- project str
- view str
- contentitem
Id String - lake
Id String - location String
- project String
- view String
getContentitem Result
The following output properties are available:
- Create
Time string - Content creation time.
- Data
Text string - Content data in string format.
- Description string
- Optional. Description of the content.
- Labels Dictionary<string, string>
- Optional. User defined labels for the content.
- Name string
- The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- Notebook
Pulumi.
Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Content Notebook Response - Notebook related configurations.
- Path string
- The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
- Sql
Script Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Content Sql Script Response - Sql Script related configurations.
- Uid string
- System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
- Update
Time string - The time when the content was last updated.
- Create
Time string - Content creation time.
- Data
Text string - Content data in string format.
- Description string
- Optional. Description of the content.
- Labels map[string]string
- Optional. User defined labels for the content.
- Name string
- The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- Notebook
Google
Cloud Dataplex V1Content Notebook Response - Notebook related configurations.
- Path string
- The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
- Sql
Script GoogleCloud Dataplex V1Content Sql Script Response - Sql Script related configurations.
- Uid string
- System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
- Update
Time string - The time when the content was last updated.
- create
Time String - Content creation time.
- data
Text String - Content data in string format.
- description String
- Optional. Description of the content.
- labels Map<String,String>
- Optional. User defined labels for the content.
- name String
- The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- notebook
Google
Cloud Dataplex V1Content Notebook Response - Notebook related configurations.
- path String
- The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
- sql
Script GoogleCloud Dataplex V1Content Sql Script Response - Sql Script related configurations.
- uid String
- System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
- update
Time String - The time when the content was last updated.
- create
Time string - Content creation time.
- data
Text string - Content data in string format.
- description string
- Optional. Description of the content.
- labels {[key: string]: string}
- Optional. User defined labels for the content.
- name string
- The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- notebook
Google
Cloud Dataplex V1Content Notebook Response - Notebook related configurations.
- path string
- The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
- sql
Script GoogleCloud Dataplex V1Content Sql Script Response - Sql Script related configurations.
- uid string
- System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
- update
Time string - The time when the content was last updated.
- create_
time str - Content creation time.
- data_
text str - Content data in string format.
- description str
- Optional. Description of the content.
- labels Mapping[str, str]
- Optional. User defined labels for the content.
- name str
- The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- notebook
Google
Cloud Dataplex V1Content Notebook Response - Notebook related configurations.
- path str
- The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
- sql_
script GoogleCloud Dataplex V1Content Sql Script Response - Sql Script related configurations.
- uid str
- System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
- update_
time str - The time when the content was last updated.
- create
Time String - Content creation time.
- data
Text String - Content data in string format.
- description String
- Optional. Description of the content.
- labels Map<String>
- Optional. User defined labels for the content.
- name String
- The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- notebook Property Map
- Notebook related configurations.
- path String
- The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
- sql
Script Property Map - Sql Script related configurations.
- uid String
- System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
- update
Time String - The time when the content was last updated.
Supporting Types
GoogleCloudDataplexV1ContentNotebookResponse
- Kernel
Type string - Kernel Type of the notebook.
- Kernel
Type string - Kernel Type of the notebook.
- kernel
Type String - Kernel Type of the notebook.
- kernel
Type string - Kernel Type of the notebook.
- kernel_
type str - Kernel Type of the notebook.
- kernel
Type String - Kernel Type of the notebook.
GoogleCloudDataplexV1ContentSqlScriptResponse
- Engine string
- Query Engine to be used for the Sql Query.
- Engine string
- Query Engine to be used for the Sql Query.
- engine String
- Query Engine to be used for the Sql Query.
- engine string
- Query Engine to be used for the Sql Query.
- engine str
- Query Engine to be used for the Sql Query.
- engine String
- Query Engine to be used for the Sql Query.
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