1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Feb 11 11:28:24 UTC 2026

This commit is contained in:
Automated 2026-02-11 11:28:25 +00:00
parent 582f364023
commit aaff695a08
2667 changed files with 84754 additions and 68242 deletions

View file

@ -7,6 +7,7 @@ SYNOPSIS
(--destination-cloud-sql-instance=DESTINATION_CLOUD_SQL_INSTANCE
--destination-forwarding-rule=DESTINATION_FORWARDING_RULE
--destination-gke-master-cluster=DESTINATION_GKE_MASTER_CLUSTER
--destination-gke-pod=DESTINATION_GKE_POD
--destination-instance=DESTINATION_INSTANCE
--destination-ip-address=DESTINATION_IP_ADDRESS
--destination-redis-cluster=DESTINATION_REDIS_CLUSTER
@ -16,7 +17,7 @@ SYNOPSIS
--source-cloud-run-revision=SOURCE_CLOUD_RUN_REVISION
--source-cloud-sql-instance=SOURCE_CLOUD_SQL_INSTANCE
--source-gke-master-cluster=SOURCE_GKE_MASTER_CLUSTER
--source-instance=SOURCE_INSTANCE
--source-gke-pod=SOURCE_GKE_POD --source-instance=SOURCE_INSTANCE
--source-ip-address=SOURCE_IP_ADDRESS) [--async]
[--bypass-firewall-checks] [--description=DESCRIPTION]
[--destination-fqdn=DESTINATION_FQDN]
@ -25,7 +26,7 @@ SYNOPSIS
[--destination-project=DESTINATION_PROJECT] [--labels=[KEY=VALUE,...]]
[--other-projects=[OTHER_PROJECTS,...]] [--protocol=PROTOCOL]
[--round-trip] [--source-network=SOURCE_NETWORK]
[--source-network-type=SOURCE_NETWORK_TYPE; default="gcp-network"]
[--source-network-type=SOURCE_NETWORK_TYPE; default="unspecified"]
[--source-project=SOURCE_PROJECT] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -75,6 +76,9 @@ REQUIRED FLAGS
A cluster URI for Google Kubernetes Engine master as the destination
endpoint.
--destination-gke-pod=DESTINATION_GKE_POD
A GKE Pod URI as the destination endpoint.
--destination-instance=DESTINATION_INSTANCE
A Compute Engine instance URI as the destination endpoint.
@ -106,6 +110,9 @@ REQUIRED FLAGS
A cluster URI for Google Kubernetes Engine master as the source
endpoint.
--source-gke-pod=SOURCE_GKE_POD
A GKE Pod URI as the source endpoint.
--source-instance=SOURCE_INSTANCE
A Compute Engine instance URI as the source endpoint.
@ -128,7 +135,9 @@ OPTIONAL FLAGS
Kubernetes Engine.
--destination-network=DESTINATION_NETWORK
A VPC network URI where the destination is located.
A VPC network URI for the destination endpoint. Used only when the
source is an external IP address endpoint, and the destination is an
internal IP address endpoint.
--destination-port=DESTINATION_PORT
The IP protocol port of the destination. Only applicable when protocol
@ -153,16 +162,39 @@ OPTIONAL FLAGS
reaches the destination from the source.
--source-network=SOURCE_NETWORK
A VPC network URI where the source is located.
A VPC network URI for the source endpoint. Used according to the
source-network-type flag.
--source-network-type=SOURCE_NETWORK_TYPE; default="gcp-network"
--source-network-type=SOURCE_NETWORK_TYPE; default="unspecified"
Type of the network where the source is located. SOURCE_NETWORK_TYPE
must be one of:
gcp-network
Network in Google Cloud Platform.
A VPC network. Should be used for internal IP addresses in VPC
networks. The source-network field should be set to the URI of this
network. Only endpoints within this network will be considered.
internet
Internet. Should be used for internet-routable external IP
addresses or IP addresses for global Google APIs and services.
non-gcp-network
Network outside Google Cloud Platform.
A network outside of Google Cloud (for example, an on-premises
network or another cloud provider network). Should be used for
internal IP addresses outside of Google Cloud. The source-network
field should be set to the URI of the VPC network containing a
corresponding Cloud VPN tunnel, Cloud Interconnect VLAN attachment,
or a router appliance instance. Only endpoints reachable from the
provided VPC network via the routes to networks outside of Google
Cloud will be considered.
unspecified
Unspecified. The test will analyze all possible IP address
locations. This might take longer and produce inaccurate or
ambiguous results, so prefer specifying an explicit network type.
The source-project field should be set to the project where the
Google Cloud endpoint is located, or where the endpoint outside of
Google Cloud should be reachable from (via routes to networks
outside of Google Cloud). The project might also be inferred from
the Connectivity Test project or other projects referenced in the
request.
--source-project=SOURCE_PROJECT
Project ID of the source endpoint.

