public sealed class Principal : IMessage<Principal>, IEquatable<Principal>, IDeepCloneable<Principal>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class Principal.
Users/Service accounts which have access for DNS binding on the intranet VPC corresponding to the consumer project.
Implements
IMessagePrincipal, IEquatablePrincipal, IDeepCloneablePrincipal, IBufferMessage, IMessageNamespace
Google.Cloud.VmwareEngine.V1Assembly
Google.Cloud.VmwareEngine.V1.dll
Constructors
Principal()
public Principal()
Principal(Principal)
public Principal(Principal other)
Parameter | |
---|---|
Name | Description |
other |
Principal |
Properties
HasServiceAccount
public bool HasServiceAccount { get; }
Gets whether the "service_account" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasUser
public bool HasUser { get; }
Gets whether the "user" field is set
Property Value | |
---|---|
Type | Description |
bool |
PrincipalCase
public Principal.PrincipalOneofCase PrincipalCase { get; }
Property Value | |
---|---|
Type | Description |
PrincipalPrincipalOneofCase |
ServiceAccount
public string ServiceAccount { get; set; }
The service account which needs to be granted the permission.
Property Value | |
---|---|
Type | Description |
string |
User
public string User { get; set; }
The user who needs to be granted permission.
Property Value | |
---|---|
Type | Description |
string |