Show / Hide Table of Contents

Class Binding

Associates members with a role.

Inheritance
System.Object
Binding
Implements
IMessage<Binding>
IMessage
System.IEquatable<Binding>
IDeepCloneable<Binding>
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Iam.V1
Assembly: Google.Cloud.Iam.V1.dll
Syntax
public sealed class Binding : IMessage<Binding>, IMessage, IEquatable<Binding>, IDeepCloneable<Binding>

Constructors

Binding()

Declaration
public Binding()

Binding(Binding)

Declaration
public Binding(Binding other)
Parameters
Type Name Description
Binding other

Properties

Condition

The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

Declaration
public Expr Condition { get; set; }
Property Value
Type Description
Expr

Members

Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:

  • allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.

  • allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.

  • user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com .

  • serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.

  • group:{emailid}: An email address that represents a Google group. For example, admins@example.com.

  • domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.

Declaration
public RepeatedField<string> Members { get; }
Property Value
Type Description
RepeatedField<System.String>

Role

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.

Declaration
public string Role { get; set; }
Property Value
Type Description
System.String
Back to top