View file

@ -11,7 +11,7 @@ SYNOPSIS
[--destination-project=DESTINATION_PROJECT] [--labels=[KEY=VALUE,...]]
[--other-projects=[OTHER_PROJECTS,...]] [--protocol=PROTOCOL]
[--round-trip] [--source-network=SOURCE_NETWORK]
[--source-network-type=SOURCE_NETWORK_TYPE; default="gcp-network"]
[--source-network-type=SOURCE_NETWORK_TYPE; default="unspecified"]
[--source-project=SOURCE_PROJECT]
[--clear-destination-cloud-sql-instance
| --destination-cloud-sql-instance=DESTINATION_CLOUD_SQL_INSTANCE]
@ -19,6 +19,8 @@ SYNOPSIS
| --destination-forwarding-rule=DESTINATION_FORWARDING_RULE]
[--clear-destination-gke-master-cluster
| --destination-gke-master-cluster=DESTINATION_GKE_MASTER_CLUSTER]
[--clear-destination-gke-pod
| --destination-gke-pod=DESTINATION_GKE_POD]
[--clear-destination-instance
| --destination-instance=DESTINATION_INSTANCE]
[--clear-destination-ip-address
@ -37,6 +39,7 @@ SYNOPSIS
| --source-cloud-sql-instance=SOURCE_CLOUD_SQL_INSTANCE]
[--clear-source-gke-master-cluster
| --source-gke-master-cluster=SOURCE_GKE_MASTER_CLUSTER]
[--clear-source-gke-pod | --source-gke-pod=SOURCE_GKE_POD]
[--clear-source-instance | --source-instance=SOURCE_INSTANCE]
[--clear-source-ip-address | --source-ip-address=SOURCE_IP_ADDRESS]
[GCLOUD_WIDE_FLAG ...]
@ -89,7 +92,9 @@ FLAGS
Kubernetes Engine.
--destination-network=DESTINATION_NETWORK
A VPC network URI where the destination is located.
A VPC network URI for the destination endpoint. Used only when the
source is an external IP address endpoint, and the destination is an
internal IP address endpoint.
--destination-port=DESTINATION_PORT
The IP protocol port of the destination. Only applicable when protocol
@ -115,16 +120,39 @@ FLAGS
disable.
--source-network=SOURCE_NETWORK
A VPC network URI where the source is located.
A VPC network URI for the source endpoint. Used according to the
source-network-type flag.
--source-network-type=SOURCE_NETWORK_TYPE; default="gcp-network"
--source-network-type=SOURCE_NETWORK_TYPE; default="unspecified"
Type of the network where the source is located. SOURCE_NETWORK_TYPE
must be one of:
gcp-network
Network in Google Cloud Platform.
A VPC network. Should be used for internal IP addresses in VPC
networks. The source-network field should be set to the URI of this
network. Only endpoints within this network will be considered.
internet
Internet. Should be used for internet-routable external IP
addresses or IP addresses for global Google APIs and services.
non-gcp-network
Network outside Google Cloud Platform.
A network outside of Google Cloud (for example, an on-premises
network or another cloud provider network). Should be used for
internal IP addresses outside of Google Cloud. The source-network
field should be set to the URI of the VPC network containing a
corresponding Cloud VPN tunnel, Cloud Interconnect VLAN attachment,
or a router appliance instance. Only endpoints reachable from the
provided VPC network via the routes to networks outside of Google
Cloud will be considered.
unspecified
Unspecified. The test will analyze all possible IP address
locations. This might take longer and produce inaccurate or
ambiguous results, so prefer specifying an explicit network type.
The source-project field should be set to the project where the
Google Cloud endpoint is located, or where the endpoint outside of
Google Cloud should be reachable from (via routes to networks
outside of Google Cloud). The project might also be inferred from
the Connectivity Test project or other projects referenced in the
request.
--source-project=SOURCE_PROJECT
Project ID of the source endpoint.
@ -155,6 +183,14 @@ FLAGS
A cluster URI for Google Kubernetes Engine master as the destination
endpoint.
At most one of these can be specified:
--clear-destination-gke-pod
Clear existing destination GKE Pod.
--destination-gke-pod=DESTINATION_GKE_POD
A GKE Pod URI as the destination endpoint.
At most one of these can be specified:
--clear-destination-instance
@ -229,6 +265,14 @@ FLAGS
A cluster URI for Google Kubernetes Engine master as the source
endpoint.
At most one of these can be specified:
--clear-source-gke-pod
Clear existing source GKE Pod.
--source-gke-pod=SOURCE_GKE_POD
A GKE Pod URI as the source endpoint.
At most one of these can be specified:
--clear-source-instance

