Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.61 KB

apigeecli_products_import.md

File metadata and controls

52 lines (38 loc) · 1.61 KB

apigeecli products import

Import a file containing API products

Synopsis

Import a file containing API products

apigeecli products import [flags]

Examples

Import API Products from a file containing REST Operations
apigeecli products import -f samples/apiproduct-legacy.json  --default-token

Import API Products from a file containing GraphQL Operations
apigeecli products import -f samples/apiproduct-gqlgroup.json  --default-token

Options

  -c, --conn int      Number of connections (default 4)
  -f, --file string   File containing API Products
  -h, --help          help for import
      --upsert        Insert or update products

Options inherited from parent commands

  -a, --account string   Path Service Account private key in JSON
      --api api          Sets the control plane API. Must be one of prod, autopush or staging; default is prod
      --default-token    Use Google default application credentials access token
      --disable-check    Disable check for newer versions
      --metadata-token   Metadata OAuth2 access token
      --no-output        Disable printing all statements to stdout
      --no-warnings      Disable printing warnings to stderr
  -o, --org string       Apigee organization name
      --print-output     Control printing of info log statements (default true)
  -r, --region string    Apigee control plane region name; default is https://apigee.googleapis.com
  -t, --token string     Google OAuth Token

SEE ALSO

Auto generated by spf13/cobra on 20-Sep-2024