Identity and Access Management (IAM) v3beta API - Class CreatePolicyBindingRequest (1.0.0-beta01)

public sealed class CreatePolicyBindingRequest : IMessage<CreatePolicyBindingRequest>, IEquatable<CreatePolicyBindingRequest>, IDeepCloneable<CreatePolicyBindingRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Identity and Access Management (IAM) v3beta API class CreatePolicyBindingRequest.

Request message for CreatePolicyBinding method.

Inheritance

object > CreatePolicyBindingRequest

Namespace

Google.Cloud.Iam.V3Beta

Assembly

Google.Cloud.Iam.V3Beta.dll

Constructors

CreatePolicyBindingRequest()

public CreatePolicyBindingRequest()

CreatePolicyBindingRequest(CreatePolicyBindingRequest)

public CreatePolicyBindingRequest(CreatePolicyBindingRequest other)
Parameter
Name Description
other CreatePolicyBindingRequest

Properties

Parent

public string Parent { get; set; }

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.

Format:

  • projects/{project_id}/locations/{location}
  • projects/{project_number}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}
Property Value
Type Description
string

ParentAsFolderLocationName

public FolderLocationName ParentAsFolderLocationName { get; set; }

FolderLocationName-typed view over the Parent resource name property.

Property Value
Type Description
FolderLocationName

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

ParentAsOrganizationLocationName

public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

OrganizationLocationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationLocationName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName

PolicyBinding

public PolicyBinding PolicyBinding { get; set; }

Required. The policy binding to create.

Property Value
Type Description
PolicyBinding

PolicyBindingId

public string PolicyBindingId { get; set; }

Required. The ID to use for the policy binding, which will become the final component of the policy binding's resource name.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-.]{2,62}/.

Property Value
Type Description
string

ValidateOnly

public bool ValidateOnly { get; set; }

Optional. If set, validate the request and preview the creation, but do not actually post it.

Property Value
Type Description
bool