View file

@ -119,22 +119,22 @@ POSITIONAL ARGUMENTS
FLAGS
Arguments for the aggregation interval.
--aggregation-interval=AGGREGATION_INTERVAL
The aggregation interval for the logs. Default value is
INTERVAL_5_SEC. AGGREGATION_INTERVAL must be one of:
--aggregation-interval=AGGREGATION_INTERVAL
The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
AGGREGATION_INTERVAL must be one of:
interval-1-min
Aggregate logs in 1m intervals.
interval-10-min
Aggregate logs in 10m intervals.
interval-15-min
Aggregate logs in 15m intervals.
interval-30-sec
Aggregate logs in 30s intervals.
interval-5-min
Aggregate logs in 5m intervals.
interval-5-sec
Aggregate logs in 5s intervals.
interval-1-min
Aggregate logs in 1m intervals.
interval-10-min
Aggregate logs in 10m intervals.
interval-15-min
Aggregate logs in 15m intervals.
interval-30-sec
Aggregate logs in 30s intervals.
interval-5-min
Aggregate logs in 5m intervals.
interval-5-sec
Aggregate logs in 5s intervals.
--async
Return immediately, without waiting for the operation in progress to
@ -142,38 +142,37 @@ FLAGS
Arguments for the cross project metadata.
--cross-project-metadata=CROSS_PROJECT_METADATA
Determines whether to include cross project annotations in the logs.
This field is available only for organization configurations. If not
specified in org configs will be set to
CROSS_PROJECT_METADATA_ENABLED. CROSS_PROJECT_METADATA must be one
of:
--cross-project-metadata=CROSS_PROJECT_METADATA
Determines whether to include cross project annotations in the logs.
This field is available only for organization configurations. If not
specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
CROSS_PROJECT_METADATA must be one of:
cross-project-metadata-disabled
When CROSS_PROJECT_METADATA_DISABLED, metadata from other
projects will not be included in the logs.
cross-project-metadata-enabled
When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects
will be included in the logs.
cross-project-metadata-disabled
When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects
will not be included in the logs.
cross-project-metadata-enabled
When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects
will be included in the logs.
Arguments for the description.
--description=DESCRIPTION
The user-supplied description of the VPC Flow Logs configuration.
Maximum of 512 characters.
--description=DESCRIPTION
The user-supplied description of the VPC Flow Logs configuration.
Maximum of 512 characters.
Arguments for the filter expr.
--filter-expr=FILTER_EXPR
Export filter used to define which VPC Flow Logs should be logged.
--filter-expr=FILTER_EXPR
Export filter used to define which VPC Flow Logs should be logged.
Arguments for the flow sampling.
--flow-sampling=FLOW_SAMPLING
The value of the field must be in (0, 1]. The sampling rate of VPC
Flow Logs where 1.0 means all collected logs are reported. Setting
the sampling rate to 0.0 is not allowed. If you want to disable VPC
Flow Logs, use the state field instead. Default value is 1.0.
--flow-sampling=FLOW_SAMPLING
The value of the field must be in (0, 1]. The sampling rate of VPC Flow
Logs where 1.0 means all collected logs are reported. Setting the
sampling rate to 0.0 is not allowed. If you want to disable VPC Flow
Logs, use the state field instead. Default value is 1.0.
--labels=[LABELS,...]
Resource labels to represent user-provided metadata.
@ -200,17 +199,17 @@ FLAGS
Arguments for the metadata.
--metadata=METADATA
Configures whether all, none or a subset of metadata fields should be
added to the reported VPC flow logs. Default value is
INCLUDE_ALL_METADATA. METADATA must be one of:
--metadata=METADATA
Configures whether all, none or a subset of metadata fields should be
added to the reported VPC flow logs. Default value is
INCLUDE_ALL_METADATA. METADATA must be one of:
custom-metadata
Include only custom fields (specified in metadata_fields).
exclude-all-metadata
Exclude all metadata fields.
include-all-metadata
Include all metadata fields.
custom-metadata
Include only custom fields (specified in metadata_fields).
exclude-all-metadata
Exclude all metadata fields.
include-all-metadata
Include all metadata fields.
--metadata-fields=[METADATA_FIELDS,...]
Custom metadata fields to include in the reported VPC flow logs. Can
@ -218,16 +217,16 @@ FLAGS
Arguments for the state.
--state=STATE
The state of the VPC Flow Log configuration. Default value is
ENABLED. When creating a new configuration, it must be enabled.
Setting state=DISABLED will pause the log generation for this config.
STATE must be one of:
--state=STATE
The state of the VPC Flow Log configuration. Default value is ENABLED.
When creating a new configuration, it must be enabled. Setting
state=DISABLED will pause the log generation for this config. STATE
must be one of:
disabled
When DISABLED, this configuration will not generate logs.
enabled
When ENABLED, this configuration will generate logs.
disabled
When DISABLED, this configuration will not generate logs.
enabled
When ENABLED, this configuration will generate logs.
Arguments for the target resource.

