[BindServiceMethod(typeof(PolicyBindings), "BindService")]
public abstract class PolicyBindings.PolicyBindingsBaseReference documentation and code samples for the Identity and Access Management (IAM) v3beta API class PolicyBindings.PolicyBindingsBase.
Base class for server-side implementations of PolicyBindings
Namespace
Google.Cloud.Iam.V3BetaAssembly
Google.Cloud.Iam.V3Beta.dll
Methods
CreatePolicyBinding(CreatePolicyBindingRequest, ServerCallContext)
public virtual Task<Operation> CreatePolicyBinding(CreatePolicyBindingRequest request, ServerCallContext context)Creates a policy binding and returns a long-running operation. Callers will need the IAM permissions on both the policy and target. After the binding is created, the policy is applied to the target.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePolicyBindingRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeletePolicyBinding(DeletePolicyBindingRequest, ServerCallContext)
public virtual Task<Operation> DeletePolicyBinding(DeletePolicyBindingRequest request, ServerCallContext context)Deletes a policy binding and returns a long-running operation. Callers will need the IAM permissions on both the policy and target. After the binding is deleted, the policy no longer applies to the target.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePolicyBindingRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetPolicyBinding(GetPolicyBindingRequest, ServerCallContext)
public virtual Task<PolicyBinding> GetPolicyBinding(GetPolicyBindingRequest request, ServerCallContext context)Gets a policy binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPolicyBindingRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicyBinding |
The response to send back to the client (wrapped by a task). |
ListPolicyBindings(ListPolicyBindingsRequest, ServerCallContext)
public virtual Task<ListPolicyBindingsResponse> ListPolicyBindings(ListPolicyBindingsRequest request, ServerCallContext context)Lists policy bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPolicyBindingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPolicyBindingsResponse |
The response to send back to the client (wrapped by a task). |
SearchTargetPolicyBindings(SearchTargetPolicyBindingsRequest, ServerCallContext)
public virtual Task<SearchTargetPolicyBindingsResponse> SearchTargetPolicyBindings(SearchTargetPolicyBindingsRequest request, ServerCallContext context)Search policy bindings by target. Returns all policy binding objects bound directly to target.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchTargetPolicyBindingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchTargetPolicyBindingsResponse |
The response to send back to the client (wrapped by a task). |
UpdatePolicyBinding(UpdatePolicyBindingRequest, ServerCallContext)
public virtual Task<Operation> UpdatePolicyBinding(UpdatePolicyBindingRequest request, ServerCallContext context)Updates a policy binding and returns a long-running operation. Callers will need the IAM permissions on the policy and target in the binding to update. Target and policy are immutable and cannot be updated.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePolicyBindingRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |