gcloud container hub packages update

NAME
gcloud container hub packages update - update Package Rollouts Fleet Package
SYNOPSIS
gcloud container hub packages update(FLEET_PACKAGE :--location=LOCATION)--source=SOURCE[GCLOUD_WIDE_FLAG]
DESCRIPTION
Update Package Rollouts Fleet Package.
EXAMPLES
To update Fleet Packagecert-manager-app, run:
gcloudcontainerhubpackagesupdatecert-manager-app--source=my_source.yaml
POSITIONAL ARGUMENTS
Fleet package resource - The Fleet Package to create. The arguments in thisgroup can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentfleet_package on the command line with a fullyspecified name;
  • set the propertycore/project.

This must be specified.

FLEET_PACKAGE
ID of the fleet-package or fully qualified identifier for the fleet-package.

To set thefleet-package attribute:

  • provide the argumentfleet_package on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Google Cloud zone or region for the fleet-package.

To set thelocation attribute:

  • provide the argumentfleet_package on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertyconfig_delivery/location.
REQUIRED FLAGS
--source=SOURCE
Source file containing Fleet Package configuration.
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
These variants are also available:
gcloudalphacontainerhubpackagesupdate
gcloudbetacontainerhubpackagesupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-13 UTC.