You are using the gcloud command line tool to create a new custom role in a project by coping a predefined role. You receive this error message: INVALID_ARGUMENT: Permission resourcemanager.projects.list is not valid What should you do?
A.
Add the resourcemanager.projects.get permission, and try again.
B.
Try again with a different role with a new name but the same permissions.
C.
Remove the resourcemanager.projects.list permission, and try again.
D.
Add the resourcemanager.projects.setIamPolicy permission, and try again.
Agree C, if you try doning the same you will get this
These permissions can only be added to custom roles at the organization level; they have no effect at the project level or below.
resourcemanager.projects.list
• C. Remove ***** the resourcemanager.projects.list permission, and try again.
Method: projects.list
Lists Projects that the caller has the resourcemanager.projects.get permission on and satisfy the specified filter.
This method returns Projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the projects.get method.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
cesar7816
Highly Voted 3 years, 10 months agokarmajuney
Most Recent 4 months, 3 weeks agopk349
1 year, 9 months agoMr_MIXER007
2 years agokumarp6
2 years, 10 months agodesertlotus1211
2 years, 10 months agoVidyasagar
3 years, 7 months ago[Removed]
3 years, 11 months agolukedj87
3 years, 11 months ago