1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Wed May 10 11:35:23 UTC 2023

This commit is contained in:
Automated 2023-05-10 11:35:23 +00:00
parent a4643b613a
commit 14441c7ea7
154 changed files with 6649 additions and 164 deletions

31
gcloud/alpha/looker/help Normal file
View file

@ -0,0 +1,31 @@
NAME
gcloud alpha looker - manage Looker resources
SYNOPSIS
gcloud alpha looker GROUP [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Looker resources.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUPS
GROUP is one of the following:
instances
(ALPHA) Manage Looker instances.
operations
(ALPHA) Manage Looker operations.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker

View file

@ -0,0 +1,222 @@
NAME
gcloud alpha looker instances create - create a Looker instance
SYNOPSIS
gcloud alpha looker instances create (INSTANCE : --region=REGION)
--edition=EDITION --oauth-client-id=OAUTH_CLIENT_ID
--oauth-client-secret=OAUTH_CLIENT_SECRET [--async]
[--no-enable-public-ip] [--kms-key=KMS_KEY]
[--consumer-network=CONSUMER_NETWORK --enable-private-ip
: --reserved-range=RESERVED_RANGE]
[--deny-maintenance-period-end-date=DENY_MAINTENANCE_PERIOD_END_DATE
--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE --deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME]
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY
--maintenance-window-time=MAINTENANCE_WINDOW_TIME]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a new Looker instance.
This command can fail for the following reasons:
▪ An instance with the same name already exists.
▪ The active account does not have permission to create instances.
▪ --async flag is not passed
EXAMPLES
To create a basic tier instance with the name my-looker-instance in region
us-central-1 with an edition of "LOOKER_CORE_STANDARD", run:
$ gcloud alpha looker instances create my-looker-instance \
--region=us-central1 --edition="core-standard" \
--oauth-client-id='looker' --oauth-client-secret='looker' \
--async
Note: It is recommended that the --async argument is provided when creating
a Looker instance.
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to create. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the instance. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
REQUIRED FLAGS
--edition=EDITION
The edition of the Looker instance. EDITION must be one of:
advanced
This edition provides a full-feature edition for product
exploration and development. Scales as your organization and data
add complexity.
core-trial
Trial edition of Looker.
elite
This edition provides a full-feature edition for product
exploration and development. Drive your business through
operational analytics.
looker-modeler
Standalone Model Service.
standard
This edition provides a full-feature edition for product
exploration and development. Exceptional for all your Analytics.
--oauth-client-id=OAUTH_CLIENT_ID
The client ID from an external OAuth application.
OAuth Application Credentials - Looker Instance OAuth login settings.
Setup an OAuth app that will allow users to authenticate and access the
instance. For more information see:
https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred
--oauth-client-secret=OAUTH_CLIENT_SECRET
The client secret from an external OAuth application.
OAuth Application Credentials - Looker Instance OAuth login settings.
Setup an OAuth app that will allow users to authenticate and access the
instance. For more information see:
https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--enable-public-ip
This specifies whether public IP is enabled on the Looker instance.
Enabled by default, use --no-enable-public-ip to disable.
Key resource - The Cloud KMS (Key Management Service) cryptokey that will
be used to protect the Looker instance and backups. The 'Looker Service
Agent' service account must hold permission 'Cloud KMS CryptoKey
Encrypter/Decrypter'. The arguments in this group can be used to specify
the attributes of this resource.
--kms-key=KMS_KEY
ID of the key or fully qualified identifier for the key. To set the
kms-key attribute:
▸ provide the argument --kms-key on the command line.
Private IP - Assigns an internal, Google-hosted VPC IP address. Private IP
connectivity requires additional APIs and permissions. Private IP cannot
be disabled once it has been enabled. If enabled, consumer-network must be
assigned.
--consumer-network=CONSUMER_NETWORK
The network name within the consumer project. This MUST be delared if
enabling private IP.
This flag argument must be specified if any of the other arguments in
this group are specified.
--enable-private-ip
This specifies whether private IP is enabled on the Looker instance.
This flag argument must be specified if any of the other arguments in
this group are specified.
--reserved-range=RESERVED_RANGE
The name of a reserved IP address range within the consumer network
to be used for private service access connection.
Deny Maintanence Period - You must allow at least 48 hours of maintenance
availability in a 60-day rolling window. Only contiguous availability
windows of at least two hours are considered. When setting a maintenance
exclusion please be aware that excluding application upgrades cannot
exceed 60-days and excluding infrastructure upgrades cannot exceed
90-days.
--deny-maintenance-period-end-date=DENY_MAINTENANCE_PERIOD_END_DATE
End date of the deny maintenance period in format: YYYY-MM-DD
This flag argument must be specified if any of the other arguments in
this group are specified.
--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE
Start date of the deny maintenance period in format: YYYY-MM-DD
This flag argument must be specified if any of the other arguments in
this group are specified.
--deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME
Time in UTC when the period starts and ends. A valid time of day must
be specified in 24hr format (ex: 13:00, 17:30, 23:45).
This flag argument must be specified if any of the other arguments in
this group are specified.
Maintenance Window - Maintenance typically only takes place once every few
months, and requires your instance to be restarted while updates are made,
which disrupts service briefly.
--maintenance-window-day=MAINTENANCE_WINDOW_DAY
Day of week for maintenance window, in UTC time zone. To set the
maintenance-window-day attribute:
▸ provide the argument --maintenance-window-day on the command
line. MAINTENANCE_WINDOW_DAY must be one of: friday, monday,
saturday, sunday, thursday, tuesday, wednesday.
This flag argument must be specified if any of the other arguments in
this group are specified.
--maintenance-window-time=MAINTENANCE_WINDOW_TIME
Hour of day for maintenance window, in UTC time zone. A valid time of
day must be specified in 24hr format (ex: 13:00, 17:30, 23:45).
Maintenance will be scheduled within 60 minutes. To set the
maintenance-window-time attribute:
▸ provide the argument --maintenance-window-time on the command
line.
This flag argument must be specified if any of the other arguments in
this group are specified.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances create

