public sealed class AccessContextManagerClientImpl : AccessContextManagerClient
AccessContextManager client wrapper implementation, for convenient use.
Namespace
Google.Identity.AccessContextManager.V1Assembly
Google.Identity.AccessContextManager.V1.dll
Remarks
API for setting [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] and [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for Google Cloud Projects. Each organization has one [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] containing the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] and [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter]. This [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] is applicable to all resources in the organization. AccessPolicies
Constructors
AccessContextManagerClientImpl(AccessContextManager.AccessContextManagerClient, AccessContextManagerSettings, ILogger)
public AccessContextManagerClientImpl(AccessContextManager.AccessContextManagerClient grpcClient, AccessContextManagerSettings settings, ILogger logger)
Constructs a client wrapper for the AccessContextManager service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | AccessContextManager.AccessContextManagerClient The underlying gRPC client. |
settings | AccessContextManagerSettings The base AccessContextManagerSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CommitServicePerimetersOperationsClient
public override OperationsClient CommitServicePerimetersOperationsClient { get; }
The long-running operations client for CommitServicePerimeters
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateAccessLevelOperationsClient
public override OperationsClient CreateAccessLevelOperationsClient { get; }
The long-running operations client for CreateAccessLevel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateAccessPolicyOperationsClient
public override OperationsClient CreateAccessPolicyOperationsClient { get; }
The long-running operations client for CreateAccessPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateGcpUserAccessBindingOperationsClient
public override OperationsClient CreateGcpUserAccessBindingOperationsClient { get; }
The long-running operations client for CreateGcpUserAccessBinding
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateServicePerimeterOperationsClient
public override OperationsClient CreateServicePerimeterOperationsClient { get; }
The long-running operations client for CreateServicePerimeter
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAccessLevelOperationsClient
public override OperationsClient DeleteAccessLevelOperationsClient { get; }
The long-running operations client for DeleteAccessLevel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAccessPolicyOperationsClient
public override OperationsClient DeleteAccessPolicyOperationsClient { get; }
The long-running operations client for DeleteAccessPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteGcpUserAccessBindingOperationsClient
public override OperationsClient DeleteGcpUserAccessBindingOperationsClient { get; }
The long-running operations client for DeleteGcpUserAccessBinding
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteServicePerimeterOperationsClient
public override OperationsClient DeleteServicePerimeterOperationsClient { get; }
The long-running operations client for DeleteServicePerimeter
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override AccessContextManager.AccessContextManagerClient GrpcClient { get; }
The underlying gRPC AccessContextManager client
Property Value | |
---|---|
Type | Description |
AccessContextManager.AccessContextManagerClient |
ReplaceAccessLevelsOperationsClient
public override OperationsClient ReplaceAccessLevelsOperationsClient { get; }
The long-running operations client for ReplaceAccessLevels
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ReplaceServicePerimetersOperationsClient
public override OperationsClient ReplaceServicePerimetersOperationsClient { get; }
The long-running operations client for ReplaceServicePerimeters
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateAccessLevelOperationsClient
public override OperationsClient UpdateAccessLevelOperationsClient { get; }
The long-running operations client for UpdateAccessLevel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateAccessPolicyOperationsClient
public override OperationsClient UpdateAccessPolicyOperationsClient { get; }
The long-running operations client for UpdateAccessPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateGcpUserAccessBindingOperationsClient
public override OperationsClient UpdateGcpUserAccessBindingOperationsClient { get; }
The long-running operations client for UpdateGcpUserAccessBinding
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateServicePerimeterOperationsClient
public override OperationsClient UpdateServicePerimeterOperationsClient { get; }
The long-running operations client for UpdateServicePerimeter
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CommitServicePerimeters(CommitServicePerimetersRequest, CallSettings)
public override Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata> CommitServicePerimeters(CommitServicePerimetersRequest request, CallSettings callSettings = null)
Commit the dry-run spec for all the [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in an
[Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy].
A commit operation on a Service Perimeter involves copying its spec
field
to that Service Perimeter's status
field. Only [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] with
use_explicit_dry_run_spec
field set to true are affected by a commit
operation. The longrunning operation from this RPC will have a successful
status once the dry-run specs for all the [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] have been
committed. If a commit fails, it will cause the longrunning operation to
return an error response and the entire commit operation will be cancelled.
When successful, Operation.response field will contain
CommitServicePerimetersResponse. The dry_run
and the spec
fields will
be cleared after a successful commit operation.
Parameters | |
---|---|
Name | Description |
request | CommitServicePerimetersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata> | The RPC response. |
CommitServicePerimetersAsync(CommitServicePerimetersRequest, CallSettings)
public override async Task<Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata>> CommitServicePerimetersAsync(CommitServicePerimetersRequest request, CallSettings callSettings = null)
Commit the dry-run spec for all the [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in an
[Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy].
A commit operation on a Service Perimeter involves copying its spec
field
to that Service Perimeter's status
field. Only [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] with
use_explicit_dry_run_spec
field set to true are affected by a commit
operation. The longrunning operation from this RPC will have a successful
status once the dry-run specs for all the [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] have been
committed. If a commit fails, it will cause the longrunning operation to
return an error response and the entire commit operation will be cancelled.
When successful, Operation.response field will contain
CommitServicePerimetersResponse. The dry_run
and the spec
fields will
be cleared after a successful commit operation.
Parameters | |
---|---|
Name | Description |
request | CommitServicePerimetersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
CreateAccessLevel(CreateAccessLevelRequest, CallSettings)
public override Operation<AccessLevel, AccessContextManagerOperationMetadata> CreateAccessLevel(CreateAccessLevelRequest request, CallSettings callSettings = null)
Create an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | CreateAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AccessLevel, AccessContextManagerOperationMetadata> | The RPC response. |
CreateAccessLevelAsync(CreateAccessLevelRequest, CallSettings)
public override async Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>> CreateAccessLevelAsync(CreateAccessLevelRequest request, CallSettings callSettings = null)
Create an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | CreateAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
CreateAccessPolicy(AccessPolicy, CallSettings)
public override Operation<AccessPolicy, AccessContextManagerOperationMetadata> CreateAccessPolicy(AccessPolicy request, CallSettings callSettings = null)
Create an AccessPolicy
. Fails if this organization already has a
AccessPolicy
. The longrunning Operation will have a successful status
once the AccessPolicy
has propagated to long-lasting storage.
Syntactic and basic semantic errors will be returned in metadata
as a
BadRequest proto.
Parameters | |
---|---|
Name | Description |
request | AccessPolicy The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AccessPolicy, AccessContextManagerOperationMetadata> | The RPC response. |
CreateAccessPolicyAsync(AccessPolicy, CallSettings)
public override async Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>> CreateAccessPolicyAsync(AccessPolicy request, CallSettings callSettings = null)
Create an AccessPolicy
. Fails if this organization already has a
AccessPolicy
. The longrunning Operation will have a successful status
once the AccessPolicy
has propagated to long-lasting storage.
Syntactic and basic semantic errors will be returned in metadata
as a
BadRequest proto.
Parameters | |
---|---|
Name | Description |
request | AccessPolicy The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
CreateGcpUserAccessBinding(CreateGcpUserAccessBindingRequest, CallSettings)
public override Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata> CreateGcpUserAccessBinding(CreateGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Creates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the client specifies a [name] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name], the server will ignore it. Fails if a resource already exists with the same [group_key] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key]. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.
Parameters | |
---|---|
Name | Description |
request | CreateGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata> | The RPC response. |
CreateGcpUserAccessBindingAsync(CreateGcpUserAccessBindingRequest, CallSettings)
public override async Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>> CreateGcpUserAccessBindingAsync(CreateGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Creates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the client specifies a [name] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name], the server will ignore it. Fails if a resource already exists with the same [group_key] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key]. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.
Parameters | |
---|---|
Name | Description |
request | CreateGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>> | A Task containing the RPC response. |
CreateServicePerimeter(CreateServicePerimeterRequest, CallSettings)
public override Operation<ServicePerimeter, AccessContextManagerOperationMetadata> CreateServicePerimeter(CreateServicePerimeterRequest request, CallSettings callSettings = null)
Create a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has propagated to long-lasting storage. [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | CreateServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ServicePerimeter, AccessContextManagerOperationMetadata> | The RPC response. |
CreateServicePerimeterAsync(CreateServicePerimeterRequest, CallSettings)
public override async Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>> CreateServicePerimeterAsync(CreateServicePerimeterRequest request, CallSettings callSettings = null)
Create a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has propagated to long-lasting storage. [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | CreateServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
DeleteAccessLevel(DeleteAccessLevelRequest, CallSettings)
public override Operation<Empty, AccessContextManagerOperationMetadata> DeleteAccessLevel(DeleteAccessLevelRequest request, CallSettings callSettings = null)
Delete an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has been removed from long-lasting storage.
Parameters | |
---|---|
Name | Description |
request | DeleteAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, AccessContextManagerOperationMetadata> | The RPC response. |
DeleteAccessLevelAsync(DeleteAccessLevelRequest, CallSettings)
public override async Task<Operation<Empty, AccessContextManagerOperationMetadata>> DeleteAccessLevelAsync(DeleteAccessLevelRequest request, CallSettings callSettings = null)
Delete an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has been removed from long-lasting storage.
Parameters | |
---|---|
Name | Description |
request | DeleteAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
DeleteAccessPolicy(DeleteAccessPolicyRequest, CallSettings)
public override Operation<Empty, AccessContextManagerOperationMetadata> DeleteAccessPolicy(DeleteAccessPolicyRequest request, CallSettings callSettings = null)
Delete an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by resource name. The longrunning Operation will have a successful status once the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] has been removed from long-lasting storage.
Parameters | |
---|---|
Name | Description |
request | DeleteAccessPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, AccessContextManagerOperationMetadata> | The RPC response. |
DeleteAccessPolicyAsync(DeleteAccessPolicyRequest, CallSettings)
public override async Task<Operation<Empty, AccessContextManagerOperationMetadata>> DeleteAccessPolicyAsync(DeleteAccessPolicyRequest request, CallSettings callSettings = null)
Delete an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by resource name. The longrunning Operation will have a successful status once the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] has been removed from long-lasting storage.
Parameters | |
---|---|
Name | Description |
request | DeleteAccessPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
DeleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest, CallSettings)
public override Operation<Empty, GcpUserAccessBindingOperationMetadata> DeleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Deletes a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time.
Parameters | |
---|---|
Name | Description |
request | DeleteGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, GcpUserAccessBindingOperationMetadata> | The RPC response. |
DeleteGcpUserAccessBindingAsync(DeleteGcpUserAccessBindingRequest, CallSettings)
public override async Task<Operation<Empty, GcpUserAccessBindingOperationMetadata>> DeleteGcpUserAccessBindingAsync(DeleteGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Deletes a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time.
Parameters | |
---|---|
Name | Description |
request | DeleteGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, GcpUserAccessBindingOperationMetadata>> | A Task containing the RPC response. |
DeleteServicePerimeter(DeleteServicePerimeterRequest, CallSettings)
public override Operation<Empty, AccessContextManagerOperationMetadata> DeleteServicePerimeter(DeleteServicePerimeterRequest request, CallSettings callSettings = null)
Delete a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has been removed from long-lasting storage.
Parameters | |
---|---|
Name | Description |
request | DeleteServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, AccessContextManagerOperationMetadata> | The RPC response. |
DeleteServicePerimeterAsync(DeleteServicePerimeterRequest, CallSettings)
public override async Task<Operation<Empty, AccessContextManagerOperationMetadata>> DeleteServicePerimeterAsync(DeleteServicePerimeterRequest request, CallSettings callSettings = null)
Delete a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has been removed from long-lasting storage.
Parameters | |
---|---|
Name | Description |
request | DeleteServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
GetAccessLevel(GetAccessLevelRequest, CallSettings)
public override AccessLevel GetAccessLevel(GetAccessLevelRequest request, CallSettings callSettings = null)
Get an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name.
Parameters | |
---|---|
Name | Description |
request | GetAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AccessLevel | The RPC response. |
GetAccessLevelAsync(GetAccessLevelRequest, CallSettings)
public override Task<AccessLevel> GetAccessLevelAsync(GetAccessLevelRequest request, CallSettings callSettings = null)
Get an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name.
Parameters | |
---|---|
Name | Description |
request | GetAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AccessLevel> | A Task containing the RPC response. |
GetAccessPolicy(GetAccessPolicyRequest, CallSettings)
public override AccessPolicy GetAccessPolicy(GetAccessPolicyRequest request, CallSettings callSettings = null)
Get an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by name.
Parameters | |
---|---|
Name | Description |
request | GetAccessPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AccessPolicy | The RPC response. |
GetAccessPolicyAsync(GetAccessPolicyRequest, CallSettings)
public override Task<AccessPolicy> GetAccessPolicyAsync(GetAccessPolicyRequest request, CallSettings callSettings = null)
Get an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by name.
Parameters | |
---|---|
Name | Description |
request | GetAccessPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AccessPolicy> | A Task containing the RPC response. |
GetGcpUserAccessBinding(GetGcpUserAccessBindingRequest, CallSettings)
public override GcpUserAccessBinding GetGcpUserAccessBinding(GetGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Gets the [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with the given name.
Parameters | |
---|---|
Name | Description |
request | GetGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
GcpUserAccessBinding | The RPC response. |
GetGcpUserAccessBindingAsync(GetGcpUserAccessBindingRequest, CallSettings)
public override Task<GcpUserAccessBinding> GetGcpUserAccessBindingAsync(GetGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Gets the [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with the given name.
Parameters | |
---|---|
Name | Description |
request | GetGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<GcpUserAccessBinding> | A Task containing the RPC response. |
GetServicePerimeter(GetServicePerimeterRequest, CallSettings)
public override ServicePerimeter GetServicePerimeter(GetServicePerimeterRequest request, CallSettings callSettings = null)
Get a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name.
Parameters | |
---|---|
Name | Description |
request | GetServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ServicePerimeter | The RPC response. |
GetServicePerimeterAsync(GetServicePerimeterRequest, CallSettings)
public override Task<ServicePerimeter> GetServicePerimeterAsync(GetServicePerimeterRequest request, CallSettings callSettings = null)
Get a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name.
Parameters | |
---|---|
Name | Description |
request | GetServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ServicePerimeter> | A Task containing the RPC response. |
ListAccessLevels(ListAccessLevelsRequest, CallSettings)
public override PagedEnumerable<ListAccessLevelsResponse, AccessLevel> ListAccessLevels(ListAccessLevelsRequest request, CallSettings callSettings = null)
List all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] for an access policy.
Parameters | |
---|---|
Name | Description |
request | ListAccessLevelsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAccessLevelsResponse, AccessLevel> | A pageable sequence of AccessLevel resources. |
ListAccessLevelsAsync(ListAccessLevelsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAccessLevelsResponse, AccessLevel> ListAccessLevelsAsync(ListAccessLevelsRequest request, CallSettings callSettings = null)
List all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] for an access policy.
Parameters | |
---|---|
Name | Description |
request | ListAccessLevelsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAccessLevelsResponse, AccessLevel> | A pageable asynchronous sequence of AccessLevel resources. |
ListAccessPolicies(ListAccessPoliciesRequest, CallSettings)
public override PagedEnumerable<ListAccessPoliciesResponse, AccessPolicy> ListAccessPolicies(ListAccessPoliciesRequest request, CallSettings callSettings = null)
List all [AccessPolicies] [google.identity.accesscontextmanager.v1.AccessPolicy] under a container.
Parameters | |
---|---|
Name | Description |
request | ListAccessPoliciesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAccessPoliciesResponse, AccessPolicy> | A pageable sequence of AccessPolicy resources. |
ListAccessPoliciesAsync(ListAccessPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<ListAccessPoliciesResponse, AccessPolicy> ListAccessPoliciesAsync(ListAccessPoliciesRequest request, CallSettings callSettings = null)
List all [AccessPolicies] [google.identity.accesscontextmanager.v1.AccessPolicy] under a container.
Parameters | |
---|---|
Name | Description |
request | ListAccessPoliciesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAccessPoliciesResponse, AccessPolicy> | A pageable asynchronous sequence of AccessPolicy resources. |
ListGcpUserAccessBindings(ListGcpUserAccessBindingsRequest, CallSettings)
public override PagedEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding> ListGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request, CallSettings callSettings = null)
Lists all [GcpUserAccessBindings] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a Google Cloud organization.
Parameters | |
---|---|
Name | Description |
request | ListGcpUserAccessBindingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding> | A pageable sequence of GcpUserAccessBinding resources. |
ListGcpUserAccessBindingsAsync(ListGcpUserAccessBindingsRequest, CallSettings)
public override PagedAsyncEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding> ListGcpUserAccessBindingsAsync(ListGcpUserAccessBindingsRequest request, CallSettings callSettings = null)
Lists all [GcpUserAccessBindings] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a Google Cloud organization.
Parameters | |
---|---|
Name | Description |
request | ListGcpUserAccessBindingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding> | A pageable asynchronous sequence of GcpUserAccessBinding resources. |
ListServicePerimeters(ListServicePerimetersRequest, CallSettings)
public override PagedEnumerable<ListServicePerimetersResponse, ServicePerimeter> ListServicePerimeters(ListServicePerimetersRequest request, CallSettings callSettings = null)
List all [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for an access policy.
Parameters | |
---|---|
Name | Description |
request | ListServicePerimetersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListServicePerimetersResponse, ServicePerimeter> | A pageable sequence of ServicePerimeter resources. |
ListServicePerimetersAsync(ListServicePerimetersRequest, CallSettings)
public override PagedAsyncEnumerable<ListServicePerimetersResponse, ServicePerimeter> ListServicePerimetersAsync(ListServicePerimetersRequest request, CallSettings callSettings = null)
List all [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for an access policy.
Parameters | |
---|---|
Name | Description |
request | ListServicePerimetersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListServicePerimetersResponse, ServicePerimeter> | A pageable asynchronous sequence of ServicePerimeter resources. |
ReplaceAccessLevels(ReplaceAccessLevelsRequest, CallSettings)
public override Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata> ReplaceAccessLevels(ReplaceAccessLevelsRequest request, CallSettings callSettings = null)
Replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in error.
Parameters | |
---|---|
Name | Description |
request | ReplaceAccessLevelsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata> | The RPC response. |
ReplaceAccessLevelsAsync(ReplaceAccessLevelsRequest, CallSettings)
public override async Task<Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata>> ReplaceAccessLevelsAsync(ReplaceAccessLevelsRequest request, CallSettings callSettings = null)
Replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in error.
Parameters | |
---|---|
Name | Description |
request | ReplaceAccessLevelsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
ReplaceServicePerimeters(ReplaceServicePerimetersRequest, CallSettings)
public override Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata> ReplaceServicePerimeters(ReplaceServicePerimetersRequest request, CallSettings callSettings = null)
Replace all existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be affected. Operation.response field will contain ReplaceServicePerimetersResponse.
Parameters | |
---|---|
Name | Description |
request | ReplaceServicePerimetersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata> | The RPC response. |
ReplaceServicePerimetersAsync(ReplaceServicePerimetersRequest, CallSettings)
public override async Task<Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata>> ReplaceServicePerimetersAsync(ReplaceServicePerimetersRequest request, CallSettings callSettings = null)
Replace all existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be affected. Operation.response field will contain ReplaceServicePerimetersResponse.
Parameters | |
---|---|
Name | Description |
request | ReplaceServicePerimetersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
UpdateAccessLevel(UpdateAccessLevelRequest, CallSettings)
public override Operation<AccessLevel, AccessContextManagerOperationMetadata> UpdateAccessLevel(UpdateAccessLevelRequest request, CallSettings callSettings = null)
Update an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the changes to the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] have propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | UpdateAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AccessLevel, AccessContextManagerOperationMetadata> | The RPC response. |
UpdateAccessLevelAsync(UpdateAccessLevelRequest, CallSettings)
public override async Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>> UpdateAccessLevelAsync(UpdateAccessLevelRequest request, CallSettings callSettings = null)
Update an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the changes to the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] have propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | UpdateAccessLevelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
UpdateAccessPolicy(UpdateAccessPolicyRequest, CallSettings)
public override Operation<AccessPolicy, AccessContextManagerOperationMetadata> UpdateAccessPolicy(UpdateAccessPolicyRequest request, CallSettings callSettings = null)
Update an [AccessPolicy]
[google.identity.accesscontextmanager.v1.AccessPolicy]. The
longrunning Operation from this RPC will have a successful status once the
changes to the [AccessPolicy]
[google.identity.accesscontextmanager.v1.AccessPolicy] have propagated
to long-lasting storage. Syntactic and basic semantic errors will be
returned in metadata
as a BadRequest proto.
Parameters | |
---|---|
Name | Description |
request | UpdateAccessPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AccessPolicy, AccessContextManagerOperationMetadata> | The RPC response. |
UpdateAccessPolicyAsync(UpdateAccessPolicyRequest, CallSettings)
public override async Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>> UpdateAccessPolicyAsync(UpdateAccessPolicyRequest request, CallSettings callSettings = null)
Update an [AccessPolicy]
[google.identity.accesscontextmanager.v1.AccessPolicy]. The
longrunning Operation from this RPC will have a successful status once the
changes to the [AccessPolicy]
[google.identity.accesscontextmanager.v1.AccessPolicy] have propagated
to long-lasting storage. Syntactic and basic semantic errors will be
returned in metadata
as a BadRequest proto.
Parameters | |
---|---|
Name | Description |
request | UpdateAccessPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |
UpdateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest, CallSettings)
public override Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata> UpdateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Updates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.
Parameters | |
---|---|
Name | Description |
request | UpdateGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata> | The RPC response. |
UpdateGcpUserAccessBindingAsync(UpdateGcpUserAccessBindingRequest, CallSettings)
public override async Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>> UpdateGcpUserAccessBindingAsync(UpdateGcpUserAccessBindingRequest request, CallSettings callSettings = null)
Updates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.
Parameters | |
---|---|
Name | Description |
request | UpdateGcpUserAccessBindingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>> | A Task containing the RPC response. |
UpdateServicePerimeter(UpdateServicePerimeterRequest, CallSettings)
public override Operation<ServicePerimeter, AccessContextManagerOperationMetadata> UpdateServicePerimeter(UpdateServicePerimeterRequest request, CallSettings callSettings = null)
Update a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the changes to the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] have propagated to long-lasting storage. [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | UpdateServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ServicePerimeter, AccessContextManagerOperationMetadata> | The RPC response. |
UpdateServicePerimeterAsync(UpdateServicePerimeterRequest, CallSettings)
public override async Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>> UpdateServicePerimeterAsync(UpdateServicePerimeterRequest request, CallSettings callSettings = null)
Update a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the changes to the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] have propagated to long-lasting storage. [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.
Parameters | |
---|---|
Name | Description |
request | UpdateServicePerimeterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>> | A Task containing the RPC response. |