Reference documentation and code samples for the Workload Identity V1 API class Google::Cloud::WorkloadIdentity::V1::ServiceAgent.
Message describing ServiceAgent object
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#container
def container() -> ::String-
(::String) —
Optional. Name of the container that the service agent is associated with. For example:
- projects/1234
- folders/1234
- organizations/2344
#container=
def container=(value) -> ::String-
value (::String) —
Optional. Name of the container that the service agent is associated with. For example:
- projects/1234
- folders/1234
- organizations/2344
-
(::String) —
Optional. Name of the container that the service agent is associated with. For example:
- projects/1234
- folders/1234
- organizations/2344
#name
def name() -> ::String- (::String) — Identifier. The name of the service agent resource
#name=
def name=(value) -> ::String- value (::String) — Identifier. The name of the service agent resource
- (::String) — Identifier. The name of the service agent resource
#principal
def principal() -> ::String- (::String) — Optional. The principal identifier for the service agent. This identifier is used in allow policies to grant access to the service agent.
#principal=
def principal=(value) -> ::String- value (::String) — Optional. The principal identifier for the service agent. This identifier is used in allow policies to grant access to the service agent.
- (::String) — Optional. The principal identifier for the service agent. This identifier is used in allow policies to grant access to the service agent.
#role
def role() -> ::String- (::String) — Optional. The role that should be granted to service agent on consumer project, if any. For example, "roles/aiplatform.serviceAgent".
#role=
def role=(value) -> ::String- value (::String) — Optional. The role that should be granted to service agent on consumer project, if any. For example, "roles/aiplatform.serviceAgent".
- (::String) — Optional. The role that should be granted to service agent on consumer project, if any. For example, "roles/aiplatform.serviceAgent".
#service_producer
def service_producer() -> ::String- (::String) — Optional. The service the agent belongs to. For example, bigquery.googleapis.com
#service_producer=
def service_producer=(value) -> ::String- value (::String) — Optional. The service the agent belongs to. For example, bigquery.googleapis.com
- (::String) — Optional. The service the agent belongs to. For example, bigquery.googleapis.com
#state
def state() -> ::Google::Cloud::WorkloadIdentity::V1::ServiceAgent::State- (::Google::Cloud::WorkloadIdentity::V1::ServiceAgent::State) — Output only. Service agent state.