Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::CreatePolicyBindingRequest (v0.1.0)
Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::CreatePolicyBindingRequest.
Request message for CreatePolicyBinding method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#parent
defparent()->::String
Returns
(::String) —
Required. The parent resource where this policy binding will be created.
The binding parent is the closest Resource Manager resource (project,
folder or organization) to the binding target.
Required. The parent resource where this policy binding will be created.
The binding parent is the closest Resource Manager resource (project,
folder or organization) to the binding target.
Required. The parent resource where this policy binding will be created.
The binding parent is the closest Resource Manager resource (project,
folder or organization) to the binding target.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::CreatePolicyBindingRequest (v0.1.0)\n\nReference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::CreatePolicyBindingRequest.\n\nRequest message for CreatePolicyBinding method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent resource where this policy binding will be created.\n The binding parent is the closest Resource Manager resource (project,\n folder or organization) to the binding target.\n\n Format:\n - `projects/{project_id}/locations/{location}`\n - `projects/{project_number}/locations/{location}`\n - `folders/{folder_id}/locations/{location}`\n - `organizations/{organization_id}/locations/{location}`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The parent resource where this policy binding will be created.\n The binding parent is the closest Resource Manager resource (project,\n folder or organization) to the binding target.\n\n Format:\n - `projects/{project_id}/locations/{location}`\n - `projects/{project_number}/locations/{location}`\n - `folders/{folder_id}/locations/{location}`\n- `organizations/{organization_id}/locations/{location}` \n**Returns**\n\n- (::String) --- Required. The parent resource where this policy binding will be created.\n The binding parent is the closest Resource Manager resource (project,\n folder or organization) to the binding target.\n\n Format:\n - `projects/{project_id}/locations/{location}`\n - `projects/{project_number}/locations/{location}`\n - `folders/{folder_id}/locations/{location}`\n - `organizations/{organization_id}/locations/{location}`\n\n### #policy_binding\n\n def policy_binding() -\u003e ::Google::Iam::V3beta::PolicyBinding\n\n**Returns**\n\n- ([::Google::Iam::V3beta::PolicyBinding](./Google-Iam-V3beta-PolicyBinding)) --- Required. The policy binding to create.\n\n### #policy_binding=\n\n def policy_binding=(value) -\u003e ::Google::Iam::V3beta::PolicyBinding\n\n**Parameter**\n\n- **value** ([::Google::Iam::V3beta::PolicyBinding](./Google-Iam-V3beta-PolicyBinding)) --- Required. The policy binding to create. \n**Returns**\n\n- ([::Google::Iam::V3beta::PolicyBinding](./Google-Iam-V3beta-PolicyBinding)) --- Required. The policy binding to create.\n\n### #policy_binding_id\n\n def policy_binding_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The ID to use for the policy binding, which will become the final component of the policy binding's resource name.\n\n This value must start with a lowercase letter followed by up to 62\n lowercase letters, numbers, hyphens, or dots. Pattern,\n /\\[a-z\\]\\[a-z0-9-.\\]{2,62}/.\n\n### #policy_binding_id=\n\n def policy_binding_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The ID to use for the policy binding, which will become the final component of the policy binding's resource name.\n\n\n This value must start with a lowercase letter followed by up to 62\n lowercase letters, numbers, hyphens, or dots. Pattern,\n/\\[a-z\\]\\[a-z0-9-.\\]{2,62}/. \n**Returns**\n\n- (::String) --- Required. The ID to use for the policy binding, which will become the final component of the policy binding's resource name.\n\n This value must start with a lowercase letter followed by up to 62\n lowercase letters, numbers, hyphens, or dots. Pattern,\n /\\[a-z\\]\\[a-z0-9-.\\]{2,62}/.\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set, validate the request and preview the creation, but do not actually post it.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set, validate the request and preview the creation, but do not actually post it. \n**Returns**\n\n- (::Boolean) --- Optional. If set, validate the request and preview the creation, but do not actually post it."]]