View file

@ -0,0 +1,82 @@
NAME
gcloud alpha looker instances delete - delete a Looker instance
SYNOPSIS
gcloud alpha looker instances delete (INSTANCE : --region=REGION) [--async]
[--force] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a Looker instance.
This command can fail for the following reasons:
▪ The instance specified does not exist.
▪ The active account does not have permission to access the given
instance.
EXAMPLES
To delete an instance with the name my-looker-instance in your default
region, run:
$ gcloud alpha looker instances delete my-looker-instance --async
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to delete. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the instance. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--force
Force delete an instance.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances delete

View file

@ -0,0 +1,77 @@
NAME
gcloud alpha looker instances describe - show metadata for a Looker
SYNOPSIS
gcloud alpha looker instances describe (INSTANCE : --region=REGION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Show metadata for a Looker instance.
Displays all metadata associated with a Looker instance given a valid
instance name.
This command can fail for the following reasons:
▪ The instance specified does not exist.
▪ The active account does not have permission to access the given
instance.
EXAMPLES
To display the metadata for an instance with the name my-looker-instance in
the default region, run:
$ gcloud alpha looker instances describe my-looker-instance
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to describe. The arguments in this group can be used to specify
the attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the instance. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances describe

View file

@ -0,0 +1,94 @@
NAME
gcloud alpha looker instances export - export a Looker instance
SYNOPSIS
gcloud alpha looker instances export (INSTANCE : --region=REGION)
--kms-key=KMS_KEY --target-gcs-uri=TARGET_GCS_URI
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command can fail for the following reasons:
▪ The instance specified does not exist.
▪ The active account does not have permission to access the given
instance.
▪ The Google Cloud Storage bucket does not exist.
EXAMPLES
To export an instance with the name my-looker-instance in the default
region, run:
$ gcloud alpha looker instances export my-looker-instance \
--target-gcs-uri='gs://bucketName/folderName' \
--kms-key='projects/my-project/locations/us-central1/keyRings/my\
-key-ring/cryptoKeys/my-key'
Note that the kms-key flag should be the full name of the kms key.
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to export. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The region of the instance.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line.
REQUIRED FLAGS
Key resource - The Cloud KMS (Key Management Service) cryptokey that will
be used to protect the Looker instance and backups. The 'Looker Service
Agent' service account must hold role 'Cloud KMS CryptoKey Encrypter'. The
arguments in this group can be used to specify the attributes of this
resource.
This must be specified.
--kms-key=KMS_KEY
Fully qualified identifier (name) for the key.
Export Destination - The path and storage where the export will be stored.
This must be specified.
--target-gcs-uri=TARGET_GCS_URI
The path to the folder in Google Cloud Storage where the export will
be stored. The URI is in the form gs://bucketName/folderName. The
Looker Service Agent should have the role Storage Object Creator.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances export

View file

@ -0,0 +1,89 @@
NAME
gcloud alpha looker instances - manage Looker instances
SYNOPSIS
gcloud alpha looker instances COMMAND [GCLOUD_WIDE_FLAG ...]
EXAMPLES
To create an instance with the name my-looker-instance, with an edition of
"LOOKER_CORE_STANDARD", run:
$ gcloud alpha looker instances create my-looker-instance \
--oauth-client-id='looker' --oauth-client-secret='looker' \
--edition="core-standard" --async
Note: It is recommended that the --async argument is provided when creating
a Looker instance.
To delete an instance with the name my-looker-instance, run:
$ gcloud alpha looker instances delete my-looker-instance --async
To display the details for an instance with name my-looker-instance, run:
$ gcloud alpha looker instances describe my-looker-instance
To restart an instance with the name my-looker-instance, run:
$ gcloud alpha looker instances restart my-looker-instance --async
To update an instance with the name my-looker-instance, run:
$ gcloud alpha looker instances update my-looker-instance --async
To export an instance with the name my-looker-instance, run:
$ gcloud alpha looker instances export my-looker-instance \
--target-gcs-uri='gs://bucketName/folderName' \
--kms-key='projects/my-project/locations/us-central1/keyRings/my\
-key-ring/cryptoKeys/my-key'
To import an instance with the name my-looker-instance, run:
$ gcloud alpha looker instances import my-looker-instance \
--source-gcs-uri='gs://bucketName/folderName'
To list all the instances, run:
$ gcloud alpha looker instances list
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
create
(ALPHA) Create a Looker instance.
delete
(ALPHA) Delete a Looker instance.
describe
(ALPHA) Show metadata for a Looker.
export
(ALPHA) Export a Looker instance.
import
(ALPHA) Import a Looker instance.
list
(ALPHA) List Looker instances.
restart
(ALPHA) Restart a Looker instance.
update
(ALPHA) Update a Looker instance.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances

View file

@ -0,0 +1,78 @@
NAME
gcloud alpha looker instances import - import a Looker instance
SYNOPSIS
gcloud alpha looker instances import (INSTANCE : --region=REGION)
--source-gcs-uri=SOURCE_GCS_URI [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command can fail for the following reasons:
▪ The instance specified does not exist.
▪ The active account does not have permission to access the given
instance.
▪ The Google Cloud Storage bucket does not exist.
EXAMPLES
To import an instance with the name my-looker-instance in the default
region, run:
$ gcloud alpha looker instances import my-looker-instance \
--source-gcs-uri='gs://bucketName/folderName'
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to import. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The region of the instance.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line.
REQUIRED FLAGS
Import Destination - The path and storage where the import will be
retrieved from.
This must be specified.
--source-gcs-uri=SOURCE_GCS_URI
The path to the folder in Google Cloud Storage where the import will
be retrieved from. The URI is in the form gs://bucketName/folderName.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances import

View file

@ -0,0 +1,89 @@
NAME
gcloud alpha looker instances list - list Looker instances
SYNOPSIS
gcloud alpha looker instances list [--region=REGION] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) List all Looker instances under the specified project and region.
To specify the maximum number of instances to list, use the --limit flag.
EXAMPLES
To list up to five instances, run:
$ gcloud alpha looker instances list --limit=5
FLAGS
Region resource - The region of the instances to display. This represents
a Cloud resource. (NOTE) Some attributes are not given arguments in this
group but can be set in other ways.
To set the project attribute:
◆ provide the argument --region on the command line with a fully
specified name;
◆ set the property looker/region with a fully specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
--region=REGION
ID of the region or fully qualified identifier for the region.
To set the region attribute:
▸ provide the argument --region on the command line;
▸ set the property looker/region.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
--uri
Print a list of resource URIs instead of the default output, and change
the command output to a list of URIs. If this flag is used with
--format, the formatting is applied on this URI list. To display URIs
alongside other keys instead, use the uri() transform.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances list

View file

@ -0,0 +1,79 @@
NAME
gcloud alpha looker instances restart - restart a Looker instance
SYNOPSIS
gcloud alpha looker instances restart (INSTANCE : --region=REGION)
[--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Restart for a Looker instance.
This command can fail for the following reasons:
▪ The instance specified does not exist.
▪ The active account does not have permission to access the given
instance.
EXAMPLES
To restart an instance with the name my-looker-instance in the default
region, run:
$ gcloud alpha looker instances restart my-looker-instance --async
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to describe. The arguments in this group can be used to specify
the attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the instance. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances restart

View file

@ -0,0 +1,198 @@
NAME
gcloud alpha looker instances update - update a Looker instance
SYNOPSIS
gcloud alpha looker instances update (INSTANCE : --region=REGION)
[--allowed-email-domains=[ALLOWED_EMAIL_DOMAINS,...]] [--async]
[--custom-domain=CUSTOM_DOMAIN] [--enable-public-ip]
[--add-developer-users=ADD_DEVELOPER_USERS
--add-standard-users=ADD_STANDARD_USERS
--add-viewer-users=ADD_VIEWER_USERS]
[--deny-maintenance-period-end-date=DENY_MAINTENANCE_PERIOD_END_DATE
--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE --deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME]
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY
--maintenance-window-time=MAINTENANCE_WINDOW_TIME]
[--oauth-client-id=OAUTH_CLIENT_ID
--oauth-client-secret=OAUTH_CLIENT_SECRET] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update the metadata and/or configuration parameters of a Looker
instance.
This command can fail for the following reasons:
▪ The instance specified does not exist.
▪ The active account does not have permission to update the given
instance.
EXAMPLES
To update the maintenance window to Sunday at 11:00 PM for a Looker
instance with the name my-looker-instance, run:
$ gcloud alpha looker instances update my-looker-instance \
--maintenance-window-day=sunday \
--maintenance-window-time='23:00' --async
POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance
you want to update. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument instance on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
INSTANCE
ID of the instance or fully qualified identifier for the instance.
To set the instance attribute:
▸ provide the argument instance on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the instance. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument instance on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
FLAGS
Email Domain Allowlist for Scheduled Content - Define the email domains to
which your users can deliver Looker (Google Cloud core) content.
--allowed-email-domains=[ALLOWED_EMAIL_DOMAINS,...]
This specifies the entire allowed email domain list.
--async
Return immediately, without waiting for the operation in progress to
complete.
Custom Domains - Looker (Google Cloud core) lets you serve your
application through a custom domain. If you use a custom domain, Google
will provide a managed auto-renewing SSL certificate for security.
DNS changes can take up to 24 hours to take effect. Your SSL certificate
will take several minutes to activate. Note that you must get the Type A
DNS Record from the Google Cloud Console and update with your domain
registrar for your custom domain to work properly.
--custom-domain=CUSTOM_DOMAIN
Domain name wanted to serve the Looker instance.
--enable-public-ip
This specifies whether public IP is enabled on the Looker instance.
User Allocations - There are ten Standard and two Developer users included
in the cost of the product. You can allocate additional Standard, Viewer,
and Developer users for this instance. It is an optional step and can be
modified later.
With the Standard edition of Looker (Google Cloud core), you can provision
up to 50 total users, distributed across Viewer, Standard, and Developer.
--add-developer-users=ADD_DEVELOPER_USERS
Number of additional Developer Users to allocate to the Looker
Instance.
--add-standard-users=ADD_STANDARD_USERS
Number of additional Standard Users to allocate to the Looker
Instance.
--add-viewer-users=ADD_VIEWER_USERS
Number of additional Viewer Users to allocate to the Looker Instance.
Deny Maintanence Period - You must allow at least 48 hours of maintenance
availability in a 60-day rolling window. Only contiguous availability
windows of at least two hours are considered. When setting a maintenance
exclusion please be aware that excluding application upgrades cannot
exceed 60-days and excluding infrastructure upgrades cannot exceed
90-days.
--deny-maintenance-period-end-date=DENY_MAINTENANCE_PERIOD_END_DATE
End date of the deny maintenance period in format: YYYY-MM-DD
This flag argument must be specified if any of the other arguments in
this group are specified.
--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE
Start date of the deny maintenance period in format: YYYY-MM-DD
This flag argument must be specified if any of the other arguments in
this group are specified.
--deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME
Time in UTC when the period starts and ends. A valid time of day must
be specified in 24hr format (ex: 13:00, 17:30, 23:45).
This flag argument must be specified if any of the other arguments in
this group are specified.
Maintenance Window - Maintenance typically only takes place once every few
months, and requires your instance to be restarted while updates are made,
which disrupts service briefly.
--maintenance-window-day=MAINTENANCE_WINDOW_DAY
Day of the week for the maintenance window, in UTC time zone.
MAINTENANCE_WINDOW_DAY must be one of: friday, monday, saturday,
sunday, thursday, tuesday, wednesday.
This flag argument must be specified if any of the other arguments in
this group are specified.
--maintenance-window-time=MAINTENANCE_WINDOW_TIME
Hour of day for maintenance window, in UTC time zone. A valid time of
day must be specified in 24hr format (ex: 13:00, 17:30, 23:45).
Maintenance will be scheduled within 60 minutes. To set the
maintenance-window-time attribute:
▸ provide the argument --maintenance-window-time on the command
line.
This flag argument must be specified if any of the other arguments in
this group are specified.
OAuth Application Credentials - Looker Instance OAuth login settings.
Setup an OAuth app that will allow users to authenticate and access the
instance. For more information see:
https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred
--oauth-client-id=OAUTH_CLIENT_ID
The client ID from an external OAuth application.
This flag argument must be specified if any of the other arguments in
this group are specified.
--oauth-client-secret=OAUTH_CLIENT_SECRET
The client secret from an external OAuth application.
This flag argument must be specified if any of the other arguments in
this group are specified.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker instances update

View file

@ -0,0 +1,70 @@
NAME
gcloud alpha looker operations cancel - cancel a Looker import or export
operation
SYNOPSIS
gcloud alpha looker operations cancel (OPERATION : --region=REGION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Cancel a Looker import or export operation.
EXAMPLES
To cancel an operation named my-looker-operation in the default region,
run:
$ gcloud alpha looker operations cancel my-looker-operation
POSITIONAL ARGUMENTS
Operation resource - Arguments and flags that specify the Looker operation
you want to describe. The arguments in this group can be used to specify
the attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument operation on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
OPERATION
ID of the operation or fully qualified identifier for the operation.
To set the operation attribute:
▸ provide the argument operation on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the operation. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument operation on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker operations cancel

View file

@ -0,0 +1,76 @@
NAME
gcloud alpha looker operations describe - show metadata for a Looker
operation
SYNOPSIS
gcloud alpha looker operations describe (OPERATION : --region=REGION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Display all metadata associated with a Looker operation given a
valid operation name.
This command can fail for the following reasons:
▪ The operation specified does not exist.
▪ The active account does not have permission to access the given
operation.
EXAMPLES
To display the metadata for an operation named my-looker-operation in the
default region, run:
$ gcloud alpha looker operations describe my-looker-operation
POSITIONAL ARGUMENTS
Operation resource - Arguments and flags that specify the Looker operation
you want to describe. The arguments in this group can be used to specify
the attributes of this resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument operation on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
OPERATION
ID of the operation or fully qualified identifier for the operation.
To set the operation attribute:
▸ provide the argument operation on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Looker region of the operation. Overrides the default
looker/region property value for this command invocation.
To set the region attribute:
▸ provide the argument operation on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property looker/region.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker operations describe

View file

@ -0,0 +1,40 @@
NAME
gcloud alpha looker operations - manage Looker operations
SYNOPSIS
gcloud alpha looker operations COMMAND [GCLOUD_WIDE_FLAG ...]
EXAMPLES
To display the details for an operation with name my-looker-op, run:
$ gcloud alpha looker operations describe my-looker-op
To list all the operations, run:
$ gcloud alpha looker operations list
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
cancel
(ALPHA) Cancel a Looker import or export operation.
describe
(ALPHA) Show metadata for a Looker operation.
list
(ALPHA) List Looker operations.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker operations

View file

@ -0,0 +1,89 @@
NAME
gcloud alpha looker operations list - list Looker operations
SYNOPSIS
gcloud alpha looker operations list [--region=REGION] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) List all Looker operations under the specified project and region.
To specify the maximum number of operations to list, use the --limit flag.
EXAMPLES
To list up to five operations, run:
$ gcloud alpha looker operations list --limit=5
FLAGS
Region resource - The region of the operations to display. This represents
a Cloud resource. (NOTE) Some attributes are not given arguments in this
group but can be set in other ways.
To set the project attribute:
◆ provide the argument --region on the command line with a fully
specified name;
◆ set the property looker/region with a fully specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
--region=REGION
ID of the region or fully qualified identifier for the region.
To set the region attribute:
▸ provide the argument --region on the command line;
▸ set the property looker/region.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
--uri
Print a list of resource URIs instead of the default output, and change
the command output to a list of URIs. If this flag is used with
--format, the formatting is applied on this URI list. To display URIs
alongside other keys instead, use the uri() transform.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the looker/v1alpha1 API. The full documentation for this
API can be found at: https://looker.com/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud looker operations list