Skip to content

gcp get-object

Fetch object

Description

update log metric for gcp logs

Synopsis

gcp get-object
    [--site <site>]
    <name>
    --bucket <bucket>

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

name - (string)

     Object name to fetch object body
     Example: "logfile1"
     Default: _None_      Attributes: required

bucket - (string)

     Bucket name
     Example: --bucket "bucket1"
     Default: _None_      Attributes: required

Examples

gcp get-object "logfile1" --bucket "bucket1"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "gcp"
Service Instance
Namespace
Object Type "object"
Object ID name

Please see Access Control for details.