mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Thu Oct 5 11:50:15 UTC 2023
This commit is contained in:
parent
6c60d7f07f
commit
9641ff6585
118 changed files with 2726 additions and 214 deletions
|
|
@ -4,16 +4,17 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud functions add-invoker-policy-binding (NAME : --region=REGION)
|
||||
--member=PRINCIPAL [GCLOUD_WIDE_FLAG ...]
|
||||
--member=PRINCIPAL [--gen2] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Adds the Cloud Run Invoker binding to the IAM policy of a Google Cloud
|
||||
Function's underlying Cloud Run service.
|
||||
Adds an invoker role IAM policy binding that allows the specified member to
|
||||
invoke the specified function.
|
||||
|
||||
This command applies to Cloud Functions (2nd gen) only. Cloud Functions
|
||||
(2nd gen) currently requires the Cloud Run Invoke permission on the
|
||||
underlying Cloud Run service to be able to call functions. This command
|
||||
grants the given member permission to invoke the given 2nd gen function.
|
||||
For Cloud Functions (1st gen), this adds the Cloud Functions Invoker
|
||||
binding to the IAM policy of the specified function.
|
||||
|
||||
For Cloud Functions (2nd gen), this adds the Cloud Run Invoker binding to
|
||||
the IAM policy of the specified function's underlying Cloud Run service.
|
||||
|
||||
EXAMPLES
|
||||
To add the invoker role policy binding for FUNCTION-1 for member MEMBER-1
|
||||
|
|
@ -70,6 +71,15 @@ REQUIRED FLAGS
|
|||
◆ allAuthenticatedUsers - Special identifier that represents anyone
|
||||
who is authenticated with a Google account or a service account.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--gen2
|
||||
If enabled, this command will use Cloud Functions (Second generation).
|
||||
If disabled with --no-gen2, Cloud Functions (First generation) will be
|
||||
used. If not specified, the value of this flag will be taken from the
|
||||
functions/gen2 configuration property. If the functions/gen2
|
||||
configuration property is not set, defaults to looking up the given
|
||||
function and using its generation.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -4,16 +4,18 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud functions remove-invoker-policy-binding (NAME : --region=REGION)
|
||||
--member=PRINCIPAL [GCLOUD_WIDE_FLAG ...]
|
||||
--member=PRINCIPAL [--gen2] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Removes the Cloud Run Invoker binding from the IAM policy of a Google Cloud
|
||||
Function's underlying Cloud Run service.
|
||||
Removes the invoker role IAM policy binding that allows the specified
|
||||
member to invoke the specified function.
|
||||
|
||||
This command applies to Cloud Functions (2nd gen) only. Cloud Functions
|
||||
(2nd gen) currently requires the Cloud Run Invoke permission on the
|
||||
underlying Cloud Run service to be able to call functions. This command
|
||||
removes the given member permission to invoke the given 2nd gen function.
|
||||
For Cloud Functions (1st gen), this removes the Cloud Functions Invoker
|
||||
binding from the IAM policy of the specified function.
|
||||
|
||||
For Cloud Functions (2nd gen), this removes the Cloud Run Invoker binding
|
||||
from the IAM policy of the specified function's underlying Cloud Run
|
||||
service.
|
||||
|
||||
EXAMPLES
|
||||
To remove the invoker role policy binding for FUNCTION-1 for member
|
||||
|
|
@ -74,6 +76,15 @@ REQUIRED FLAGS
|
|||
◆ allAuthenticatedUsers - Special identifier that represents anyone
|
||||
who is authenticated with a Google account or a service account.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--gen2
|
||||
If enabled, this command will use Cloud Functions (Second generation).
|
||||
If disabled with --no-gen2, Cloud Functions (First generation) will be
|
||||
used. If not specified, the value of this flag will be taken from the
|
||||
functions/gen2 configuration property. If the functions/gen2
|
||||
configuration property is not set, defaults to looking up the given
|
||||
function and using its generation.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue