Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GCLOUD_COMPUTE_PROJECT-INFO_GeneralUCommandsEMaROJECT-INFO_SET-USAGE-BUCKET(1)

NAME
       gcloud  compute project-info set-usage-bucket - set the usage reporting
	      bucket for a project

SYNOPSIS
       gcloud compute project-info set-usage-bucket  --bucket  BUCKET  [--pre-
	      fix PREFIX] [GLOBAL-FLAG ...]

DESCRIPTION
       gcloud compute project-info set-usage-bucket is used to configure usage
       reporting for projects.

       Setting usage reporting will cause a log	of usage per  resource	to  be
       written to a specified Google Cloud Storage bucket daily. For example,

	 $ gcloud compute project-info set-usage-bucket	\
	     --bucket gs://my-bucket

       will  cause logs	of the form usage_gce_YYYYMMDD.csv to be written daily
       to the bucket my-bucket.	To disable this	feature, issue the command:

	 $ gcloud compute project-info set-usage-bucket	--bucket

REQUIRED FLAGS
       --bucket	BUCKET
	 The URI of a Google Cloud Storage bucket where	the usage  report  ob-
	 ject  should be stored. The Google Service Account for	performing us-
	 age reporting is granted write	access to this bucket. The  user  run-
	 ning this command must	be an owner of the bucket.

	 To clear the usage bucket, specify this flag without an argument:

	   $ gcloud compute project-info set-usage-bucket --bucket

OPTIONAL FLAGS
       --prefix	PREFIX
	 An  optional prefix for the name of the usage report object stored in
	 the bucket.  If not supplied, then this defaults to usage. The	report
	 is  stored as a CSV file named	PREFIX_gce_YYYYMMDD.csv	where YYYYMMDD
	 is the	day of the usage according to Pacific Time. The	prefix	should
	 conform  to Google Cloud Storage object naming	conventions. This flag
	 must not be provided when clearing the	usage bucket.

GLOBAL FLAGS
       Run $ gcloud help for a description of flags available to all commands.

			       GCLOUD_COMPUTE_PROJECT-INFO_SET-USAGE-BUCKET(1)

NAME | SYNOPSIS | DESCRIPTION | REQUIRED FLAGS | OPTIONAL FLAGS | GLOBAL FLAGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gcloud_compute_project-info_set-usage-bucket&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help