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 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 getContent
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 getContent(args: GetContentArgs, opts?: InvokeOptions): Promise<GetContentResult>
function getContentOutput(args: GetContentOutputArgs, opts?: InvokeOptions): Output<GetContentResult>def get_content(content_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) -> GetContentResult
def get_content_output(content_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[GetContentResult]func LookupContent(ctx *Context, args *LookupContentArgs, opts ...InvokeOption) (*LookupContentResult, error)
func LookupContentOutput(ctx *Context, args *LookupContentOutputArgs, opts ...InvokeOption) LookupContentResultOutput> Note: This function is named LookupContent in the Go SDK.
public static class GetContent
{
public static Task<GetContentResult> InvokeAsync(GetContentArgs args, InvokeOptions? opts = null)
public static Output<GetContentResult> Invoke(GetContentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContentResult> getContent(GetContentArgs args, InvokeOptions options)
public static Output<GetContentResult> getContent(GetContentArgs args, InvokeOptions options)
fn::invoke:
function: google-native:dataplex/v1:getContent
arguments:
# arguments dictionaryThe following arguments are supported:
- content_
id str - lake_
id str - location str
- project str
- view str
getContent 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
