Class ServiceAccountNamespaceAssignment
- Namespace
- Temporalio.Api.Cloud.Identity.V1
- Assembly
- Temporalio.dll
public sealed class ServiceAccountNamespaceAssignment : IMessage<ServiceAccountNamespaceAssignment>, IEquatable<ServiceAccountNamespaceAssignment>, IDeepCloneable<ServiceAccountNamespaceAssignment>, IBufferMessage, IMessage
- Inheritance
-
ServiceAccountNamespaceAssignment
- Implements
-
IMessage<ServiceAccountNamespaceAssignment>IDeepCloneable<ServiceAccountNamespaceAssignment>IBufferMessageIMessage
- Inherited Members
Constructors
ServiceAccountNamespaceAssignment()
public ServiceAccountNamespaceAssignment()
ServiceAccountNamespaceAssignment(ServiceAccountNamespaceAssignment)
public ServiceAccountNamespaceAssignment(ServiceAccountNamespaceAssignment other)
Parameters
Fields
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1
Field Value
InheritedAccessFieldNumber
Field number for the "inherited_access" field.
public const int InheritedAccessFieldNumber = 4
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 2
Field Value
NamespaceAccessFieldNumber
Field number for the "namespace_access" field.
public const int NamespaceAccessFieldNumber = 3
Field Value
ResourceVersionFieldNumber
Field number for the "resource_version" field.
public const int ResourceVersionFieldNumber = 5
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Id
The ID of the service account.
public string Id { get; set; }
Property Value
InheritedAccess
True if the service account has inherited access to the namespace through an account or project role.
public bool InheritedAccess { get; set; }
Property Value
Name
The name of the service account.
public string Name { get; set; }
Property Value
NamespaceAccess
The access assigned to the service account at the namespace level.
public NamespaceAccess NamespaceAccess { get; set; }
Property Value
Parser
public static MessageParser<ServiceAccountNamespaceAssignment> Parser { get; }
Property Value
- MessageParser<ServiceAccountNamespaceAssignment>
ResourceVersion
The current resource version of the service account.
public string ResourceVersion { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public ServiceAccountNamespaceAssignment Clone()
Returns
- ServiceAccountNamespaceAssignment
A deep clone of this object.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
Equals(ServiceAccountNamespaceAssignment)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ServiceAccountNamespaceAssignment other)
Parameters
otherServiceAccountNamespaceAssignmentAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(ServiceAccountNamespaceAssignment)
Merges the given message into this one.
public void MergeFrom(ServiceAccountNamespaceAssignment other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.