Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AuthProvidersResource

The "authProviders" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AuthProvidersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AgentIdentity.v1
Assembly: Google.Apis.AgentIdentity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AuthProvidersResource

Constructors

AuthProvidersResource(IClientService)

Constructs a new resource.

Declaration
public AuthProvidersResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Authorizations

Gets the Authorizations resource.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.AuthorizationsResource Authorizations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.AuthorizationsResource

Methods

Create(AuthProvider, string)

Creates a new AuthProvider in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.CreateRequest Create(AuthProvider body, string parent)
Parameters
Type Name Description
AuthProvider body

The body of the request.

string parent

Required. The parent resource where the AuthProvider is created. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.CreateRequest

Delete(string)

Deletes a single AuthProvider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the resource

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.DeleteRequest

Disable(DisableAuthProviderRequest, string)

Disables a single AuthProvider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.DisableRequest Disable(DisableAuthProviderRequest body, string name)
Parameters
Type Name Description
DisableAuthProviderRequest body

The body of the request.

string name

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.DisableRequest

Enable(EnableAuthProviderRequest, string)

Enables a single AuthProvider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.EnableRequest Enable(EnableAuthProviderRequest body, string name)
Parameters
Type Name Description
EnableAuthProviderRequest body

The body of the request.

string name

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.EnableRequest

Get(string)

Gets details of a single AuthProvider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the resource

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.GetRequest

GetIamPolicy(string)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type Name Description
string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.GetIamPolicyRequest

List(string)

Lists AuthProviders in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.ListRequest

Patch(AuthProvider, string)

Updates the parameters of a single AuthProvider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.PatchRequest Patch(AuthProvider body, string name)
Parameters
Type Name Description
AuthProvider body

The body of the request.

string name

Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.PatchRequest

Query(string)

Queries what all auth_providers are used by a given workload_id.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.QueryRequest Query(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.QueryRequest

QueryWorkloads(string)

Queries what all workloads are using a given auth_provider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.QueryWorkloadsRequest QueryWorkloads(string name)
Parameters
Type Name Description
string name

Required. The name of the auth_provider to query. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.QueryWorkloadsRequest

RevokeAuthorization(RevokeAuthorizationRequest, string)

Revokes all authorizations for a specific user on an AuthProvider. This deletes all authorization records associated with the user and AuthProvider, effectively revoking access across all agents.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.RevokeAuthorizationRequest RevokeAuthorization(RevokeAuthorizationRequest body, string name)
Parameters
Type Name Description
RevokeAuthorizationRequest body

The body of the request.

string name

Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.RevokeAuthorizationRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.TestIamPermissionsRequest

Undelete(UndeleteAuthProviderRequest, string)

Undeletes a single AuthProvider.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.UndeleteRequest Undelete(UndeleteAuthProviderRequest body, string name)
Parameters
Type Name Description
UndeleteAuthProviderRequest body

The body of the request.

string name

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.UndeleteRequest
In this article
Back to top Generated by DocFX