mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 17 09:40:58 UTC 2024
This commit is contained in:
parent
7e2535c53d
commit
3740758467
178 changed files with 2958 additions and 1351 deletions
|
|
@ -14,28 +14,28 @@ DESCRIPTION
|
|||
an optional condition.
|
||||
|
||||
EXAMPLES
|
||||
To add an IAM policy binding for the role of 'roles/ml.admin' for the user
|
||||
'test-user@gmail.com' on a model with identifier 'my_model', run:
|
||||
To add an IAM policy binding for the role of roles/ml.admin for the user
|
||||
test-user@gmail.com on a model with identifier my_model, run:
|
||||
|
||||
$ gcloud alpha ml-engine models add-iam-policy-binding my_model \
|
||||
--member='user:test-user@gmail.com' --role='roles/ml.admin'
|
||||
|
||||
To add an IAM policy binding for the role of 'roles/ml.admin' to the
|
||||
service account 'test-proj1@example.domain.com', run:
|
||||
To add an IAM policy binding for the role of roles/ml.admin to the service
|
||||
account test-proj1@example.domain.com, run:
|
||||
|
||||
$ gcloud alpha ml-engine models add-iam-policy-binding my_model \
|
||||
--member='serviceAccount:test-proj1@example.domain.com' \
|
||||
--role='roles/ml.admin'
|
||||
|
||||
To add an IAM policy binding for the role of 'roles/ml.admin' for all
|
||||
authenticated users on a model with identifier 'my_model', run:
|
||||
To add an IAM policy binding for the role of roles/ml.admin for all
|
||||
authenticated users on a model with identifier my_model, run:
|
||||
|
||||
$ gcloud alpha ml-engine models add-iam-policy-binding my_model \
|
||||
--member='allAuthenticatedUsers' --role='roles/ml.admin'
|
||||
|
||||
To add an IAM policy binding that expires at the end of the year 2018 for
|
||||
the role of 'roles/ml.admin' and the user 'test-user@gmail.com' on a model
|
||||
with identifier 'my_model', run:
|
||||
the role of roles/ml.admin and the user test-user@gmail.com on a model with
|
||||
identifier my_model, run:
|
||||
|
||||
$ gcloud alpha ml-engine models add-iam-policy-binding my_model \
|
||||
--member='user:test-user@gmail.com' --role='roles/ml.admin' \
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@ DESCRIPTION
|
|||
a model resource.
|
||||
|
||||
EXAMPLES
|
||||
To remove an IAM policy binding for the role of 'roles/ml.admin' for the
|
||||
user 'test-user@gmail.com' on model with identifier 'my_model', run:
|
||||
To remove an IAM policy binding for the role of roles/ml.admin for the user
|
||||
test-user@gmail.com on model with identifier my_model, run:
|
||||
|
||||
$ gcloud alpha ml-engine models remove-iam-policy-binding my_model \
|
||||
--member='user:test-user@gmail.com' --role='roles/ml.admin'
|
||||
|
||||
To remove an IAM policy binding for the role of 'roles/ml.admin' from all
|
||||
authenticated users on model 'my_model', run:
|
||||
To remove an IAM policy binding for the role of roles/ml.admin from all
|
||||
authenticated users on model my_model, run:
|
||||
|
||||
$ gcloud alpha ml-engine models remove-iam-policy-binding my_model \
|
||||
--member='allAuthenticatedUsers' --role='roles/ml.admin'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue