mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 25 09:51:52 UTC 2024
This commit is contained in:
parent
8ebed5b0f1
commit
0a5b6f11af
202 changed files with 9781 additions and 830 deletions
122
gcloud/gemini/code-repository-indexes/create
Normal file
122
gcloud/gemini/code-repository-indexes/create
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes create - create a code repository
|
||||
index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes create
|
||||
(CODE_REPOSITORY_INDEX : --location=LOCATION) [--async]
|
||||
[--kms-key=KMS_KEY] [--labels=[LABELS,...]] [--request-id=REQUEST_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a code repository index instance.
|
||||
|
||||
The instance will be created in the specified project and location.
|
||||
|
||||
EXAMPLES
|
||||
To create a code repository index instance my-instance in project
|
||||
my-project and location us-central1, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes create my-instance \
|
||||
--project=my-project --location=us-central1
|
||||
|
||||
To create a code repository index instance my-instance in project
|
||||
my-project, location us-central1 with your managed encryption key run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes create my-instance \
|
||||
--project=my-project --location=us-central1 \
|
||||
--kms-key=projects/*/locations/*/keyRings/*/cryptoKeys/*
|
||||
|
||||
Note: --kms-key can be only passed during index creation and can not be
|
||||
used during update.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CodeRepositoryIndex resource - Identifier. name of resource 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 code_repository_index 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.
|
||||
|
||||
CODE_REPOSITORY_INDEX
|
||||
ID of the codeRepositoryIndex or fully qualified identifier for the
|
||||
codeRepositoryIndex.
|
||||
|
||||
To set the code_repository_index attribute:
|
||||
▸ provide the argument code_repository_index 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 codeRepositoryIndex resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument code_repository_index on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--kms-key=KMS_KEY
|
||||
Customer-managed encryption key name, in the format
|
||||
projects/*/locations/*/keyRings/*/cryptoKeys/*.
|
||||
|
||||
--labels=[LABELS,...]
|
||||
Labels as key value pairs.
|
||||
|
||||
KEY
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers.
|
||||
|
||||
VALUE
|
||||
Values must contain only hyphens (-), underscores (_), lowercase
|
||||
characters, and numbers.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--labels=string=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--labels='{"string": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--labels=path_to_file.(yaml|json)
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
An optional request ID to identify requests. Specify a unique request
|
||||
ID so that if you must retry your request, the server will know to
|
||||
ignore the request if it has already been completed. The server will
|
||||
guarantee that for at least 60 minutes since the first request.
|
||||
|
||||
For example, consider a situation where you make an initial request and
|
||||
the request times out. If you make the request again with the same
|
||||
request ID, the server can check if original operation with the same
|
||||
request ID was received, and if so, will ignore the second request.
|
||||
This prevents clients from accidentally creating duplicate commitments.
|
||||
|
||||
The request ID must be a valid UUID with the exception that zero UUID
|
||||
is not supported (00000000-0000-0000-0000-000000000000).
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
87
gcloud/gemini/code-repository-indexes/delete
Normal file
87
gcloud/gemini/code-repository-indexes/delete
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes delete - delete a code repository
|
||||
index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes delete
|
||||
(CODE_REPOSITORY_INDEX : --location=LOCATION) [--async] [--force]
|
||||
[--request-id=REQUEST_ID] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To delete code repository index instance my-instance in project my-project
|
||||
and location us-central1, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes delete my-instance \
|
||||
--project=my-project --location=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CodeRepositoryIndex resource - Name of the resource 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 code_repository_index 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.
|
||||
|
||||
CODE_REPOSITORY_INDEX
|
||||
ID of the codeRepositoryIndex or fully qualified identifier for the
|
||||
codeRepositoryIndex.
|
||||
|
||||
To set the code_repository_index attribute:
|
||||
▸ provide the argument code_repository_index 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 codeRepositoryIndex resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument code_repository_index on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--force
|
||||
If set to true, any RepositoryGroups from this CodeRepositoryIndex will
|
||||
also be deleted. (Otherwise, the request will only work if the
|
||||
CodeRepositoryIndex has no RepositoryGroups.)
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
An optional request ID to identify requests. Specify a unique request
|
||||
ID so that if you must retry your request, the server will know to
|
||||
ignore the request if it has already been completed. The server will
|
||||
guarantee that for at least 60 minutes after the first request.
|
||||
|
||||
For example, consider a situation where you make an initial request and
|
||||
the request times out. If you make the request again with the same
|
||||
request ID, the server can check if original operation with the same
|
||||
request ID was received, and if so, will ignore the second request.
|
||||
This prevents clients from accidentally creating duplicate commitments.
|
||||
|
||||
The request ID must be a valid UUID with the exception that zero UUID
|
||||
is not supported (00000000-0000-0000-0000-000000000000).
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
61
gcloud/gemini/code-repository-indexes/describe
Normal file
61
gcloud/gemini/code-repository-indexes/describe
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes describe - get details of a code
|
||||
repository index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes describe
|
||||
(CODE_REPOSITORY_INDEX : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Get details of a code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To get the details of code repository index instance my-instance in project
|
||||
my-project and location us-central, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes describe my-instance \
|
||||
--project=my-project --location=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CodeRepositoryIndex resource - Name of the resource 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 code_repository_index 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.
|
||||
|
||||
CODE_REPOSITORY_INDEX
|
||||
ID of the codeRepositoryIndex or fully qualified identifier for the
|
||||
codeRepositoryIndex.
|
||||
|
||||
To set the code_repository_index attribute:
|
||||
▸ provide the argument code_repository_index 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 codeRepositoryIndex resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument code_repository_index on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
40
gcloud/gemini/code-repository-indexes/help
Normal file
40
gcloud/gemini/code-repository-indexes/help
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes - manage Code Repository Index
|
||||
resources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes GROUP | COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage Code Repository Index resources.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
repository-groups
|
||||
Manage Repository Group resources.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
Create a code repository index instance.
|
||||
|
||||
delete
|
||||
Delete a code repository index instance.
|
||||
|
||||
describe
|
||||
Get details of a code repository index instance.
|
||||
|
||||
list
|
||||
List all code repository index instances in a specified project and
|
||||
location.
|
||||
|
||||
update
|
||||
Update the configuration of a code repository index instance.
|
||||
82
gcloud/gemini/code-repository-indexes/list
Normal file
82
gcloud/gemini/code-repository-indexes/list
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes list - list all code repository index
|
||||
instances in a specified project and location
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes list --location=LOCATION
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List all code repository index instances in a specified project and
|
||||
location.
|
||||
|
||||
EXAMPLES
|
||||
To list all code repository index instances in project my-project and
|
||||
location us-central, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes list --project=my-project \
|
||||
--location=us-central1
|
||||
|
||||
REQUIRED FLAGS
|
||||
Location resource - Parent value for ListCodeRepositoryIndexesRequest This
|
||||
represents a Cloud 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 --location 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.
|
||||
|
||||
--location=LOCATION
|
||||
ID of the location or fully qualified identifier for the location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
183
gcloud/gemini/code-repository-indexes/repository-groups/create
Normal file
183
gcloud/gemini/code-repository-indexes/repository-groups/create
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups create - create a
|
||||
repository group for a given code repository index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups create
|
||||
(REPOSITORY_GROUP
|
||||
: --code-repository-index=CODE_REPOSITORY_INDEX --location=LOCATION)
|
||||
--repositories=[branchPattern=BRANCHPATTERN],[resource=RESOURCE]
|
||||
[--async] [--labels=[LABELS,...]] [--request-id=REQUEST_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a repository group for a given code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To create a repository group my-repository-group for a code repository
|
||||
index instance my-instance in project my-project and location us-central1
|
||||
with one Developer Connect repository and branch pattern .*, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups create \
|
||||
my-repository-group --code-repository-index=my-instance \
|
||||
--project=my-project --location=us-central1 \
|
||||
--repositories=branchPattern=.*,\
|
||||
resource=developerconnect.googleapis.com/projects/<PROJECT>/\
|
||||
locations/<LOCATION>/connections/<CONNECTION>/gitRepositoryLinks/\
|
||||
<REPOSITORY>
|
||||
|
||||
Developer Connect Git repository resource must already exist. Refer to
|
||||
Developer Connect documentation
|
||||
(http://cloud.google.com/developer-connect/docs/connect-repo) for more
|
||||
details.
|
||||
|
||||
To create a repository group my-repository-group for a code repository
|
||||
index instance my-instance in project my-project and location us-central1
|
||||
with a fully qualified name, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups create \
|
||||
projects/my-project/locations/us-central1/\
|
||||
codeRepositoryIndexes/my-instance/repositoryGroups/\
|
||||
my-repository-group \
|
||||
--repositories=branchPattern=.*,\
|
||||
resource=developerconnect.googleapis.com/projects/<PROJECT>/\
|
||||
locations/<LOCATION>/connections/<CONNECTION>/gitRepositoryLinks/\
|
||||
<REPOSITORY>
|
||||
|
||||
Developer Connect Git repository resource must already exist. Refer to
|
||||
Developer Connect documentation
|
||||
(http://cloud.google.com/developer-connect/docs/connect-repo) for more
|
||||
details.
|
||||
|
||||
To create a repository group my-repository-group for a code repository
|
||||
index instance my-instance in project my-project and location us-central1
|
||||
with Developer Connect repositories defined in a separate file, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups create \
|
||||
my-repository-group --code-repository-index=my-instance \
|
||||
--project=my-project --location=us-central1 \
|
||||
--repositories=@/path/to/repositories.json
|
||||
|
||||
Developer Connect Git repository resource must already exist. Refer to
|
||||
Developer Connect documentation
|
||||
(http://cloud.google.com/developer-connect/docs/connect-repo) for more
|
||||
details.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
RepositoryGroup resource - Identifier. name of resource 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 repository_group 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.
|
||||
|
||||
REPOSITORY_GROUP
|
||||
ID of the repositoryGroup or fully qualified identifier for the
|
||||
repositoryGroup.
|
||||
|
||||
To set the repository_group attribute:
|
||||
▸ provide the argument repository_group on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
The codeRepositoryIndex id of the repositoryGroup resource.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the repositoryGroup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--repositories=[branchPattern=BRANCHPATTERN],[resource=RESOURCE]
|
||||
Required, List of repositories to group.
|
||||
|
||||
branchPattern
|
||||
The Git branch pattern used for indexing in RE2 syntax. See
|
||||
https://github.com/google/re2/wiki/syntax for syntax.
|
||||
|
||||
resource
|
||||
The link to the DeveloperConnect repository resource name or URL to
|
||||
be indexed.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--repositories=branchPattern=string,resource=string --repositories=branchPattern=string,resource=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--repositories='[{"branchPattern": "string", "resource": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--repositories=path_to_file.(yaml|json)
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--labels=[LABELS,...]
|
||||
Labels as key value pairs.
|
||||
|
||||
KEY
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers.
|
||||
|
||||
VALUE
|
||||
Values must contain only hyphens (-), underscores (_), lowercase
|
||||
characters, and numbers.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--labels=string=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--labels='{"string": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--labels=path_to_file.(yaml|json)
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
An optional request ID to identify requests. Specify a unique request
|
||||
ID so that if you must retry your request, the server will know to
|
||||
ignore the request if it has already been completed. The server will
|
||||
guarantee that for at least 60 minutes since the first request.
|
||||
|
||||
For example, consider a situation where you make an initial request and
|
||||
the request times out. If you make the request again with the same
|
||||
request ID, the server can check if original operation with the same
|
||||
request ID was received, and if so, will ignore the second request.
|
||||
This prevents clients from accidentally creating duplicate commitments.
|
||||
|
||||
The request ID must be a valid UUID with the exception that zero UUID
|
||||
is not supported (00000000-0000-0000-0000-000000000000).
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups delete - delete a
|
||||
repository group from a given code repository index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups delete
|
||||
(REPOSITORY_GROUP
|
||||
: --code-repository-index=CODE_REPOSITORY_INDEX --location=LOCATION)
|
||||
[--async] [--request-id=REQUEST_ID] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a repository group from a given code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To delete a repository group my-repository-group from a code repository
|
||||
index instance my-instance in project my-project and location us-central1
|
||||
with a fully qualified name, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups delete \
|
||||
my-repository-group --code-repository-index=my-instance \
|
||||
--project=my-project
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
RepositoryGroup resource - Name of the resource 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 repository_group 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.
|
||||
|
||||
REPOSITORY_GROUP
|
||||
ID of the repositoryGroup or fully qualified identifier for the
|
||||
repositoryGroup.
|
||||
|
||||
To set the repository_group attribute:
|
||||
▸ provide the argument repository_group on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
The codeRepositoryIndex id of the repositoryGroup resource.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the repositoryGroup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
An optional request ID to identify requests. Specify a unique request
|
||||
ID so that if you must retry your request, the server will know to
|
||||
ignore the request if it has already been completed. The server will
|
||||
guarantee that for at least 60 minutes after the first request.
|
||||
|
||||
For example, consider a situation where you make an initial request and
|
||||
the request times out. If you make the request again with the same
|
||||
request ID, the server can check if original operation with the same
|
||||
request ID was received, and if so, will ignore the second request.
|
||||
This prevents clients from accidentally creating duplicate commitments.
|
||||
|
||||
The request ID must be a valid UUID with the exception that zero UUID
|
||||
is not supported (00000000-0000-0000-0000-000000000000).
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups describe - get
|
||||
details of a code repository index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups describe
|
||||
(REPOSITORY_GROUP
|
||||
: --code-repository-index=CODE_REPOSITORY_INDEX --location=LOCATION)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Get details of a code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To get the details of repository group my-repository-group of a code
|
||||
repository index instance my-instance in project my-project and location
|
||||
us-central1, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups describe \
|
||||
my-repository-group --code-repository-index=my-instance \
|
||||
--project=my-project --location=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
RepositoryGroup resource - Name of the resource 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 repository_group 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.
|
||||
|
||||
REPOSITORY_GROUP
|
||||
ID of the repositoryGroup or fully qualified identifier for the
|
||||
repositoryGroup.
|
||||
|
||||
To set the repository_group attribute:
|
||||
▸ provide the argument repository_group on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
The codeRepositoryIndex id of the repositoryGroup resource.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the repositoryGroup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups get-iam-policy -
|
||||
get the IAM policy for a code repository index repository group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups get-iam-policy
|
||||
(REPOSITORY_GROUP
|
||||
: --code-repository-index=CODE_REPOSITORY_INDEX --location=LOCATION)
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
gcloud gemini code-repository-indexes repository-groups get-iam-policy
|
||||
displays the IAM policy associated with a code repository index repository
|
||||
group. If formatted as JSON, the output can be edited and used as a policy
|
||||
file for set-iam-policy. The output includes an "etag" field identifying
|
||||
the version emitted and allowing detection of concurrent policy updates;
|
||||
see $ gcloud gemini code-repository-indexes repository-groups
|
||||
set-iam-policy for additional details.
|
||||
|
||||
EXAMPLES
|
||||
To print the IAM policy for a target my-repository-group, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups \
|
||||
get-iam-policy my-repository-group --region=us-central1 \
|
||||
--code-repository-index=my-index
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Repository group resource - The repository group for which to display the
|
||||
IAM policy. 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 repository_group 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.
|
||||
|
||||
REPOSITORY_GROUP
|
||||
ID of the repository_group or fully qualified identifier for the
|
||||
repository_group.
|
||||
|
||||
To set the repository_group attribute:
|
||||
▸ provide the argument repository_group on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
ID of the code repository index resource.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
Location of the Gemini resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
39
gcloud/gemini/code-repository-indexes/repository-groups/help
Normal file
39
gcloud/gemini/code-repository-indexes/repository-groups/help
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups - manage Repository
|
||||
Group resources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage Repository Group resources.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
Create a repository group for a given code repository index instance.
|
||||
|
||||
delete
|
||||
Delete a repository group from a given code repository index instance.
|
||||
|
||||
describe
|
||||
Get details of a code repository index instance.
|
||||
|
||||
get-iam-policy
|
||||
Get the IAM policy for a code repository index repository group.
|
||||
|
||||
list
|
||||
List all repository group for a given code repository index instance.
|
||||
|
||||
set-iam-policy
|
||||
Get the IAM policy for a code repository index repository group.
|
||||
|
||||
update
|
||||
Update the configuration of a repository group.
|
||||
96
gcloud/gemini/code-repository-indexes/repository-groups/list
Normal file
96
gcloud/gemini/code-repository-indexes/repository-groups/list
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups list - list all
|
||||
repository group for a given code repository index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups list
|
||||
(--code-repository-index=CODE_REPOSITORY_INDEX : --location=LOCATION)
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List all repository group for a given code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To list all repository groups of a code repository index instance
|
||||
my-instance in project my-project and location us-central1, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups list \
|
||||
--code-repository-index=my-instance --project=my-project \
|
||||
--location=us-central1
|
||||
|
||||
REQUIRED FLAGS
|
||||
CodeRepositoryIndex resource - Parent value for
|
||||
ListRepositoryGroupsRequest 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 --code-repository-index 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.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
ID of the codeRepositoryIndex or fully qualified identifier for the
|
||||
codeRepositoryIndex.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the codeRepositoryIndex resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --code-repository-index on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups set-iam-policy -
|
||||
get the IAM policy for a code repository index repository group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups set-iam-policy
|
||||
(REPOSITORY_GROUP
|
||||
: --code-repository-index=CODE_REPOSITORY_INDEX --location=LOCATION)
|
||||
POLICY_FILE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
gcloud gemini code-repository-indexes repository-groups set-iam-policy sets
|
||||
the IAM policy for a code repository index repository group as defined in a
|
||||
JSON or YAML file.
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of the
|
||||
policy file format and contents.
|
||||
|
||||
EXAMPLES
|
||||
The following command will read an IAM policy defined in a JSON file
|
||||
'policy.json' and set it for the repository group named
|
||||
'my-repository-group':
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups \
|
||||
set-iam-policy my-repository-group policy.json \
|
||||
--region=us-central1 --code-repository-index=my-index
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Repository group resource - The repository group for which to set the IAM
|
||||
policy. 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 repository_group 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.
|
||||
|
||||
REPOSITORY_GROUP
|
||||
ID of the repository_group or fully qualified identifier for the
|
||||
repository_group.
|
||||
|
||||
To set the repository_group attribute:
|
||||
▸ provide the argument repository_group on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
ID of the code repository index resource.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
Location of the Gemini resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
POLICY_FILE
|
||||
Path to a local JSON or YAML formatted file containing a valid policy.
|
||||
|
||||
The output of the get-iam-policy command is a valid file, as is any
|
||||
JSON or YAML file conforming to the structure of a Policy
|
||||
(https://cloud.google.com/iam/reference/rest/v1/Policy).
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
242
gcloud/gemini/code-repository-indexes/repository-groups/update
Normal file
242
gcloud/gemini/code-repository-indexes/repository-groups/update
Normal file
|
|
@ -0,0 +1,242 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes repository-groups update - update the
|
||||
configuration of a repository group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes repository-groups update
|
||||
(REPOSITORY_GROUP
|
||||
: --code-repository-index=CODE_REPOSITORY_INDEX --location=LOCATION)
|
||||
[--async] [--request-id=REQUEST_ID]
|
||||
[--labels=[LABELS,...]
|
||||
| --update-labels=[UPDATE_LABELS,...] --clear-labels
|
||||
| --remove-labels=[__REMOVE_LABELS,...]]
|
||||
[--repositories=[branchPattern=BRANCHPATTERN],[resource=RESOURCE]
|
||||
| --add-repositories=[branchPattern=BRANCHPATTERN],
|
||||
[resource=RESOURCE] --clear-repositories
|
||||
| --remove-repositories=[branchPattern=BRANCHPATTERN],
|
||||
[resource=RESOURCE]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the configuration of a repository group.
|
||||
|
||||
EXAMPLES
|
||||
To update repository group my-repository-group of code repository index
|
||||
instance my-instance in project my-project and location us-central1 with a
|
||||
new branch pattern for one of the Git repositories, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes repository-groups update \
|
||||
my-repository-group --code-repository-index=my-instance \
|
||||
--project=my-project --location=us-central1 \
|
||||
--repositories=branchPattern=new_branch,\
|
||||
resource=developerconnect.googleapis.com/projects/<PROJECT>/\
|
||||
locations/<LOCATION>/connections/<CONNECTION>/gitRepositoryLinks/\
|
||||
<REPOSITORY>
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
RepositoryGroup resource - Identifier. name of resource 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 repository_group 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.
|
||||
|
||||
REPOSITORY_GROUP
|
||||
ID of the repositoryGroup or fully qualified identifier for the
|
||||
repositoryGroup.
|
||||
|
||||
To set the repository_group attribute:
|
||||
▸ provide the argument repository_group on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--code-repository-index=CODE_REPOSITORY_INDEX
|
||||
The codeRepositoryIndex id of the repositoryGroup resource.
|
||||
|
||||
To set the code-repository-index attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --code-repository-index on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the repositoryGroup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument repository_group on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
An optional request ID to identify requests. Specify a unique request
|
||||
ID so that if you must retry your request, the server will know to
|
||||
ignore the request if it has already been completed. The server will
|
||||
guarantee that for at least 60 minutes since the first request.
|
||||
|
||||
For example, consider a situation where you make an initial request and
|
||||
the request times out. If you make the request again with the same
|
||||
request ID, the server can check if original operation with the same
|
||||
request ID was received, and if so, will ignore the second request.
|
||||
This prevents clients from accidentally creating duplicate commitments.
|
||||
|
||||
The request ID must be a valid UUID with the exception that zero UUID
|
||||
is not supported (00000000-0000-0000-0000-000000000000).
|
||||
|
||||
Update labels.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--labels=[LABELS,...]
|
||||
Set labels to new value. Labels as key value pairs.
|
||||
|
||||
KEY
|
||||
Keys must start with a lowercase character and contain only
|
||||
hyphens (-), underscores (_), lowercase characters, and numbers.
|
||||
|
||||
VALUE
|
||||
Values must contain only hyphens (-), underscores (_), lowercase
|
||||
characters, and numbers.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--labels=string=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--labels='{"string": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--labels=path_to_file.(yaml|json)
|
||||
|
||||
--update-labels=[UPDATE_LABELS,...]
|
||||
Update labels value or add key value pair. Labels as key value pairs.
|
||||
|
||||
KEY
|
||||
Keys must start with a lowercase character and contain only
|
||||
hyphens (-), underscores (_), lowercase characters, and numbers.
|
||||
|
||||
VALUE
|
||||
Values must contain only hyphens (-), underscores (_), lowercase
|
||||
characters, and numbers.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--update-labels=string=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--update-labels='{"string": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--update-labels=path_to_file.(yaml|json)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
Clear labels value and set to empty map.
|
||||
|
||||
--remove-labels=[__REMOVE_LABELS,...]
|
||||
Remove existing value from map labels.
|
||||
|
||||
Update repositories.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--repositories=[branchPattern=BRANCHPATTERN],[resource=RESOURCE]
|
||||
Set repositories to new value. List of repositories to group.
|
||||
|
||||
branchPattern
|
||||
The Git branch pattern used for indexing in RE2 syntax. See
|
||||
https://github.com/google/re2/wiki/syntax for syntax.
|
||||
|
||||
resource
|
||||
The link to the DeveloperConnect repository resource name or URL
|
||||
to be indexed.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--repositories=branchPattern=string,resource=string --repositories=branchPattern=string,resource=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--repositories='[{"branchPattern": "string", "resource": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--repositories=path_to_file.(yaml|json)
|
||||
|
||||
--add-repositories=[branchPattern=BRANCHPATTERN],[resource=RESOURCE]
|
||||
Add new value to repositories list. List of repositories to group.
|
||||
|
||||
branchPattern
|
||||
The Git branch pattern used for indexing in RE2 syntax. See
|
||||
https://github.com/google/re2/wiki/syntax for syntax.
|
||||
|
||||
resource
|
||||
The link to the DeveloperConnect repository resource name or URL
|
||||
to be indexed.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--add-repositories=branchPattern=string,resource=string --add-repositories=branchPattern=string,resource=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--add-repositories='[{"branchPattern": "string", "resource": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--add-repositories=path_to_file.(yaml|json)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-repositories
|
||||
Clear repositories value and set to empty list.
|
||||
|
||||
--remove-repositories=[branchPattern=BRANCHPATTERN],[resource=RESOURCE]
|
||||
Remove existing value from repositories list. List of repositories
|
||||
to group.
|
||||
|
||||
branchPattern
|
||||
The Git branch pattern used for indexing in RE2 syntax. See
|
||||
https://github.com/google/re2/wiki/syntax for syntax.
|
||||
|
||||
resource
|
||||
The link to the DeveloperConnect repository resource name or
|
||||
URL to be indexed.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--remove-repositories=branchPattern=string,resource=string --remove-repositories=branchPattern=string,resource=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--remove-repositories='[{"branchPattern": "string", "resource": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--remove-repositories=path_to_file.(yaml|json)
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
144
gcloud/gemini/code-repository-indexes/update
Normal file
144
gcloud/gemini/code-repository-indexes/update
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
NAME
|
||||
gcloud gemini code-repository-indexes update - update the configuration of
|
||||
a code repository index instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud gemini code-repository-indexes update
|
||||
(CODE_REPOSITORY_INDEX : --location=LOCATION) [--async]
|
||||
[--request-id=REQUEST_ID]
|
||||
[--labels=[LABELS,...]
|
||||
| --update-labels=[UPDATE_LABELS,...] --clear-labels
|
||||
| --remove-labels=[__REMOVE_LABELS,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the configuration of a code repository index instance.
|
||||
|
||||
EXAMPLES
|
||||
To update code repository index instance my-instance in project my-project
|
||||
and location us-central1 with new labels, run:
|
||||
|
||||
$ gcloud gemini code-repository-indexes update `my-instance` \
|
||||
--project=my-project --location=us-central1 \
|
||||
--labels='{"my_label": "my_value"}'
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CodeRepositoryIndex resource - Identifier. name of resource 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 code_repository_index 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.
|
||||
|
||||
CODE_REPOSITORY_INDEX
|
||||
ID of the codeRepositoryIndex or fully qualified identifier for the
|
||||
codeRepositoryIndex.
|
||||
|
||||
To set the code_repository_index attribute:
|
||||
▸ provide the argument code_repository_index 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 codeRepositoryIndex resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument code_repository_index on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
An optional request ID to identify requests. Specify a unique request
|
||||
ID so that if you must retry your request, the server will know to
|
||||
ignore the request if it has already been completed. The server will
|
||||
guarantee that for at least 60 minutes since the first request.
|
||||
|
||||
For example, consider a situation where you make an initial request and
|
||||
the request times out. If you make the request again with the same
|
||||
request ID, the server can check if original operation with the same
|
||||
request ID was received, and if so, will ignore the second request.
|
||||
This prevents clients from accidentally creating duplicate commitments.
|
||||
|
||||
The request ID must be a valid UUID with the exception that zero UUID
|
||||
is not supported (00000000-0000-0000-0000-000000000000).
|
||||
|
||||
Update labels.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--labels=[LABELS,...]
|
||||
Set labels to new value. Labels as key value pairs.
|
||||
|
||||
KEY
|
||||
Keys must start with a lowercase character and contain only
|
||||
hyphens (-), underscores (_), lowercase characters, and numbers.
|
||||
|
||||
VALUE
|
||||
Values must contain only hyphens (-), underscores (_), lowercase
|
||||
characters, and numbers.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--labels=string=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--labels='{"string": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--labels=path_to_file.(yaml|json)
|
||||
|
||||
--update-labels=[UPDATE_LABELS,...]
|
||||
Update labels value or add key value pair. Labels as key value pairs.
|
||||
|
||||
KEY
|
||||
Keys must start with a lowercase character and contain only
|
||||
hyphens (-), underscores (_), lowercase characters, and numbers.
|
||||
|
||||
VALUE
|
||||
Values must contain only hyphens (-), underscores (_), lowercase
|
||||
characters, and numbers.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--update-labels=string=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--update-labels='{"string": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--update-labels=path_to_file.(yaml|json)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
Clear labels value and set to empty map.
|
||||
|
||||
--remove-labels=[__REMOVE_LABELS,...]
|
||||
Remove existing value from map labels.
|
||||
|
||||
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 cloudaicompanion/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/gemini
|
||||
Loading…
Add table
Add a link
Reference in a new issue