public sealed class ServiceAgent : IMessage<ServiceAgent>, IEquatable<ServiceAgent>, IDeepCloneable<ServiceAgent>, IBufferMessage, IMessageReference documentation and code samples for the Workload Identity v1 API class ServiceAgent.
Message describing ServiceAgent object
Implements
IMessageServiceAgent, IEquatableServiceAgent, IDeepCloneableServiceAgent, IBufferMessage, IMessageNamespace
Google.Cloud.WorkloadIdentity.V1Assembly
Google.Cloud.WorkloadIdentity.V1.dll
Constructors
ServiceAgent()
public ServiceAgent()ServiceAgent(ServiceAgent)
public ServiceAgent(ServiceAgent other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceAgent |
Properties
Container
public string Container { get; set; }Optional. Name of the container that the service agent is associated with. For example:
- projects/1234
- folders/1234
- organizations/2344
| Property Value | |
|---|---|
| Type | Description |
string |
|
ContainerAsResourceName
public IResourceName ContainerAsResourceName { get; set; }IResourceName-typed view over the Container resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
Name
public string Name { get; set; }Identifier. The name of the service agent resource
| Property Value | |
|---|---|
| Type | Description |
string |
|
Principal
public string Principal { get; set; }Optional. The principal identifier for the service agent. This identifier is used in allow policies to grant access to the service agent.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Role
public string Role { get; set; }Optional. The role that should be granted to service agent on consumer project, if any. For example, "roles/aiplatform.serviceAgent".
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceAgentName
public ServiceAgentName ServiceAgentName { get; set; }ServiceAgentName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ServiceAgentName |
|
ServiceProducer
public string ServiceProducer { get; set; }Optional. The service the agent belongs to. For example, bigquery.googleapis.com
| Property Value | |
|---|---|
| Type | Description |
string |
|
State
public ServiceAgent.Types.State State { get; set; }Output only. Service agent state.
| Property Value | |
|---|---|
| Type | Description |
ServiceAgentTypesState |
|