mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -25,7 +25,8 @@ EXAMPLES
|
|||
|
||||
$ gcloud beta data-catalog entries create entry1 \
|
||||
--location=us-central1 --entry-group=group1 \
|
||||
--gcs-file-patterns="gs://bucket1/*" --display-name="sales data" \
|
||||
--gcs-file-patterns="gs://bucket1/*" \
|
||||
--display-name="sales data" \
|
||||
--schema="qtr=STRING,sales=FLOAT,year=STRING"
|
||||
|
||||
To create an entry for a Google Cloud Storage fileset with a schema from a
|
||||
|
|
@ -33,8 +34,8 @@ EXAMPLES
|
|||
|
||||
$ gcloud beta data-catalog entries create entry1 \
|
||||
--location=us-central1 --entry-group=group1 \
|
||||
--gcs-file-patterns="gs://bucket1/*" --display-name="sales data" \
|
||||
--schema-from-file=/tmp/schema.json
|
||||
--gcs-file-patterns="gs://bucket1/*" \
|
||||
--display-name="sales data" --schema-from-file=/tmp/schema.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Entry resource - Entry to create. The arguments in this group can be used
|
||||
|
|
|
|||
|
|
@ -19,15 +19,13 @@ DESCRIPTION
|
|||
EXAMPLES
|
||||
To update the schema of a Cloud Pub/Sub entry inline, run:
|
||||
|
||||
$ gcloud beta data-catalog entries update entry1 \
|
||||
--location=global --entry-group=@pubsub \
|
||||
--schema="column1=type1,column2=type2"
|
||||
$ gcloud beta data-catalog entries update entry1 --location=global \
|
||||
--entry-group=@pubsub --schema="column1=type1,column2=type2"
|
||||
|
||||
To update the schema of a Cloud Pub/Sub entry from a file, run:
|
||||
|
||||
$ gcloud beta data-catalog entries update entry1 \
|
||||
--location=global --entry-group=@pubsub \
|
||||
--schema-from-file="/tmp/schema.json"
|
||||
$ gcloud beta data-catalog entries update entry1 --location=global \
|
||||
--entry-group=@pubsub --schema-from-file="/tmp/schema.json"
|
||||
|
||||
To lookup the entry of a Cloud Pub/Sub topic by its SQL name and update its
|
||||
schema in one command, run:
|
||||
|
|
|
|||
|
|
@ -14,8 +14,9 @@ EXAMPLES
|
|||
To create an entry group for some data, run:
|
||||
|
||||
$ gcloud beta data-catalog entry-groups create group1 \
|
||||
--location=us-central1 --display-name="analytics data - jan 2011" \
|
||||
--description="Entries related to January 2011 analytics data."
|
||||
--location=us-central1 \
|
||||
--display-name="analytics data - jan 2011" \
|
||||
--description="Entries related to January 2011 analytics data."
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Entry group resource - Entry group to create. The arguments in this group
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ EXAMPLES
|
|||
|
||||
$ gcloud beta data-catalog tag-templates create TEMPLATE \
|
||||
--field=id=ID1,display-name=DISPLAY1,type=string \
|
||||
--field=id=ID2,display-name=DISPLAY2,type='enum(A|B)',required=TRUE
|
||||
--field=id=ID2,display-name=DISPLAY2,type='enum(A|B)',\
|
||||
required=TRUE
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Tag template resource - Tag template to create. The arguments in this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue