Class Binding (2.3.0)

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

Associates members with a role.

Inheritance

Object > Binding

Namespace

Google.Cloud.Iam.V1

Assembly

Google.Cloud.Iam.V1.dll

Constructors

Binding()

public Binding()

Binding(Binding)

public Binding(Binding other)
Parameter
NameDescription
otherBinding

Properties

Condition

public Expr Condition { get; set; }

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.

Property Value
TypeDescription
Expr

Members

public RepeatedField<string> Members { get; }

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.

Property Value
TypeDescription
RepeatedField<String>

Role

public string Role { get; set; }

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

Property Value
TypeDescription
String