View file

@ -28,7 +28,7 @@ REQUIRED FLAGS
Location resource - The parent resource of the VpcFlowLogsConfig, in one
of the following formats:
◆ For project-level resourcs: projects/{project_id}/locations/global
◆ For project-level resources: projects/{project_id}/locations/global
◆ For organization-level resources:
organizations/{organization_id}/locations/global The arguments in this

View file

@ -94,22 +94,22 @@ POSITIONAL ARGUMENTS
FLAGS
Arguments for the aggregation interval.
--aggregation-interval=AGGREGATION_INTERVAL
The aggregation interval for the logs. Default value is
INTERVAL_5_SEC. AGGREGATION_INTERVAL must be one of:
--aggregation-interval=AGGREGATION_INTERVAL
The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
AGGREGATION_INTERVAL must be one of:
interval-1-min
Aggregate logs in 1m intervals.
interval-10-min
Aggregate logs in 10m intervals.
interval-15-min
Aggregate logs in 15m intervals.
interval-30-sec
Aggregate logs in 30s intervals.
interval-5-min
Aggregate logs in 5m intervals.
interval-5-sec
Aggregate logs in 5s intervals.
interval-1-min
Aggregate logs in 1m intervals.
interval-10-min
Aggregate logs in 10m intervals.
interval-15-min
Aggregate logs in 15m intervals.
interval-30-sec
Aggregate logs in 30s intervals.
interval-5-min
Aggregate logs in 5m intervals.
interval-5-sec
Aggregate logs in 5s intervals.
--async
Return immediately, without waiting for the operation in progress to
@ -117,65 +117,64 @@ FLAGS
Arguments for the cross project metadata.
--cross-project-metadata=CROSS_PROJECT_METADATA
Determines whether to include cross project annotations in the logs.
This field is available only for organization configurations. If not
specified in org configs will be set to
CROSS_PROJECT_METADATA_ENABLED. CROSS_PROJECT_METADATA must be one
of:
--cross-project-metadata=CROSS_PROJECT_METADATA
Determines whether to include cross project annotations in the logs.
This field is available only for organization configurations. If not
specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
CROSS_PROJECT_METADATA must be one of:
cross-project-metadata-disabled
When CROSS_PROJECT_METADATA_DISABLED, metadata from other
projects will not be included in the logs.
cross-project-metadata-enabled
When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects
will be included in the logs.
cross-project-metadata-disabled
When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects
will not be included in the logs.
cross-project-metadata-enabled
When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects
will be included in the logs.
Arguments for the description.
--description=DESCRIPTION
The user-supplied description of the VPC Flow Logs configuration.
Maximum of 512 characters.
--description=DESCRIPTION
The user-supplied description of the VPC Flow Logs configuration.
Maximum of 512 characters.
Arguments for the filter expr.
--filter-expr=FILTER_EXPR
Export filter used to define which VPC Flow Logs should be logged.
--filter-expr=FILTER_EXPR
Export filter used to define which VPC Flow Logs should be logged.
Arguments for the flow sampling.
--flow-sampling=FLOW_SAMPLING
The value of the field must be in (0, 1]. The sampling rate of VPC
Flow Logs where 1.0 means all collected logs are reported. Setting
the sampling rate to 0.0 is not allowed. If you want to disable VPC
Flow Logs, use the state field instead. Default value is 1.0.
--flow-sampling=FLOW_SAMPLING
The value of the field must be in (0, 1]. The sampling rate of VPC Flow
Logs where 1.0 means all collected logs are reported. Setting the
sampling rate to 0.0 is not allowed. If you want to disable VPC Flow
Logs, use the state field instead. Default value is 1.0.
Arguments for the metadata.
--metadata=METADATA
Configures whether all, none or a subset of metadata fields should be
added to the reported VPC flow logs. Default value is
INCLUDE_ALL_METADATA. METADATA must be one of:
--metadata=METADATA
Configures whether all, none or a subset of metadata fields should be
added to the reported VPC flow logs. Default value is
INCLUDE_ALL_METADATA. METADATA must be one of:
custom-metadata
Include only custom fields (specified in metadata_fields).
exclude-all-metadata
Exclude all metadata fields.
include-all-metadata
Include all metadata fields.
custom-metadata
Include only custom fields (specified in metadata_fields).
exclude-all-metadata
Exclude all metadata fields.
include-all-metadata
Include all metadata fields.
Arguments for the state.
--state=STATE
The state of the VPC Flow Log configuration. Default value is
ENABLED. When creating a new configuration, it must be enabled.
Setting state=DISABLED will pause the log generation for this config.
STATE must be one of:
--state=STATE
The state of the VPC Flow Log configuration. Default value is ENABLED.
When creating a new configuration, it must be enabled. Setting
state=DISABLED will pause the log generation for this config. STATE
must be one of:
disabled
When DISABLED, this configuration will not generate logs.
enabled
When ENABLED, this configuration will generate logs.
disabled
When DISABLED, this configuration will not generate logs.
enabled
When ENABLED, this configuration will generate logs.
Arguments for the target resource.
@ -226,49 +225,52 @@ FLAGS
--labels=path_to_file.(yaml|json)
--update-labels=[UPDATE_LABELS,...]
Update labels value or add key value pair. Resource labels to
represent user-provided metadata.
Or at least one of these can be specified:
KEY
Keys must start with a lowercase character and contain only
hyphens (-), underscores (_), lowercase characters, and numbers.
--update-labels=[UPDATE_LABELS,...]
Update labels value or add key value pair. Resource labels to
represent user-provided metadata.
VALUE
Values must contain only hyphens (-), underscores (_), lowercase
characters, and numbers.
KEY
Keys must start with a lowercase character and contain only
hyphens (-), underscores (_), lowercase characters, and
numbers.
Shorthand Example:
--update-labels=string=string
JSON Example:
--update-labels='{"string": "string"}'
File Example:
--update-labels=path_to_file.(yaml|json)
At most one of these can be specified:
--clear-labels
Clear labels value and set to empty map.
--remove-labels=REMOVE_LABELS
Remove existing value from map labels. Sets remove_labels value.
VALUE
Values must contain only hyphens (-), underscores (_),
lowercase characters, and numbers.
Shorthand Example:
--remove-labels=string,string
--update-labels=string=string
JSON Example:
--remove-labels=["string"]
--update-labels='{"string": "string"}'
File Example:
--remove-labels=path_to_file.(yaml|json)
--update-labels=path_to_file.(yaml|json)
At most one of these can be specified:
--clear-labels
Clear labels value and set to empty map.
--remove-labels=REMOVE_LABELS
Remove existing value from map labels. Sets remove_labels value.
Shorthand Example:
--remove-labels=string,string
JSON Example:
--remove-labels=["string"]
File Example:
--remove-labels=path_to_file.(yaml|json)
Update metadata_fields.
@ -277,16 +279,18 @@ FLAGS
--metadata-fields=[METADATA_FIELDS,...]
Set metadata_fields to new value.
--add-metadata-fields=[ADD_METADATA_FIELDS,...]
Add new value to metadata_fields list.
Or at least one of these can be specified:
At most one of these can be specified:
--add-metadata-fields=[ADD_METADATA_FIELDS,...]
Add new value to metadata_fields list.
--clear-metadata-fields
Clear metadata_fields value and set to empty list.
At most one of these can be specified:
--remove-metadata-fields=[REMOVE_METADATA_FIELDS,...]
Remove existing value from metadata_fields list.
--clear-metadata-fields
Clear metadata_fields value and set to empty list.
--remove-metadata-fields=[REMOVE_METADATA_FIELDS,...]
Remove existing value from metadata_fields list.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,