projects

POST /v1/projects/{projectsId}/locations/{locationsId}/authProviders/{authProvidersId}:undelete

Undeletes a single auth provider.

Request

  • Base URL
    https://agentidentity.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsId, string required
locationsId, string required
authProvidersId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Request body

UndeleteAuthProviderRequest required

Request message for UndeleteAuthProvider.

requestId, string

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Response

Successful response

AuthProvider required

Represents an auth provider.

allowedScopes, string[]

Optional. List of scopes that are allowed to be requested for this auth provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blocked_scopes are disallowed even if they appear in allowed_scopes. The number of allowed scopes is limited to 200.

authProviderTypeParams, AuthProviderTypeParams

Required. Parameters specific to the auth provider type.

blockedScopes, string[]

Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in allowed_scopes. blocked_scopes takes precedence over allowed_scopes. The number of blocked scopes is limited to 200.

createTime, string google-datetime

Output only. The creation timestamp.

deleted, boolean

Output only. Set to true if the auth provider is deleted.

description, string

Optional. Description of the resource. Must be less than 256 characters.

expireTime, string google-datetime

Output only. The time when the auth provider will expire.

labels, object

Optional. Labels as key-value pairs.

name, string

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

state, 'STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED'

Output only. The state of the auth provider.

updateTime, string google-datetime

Output only. The update timestamp.

workloadIds, string[]

Optional. Input only. Identifiers for the agents that will use this auth provider, starting with principal://. For example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}

Changes

No recorded changes to this operation across all 4 revisions of this API.