mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 08:55:34 +00:00
103 lines
3.3 KiB
Text
103 lines
3.3 KiB
Text
NAME
|
|
gcloud apihub plugins instances manage-source-data - manage pluginInstances
|
|
|
|
SYNOPSIS
|
|
gcloud apihub plugins instances manage-source-data
|
|
(INSTANCE : --location=LOCATION --plugin=PLUGIN) --action=ACTION
|
|
--data=DATA --data-type=DATA_TYPE --relative-path=RELATIVE_PATH
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
manage pluginInstances
|
|
|
|
EXAMPLES
|
|
To manage all pluginInstances, run:
|
|
|
|
$ gcloud apihub plugins instances manage-source-data
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Instance resource - The name of the plugin instance for which data needs
|
|
to be managed. Format:
|
|
projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
|
|
The arguments in this group can be used to specify the attributes of this
|
|
resource. (NOTE) Some attributes are not given arguments in this group but
|
|
can be set in other ways.
|
|
|
|
To set the project attribute:
|
|
◆ provide the argument instance on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
This must be specified.
|
|
|
|
INSTANCE
|
|
ID of the instance or fully qualified identifier for the instance.
|
|
|
|
To set the instance attribute:
|
|
▸ provide the argument instance on the command line.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
The location id of the instance resource.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument instance on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line.
|
|
|
|
--plugin=PLUGIN
|
|
The plugin id of the instance resource.
|
|
|
|
To set the plugin attribute:
|
|
▸ provide the argument instance on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --plugin on the command line.
|
|
|
|
REQUIRED FLAGS
|
|
--action=ACTION
|
|
Action to be performed. ACTION must be one of:
|
|
|
|
delete
|
|
Delete data.
|
|
upload
|
|
Upload or upsert data.
|
|
|
|
--data=DATA
|
|
Data to be managed.
|
|
|
|
--data-type=DATA_TYPE
|
|
Type of data to be managed. DATA_TYPE must be one of:
|
|
|
|
environment-manifest
|
|
Environment manifest.
|
|
proxy-bundle
|
|
Proxy bundle.
|
|
proxy-deployment-manifest
|
|
Proxy deployment manifest.
|
|
shared-flow-bundle
|
|
Shared flow bundle.
|
|
|
|
--relative-path=RELATIVE_PATH
|
|
Relative path of data being managed for a given plugin instance.
|
|
|
|
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.
|
|
|
|
API REFERENCE
|
|
This command uses the apihub/v1 API. The full documentation for this API
|
|
can be found at:
|
|
https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud alpha apihub plugins instances manage-source-data
|
|
|