{"id":33174,"date":"2021-01-19T11:50:55","date_gmt":"2021-01-19T11:50:55","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=33174"},"modified":"2022-04-06T04:51:12","modified_gmt":"2022-04-06T04:51:12","slug":"understanding-predefined-iam-roles-within-a-project","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/","title":{"rendered":"Understanding predefined IAM roles within a project"},"content":{"rendered":"\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/google-associate-cloud-engineer-exam\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to GCP Tutorials<\/a><\/strong><\/p>\n\n\n\n<p>In this we will learn and understanding predefined IAM roles within a project.<\/p>\n\n\n\n<p>However, a role contains a set of permissions that allows you to perform specific actions on Google Cloud resources. To make permissions available to members you grant roles to the members. And, this also including users, groups, and service accounts.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Role types<\/strong><\/h5>\n\n\n\n<p>There are three types of roles in IAM:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, basic roles, which include the Owner, Editor, and Viewer roles that existed prior to the introduction of IAM.<\/li><li>Secondly, predefined roles, which provide granular access for a specific service and are managed by Google Cloud.<\/li><li>Lastly, custom roles, which provide granular access according to a user-specified list of permissions.<\/li><\/ul>\n\n\n\n<p>However, to determine if a permission is in a basic, predefined, or custom role, you can use one of the following methods:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, run the gcloud iam roles describe command to list the permissions in the role.<\/li><li>Secondly, call the roles.get() REST API method to list the permissions in the role.<\/li><li>Next, for basic and predefined roles only: Search the permissions reference to see if the permission is granted by the role.<\/li><li>Lastly, for predefined roles only: Search the predefined role descriptions on this page to see which permissions the role includes.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Predefined roles<\/strong><\/h4>\n\n\n\n<p>In addition to the basic roles, IAM provides additional predefined roles that give granular access to specific Google Cloud resources and prevent unwanted access to other resources. Google creates and maintains these roles. Google Cloud automatically changes their permissions as needed, such as when new features or services are added to Google Cloud.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.testpreptraining.ai\/google-cloud-certified-associate-cloud-engineer-free-practice-test\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"117\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-free-practice-tests-750x117.png\" alt=\"Google Associate Cloud Engineer free practice tests\" class=\"wp-image-33170\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-free-practice-tests-750x117.png 750w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-free-practice-tests.png 961w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>These roles, their descriptions, and the lowest-level resource type where they can be set are listed in the table below. This resource type can be assigned a specific role. In most circumstances, any kind higher in the Google Cloud hierarchy will suffice. A single user can be assigned many roles. On a project, for example, the same user can hold the Network Admin and Log Viewer responsibilities. In such a project, you need also to have a Publisher role for a Pub\/Sub subject.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"333\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-30-750x333.png\" alt=\"Understanding predefined IAM roles within a project\" class=\"wp-image-33200\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-30-750x333.png 750w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-30.png 1088w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption>Source: Google Cloud<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"348\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-31-750x348.png\" alt=\"roles\" class=\"wp-image-33201\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-31-750x348.png 750w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-31.png 1078w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption>Image Source: Google Cloud<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"702\" height=\"400\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-32-702x400.png\" alt=\"roles\" class=\"wp-image-33202\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-32-702x400.png 702w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/source-32.png 1107w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><figcaption>Image Source: Google Cloud<\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"custom_roles\"><strong>Custom roles<\/strong><\/h4>\n\n\n\n<p>In addition to the predefined roles, IAM also provides the ability to create customized IAM roles. A custom IAM role with one or more permissions can be created. Then, within your company, grant that unique role to users.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.testpreptraining.ai\/google-cloud-certified-associate-cloud-engineer-practice-exam\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"117\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-online-course-750x117.png\" alt=\"Understanding predefined IAM roles within a project Google Associate Cloud Engineer Online course\" class=\"wp-image-33167\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-online-course-750x117.png 750w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-online-course.png 961w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Reference:<\/strong> <a href=\"https:\/\/cloud.google.com\/iam\/docs\/understanding-roles\" target=\"_blank\" rel=\"noreferrer noopener\">Google Documentation<\/a><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/google-associate-cloud-engineer-exam\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to GCP Tutorials<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go back to GCP Tutorials In this we will learn and understanding predefined IAM roles within a project. However, a role contains a set of permissions that allows you to perform specific actions on Google Cloud resources. To make permissions available to members you grant roles to the members. And, this also including users, groups,&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-33174","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Understanding predefined IAM roles within a project - Testprep Training<\/title>\n<meta name=\"description\" content=\"Enhance your knowledge and skills about predefined IAM roles within a project using the Google Associate Cloud Engineer Course Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding predefined IAM roles within a project - Testprep Training\" \/>\n<meta property=\"og:description\" content=\"Enhance your knowledge and skills about predefined IAM roles within a project using the Google Associate Cloud Engineer Course Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-06T04:51:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-free-practice-tests-750x117.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/\",\"name\":\"Understanding predefined IAM roles within a project - Testprep Training\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2021-01-19T11:50:55+00:00\",\"dateModified\":\"2022-04-06T04:51:12+00:00\",\"description\":\"Enhance your knowledge and skills about predefined IAM roles within a project using the Google Associate Cloud Engineer Course Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding predefined IAM roles within a project\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding predefined IAM roles within a project - Testprep Training","description":"Enhance your knowledge and skills about predefined IAM roles within a project using the Google Associate Cloud Engineer Course Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/","og_locale":"en_US","og_type":"article","og_title":"Understanding predefined IAM roles within a project - Testprep Training","og_description":"Enhance your knowledge and skills about predefined IAM roles within a project using the Google Associate Cloud Engineer Course Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-04-06T04:51:12+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/01\/Google-Associate-Cloud-Engineer-Exam-free-practice-tests-750x117.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/","name":"Understanding predefined IAM roles within a project - Testprep Training","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2021-01-19T11:50:55+00:00","dateModified":"2022-04-06T04:51:12+00:00","description":"Enhance your knowledge and skills about predefined IAM roles within a project using the Google Associate Cloud Engineer Course Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/understanding-predefined-iam-roles-within-a-project\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Understanding predefined IAM roles within a project"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/33174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=33174"}],"version-history":[{"count":8,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/33174\/revisions"}],"predecessor-version":[{"id":54178,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/33174\/revisions\/54178"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=33174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=33174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=33174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}