conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Disable prompting to make gcloud suitable for scripting via the `gcloud-config-set` command"
},
{
"from": "gpt",
"value": "`gcloud config set disable_prompts true`"
}
] |
[
{
"from": "human",
"value": "View the list of properties currently in use via the `gcloud-config-set` command"
},
{
"from": "gpt",
"value": "`gcloud config list`"
}
] |
[
{
"from": "human",
"value": "Unset a previously set property via the `gcloud-config-set` command"
},
{
"from": "gpt",
"value": "`gcloud config unset {{property_name}}`"
}
] |
[
{
"from": "human",
"value": "Create a new configuration profile via the `gcloud-config-set` command"
},
{
"from": "gpt",
"value": "`gcloud config configurations create {{configuration_name}}`"
}
] |
[
{
"from": "human",
"value": "Switch between different configuration profiles via the `gcloud-config-set` command"
},
{
"from": "gpt",
"value": "`gcloud config configurations activate {{configuration_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud container`."
},
{
"from": "gpt",
"value": "Manage containerized applications on Kubernetes and clusters.\nSee also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/container>.\n"
}
] |
[
{
"from": "human",
"value": "Register `gcloud` as a Docker credential helper via the `gcloud-container` command"
},
{
"from": "gpt",
"value": "`gcloud auth configure-docker`"
}
] |
[
{
"from": "human",
"value": "Create a cluster to run GKE containers via the `gcloud-container` command"
},
{
"from": "gpt",
"value": "`gcloud container clusters create {{cluster_name}}`"
}
] |
[
{
"from": "human",
"value": "List clusters for running GKE containers via the `gcloud-container` command"
},
{
"from": "gpt",
"value": "`gcloud container clusters list`"
}
] |
[
{
"from": "human",
"value": "Update kubeconfig to get `kubectl` to use a GKE cluster via the `gcloud-container` command"
},
{
"from": "gpt",
"value": "`gcloud container clusters get-credentials {{cluster_name}}`"
}
] |
[
{
"from": "human",
"value": "List tag and digest metadata for a container image via the `gcloud-container` command"
},
{
"from": "gpt",
"value": "`gcloud container images list-tags {{image}}`"
}
] |
[
{
"from": "human",
"value": "Describe an existing cluster for running containers via the `gcloud-container` command"
},
{
"from": "gpt",
"value": "`gcloud container clusters describe {{cluster_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud feedback`."
},
{
"from": "gpt",
"value": "Provide feedback to the Google Cloud team.\nSee also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/feedback>.\n"
}
] |
[
{
"from": "human",
"value": "Provide feedback to the `gcloud` team via the `gcloud-feedback` command"
},
{
"from": "gpt",
"value": "`gcloud feedback`"
}
] |
[
{
"from": "human",
"value": "Provide feedback to the `gcloud` team and attach a log file via the `gcloud-feedback` command"
},
{
"from": "gpt",
"value": "`gcloud feedback --log-file {{log_file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud help`."
},
{
"from": "gpt",
"value": "Display help and reference information for `gcloud`.\nFor supplementary help for topics not directly associated with individual commands, see also `tldr gcloud topic`.\nMore information: <https://cloud.googl... |
[
{
"from": "human",
"value": "Search the `gcloud` CLI reference documents for specific terms via the `gcloud-help` command"
},
{
"from": "gpt",
"value": "`gcloud help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud iam`."
},
{
"from": "gpt",
"value": "Configure Identity and Access Management (IAM) preferences and service accounts.\nSee also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/iam>.\n"
}
] |
[
{
"from": "human",
"value": "List IAM grantable roles for a resource via the `gcloud-iam` command"
},
{
"from": "gpt",
"value": "`gcloud iam list-grantable-roles {{resource}}`"
}
] |
[
{
"from": "human",
"value": "Create a custom role for a organization or project via the `gcloud-iam` command"
},
{
"from": "gpt",
"value": "`gcloud iam roles create {{role_name}} --{{organization|project}} {{organization|project_id}} --file {{path/to/role.yaml}}`"
}
] |
[
{
"from": "human",
"value": "Create a service account for a project via the `gcloud-iam` command"
},
{
"from": "gpt",
"value": "`gcloud iam service-accounts create {{name}}`"
}
] |
[
{
"from": "human",
"value": "Add an IAM policy binding to a service account via the `gcloud-iam` command"
},
{
"from": "gpt",
"value": "`gcloud iam service-accounts add-iam-policy-binding {{service_account_email}} --member {{member}} --role {{role}}`"
}
] |
[
{
"from": "human",
"value": "Replace existing IAM policy binding via the `gcloud-iam` command"
},
{
"from": "gpt",
"value": "`gcloud iam service-accounts set-iam-policy {{service_account_email}} {{policy_file}}`"
}
] |
[
{
"from": "human",
"value": "List a service account's keys via the `gcloud-iam` command"
},
{
"from": "gpt",
"value": "`gcloud iam service-accounts keys list --iam-account {{service_account_email}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud info`."
},
{
"from": "gpt",
"value": "Display information about the current `gcloud` environment.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/info>.\n"
}
] |
[
{
"from": "human",
"value": "Display `gcloud` environment information via the `gcloud-info` command"
},
{
"from": "gpt",
"value": "`gcloud info`"
}
] |
[
{
"from": "human",
"value": "Check network connectivity and hidden properties via the `gcloud-info` command"
},
{
"from": "gpt",
"value": "`gcloud info --run-diagnostics`"
}
] |
[
{
"from": "human",
"value": "Print the contents of the most recent log file via the `gcloud-info` command"
},
{
"from": "gpt",
"value": "`gcloud info --show-log`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud init`."
},
{
"from": "gpt",
"value": "Launch an interactive workflow to setup `gcloud` or reinitialize configurations.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/init>.\n"
}
] |
[
{
"from": "human",
"value": "Launch a \"Getting Started\" workflow via the `gcloud-init` command"
},
{
"from": "gpt",
"value": "`gcloud init`"
}
] |
[
{
"from": "human",
"value": "Launch a workflow without diagnostics via the `gcloud-init` command"
},
{
"from": "gpt",
"value": "`gcloud init --skip-diagnostics`"
}
] |
[
{
"from": "human",
"value": "Use the console for authentication via the `gcloud-init` command"
},
{
"from": "gpt",
"value": "`gcloud init --console-only`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud kms decrypt`."
},
{
"from": "gpt",
"value": "Decrypt a ciphertext file using a Cloud KMS key.\nSee also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/kms/decrypt>.\n"
}
] |
[
{
"from": "human",
"value": "Decrypt a file using a specified key, key ring, and location via the `gcloud-kms-decrypt` command"
},
{
"from": "gpt",
"value": "`gcloud kms decrypt --key={{key_name}} --keyring={{keyring_name}} --location={{global}} --ciphertext-file={{path/to/ciphertext}} --plainte... |
[
{
"from": "human",
"value": "Decrypt a file with additional authenticated data (AAD) and write the decrypted plaintext to `stdout` via the `gcloud-kms-decrypt` command"
},
{
"from": "gpt",
"value": "`gcloud kms decrypt --key={{key_name}} --keyring={{keyring_name}} --location={{global}} --additio... |
[
{
"from": "human",
"value": "Tell me about `gcloud logging logs list`."
},
{
"from": "gpt",
"value": "List logs in a Google Cloud project.\nUseful for identifying available logs for monitoring and analysis. See also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/log... |
[
{
"from": "human",
"value": "List all logs in the current project via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list`"
}
] |
[
{
"from": "human",
"value": "List all logs for a specific log bucket and location via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --bucket={{bucket_id}} --location={{location}}`"
}
] |
[
{
"from": "human",
"value": "List all logs for a specific view in a log bucket via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --bucket={{bucket_id}} --location={{location}} --view={{view_id}}`"
}
] |
[
{
"from": "human",
"value": "List logs with a filter expression via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --filter=\"{{expression}}\"`"
}
] |
[
{
"from": "human",
"value": "List a specified number of logs via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --limit={{number}}`"
}
] |
[
{
"from": "human",
"value": "List logs sorted by a specific field in ascending or descending order (`~` for descending) via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --sort-by=\"{{field_name}}\"`"
}
] |
[
{
"from": "human",
"value": "List logs sorted by multiple fields via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --sort-by=\"{{field1}},~{{field2}}\"`"
}
] |
[
{
"from": "human",
"value": "List logs with verbose output, showing additional details via the `gcloud-logging-logs-list` command"
},
{
"from": "gpt",
"value": "`gcloud logging logs list --verbosity=debug`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud`."
},
{
"from": "gpt",
"value": "The official CLI tool for Google Cloud Platform.\nNote: `gcloud` subcommands have their own usage documentation.\nMore information: <https://cloud.google.com/sdk/gcloud>.\n"
}
] |
[
{
"from": "human",
"value": "List all properties in one's active configuration via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud config list`"
}
] |
[
{
"from": "human",
"value": "Login to a Google account via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud auth login`"
}
] |
[
{
"from": "human",
"value": "Set the active project via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud config set project {{project_name}}`"
}
] |
[
{
"from": "human",
"value": "SSH into a virtual machine instance via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud compute ssh {{user}}@{{instance}}`"
}
] |
[
{
"from": "human",
"value": "Display all Google Compute Engine instances in a project (by default instances from all zones are listed) via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud compute instances list`"
}
] |
[
{
"from": "human",
"value": "Update a kubeconfig file with the appropriate credentials to point `kubectl` to a specific cluster in Google Kubernetes Engine (GKE) via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud container clusters get-credentials {{cluster_name}}`"
}
] |
[
{
"from": "human",
"value": "Update all `gcloud` components via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud components update`"
}
] |
[
{
"from": "human",
"value": "Display help for a given command via the `gcloud` command"
},
{
"from": "gpt",
"value": "`gcloud help {{command}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud projects`."
},
{
"from": "gpt",
"value": "Manage project access policies in Google Cloud.\nSee also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/projects>.\n"
}
] |
[
{
"from": "human",
"value": "Create a new project via the `gcloud-projects` command"
},
{
"from": "gpt",
"value": "`gcloud projects create {{project_id|project_number}}`"
}
] |
[
{
"from": "human",
"value": "List all active projects via the `gcloud-projects` command"
},
{
"from": "gpt",
"value": "`gcloud projects list`"
}
] |
[
{
"from": "human",
"value": "Display metadata for a project via the `gcloud-projects` command"
},
{
"from": "gpt",
"value": "`gcloud projects describe {{project_id}}`"
}
] |
[
{
"from": "human",
"value": "Delete a project via the `gcloud-projects` command"
},
{
"from": "gpt",
"value": "`gcloud projects delete {{project_id|project_number}}`"
}
] |
[
{
"from": "human",
"value": "Add an IAM policy binding to a specified project via the `gcloud-projects` command"
},
{
"from": "gpt",
"value": "`gcloud projects add-iam-policy-binding {{project_id}} --member {{principal}} --role {{role}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud sql backups describe`."
},
{
"from": "gpt",
"value": "Retrieve information about a backup.\nSee also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/sql/backups/describe>.\n"
}
] |
[
{
"from": "human",
"value": "Retrieve information about a backup via the `gcloud-sql-backups-describe` command"
},
{
"from": "gpt",
"value": "`gcloud sql backups describe {{backup_id}} --instance={{instance_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud sql export sql`."
},
{
"from": "gpt",
"value": "Export data from a Cloud SQL instance to an SQL file in Google Cloud Storage.\nUseful for creating backups or migrating data. See also: `gcloud`.\nMore information: <https://cloud.google.com/sdk/gc... |
[
{
"from": "human",
"value": "Export data from a specific Cloud SQL instance to a Google Cloud Storage bucket as an SQL dump file via the `gcloud-sql-export-sql` command"
},
{
"from": "gpt",
"value": "`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}}`"
}
] |
[
{
"from": "human",
"value": "Export data asynchronously, returning immediately without waiting for the operation to complete via the `gcloud-sql-export-sql` command"
},
{
"from": "gpt",
"value": "`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --async`"
}
] |
[
{
"from": "human",
"value": "Export data from specific databases within the Cloud SQL instance via the `gcloud-sql-export-sql` command"
},
{
"from": "gpt",
"value": "`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --database={{database1,database2,...}}`"
}
] |
[
{
"from": "human",
"value": "Export specific tables from a specified database within the Cloud SQL instance via the `gcloud-sql-export-sql` command"
},
{
"from": "gpt",
"value": "`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --database={{database}} --table={{table1,table... |
[
{
"from": "human",
"value": "Export data while offloading the operation to a temporary instance to reduce strain on the source instance via the `gcloud-sql-export-sql` command"
},
{
"from": "gpt",
"value": "`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --offload`"
}
] |
[
{
"from": "human",
"value": "Export data and compress the output with `gzip` via the `gcloud-sql-export-sql` command"
},
{
"from": "gpt",
"value": "`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}}.gz`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud topic`."
},
{
"from": "gpt",
"value": "Display supplementary help for topics not directly associated with individual commands. See also `gcloud`.\nFor general help, see `tldr gcloud help`.\nMore information: <https://cloud.google.com/sdk/gcloud/... |
[
{
"from": "human",
"value": "View supplementary help material for non-command topics like accessibility, filtering, and formatting via the `gcloud-topic` command"
},
{
"from": "gpt",
"value": "`gcloud topic {{topic_name}}`"
}
] |
[
{
"from": "human",
"value": "List all available topics via the `gcloud-topic` command"
},
{
"from": "gpt",
"value": "`gcloud topic --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcloud-version`."
},
{
"from": "gpt",
"value": "Print version information for Google Cloud CLI components.\nMore information: <https://cloud.google.com/sdk/gcloud/reference/version>.\n"
}
] |
[
{
"from": "human",
"value": "Display version information for all installed components, along with available updates to them via the `gcloud-version` command"
},
{
"from": "gpt",
"value": "`gcloud version`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcloud-version` command"
},
{
"from": "gpt",
"value": "`gcloud version --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcpdiag`."
},
{
"from": "gpt",
"value": "Google Cloud Platform troubleshooting and diagnostics tool.\nRun in a Docker container or in GCP Cloudshell.\nMore information: <https://github.com/GoogleCloudPlatform/gcpdiag>.\n"
}
] |
[
{
"from": "human",
"value": "Run `gcpdiag` on your project, returning all rules via the `gcpdiag` command"
},
{
"from": "gpt",
"value": "`gcpdiag lint --project={{gcp_project_id}}`"
}
] |
[
{
"from": "human",
"value": "Hide rules that are ok via the `gcpdiag` command"
},
{
"from": "gpt",
"value": "`gcpdiag lint --project={{gcp_project_id}} --hide-ok`"
}
] |
[
{
"from": "human",
"value": "Authenticate using a service account private key file via the `gcpdiag` command"
},
{
"from": "gpt",
"value": "`gcpdiag lint --project={{gcp_project_id}} --auth-key {{path/to/private_key}}`"
}
] |
[
{
"from": "human",
"value": "Search logs and metrics from a number of days back (default: 3 days) via the `gcpdiag` command"
},
{
"from": "gpt",
"value": "`gcpdiag lint --project={{gcp_project_id}} --within-days {{number}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcpdiag` command"
},
{
"from": "gpt",
"value": "`gcpdiag lint --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcrane copy`."
},
{
"from": "gpt",
"value": "Efficiently copy a remote image from source to target while retaining the digest value.\nMore information: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.\n"
}
] |
[
{
"from": "human",
"value": "Copy an image from source to target via the `gcrane-copy` command"
},
{
"from": "gpt",
"value": "`gcrane {{[cp|copy]}} {{source}} {{target}}`"
}
] |
[
{
"from": "human",
"value": "Set the maximum number of concurrent copies, defaults to 20 via the `gcrane-copy` command"
},
{
"from": "gpt",
"value": "`gcrane copy {{source}} {{target}} {{[-j|--jobs]}} {{nr_of_copies}}`"
}
] |
[
{
"from": "human",
"value": "Whether to recurse through repositories via the `gcrane-copy` command"
},
{
"from": "gpt",
"value": "`gcrane copy {{source}} {{target}} {{[-r|--recursive]}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcrane-copy` command"
},
{
"from": "gpt",
"value": "`gcrane copy {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcrane gc`."
},
{
"from": "gpt",
"value": "List images that are not tagged.\nWill calculate images that can be garbage-collected.\nThis can be composed with `gcrane delete` to actually garbage collect them.\nMore information: <https://github.com/google... |
[
{
"from": "human",
"value": "List untagged images via the `gcrane-gc` command"
},
{
"from": "gpt",
"value": "`gcrane gc {{repository}}`"
}
] |
[
{
"from": "human",
"value": "Whether to recurse through repositories via the `gcrane-gc` command"
},
{
"from": "gpt",
"value": "`gcrane gc {{repository}} {{[-r|--recursive]}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcrane-gc` command"
},
{
"from": "gpt",
"value": "`gcrane gc {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcrane help`."
},
{
"from": "gpt",
"value": "Help provides help for any command in the application.\nMore information: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.\n"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand via the `gcrane-help` command"
},
{
"from": "gpt",
"value": "`gcrane help {{command}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcrane-help` command"
},
{
"from": "gpt",
"value": "`gcrane help {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcrane ls`."
},
{
"from": "gpt",
"value": "List the tags in a repository.\nMore complex form than `crane ls`, which allows for listing tags, manifest and sub-repositories.\nMore information: <https://github.com/google/go-containerregistry/blob/main/cmd... |
[
{
"from": "human",
"value": "List the tags via the `gcrane-ls` command"
},
{
"from": "gpt",
"value": "`gcrane ls {{repository}}`"
}
] |
[
{
"from": "human",
"value": "Format response from the registry as JSON via the `gcrane-ls` command"
},
{
"from": "gpt",
"value": "`gcrane ls {{repository}} --json`"
}
] |
[
{
"from": "human",
"value": "Whether to recurse through repositories via the `gcrane-ls` command"
},
{
"from": "gpt",
"value": "`gcrane ls {{repository}} {{[-r|--recursive]}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcrane-ls` command"
},
{
"from": "gpt",
"value": "`gcrane ls {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gcrane`."
},
{
"from": "gpt",
"value": "Container images managing tool.\nThis tool implements a superset of the `crane` commands, with additional commands that are specific to `gcr.io`.\nSome subcommands such as `append`, `auth`, `copy`, etc. have thei... |
[
{
"from": "human",
"value": "Execute a `gcrane` subcommand via the `gcrane` command"
},
{
"from": "gpt",
"value": "`gcrane {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Allow pushing non-distributable (foreign) layers via the `gcrane` command"
},
{
"from": "gpt",
"value": "`gcrane --allow-nondistributable-artifacts {{subcommand}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.