identitytoolkit
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package identitytoolkit provides access to the Identity Toolkit API.
For product documentation, see:https://cloud.google.com/identity-platform
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/identitytoolkit/v2"...ctx := context.Background()identitytoolkitService, err := identitytoolkit.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
By default, all available scopes (see "Constants") are used to authenticate.To restrict scopes, usegoogle.golang.org/api/option.WithScopes:
identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithScopes(identitytoolkit.FirebaseScope))
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type AccountsMfaEnrollmentFinalizeCall
- func (c *AccountsMfaEnrollmentFinalizeCall) Context(ctx context.Context) *AccountsMfaEnrollmentFinalizeCall
- func (c *AccountsMfaEnrollmentFinalizeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse, error)
- func (c *AccountsMfaEnrollmentFinalizeCall) Fields(s ...googleapi.Field) *AccountsMfaEnrollmentFinalizeCall
- func (c *AccountsMfaEnrollmentFinalizeCall) Header() http.Header
- type AccountsMfaEnrollmentService
- type AccountsMfaEnrollmentStartCall
- func (c *AccountsMfaEnrollmentStartCall) Context(ctx context.Context) *AccountsMfaEnrollmentStartCall
- func (c *AccountsMfaEnrollmentStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse, error)
- func (c *AccountsMfaEnrollmentStartCall) Fields(s ...googleapi.Field) *AccountsMfaEnrollmentStartCall
- func (c *AccountsMfaEnrollmentStartCall) Header() http.Header
- type AccountsMfaEnrollmentWithdrawCall
- func (c *AccountsMfaEnrollmentWithdrawCall) Context(ctx context.Context) *AccountsMfaEnrollmentWithdrawCall
- func (c *AccountsMfaEnrollmentWithdrawCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2WithdrawMfaResponse, error)
- func (c *AccountsMfaEnrollmentWithdrawCall) Fields(s ...googleapi.Field) *AccountsMfaEnrollmentWithdrawCall
- func (c *AccountsMfaEnrollmentWithdrawCall) Header() http.Header
- type AccountsMfaSignInFinalizeCall
- func (c *AccountsMfaSignInFinalizeCall) Context(ctx context.Context) *AccountsMfaSignInFinalizeCall
- func (c *AccountsMfaSignInFinalizeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse, error)
- func (c *AccountsMfaSignInFinalizeCall) Fields(s ...googleapi.Field) *AccountsMfaSignInFinalizeCall
- func (c *AccountsMfaSignInFinalizeCall) Header() http.Header
- type AccountsMfaSignInService
- type AccountsMfaSignInStartCall
- func (c *AccountsMfaSignInStartCall) Context(ctx context.Context) *AccountsMfaSignInStartCall
- func (c *AccountsMfaSignInStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2StartMfaSignInResponse, error)
- func (c *AccountsMfaSignInStartCall) Fields(s ...googleapi.Field) *AccountsMfaSignInStartCall
- func (c *AccountsMfaSignInStartCall) Header() http.Header
- type AccountsRevokeTokenCall
- func (c *AccountsRevokeTokenCall) Context(ctx context.Context) *AccountsRevokeTokenCall
- func (c *AccountsRevokeTokenCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2RevokeTokenResponse, error)
- func (c *AccountsRevokeTokenCall) Fields(s ...googleapi.Field) *AccountsRevokeTokenCall
- func (c *AccountsRevokeTokenCall) Header() http.Header
- type AccountsService
- type DefaultSupportedIdpsListCall
- func (c *DefaultSupportedIdpsListCall) Context(ctx context.Context) *DefaultSupportedIdpsListCall
- func (c *DefaultSupportedIdpsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse, error)
- func (c *DefaultSupportedIdpsListCall) Fields(s ...googleapi.Field) *DefaultSupportedIdpsListCall
- func (c *DefaultSupportedIdpsListCall) Header() http.Header
- func (c *DefaultSupportedIdpsListCall) IfNoneMatch(entityTag string) *DefaultSupportedIdpsListCall
- func (c *DefaultSupportedIdpsListCall) PageSize(pageSize int64) *DefaultSupportedIdpsListCall
- func (c *DefaultSupportedIdpsListCall) PageToken(pageToken string) *DefaultSupportedIdpsListCall
- func (c *DefaultSupportedIdpsListCall) Pages(ctx context.Context, ...) error
- type DefaultSupportedIdpsService
- type GoogleCloudIdentitytoolkitAdminV2AllowByDefault
- type GoogleCloudIdentitytoolkitAdminV2AllowlistOnly
- type GoogleCloudIdentitytoolkitAdminV2Anonymous
- type GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig
- type GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig
- type GoogleCloudIdentitytoolkitAdminV2ClientConfig
- type GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig
- type GoogleCloudIdentitytoolkitAdminV2ClientPermissions
- type GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig
- type GoogleCloudIdentitytoolkitAdminV2Config
- type GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions
- type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp
- type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig
- type GoogleCloudIdentitytoolkitAdminV2DnsInfo
- type GoogleCloudIdentitytoolkitAdminV2Email
- type GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig
- type GoogleCloudIdentitytoolkitAdminV2EmailTemplate
- type GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials
- type GoogleCloudIdentitytoolkitAdminV2HashConfig
- type GoogleCloudIdentitytoolkitAdminV2IdpCertificate
- type GoogleCloudIdentitytoolkitAdminV2IdpConfig
- type GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig
- type GoogleCloudIdentitytoolkitAdminV2Inheritance
- type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest
- type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse
- type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse
- type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse
- type GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse
- type GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse
- type GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse
- type GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig
- type GoogleCloudIdentitytoolkitAdminV2MonitoringConfig
- type GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
- type GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig
- type GoogleCloudIdentitytoolkitAdminV2NotificationConfig
- type GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig
- type GoogleCloudIdentitytoolkitAdminV2OAuthResponseType
- type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
- type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
- type GoogleCloudIdentitytoolkitAdminV2Permissions
- type GoogleCloudIdentitytoolkitAdminV2PhoneNumber
- type GoogleCloudIdentitytoolkitAdminV2ProviderConfig
- type GoogleCloudIdentitytoolkitAdminV2QuotaConfig
- type GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig
- type GoogleCloudIdentitytoolkitAdminV2RecaptchaKey
- type GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule
- type GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule
- type GoogleCloudIdentitytoolkitAdminV2RequestLogging
- type GoogleCloudIdentitytoolkitAdminV2SendEmail
- type GoogleCloudIdentitytoolkitAdminV2SendSms
- type GoogleCloudIdentitytoolkitAdminV2SignInConfig
- type GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig
- type GoogleCloudIdentitytoolkitAdminV2SmsTemplate
- type GoogleCloudIdentitytoolkitAdminV2Smtp
- type GoogleCloudIdentitytoolkitAdminV2SpCertificate
- type GoogleCloudIdentitytoolkitAdminV2SpConfig
- type GoogleCloudIdentitytoolkitAdminV2TemporaryQuota
- type GoogleCloudIdentitytoolkitAdminV2Tenant
- type GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig
- type GoogleCloudIdentitytoolkitAdminV2Trigger
- type GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
- type GoogleCloudIdentitytoolkitV2CustomStrengthOptions
- type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest
- type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse
- type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
- type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo
- type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest
- type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse
- type GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
- type GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
- type GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
- type GoogleCloudIdentitytoolkitV2PasswordPolicy
- type GoogleCloudIdentitytoolkitV2RecaptchaConfig
- type GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState
- type GoogleCloudIdentitytoolkitV2RevokeTokenRequest
- type GoogleCloudIdentitytoolkitV2RevokeTokenResponse
- type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
- type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse
- type GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo
- type GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo
- type GoogleCloudIdentitytoolkitV2StartMfaSignInRequest
- type GoogleCloudIdentitytoolkitV2StartMfaSignInResponse
- type GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo
- type GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
- type GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
- type GoogleCloudIdentitytoolkitV2WithdrawMfaResponse
- type GoogleIamV1AuditConfig
- type GoogleIamV1AuditLogConfig
- type GoogleIamV1Binding
- type GoogleIamV1GetIamPolicyRequest
- type GoogleIamV1GetPolicyOptions
- type GoogleIamV1Policy
- type GoogleIamV1SetIamPolicyRequest
- type GoogleIamV1TestIamPermissionsRequest
- type GoogleIamV1TestIamPermissionsResponse
- type GoogleProtobufEmpty
- type GoogleTypeExpr
- type ProjectsDefaultSupportedIdpConfigsCreateCall
- func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Context(ctx context.Context) *ProjectsDefaultSupportedIdpConfigsCreateCall
- func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig, error)
- func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsCreateCall
- func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Header() http.Header
- func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) IdpId(idpId string) *ProjectsDefaultSupportedIdpConfigsCreateCall
- type ProjectsDefaultSupportedIdpConfigsDeleteCall
- func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Context(ctx context.Context) *ProjectsDefaultSupportedIdpConfigsDeleteCall
- func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsDeleteCall
- func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Header() http.Header
- type ProjectsDefaultSupportedIdpConfigsGetCall
- func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Context(ctx context.Context) *ProjectsDefaultSupportedIdpConfigsGetCall
- func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig, error)
- func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsGetCall
- func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Header() http.Header
- func (c *ProjectsDefaultSupportedIdpConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsDefaultSupportedIdpConfigsGetCall
- type ProjectsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) Context(ctx context.Context) *ProjectsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse, ...)
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) Header() http.Header
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) IfNoneMatch(entityTag string) *ProjectsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) PageSize(pageSize int64) *ProjectsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) PageToken(pageToken string) *ProjectsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsDefaultSupportedIdpConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsDefaultSupportedIdpConfigsPatchCall
- func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Context(ctx context.Context) *ProjectsDefaultSupportedIdpConfigsPatchCall
- func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig, error)
- func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsPatchCall
- func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Header() http.Header
- func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) UpdateMask(updateMask string) *ProjectsDefaultSupportedIdpConfigsPatchCall
- type ProjectsDefaultSupportedIdpConfigsService
- func (r *ProjectsDefaultSupportedIdpConfigsService) Create(parent string, ...) *ProjectsDefaultSupportedIdpConfigsCreateCall
- func (r *ProjectsDefaultSupportedIdpConfigsService) Delete(name string) *ProjectsDefaultSupportedIdpConfigsDeleteCall
- func (r *ProjectsDefaultSupportedIdpConfigsService) Get(name string) *ProjectsDefaultSupportedIdpConfigsGetCall
- func (r *ProjectsDefaultSupportedIdpConfigsService) List(parent string) *ProjectsDefaultSupportedIdpConfigsListCall
- func (r *ProjectsDefaultSupportedIdpConfigsService) Patch(name string, ...) *ProjectsDefaultSupportedIdpConfigsPatchCall
- type ProjectsGetConfigCall
- func (c *ProjectsGetConfigCall) Context(ctx context.Context) *ProjectsGetConfigCall
- func (c *ProjectsGetConfigCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Config, error)
- func (c *ProjectsGetConfigCall) Fields(s ...googleapi.Field) *ProjectsGetConfigCall
- func (c *ProjectsGetConfigCall) Header() http.Header
- func (c *ProjectsGetConfigCall) IfNoneMatch(entityTag string) *ProjectsGetConfigCall
- type ProjectsIdentityPlatformInitializeAuthCall
- func (c *ProjectsIdentityPlatformInitializeAuthCall) Context(ctx context.Context) *ProjectsIdentityPlatformInitializeAuthCall
- func (c *ProjectsIdentityPlatformInitializeAuthCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse, error)
- func (c *ProjectsIdentityPlatformInitializeAuthCall) Fields(s ...googleapi.Field) *ProjectsIdentityPlatformInitializeAuthCall
- func (c *ProjectsIdentityPlatformInitializeAuthCall) Header() http.Header
- type ProjectsIdentityPlatformService
- type ProjectsInboundSamlConfigsCreateCall
- func (c *ProjectsInboundSamlConfigsCreateCall) Context(ctx context.Context) *ProjectsInboundSamlConfigsCreateCall
- func (c *ProjectsInboundSamlConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig, error)
- func (c *ProjectsInboundSamlConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsCreateCall
- func (c *ProjectsInboundSamlConfigsCreateCall) Header() http.Header
- func (c *ProjectsInboundSamlConfigsCreateCall) InboundSamlConfigId(inboundSamlConfigId string) *ProjectsInboundSamlConfigsCreateCall
- type ProjectsInboundSamlConfigsDeleteCall
- func (c *ProjectsInboundSamlConfigsDeleteCall) Context(ctx context.Context) *ProjectsInboundSamlConfigsDeleteCall
- func (c *ProjectsInboundSamlConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsInboundSamlConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsDeleteCall
- func (c *ProjectsInboundSamlConfigsDeleteCall) Header() http.Header
- type ProjectsInboundSamlConfigsGetCall
- func (c *ProjectsInboundSamlConfigsGetCall) Context(ctx context.Context) *ProjectsInboundSamlConfigsGetCall
- func (c *ProjectsInboundSamlConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig, error)
- func (c *ProjectsInboundSamlConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsGetCall
- func (c *ProjectsInboundSamlConfigsGetCall) Header() http.Header
- func (c *ProjectsInboundSamlConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsInboundSamlConfigsGetCall
- type ProjectsInboundSamlConfigsListCall
- func (c *ProjectsInboundSamlConfigsListCall) Context(ctx context.Context) *ProjectsInboundSamlConfigsListCall
- func (c *ProjectsInboundSamlConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse, error)
- func (c *ProjectsInboundSamlConfigsListCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsListCall
- func (c *ProjectsInboundSamlConfigsListCall) Header() http.Header
- func (c *ProjectsInboundSamlConfigsListCall) IfNoneMatch(entityTag string) *ProjectsInboundSamlConfigsListCall
- func (c *ProjectsInboundSamlConfigsListCall) PageSize(pageSize int64) *ProjectsInboundSamlConfigsListCall
- func (c *ProjectsInboundSamlConfigsListCall) PageToken(pageToken string) *ProjectsInboundSamlConfigsListCall
- func (c *ProjectsInboundSamlConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsInboundSamlConfigsPatchCall
- func (c *ProjectsInboundSamlConfigsPatchCall) Context(ctx context.Context) *ProjectsInboundSamlConfigsPatchCall
- func (c *ProjectsInboundSamlConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig, error)
- func (c *ProjectsInboundSamlConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsPatchCall
- func (c *ProjectsInboundSamlConfigsPatchCall) Header() http.Header
- func (c *ProjectsInboundSamlConfigsPatchCall) UpdateMask(updateMask string) *ProjectsInboundSamlConfigsPatchCall
- type ProjectsInboundSamlConfigsService
- func (r *ProjectsInboundSamlConfigsService) Create(parent string, ...) *ProjectsInboundSamlConfigsCreateCall
- func (r *ProjectsInboundSamlConfigsService) Delete(name string) *ProjectsInboundSamlConfigsDeleteCall
- func (r *ProjectsInboundSamlConfigsService) Get(name string) *ProjectsInboundSamlConfigsGetCall
- func (r *ProjectsInboundSamlConfigsService) List(parent string) *ProjectsInboundSamlConfigsListCall
- func (r *ProjectsInboundSamlConfigsService) Patch(name string, ...) *ProjectsInboundSamlConfigsPatchCall
- type ProjectsOauthIdpConfigsCreateCall
- func (c *ProjectsOauthIdpConfigsCreateCall) Context(ctx context.Context) *ProjectsOauthIdpConfigsCreateCall
- func (c *ProjectsOauthIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig, error)
- func (c *ProjectsOauthIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsCreateCall
- func (c *ProjectsOauthIdpConfigsCreateCall) Header() http.Header
- func (c *ProjectsOauthIdpConfigsCreateCall) OauthIdpConfigId(oauthIdpConfigId string) *ProjectsOauthIdpConfigsCreateCall
- type ProjectsOauthIdpConfigsDeleteCall
- func (c *ProjectsOauthIdpConfigsDeleteCall) Context(ctx context.Context) *ProjectsOauthIdpConfigsDeleteCall
- func (c *ProjectsOauthIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsOauthIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsDeleteCall
- func (c *ProjectsOauthIdpConfigsDeleteCall) Header() http.Header
- type ProjectsOauthIdpConfigsGetCall
- func (c *ProjectsOauthIdpConfigsGetCall) Context(ctx context.Context) *ProjectsOauthIdpConfigsGetCall
- func (c *ProjectsOauthIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig, error)
- func (c *ProjectsOauthIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsGetCall
- func (c *ProjectsOauthIdpConfigsGetCall) Header() http.Header
- func (c *ProjectsOauthIdpConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsOauthIdpConfigsGetCall
- type ProjectsOauthIdpConfigsListCall
- func (c *ProjectsOauthIdpConfigsListCall) Context(ctx context.Context) *ProjectsOauthIdpConfigsListCall
- func (c *ProjectsOauthIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse, error)
- func (c *ProjectsOauthIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsListCall
- func (c *ProjectsOauthIdpConfigsListCall) Header() http.Header
- func (c *ProjectsOauthIdpConfigsListCall) IfNoneMatch(entityTag string) *ProjectsOauthIdpConfigsListCall
- func (c *ProjectsOauthIdpConfigsListCall) PageSize(pageSize int64) *ProjectsOauthIdpConfigsListCall
- func (c *ProjectsOauthIdpConfigsListCall) PageToken(pageToken string) *ProjectsOauthIdpConfigsListCall
- func (c *ProjectsOauthIdpConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsOauthIdpConfigsPatchCall
- func (c *ProjectsOauthIdpConfigsPatchCall) Context(ctx context.Context) *ProjectsOauthIdpConfigsPatchCall
- func (c *ProjectsOauthIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig, error)
- func (c *ProjectsOauthIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsPatchCall
- func (c *ProjectsOauthIdpConfigsPatchCall) Header() http.Header
- func (c *ProjectsOauthIdpConfigsPatchCall) UpdateMask(updateMask string) *ProjectsOauthIdpConfigsPatchCall
- type ProjectsOauthIdpConfigsService
- func (r *ProjectsOauthIdpConfigsService) Create(parent string, ...) *ProjectsOauthIdpConfigsCreateCall
- func (r *ProjectsOauthIdpConfigsService) Delete(name string) *ProjectsOauthIdpConfigsDeleteCall
- func (r *ProjectsOauthIdpConfigsService) Get(name string) *ProjectsOauthIdpConfigsGetCall
- func (r *ProjectsOauthIdpConfigsService) List(parent string) *ProjectsOauthIdpConfigsListCall
- func (r *ProjectsOauthIdpConfigsService) Patch(name string, ...) *ProjectsOauthIdpConfigsPatchCall
- type ProjectsService
- type ProjectsTenantsCreateCall
- func (c *ProjectsTenantsCreateCall) Context(ctx context.Context) *ProjectsTenantsCreateCall
- func (c *ProjectsTenantsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Tenant, error)
- func (c *ProjectsTenantsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsCreateCall
- func (c *ProjectsTenantsCreateCall) Header() http.Header
- type ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Context(ctx context.Context) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig, error)
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Header() http.Header
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) IdpId(idpId string) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
- type ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Context(ctx context.Context) *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Header() http.Header
- type ProjectsTenantsDefaultSupportedIdpConfigsGetCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Context(ctx context.Context) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig, error)
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Header() http.Header
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
- type ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Context(ctx context.Context) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse, ...)
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Header() http.Header
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) IfNoneMatch(entityTag string) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) PageSize(pageSize int64) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) PageToken(pageToken string) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Context(ctx context.Context) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig, error)
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Header() http.Header
- func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) UpdateMask(updateMask string) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
- type ProjectsTenantsDefaultSupportedIdpConfigsService
- func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Create(parent string, ...) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
- func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Delete(name string) *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
- func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Get(name string) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
- func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) List(parent string) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
- func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Patch(name string, ...) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
- type ProjectsTenantsDeleteCall
- func (c *ProjectsTenantsDeleteCall) Context(ctx context.Context) *ProjectsTenantsDeleteCall
- func (c *ProjectsTenantsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsTenantsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsDeleteCall
- func (c *ProjectsTenantsDeleteCall) Header() http.Header
- type ProjectsTenantsGetCall
- func (c *ProjectsTenantsGetCall) Context(ctx context.Context) *ProjectsTenantsGetCall
- func (c *ProjectsTenantsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Tenant, error)
- func (c *ProjectsTenantsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsGetCall
- func (c *ProjectsTenantsGetCall) Header() http.Header
- func (c *ProjectsTenantsGetCall) IfNoneMatch(entityTag string) *ProjectsTenantsGetCall
- type ProjectsTenantsGetIamPolicyCall
- func (c *ProjectsTenantsGetIamPolicyCall) Context(ctx context.Context) *ProjectsTenantsGetIamPolicyCall
- func (c *ProjectsTenantsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
- func (c *ProjectsTenantsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsTenantsGetIamPolicyCall
- func (c *ProjectsTenantsGetIamPolicyCall) Header() http.Header
- type ProjectsTenantsInboundSamlConfigsCreateCall
- func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Context(ctx context.Context) *ProjectsTenantsInboundSamlConfigsCreateCall
- func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig, error)
- func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsCreateCall
- func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Header() http.Header
- func (c *ProjectsTenantsInboundSamlConfigsCreateCall) InboundSamlConfigId(inboundSamlConfigId string) *ProjectsTenantsInboundSamlConfigsCreateCall
- type ProjectsTenantsInboundSamlConfigsDeleteCall
- func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Context(ctx context.Context) *ProjectsTenantsInboundSamlConfigsDeleteCall
- func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsDeleteCall
- func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Header() http.Header
- type ProjectsTenantsInboundSamlConfigsGetCall
- func (c *ProjectsTenantsInboundSamlConfigsGetCall) Context(ctx context.Context) *ProjectsTenantsInboundSamlConfigsGetCall
- func (c *ProjectsTenantsInboundSamlConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig, error)
- func (c *ProjectsTenantsInboundSamlConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsGetCall
- func (c *ProjectsTenantsInboundSamlConfigsGetCall) Header() http.Header
- func (c *ProjectsTenantsInboundSamlConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsTenantsInboundSamlConfigsGetCall
- type ProjectsTenantsInboundSamlConfigsListCall
- func (c *ProjectsTenantsInboundSamlConfigsListCall) Context(ctx context.Context) *ProjectsTenantsInboundSamlConfigsListCall
- func (c *ProjectsTenantsInboundSamlConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse, error)
- func (c *ProjectsTenantsInboundSamlConfigsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsListCall
- func (c *ProjectsTenantsInboundSamlConfigsListCall) Header() http.Header
- func (c *ProjectsTenantsInboundSamlConfigsListCall) IfNoneMatch(entityTag string) *ProjectsTenantsInboundSamlConfigsListCall
- func (c *ProjectsTenantsInboundSamlConfigsListCall) PageSize(pageSize int64) *ProjectsTenantsInboundSamlConfigsListCall
- func (c *ProjectsTenantsInboundSamlConfigsListCall) PageToken(pageToken string) *ProjectsTenantsInboundSamlConfigsListCall
- func (c *ProjectsTenantsInboundSamlConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsTenantsInboundSamlConfigsPatchCall
- func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Context(ctx context.Context) *ProjectsTenantsInboundSamlConfigsPatchCall
- func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig, error)
- func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsPatchCall
- func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Header() http.Header
- func (c *ProjectsTenantsInboundSamlConfigsPatchCall) UpdateMask(updateMask string) *ProjectsTenantsInboundSamlConfigsPatchCall
- type ProjectsTenantsInboundSamlConfigsService
- func (r *ProjectsTenantsInboundSamlConfigsService) Create(parent string, ...) *ProjectsTenantsInboundSamlConfigsCreateCall
- func (r *ProjectsTenantsInboundSamlConfigsService) Delete(name string) *ProjectsTenantsInboundSamlConfigsDeleteCall
- func (r *ProjectsTenantsInboundSamlConfigsService) Get(name string) *ProjectsTenantsInboundSamlConfigsGetCall
- func (r *ProjectsTenantsInboundSamlConfigsService) List(parent string) *ProjectsTenantsInboundSamlConfigsListCall
- func (r *ProjectsTenantsInboundSamlConfigsService) Patch(name string, ...) *ProjectsTenantsInboundSamlConfigsPatchCall
- type ProjectsTenantsListCall
- func (c *ProjectsTenantsListCall) Context(ctx context.Context) *ProjectsTenantsListCall
- func (c *ProjectsTenantsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse, error)
- func (c *ProjectsTenantsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsListCall
- func (c *ProjectsTenantsListCall) Header() http.Header
- func (c *ProjectsTenantsListCall) IfNoneMatch(entityTag string) *ProjectsTenantsListCall
- func (c *ProjectsTenantsListCall) PageSize(pageSize int64) *ProjectsTenantsListCall
- func (c *ProjectsTenantsListCall) PageToken(pageToken string) *ProjectsTenantsListCall
- func (c *ProjectsTenantsListCall) Pages(ctx context.Context, ...) error
- type ProjectsTenantsOauthIdpConfigsCreateCall
- func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Context(ctx context.Context) *ProjectsTenantsOauthIdpConfigsCreateCall
- func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig, error)
- func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsCreateCall
- func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Header() http.Header
- func (c *ProjectsTenantsOauthIdpConfigsCreateCall) OauthIdpConfigId(oauthIdpConfigId string) *ProjectsTenantsOauthIdpConfigsCreateCall
- type ProjectsTenantsOauthIdpConfigsDeleteCall
- func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Context(ctx context.Context) *ProjectsTenantsOauthIdpConfigsDeleteCall
- func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsDeleteCall
- func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Header() http.Header
- type ProjectsTenantsOauthIdpConfigsGetCall
- func (c *ProjectsTenantsOauthIdpConfigsGetCall) Context(ctx context.Context) *ProjectsTenantsOauthIdpConfigsGetCall
- func (c *ProjectsTenantsOauthIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig, error)
- func (c *ProjectsTenantsOauthIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsGetCall
- func (c *ProjectsTenantsOauthIdpConfigsGetCall) Header() http.Header
- func (c *ProjectsTenantsOauthIdpConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsTenantsOauthIdpConfigsGetCall
- type ProjectsTenantsOauthIdpConfigsListCall
- func (c *ProjectsTenantsOauthIdpConfigsListCall) Context(ctx context.Context) *ProjectsTenantsOauthIdpConfigsListCall
- func (c *ProjectsTenantsOauthIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse, error)
- func (c *ProjectsTenantsOauthIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsListCall
- func (c *ProjectsTenantsOauthIdpConfigsListCall) Header() http.Header
- func (c *ProjectsTenantsOauthIdpConfigsListCall) IfNoneMatch(entityTag string) *ProjectsTenantsOauthIdpConfigsListCall
- func (c *ProjectsTenantsOauthIdpConfigsListCall) PageSize(pageSize int64) *ProjectsTenantsOauthIdpConfigsListCall
- func (c *ProjectsTenantsOauthIdpConfigsListCall) PageToken(pageToken string) *ProjectsTenantsOauthIdpConfigsListCall
- func (c *ProjectsTenantsOauthIdpConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsTenantsOauthIdpConfigsPatchCall
- func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Context(ctx context.Context) *ProjectsTenantsOauthIdpConfigsPatchCall
- func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig, error)
- func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsPatchCall
- func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Header() http.Header
- func (c *ProjectsTenantsOauthIdpConfigsPatchCall) UpdateMask(updateMask string) *ProjectsTenantsOauthIdpConfigsPatchCall
- type ProjectsTenantsOauthIdpConfigsService
- func (r *ProjectsTenantsOauthIdpConfigsService) Create(parent string, ...) *ProjectsTenantsOauthIdpConfigsCreateCall
- func (r *ProjectsTenantsOauthIdpConfigsService) Delete(name string) *ProjectsTenantsOauthIdpConfigsDeleteCall
- func (r *ProjectsTenantsOauthIdpConfigsService) Get(name string) *ProjectsTenantsOauthIdpConfigsGetCall
- func (r *ProjectsTenantsOauthIdpConfigsService) List(parent string) *ProjectsTenantsOauthIdpConfigsListCall
- func (r *ProjectsTenantsOauthIdpConfigsService) Patch(name string, ...) *ProjectsTenantsOauthIdpConfigsPatchCall
- type ProjectsTenantsPatchCall
- func (c *ProjectsTenantsPatchCall) Context(ctx context.Context) *ProjectsTenantsPatchCall
- func (c *ProjectsTenantsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Tenant, error)
- func (c *ProjectsTenantsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsPatchCall
- func (c *ProjectsTenantsPatchCall) Header() http.Header
- func (c *ProjectsTenantsPatchCall) UpdateMask(updateMask string) *ProjectsTenantsPatchCall
- type ProjectsTenantsService
- func (r *ProjectsTenantsService) Create(parent string, ...) *ProjectsTenantsCreateCall
- func (r *ProjectsTenantsService) Delete(name string) *ProjectsTenantsDeleteCall
- func (r *ProjectsTenantsService) Get(name string) *ProjectsTenantsGetCall
- func (r *ProjectsTenantsService) GetIamPolicy(resource string, ...) *ProjectsTenantsGetIamPolicyCall
- func (r *ProjectsTenantsService) List(parent string) *ProjectsTenantsListCall
- func (r *ProjectsTenantsService) Patch(name string, ...) *ProjectsTenantsPatchCall
- func (r *ProjectsTenantsService) SetIamPolicy(resource string, ...) *ProjectsTenantsSetIamPolicyCall
- func (r *ProjectsTenantsService) TestIamPermissions(resource string, ...) *ProjectsTenantsTestIamPermissionsCall
- type ProjectsTenantsSetIamPolicyCall
- func (c *ProjectsTenantsSetIamPolicyCall) Context(ctx context.Context) *ProjectsTenantsSetIamPolicyCall
- func (c *ProjectsTenantsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
- func (c *ProjectsTenantsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsTenantsSetIamPolicyCall
- func (c *ProjectsTenantsSetIamPolicyCall) Header() http.Header
- type ProjectsTenantsTestIamPermissionsCall
- func (c *ProjectsTenantsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsTenantsTestIamPermissionsCall
- func (c *ProjectsTenantsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)
- func (c *ProjectsTenantsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsTenantsTestIamPermissionsCall
- func (c *ProjectsTenantsTestIamPermissionsCall) Header() http.Header
- type ProjectsUpdateConfigCall
- func (c *ProjectsUpdateConfigCall) Context(ctx context.Context) *ProjectsUpdateConfigCall
- func (c *ProjectsUpdateConfigCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Config, error)
- func (c *ProjectsUpdateConfigCall) Fields(s ...googleapi.Field) *ProjectsUpdateConfigCall
- func (c *ProjectsUpdateConfigCall) Header() http.Header
- func (c *ProjectsUpdateConfigCall) UpdateMask(updateMask string) *ProjectsUpdateConfigCall
- type Service
- type V2GetPasswordPolicyCall
- func (c *V2GetPasswordPolicyCall) Context(ctx context.Context) *V2GetPasswordPolicyCall
- func (c *V2GetPasswordPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2PasswordPolicy, error)
- func (c *V2GetPasswordPolicyCall) Fields(s ...googleapi.Field) *V2GetPasswordPolicyCall
- func (c *V2GetPasswordPolicyCall) Header() http.Header
- func (c *V2GetPasswordPolicyCall) IfNoneMatch(entityTag string) *V2GetPasswordPolicyCall
- func (c *V2GetPasswordPolicyCall) TenantId(tenantId string) *V2GetPasswordPolicyCall
- type V2GetRecaptchaConfigCall
- func (c *V2GetRecaptchaConfigCall) ClientType(clientType string) *V2GetRecaptchaConfigCall
- func (c *V2GetRecaptchaConfigCall) Context(ctx context.Context) *V2GetRecaptchaConfigCall
- func (c *V2GetRecaptchaConfigCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2RecaptchaConfig, error)
- func (c *V2GetRecaptchaConfigCall) Fields(s ...googleapi.Field) *V2GetRecaptchaConfigCall
- func (c *V2GetRecaptchaConfigCall) Header() http.Header
- func (c *V2GetRecaptchaConfigCall) IfNoneMatch(entityTag string) *V2GetRecaptchaConfigCall
- func (c *V2GetRecaptchaConfigCall) TenantId(tenantId string) *V2GetRecaptchaConfigCall
- func (c *V2GetRecaptchaConfigCall) Version(version string) *V2GetRecaptchaConfigCall
- type V2Service
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"// View and administer all your Firebase data and settingsFirebaseScope = "https://www.googleapis.com/auth/firebase")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAccountsMfaEnrollmentFinalizeCall¶
type AccountsMfaEnrollmentFinalizeCall struct {// contains filtered or unexported fields}func (*AccountsMfaEnrollmentFinalizeCall)Context¶
func (c *AccountsMfaEnrollmentFinalizeCall) Context(ctxcontext.Context) *AccountsMfaEnrollmentFinalizeCall
Context sets the context to be used in this call's Do method.
func (*AccountsMfaEnrollmentFinalizeCall)Do¶
func (c *AccountsMfaEnrollmentFinalizeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse,error)
Do executes the "identitytoolkit.accounts.mfaEnrollment.finalize" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*AccountsMfaEnrollmentFinalizeCall)Fields¶
func (c *AccountsMfaEnrollmentFinalizeCall) Fields(s ...googleapi.Field) *AccountsMfaEnrollmentFinalizeCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*AccountsMfaEnrollmentFinalizeCall)Header¶
func (c *AccountsMfaEnrollmentFinalizeCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeAccountsMfaEnrollmentService¶
type AccountsMfaEnrollmentService struct {// contains filtered or unexported fields}funcNewAccountsMfaEnrollmentService¶
func NewAccountsMfaEnrollmentService(s *Service) *AccountsMfaEnrollmentService
func (*AccountsMfaEnrollmentService)Finalize¶
func (r *AccountsMfaEnrollmentService) Finalize(googlecloudidentitytoolkitv2finalizemfaenrollmentrequest *GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest) *AccountsMfaEnrollmentFinalizeCall
Finalize: Finishes enrolling a second factor for the user.
func (*AccountsMfaEnrollmentService)Start¶
func (r *AccountsMfaEnrollmentService) Start(googlecloudidentitytoolkitv2startmfaenrollmentrequest *GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest) *AccountsMfaEnrollmentStartCall
Start: Step one of the MFA enrollment process. In SMS case, this sends anSMS verification code to the user.
func (*AccountsMfaEnrollmentService)Withdraw¶
func (r *AccountsMfaEnrollmentService) Withdraw(googlecloudidentitytoolkitv2withdrawmfarequest *GoogleCloudIdentitytoolkitV2WithdrawMfaRequest) *AccountsMfaEnrollmentWithdrawCall
Withdraw: Revokes one second factor from the enrolled second factors for anaccount.
typeAccountsMfaEnrollmentStartCall¶
type AccountsMfaEnrollmentStartCall struct {// contains filtered or unexported fields}func (*AccountsMfaEnrollmentStartCall)Context¶
func (c *AccountsMfaEnrollmentStartCall) Context(ctxcontext.Context) *AccountsMfaEnrollmentStartCall
Context sets the context to be used in this call's Do method.
func (*AccountsMfaEnrollmentStartCall)Do¶
func (c *AccountsMfaEnrollmentStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse,error)
Do executes the "identitytoolkit.accounts.mfaEnrollment.start" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AccountsMfaEnrollmentStartCall)Fields¶
func (c *AccountsMfaEnrollmentStartCall) Fields(s ...googleapi.Field) *AccountsMfaEnrollmentStartCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*AccountsMfaEnrollmentStartCall)Header¶
func (c *AccountsMfaEnrollmentStartCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeAccountsMfaEnrollmentWithdrawCall¶
type AccountsMfaEnrollmentWithdrawCall struct {// contains filtered or unexported fields}func (*AccountsMfaEnrollmentWithdrawCall)Context¶
func (c *AccountsMfaEnrollmentWithdrawCall) Context(ctxcontext.Context) *AccountsMfaEnrollmentWithdrawCall
Context sets the context to be used in this call's Do method.
func (*AccountsMfaEnrollmentWithdrawCall)Do¶
func (c *AccountsMfaEnrollmentWithdrawCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2WithdrawMfaResponse,error)
Do executes the "identitytoolkit.accounts.mfaEnrollment.withdraw" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2WithdrawMfaResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AccountsMfaEnrollmentWithdrawCall)Fields¶
func (c *AccountsMfaEnrollmentWithdrawCall) Fields(s ...googleapi.Field) *AccountsMfaEnrollmentWithdrawCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*AccountsMfaEnrollmentWithdrawCall)Header¶
func (c *AccountsMfaEnrollmentWithdrawCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeAccountsMfaSignInFinalizeCall¶
type AccountsMfaSignInFinalizeCall struct {// contains filtered or unexported fields}func (*AccountsMfaSignInFinalizeCall)Context¶
func (c *AccountsMfaSignInFinalizeCall) Context(ctxcontext.Context) *AccountsMfaSignInFinalizeCall
Context sets the context to be used in this call's Do method.
func (*AccountsMfaSignInFinalizeCall)Do¶
func (c *AccountsMfaSignInFinalizeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse,error)
Do executes the "identitytoolkit.accounts.mfaSignIn.finalize" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AccountsMfaSignInFinalizeCall)Fields¶
func (c *AccountsMfaSignInFinalizeCall) Fields(s ...googleapi.Field) *AccountsMfaSignInFinalizeCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*AccountsMfaSignInFinalizeCall)Header¶
func (c *AccountsMfaSignInFinalizeCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeAccountsMfaSignInService¶
type AccountsMfaSignInService struct {// contains filtered or unexported fields}funcNewAccountsMfaSignInService¶
func NewAccountsMfaSignInService(s *Service) *AccountsMfaSignInService
func (*AccountsMfaSignInService)Finalize¶
func (r *AccountsMfaSignInService) Finalize(googlecloudidentitytoolkitv2finalizemfasigninrequest *GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest) *AccountsMfaSignInFinalizeCall
Finalize: Verifies the MFA challenge and performs sign-in
func (*AccountsMfaSignInService)Start¶
func (r *AccountsMfaSignInService) Start(googlecloudidentitytoolkitv2startmfasigninrequest *GoogleCloudIdentitytoolkitV2StartMfaSignInRequest) *AccountsMfaSignInStartCall
Start: Sends the MFA challenge
typeAccountsMfaSignInStartCall¶
type AccountsMfaSignInStartCall struct {// contains filtered or unexported fields}func (*AccountsMfaSignInStartCall)Context¶
func (c *AccountsMfaSignInStartCall) Context(ctxcontext.Context) *AccountsMfaSignInStartCall
Context sets the context to be used in this call's Do method.
func (*AccountsMfaSignInStartCall)Do¶
func (c *AccountsMfaSignInStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2StartMfaSignInResponse,error)
Do executes the "identitytoolkit.accounts.mfaSignIn.start" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2StartMfaSignInResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AccountsMfaSignInStartCall)Fields¶
func (c *AccountsMfaSignInStartCall) Fields(s ...googleapi.Field) *AccountsMfaSignInStartCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*AccountsMfaSignInStartCall)Header¶
func (c *AccountsMfaSignInStartCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeAccountsRevokeTokenCall¶added inv0.118.0
type AccountsRevokeTokenCall struct {// contains filtered or unexported fields}func (*AccountsRevokeTokenCall)Context¶added inv0.118.0
func (c *AccountsRevokeTokenCall) Context(ctxcontext.Context) *AccountsRevokeTokenCall
Context sets the context to be used in this call's Do method.
func (*AccountsRevokeTokenCall)Do¶added inv0.118.0
func (c *AccountsRevokeTokenCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2RevokeTokenResponse,error)
Do executes the "identitytoolkit.accounts.revokeToken" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2RevokeTokenResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AccountsRevokeTokenCall)Fields¶added inv0.118.0
func (c *AccountsRevokeTokenCall) Fields(s ...googleapi.Field) *AccountsRevokeTokenCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*AccountsRevokeTokenCall)Header¶added inv0.118.0
func (c *AccountsRevokeTokenCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeAccountsService¶
type AccountsService struct {MfaEnrollment *AccountsMfaEnrollmentServiceMfaSignIn *AccountsMfaSignInService// contains filtered or unexported fields}funcNewAccountsService¶
func NewAccountsService(s *Service) *AccountsService
func (*AccountsService)RevokeToken¶added inv0.118.0
func (r *AccountsService) RevokeToken(googlecloudidentitytoolkitv2revoketokenrequest *GoogleCloudIdentitytoolkitV2RevokeTokenRequest) *AccountsRevokeTokenCall
RevokeToken: Revokes a user's token from an Identity Provider (IdP). This isdone by manually providing an IdP credential, and the token types forrevocation. An API key(https://cloud.google.com/docs/authentication/api-keys) is required in therequest in order to identify the Google Cloud project.
typeDefaultSupportedIdpsListCall¶
type DefaultSupportedIdpsListCall struct {// contains filtered or unexported fields}func (*DefaultSupportedIdpsListCall)Context¶
func (c *DefaultSupportedIdpsListCall) Context(ctxcontext.Context) *DefaultSupportedIdpsListCall
Context sets the context to be used in this call's Do method.
func (*DefaultSupportedIdpsListCall)Do¶
func (c *DefaultSupportedIdpsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse,error)
Do executes the "identitytoolkit.defaultSupportedIdps.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*DefaultSupportedIdpsListCall)Fields¶
func (c *DefaultSupportedIdpsListCall) Fields(s ...googleapi.Field) *DefaultSupportedIdpsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*DefaultSupportedIdpsListCall)Header¶
func (c *DefaultSupportedIdpsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*DefaultSupportedIdpsListCall)IfNoneMatch¶
func (c *DefaultSupportedIdpsListCall) IfNoneMatch(entityTagstring) *DefaultSupportedIdpsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*DefaultSupportedIdpsListCall)PageSize¶
func (c *DefaultSupportedIdpsListCall) PageSize(pageSizeint64) *DefaultSupportedIdpsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*DefaultSupportedIdpsListCall)PageToken¶
func (c *DefaultSupportedIdpsListCall) PageToken(pageTokenstring) *DefaultSupportedIdpsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*DefaultSupportedIdpsListCall)Pages¶
func (c *DefaultSupportedIdpsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeDefaultSupportedIdpsService¶
type DefaultSupportedIdpsService struct {// contains filtered or unexported fields}funcNewDefaultSupportedIdpsService¶
func NewDefaultSupportedIdpsService(s *Service) *DefaultSupportedIdpsService
func (*DefaultSupportedIdpsService)List¶
func (r *DefaultSupportedIdpsService) List() *DefaultSupportedIdpsListCall
List: List all default supported Idps.
typeGoogleCloudIdentitytoolkitAdminV2AllowByDefault¶added inv0.98.0
type GoogleCloudIdentitytoolkitAdminV2AllowByDefault struct {// DisallowedRegions: Two letter unicode region codes to disallow as defined by//https://cldr.unicode.org/ The full list of these region codes is here://https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.jsonDisallowedRegions []string `json:"disallowedRegions,omitempty"`// ForceSendFields is a list of field names (e.g. "DisallowedRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisallowedRegions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2AllowByDefault: Defines a policy ofallowing every region by default and adding disallowed regions to a disallowlist.
func (GoogleCloudIdentitytoolkitAdminV2AllowByDefault)MarshalJSON¶added inv0.98.0
func (sGoogleCloudIdentitytoolkitAdminV2AllowByDefault) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2AllowlistOnly¶added inv0.98.0
type GoogleCloudIdentitytoolkitAdminV2AllowlistOnly struct {// AllowedRegions: Two letter unicode region codes to allow as defined by//https://cldr.unicode.org/ The full list of these region codes is here://https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.jsonAllowedRegions []string `json:"allowedRegions,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowedRegions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowedRegions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2AllowlistOnly: Defines a policy of onlyallowing regions by explicitly adding them to an allowlist.
func (GoogleCloudIdentitytoolkitAdminV2AllowlistOnly)MarshalJSON¶added inv0.98.0
func (sGoogleCloudIdentitytoolkitAdminV2AllowlistOnly) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Anonymous¶
type GoogleCloudIdentitytoolkitAdminV2Anonymous struct {// Enabled: Whether anonymous user auth is enabled for the project or not.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Anonymous: Configuration options related toauthenticating an anonymous user.
func (GoogleCloudIdentitytoolkitAdminV2Anonymous)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Anonymous) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2AppleSignInConfig¶
type GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig struct {// BundleIds: A list of Bundle ID's usable by this projectBundleIds []string `json:"bundleIds,omitempty"`// CodeFlowConfig: Additional config for Apple for code flow.CodeFlowConfig *GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig `json:"codeFlowConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "BundleIds") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BundleIds") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig: Additional config forSignInWithApple.
func (GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2AppleSignInConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig¶
type GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig struct {// ForwardInboundCredentials: The user credentials to include in the JWT// payload that is sent to the registered Blocking Functions.ForwardInboundCredentials *GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials `json:"forwardInboundCredentials,omitempty"`// Triggers: Map of Trigger to event type. Key should be one of the supported// event types: "beforeCreate", "beforeSignIn"Triggers map[string]GoogleCloudIdentitytoolkitAdminV2Trigger `json:"triggers,omitempty"`// ForceSendFields is a list of field names (e.g. "ForwardInboundCredentials")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ForwardInboundCredentials") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig: Configurationrelated to Blocking Functions.
func (GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ClientConfig¶
type GoogleCloudIdentitytoolkitAdminV2ClientConfig struct {// ApiKey: Output only. API key that can be used when making requests for this// project.ApiKeystring `json:"apiKey,omitempty"`// FirebaseSubdomain: Output only. Firebase subdomain.FirebaseSubdomainstring `json:"firebaseSubdomain,omitempty"`// Permissions: Configuration related to restricting a user's ability to affect// their account.Permissions *GoogleCloudIdentitytoolkitAdminV2Permissions `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiKey") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiKey") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ClientConfig: Options related to howclients making requests on behalf of a project should be configured.
func (GoogleCloudIdentitytoolkitAdminV2ClientConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ClientConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig¶
type GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig struct {// Permissions: Configuration related to restricting a user's ability to affect// their account.Permissions *GoogleCloudIdentitytoolkitAdminV2ClientPermissions `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig: Options related tohow clients making requests on behalf of a tenant should be configured.
func (GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ClientPermissions¶
type GoogleCloudIdentitytoolkitAdminV2ClientPermissions struct {// DisabledUserDeletion: When true, end users cannot delete their account on// the associated project through any of our API methodsDisabledUserDeletionbool `json:"disabledUserDeletion,omitempty"`// DisabledUserSignup: When true, end users cannot sign up for a new account on// the associated project through any of our API methodsDisabledUserSignupbool `json:"disabledUserSignup,omitempty"`// ForceSendFields is a list of field names (e.g. "DisabledUserDeletion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisabledUserDeletion") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ClientPermissions: Configuration related torestricting a user's ability to affect their account.
func (GoogleCloudIdentitytoolkitAdminV2ClientPermissions)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ClientPermissions) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2CodeFlowConfig¶
type GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig struct {// KeyId: Key ID for the private key.KeyIdstring `json:"keyId,omitempty"`// PrivateKey: Private key used for signing the client secret JWT.PrivateKeystring `json:"privateKey,omitempty"`// TeamId: Apple Developer Team ID.TeamIdstring `json:"teamId,omitempty"`// ForceSendFields is a list of field names (e.g. "KeyId") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "KeyId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig: Additional config for Applefor code flow.
func (GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2CodeFlowConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Config¶
type GoogleCloudIdentitytoolkitAdminV2Config struct {// AuthorizedDomains: List of domains authorized for OAuth redirectsAuthorizedDomains []string `json:"authorizedDomains,omitempty"`// AutodeleteAnonymousUsers: Whether anonymous users will be auto-deleted after// a period of 30 days.AutodeleteAnonymousUsersbool `json:"autodeleteAnonymousUsers,omitempty"`// BlockingFunctions: Configuration related to blocking functions.BlockingFunctions *GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig `json:"blockingFunctions,omitempty"`// Client: Options related to how clients making requests on behalf of a// project should be configured.Client *GoogleCloudIdentitytoolkitAdminV2ClientConfig `json:"client,omitempty"`// DefaultHostingSite: Output only. Default Firebase hosting site nameDefaultHostingSitestring `json:"defaultHostingSite,omitempty"`// EmailPrivacyConfig: Configuration for settings related to email privacy and// public visibility.EmailPrivacyConfig *GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig `json:"emailPrivacyConfig,omitempty"`// Mfa: Configuration for this project's multi-factor authentication, including// whether it is active and what factors can be used for the second factorMfa *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig `json:"mfa,omitempty"`// MobileLinksConfig: Configuration for settings related to univeral links// (iOS) and app links (Android).MobileLinksConfig *GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig `json:"mobileLinksConfig,omitempty"`// Monitoring: Configuration related to monitoring project activity.Monitoring *GoogleCloudIdentitytoolkitAdminV2MonitoringConfig `json:"monitoring,omitempty"`// MultiTenant: Configuration related to multi-tenant functionality.MultiTenant *GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig `json:"multiTenant,omitempty"`// Name: Output only. The name of the Config resource. Example:// "projects/my-awesome-project/config"Namestring `json:"name,omitempty"`// Notification: Configuration related to sending notifications to users.Notification *GoogleCloudIdentitytoolkitAdminV2NotificationConfig `json:"notification,omitempty"`// PasswordPolicyConfig: The project level password policy configuration.PasswordPolicyConfig *GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig `json:"passwordPolicyConfig,omitempty"`// Quota: Configuration related to quotas.Quota *GoogleCloudIdentitytoolkitAdminV2QuotaConfig `json:"quota,omitempty"`// RecaptchaConfig: The project-level reCAPTCHA config.RecaptchaConfig *GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig `json:"recaptchaConfig,omitempty"`// SignIn: Configuration related to local sign in methods.SignIn *GoogleCloudIdentitytoolkitAdminV2SignInConfig `json:"signIn,omitempty"`// SmsRegionConfig: Configures which regions are enabled for SMS verification// code sending.SmsRegionConfig *GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig `json:"smsRegionConfig,omitempty"`// Subtype: Output only. The subtype of this config.//// Possible values:// "SUBTYPE_UNSPECIFIED" - Default value. Do not use.// "IDENTITY_PLATFORM" - An Identity Platform project.// "FIREBASE_AUTH" - A Firebase Authentication project.Subtypestring `json:"subtype,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuthorizedDomains") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthorizedDomains") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Config: Represents an Identity Toolkitproject.
func (GoogleCloudIdentitytoolkitAdminV2Config)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Config) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions¶added inv0.123.0
type GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions struct {// ContainsLowercaseCharacter: The password must contain a lower case// character.ContainsLowercaseCharacterbool `json:"containsLowercaseCharacter,omitempty"`// ContainsNonAlphanumericCharacter: The password must contain a non alpha// numeric character.ContainsNonAlphanumericCharacterbool `json:"containsNonAlphanumericCharacter,omitempty"`// ContainsNumericCharacter: The password must contain a number.ContainsNumericCharacterbool `json:"containsNumericCharacter,omitempty"`// ContainsUppercaseCharacter: The password must contain an upper case// character.ContainsUppercaseCharacterbool `json:"containsUppercaseCharacter,omitempty"`// MaxPasswordLength: Maximum password length. No default max lengthMaxPasswordLengthint64 `json:"maxPasswordLength,omitempty"`// MinPasswordLength: Minimum password length. Range from 6 to 30MinPasswordLengthint64 `json:"minPasswordLength,omitempty"`// ForceSendFields is a list of field names (e.g. "ContainsLowercaseCharacter")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContainsLowercaseCharacter") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions: Custom strengthoptions to enforce on user passwords.
func (GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions)MarshalJSON¶added inv0.123.0
func (sGoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp¶
type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp struct {// Description: Description of the IdpDescriptionstring `json:"description,omitempty"`// IdpId: Id the of IdpIdpIdstring `json:"idpId,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp: Standard IdentityToolkit-trusted IDPs.
func (GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig¶
type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig struct {// AppleSignInConfig: Additional config for Apple-based projects.AppleSignInConfig *GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig `json:"appleSignInConfig,omitempty"`// ClientId: OAuth client ID.ClientIdstring `json:"clientId,omitempty"`// ClientSecret: OAuth client secret.ClientSecretstring `json:"clientSecret,omitempty"`// Enabled: True if allows the user to sign in with the provider.Enabledbool `json:"enabled,omitempty"`// Name: The name of the DefaultSupportedIdpConfig resource, for example:// "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppleSignInConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppleSignInConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig: Configurationsoptions for authenticating with a the standard set of IdentityToolkit-trusted IDPs.
func (GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2DnsInfo¶
type GoogleCloudIdentitytoolkitAdminV2DnsInfo struct {// CustomDomain: Output only. The applied verified custom domain.CustomDomainstring `json:"customDomain,omitempty"`// CustomDomainState: Output only. The current verification state of the custom// domain. The custom domain will only be used once the domain verification is// successful.//// Possible values:// "VERIFICATION_STATE_UNSPECIFIED" - Default value. Do not use.// "NOT_STARTED" - The verification has not started.// "IN_PROGRESS" - The verification is in progress.// "FAILED" - The verification failed.// "SUCCEEDED" - The verification succeeded and is ready to be applied.CustomDomainStatestring `json:"customDomainState,omitempty"`// DomainVerificationRequestTime: Output only. The timestamp of initial request// for the current domain verification.DomainVerificationRequestTimestring `json:"domainVerificationRequestTime,omitempty"`// PendingCustomDomain: Output only. The custom domain that's to be verified.PendingCustomDomainstring `json:"pendingCustomDomain,omitempty"`// UseCustomDomain: Whether to use custom domain.UseCustomDomainbool `json:"useCustomDomain,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomDomain") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomDomain") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2DnsInfo: Information of custom domain DNSverification. By default, default_domain will be used. A custom domain canbe configured using VerifyCustomDomain.
func (GoogleCloudIdentitytoolkitAdminV2DnsInfo)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2DnsInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Email¶
type GoogleCloudIdentitytoolkitAdminV2Email struct {// Enabled: Whether email auth is enabled for the project or not.Enabledbool `json:"enabled,omitempty"`// PasswordRequired: Whether a password is required for email auth or not. If// true, both an email and password must be provided to sign in. If false, a// user may sign in via either email/password or email link.PasswordRequiredbool `json:"passwordRequired,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Email: Configuration options related toauthenticating a user by their email address.
func (GoogleCloudIdentitytoolkitAdminV2Email)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Email) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig¶added inv0.104.0
type GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig struct {// EnableImprovedEmailPrivacy: Migrates the project to a state of improved// email privacy. For example certain error codes are more generic to avoid// giving away information on whether the account exists. In addition, this// disables certain features that as a side-effect allow user enumeration.// Enabling this toggle disables the fetchSignInMethodsForEmail functionality// and changing the user's email to an unverified email. It is recommended to// remove dependence on this functionality and enable this toggle to improve// user privacy.EnableImprovedEmailPrivacybool `json:"enableImprovedEmailPrivacy,omitempty"`// ForceSendFields is a list of field names (e.g. "EnableImprovedEmailPrivacy")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnableImprovedEmailPrivacy") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig: Configuration forsettings related to email privacy and public visibility. Settings in thisconfig protect against email enumeration, but may make some trade-offs inuser-friendliness.
func (GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig)MarshalJSON¶added inv0.104.0
func (sGoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2EmailTemplate¶
type GoogleCloudIdentitytoolkitAdminV2EmailTemplate struct {// Body: Email bodyBodystring `json:"body,omitempty"`// BodyFormat: Email body format//// Possible values:// "BODY_FORMAT_UNSPECIFIED" - Default value. Do not use.// "PLAIN_TEXT" - Plain text// "HTML" - HTMLBodyFormatstring `json:"bodyFormat,omitempty"`// Customized: Output only. Whether the body or subject of the email is// customized.Customizedbool `json:"customized,omitempty"`// ReplyTo: Reply-to addressReplyTostring `json:"replyTo,omitempty"`// SenderDisplayName: Sender display nameSenderDisplayNamestring `json:"senderDisplayName,omitempty"`// SenderLocalPart: Local part of From addressSenderLocalPartstring `json:"senderLocalPart,omitempty"`// Subject: Subject of the emailSubjectstring `json:"subject,omitempty"`// ForceSendFields is a list of field names (e.g. "Body") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Body") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2EmailTemplate: Email template. The subjectand body fields can contain the following placeholders which will bereplaced with the appropriate values: %LINK% - The link to use to redeem thesend OOB code. %EMAIL% - The email where the email is being sent.%NEW_EMAIL% - The new email being set for the account (when applicable).%APP_NAME% - The Google Cloud project's display name. %DISPLAY_NAME% - Theuser's display name.
func (GoogleCloudIdentitytoolkitAdminV2EmailTemplate)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2EmailTemplate) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials¶
type GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials struct {// AccessToken: Whether to pass the user's OAuth identity provider's access// token.AccessTokenbool `json:"accessToken,omitempty"`// IdToken: Whether to pass the user's OIDC identity provider's ID token.IdTokenbool `json:"idToken,omitempty"`// RefreshToken: Whether to pass the user's OAuth identity provider's refresh// token.RefreshTokenbool `json:"refreshToken,omitempty"`// ForceSendFields is a list of field names (e.g. "AccessToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AccessToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials: Indicates whichcredentials to pass to the registered Blocking Functions.
func (GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2HashConfig¶
type GoogleCloudIdentitytoolkitAdminV2HashConfig struct {// Algorithm: Output only. Different password hash algorithms used in Identity// Toolkit.//// Possible values:// "HASH_ALGORITHM_UNSPECIFIED" - Default value. Do not use.// "HMAC_SHA256" - HMAC_SHA256// "HMAC_SHA1" - HMAC_SHA1// "HMAC_MD5" - HMAC_MD5// "SCRYPT" - SCRYPT// "PBKDF_SHA1" - PBKDF_SHA1// "MD5" - MD5// "HMAC_SHA512" - HMAC_SHA512// "SHA1" - SHA1// "BCRYPT" - BCRYPT// "PBKDF2_SHA256" - PBKDF2_SHA256// "SHA256" - SHA256// "SHA512" - SHA512// "STANDARD_SCRYPT" - STANDARD_SCRYPTAlgorithmstring `json:"algorithm,omitempty"`// MemoryCost: Output only. Memory cost for hash calculation. Used by scrypt// and other similar password derivation algorithms. See//https://tools.ietf.org/html/rfc7914 for explanation of field.MemoryCostint64 `json:"memoryCost,omitempty"`// Rounds: Output only. How many rounds for hash calculation. Used by scrypt// and other similar password derivation algorithms.Roundsint64 `json:"rounds,omitempty"`// SaltSeparator: Output only. Non-printable character to be inserted between// the salt and plain text password in base64.SaltSeparatorstring `json:"saltSeparator,omitempty"`// SignerKey: Output only. Signer key in base64.SignerKeystring `json:"signerKey,omitempty"`// ForceSendFields is a list of field names (e.g. "Algorithm") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Algorithm") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2HashConfig: History information of the hashalgorithm and key. Different accounts' passwords may be generated bydifferent version.
func (GoogleCloudIdentitytoolkitAdminV2HashConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2HashConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2IdpCertificate¶
type GoogleCloudIdentitytoolkitAdminV2IdpCertificate struct {// X509Certificate: The x509 certificateX509Certificatestring `json:"x509Certificate,omitempty"`// ForceSendFields is a list of field names (e.g. "X509Certificate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "X509Certificate") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2IdpCertificate: The IDP's certificate datato verify the signature in the SAMLResponse issued by the IDP.
func (GoogleCloudIdentitytoolkitAdminV2IdpCertificate)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2IdpCertificate) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2IdpConfig¶
type GoogleCloudIdentitytoolkitAdminV2IdpConfig struct {// IdpCertificates: IDP's public keys for verifying signature in the// assertions.IdpCertificates []*GoogleCloudIdentitytoolkitAdminV2IdpCertificate `json:"idpCertificates,omitempty"`// IdpEntityId: Unique identifier for all SAML entities.IdpEntityIdstring `json:"idpEntityId,omitempty"`// SignRequest: Indicates if outbounding SAMLRequest should be signed.SignRequestbool `json:"signRequest,omitempty"`// SsoUrl: URL to send Authentication request to.SsoUrlstring `json:"ssoUrl,omitempty"`// ForceSendFields is a list of field names (e.g. "IdpCertificates") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdpCertificates") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2IdpConfig: The SAML IdP (Identity Provider)configuration when the project acts as the relying party.
func (GoogleCloudIdentitytoolkitAdminV2IdpConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2IdpConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2InboundSamlConfig¶
type GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig struct {// DisplayName: The config's display name set by developers.DisplayNamestring `json:"displayName,omitempty"`// Enabled: True if allows the user to sign in with the provider.Enabledbool `json:"enabled,omitempty"`// IdpConfig: The SAML IdP (Identity Provider) configuration when the project// acts as the relying party.IdpConfig *GoogleCloudIdentitytoolkitAdminV2IdpConfig `json:"idpConfig,omitempty"`// Name: The name of the InboundSamlConfig resource, for example:// 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored// during create requests.Namestring `json:"name,omitempty"`// SpConfig: The SAML SP (Service Provider) configuration when the project acts// as the relying party to receive and accept an authentication assertion// issued by a SAML identity provider.SpConfig *GoogleCloudIdentitytoolkitAdminV2SpConfig `json:"spConfig,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig: A pair of SAML RP-IDPconfigurations when the project acts as the relying party.
func (GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Inheritance¶
type GoogleCloudIdentitytoolkitAdminV2Inheritance struct {// EmailSendingConfig: Whether to allow the tenant to inherit custom domains,// email templates, and custom SMTP settings. If true, email sent from tenant// will follow the project level email sending configurations. If false (by// default), emails will go with the default settings with no customizations.EmailSendingConfigbool `json:"emailSendingConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "EmailSendingConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EmailSendingConfig") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Inheritance: Settings that the tenants willinherit from project level.
func (GoogleCloudIdentitytoolkitAdminV2Inheritance)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Inheritance) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest¶added inv0.96.0
type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest struct {}GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest: Requestfor InitializeIdentityPlatform.
typeGoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse¶added inv0.96.0
type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse:Response for InitializeIdentityPlatform. Empty for now.
typeGoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse¶
type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse struct {// DefaultSupportedIdpConfigs: The set of configs.DefaultSupportedIdpConfigs []*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig `json:"defaultSupportedIdpConfigs,omitempty"`// NextPageToken: Token to retrieve the next page of results, or empty if there// are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DefaultSupportedIdpConfigs")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DefaultSupportedIdpConfigs") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse:Response for DefaultSupportedIdpConfigs
func (GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse¶
type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse struct {// DefaultSupportedIdps: The set of configs.DefaultSupportedIdps []*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp `json:"defaultSupportedIdps,omitempty"`// NextPageToken: Token to retrieve the next page of results, or empty if there// are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DefaultSupportedIdps") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DefaultSupportedIdps") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse: Responsefor ListDefaultSupportedIdps
func (GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse¶
type GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse struct {// InboundSamlConfigs: The set of configs.InboundSamlConfigs []*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig `json:"inboundSamlConfigs,omitempty"`// NextPageToken: Token to retrieve the next page of results, or empty if there// are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "InboundSamlConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InboundSamlConfigs") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse: Responsefor ListInboundSamlConfigs
func (GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse¶
type GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse struct {// NextPageToken: Token to retrieve the next page of results, or empty if there// are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// OauthIdpConfigs: The set of configs.OauthIdpConfigs []*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig `json:"oauthIdpConfigs,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse: Response forListOAuthIdpConfigs
func (GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ListTenantsResponse¶
type GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse struct {// NextPageToken: The token to get the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// Tenants: A list of tenants under the given agent project.Tenants []*GoogleCloudIdentitytoolkitAdminV2Tenant `json:"tenants,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse: Response message forListTenants.
func (GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2ListTenantsResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2MobileLinksConfig¶added inv0.220.0
type GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig struct {// Domain: Open code in app domain to use for app links and universal links.//// Possible values:// "DOMAIN_UNSPECIFIED" - Default value. The default domain is the Firebase// Dynamic Link domain before the FDL deprecation and the hosting domain after// the FDL deprecation.// "FIREBASE_DYNAMIC_LINK_DOMAIN" - Use Firebase Dynamic Link domain as app// link domain. Default value.// "HOSTING_DOMAIN" - Use hosting domain as app link domain.Domainstring `json:"domain,omitempty"`// ForceSendFields is a list of field names (e.g. "Domain") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Domain") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig: Configuration mobilelinks.
func (GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig)MarshalJSON¶added inv0.220.0
func (sGoogleCloudIdentitytoolkitAdminV2MobileLinksConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2MonitoringConfig¶
type GoogleCloudIdentitytoolkitAdminV2MonitoringConfig struct {// RequestLogging: Configuration for logging requests made to this project to// Stackdriver LoggingRequestLogging *GoogleCloudIdentitytoolkitAdminV2RequestLogging `json:"requestLogging,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestLogging") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestLogging") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2MonitoringConfig: Configuration related tomonitoring project activity.
func (GoogleCloudIdentitytoolkitAdminV2MonitoringConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2MonitoringConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig¶
type GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig struct {// EnabledProviders: A list of usable second factors for this project.//// Possible values:// "PROVIDER_UNSPECIFIED" - Illegal Provider, should not be used// "PHONE_SMS" - SMS is enabled as a second factor for this project.EnabledProviders []string `json:"enabledProviders,omitempty"`// ProviderConfigs: A list of usable second factors for this project along with// their configurations. This field does not support phone based MFA, for that// use the 'enabled_providers' field.ProviderConfigs []*GoogleCloudIdentitytoolkitAdminV2ProviderConfig `json:"providerConfigs,omitempty"`// State: Whether MultiFactor Authentication has been enabled for this project.//// Possible values:// "STATE_UNSPECIFIED" - Illegal State, should not be used.// "DISABLED" - Multi-factor authentication cannot be used for this project// "ENABLED" - Multi-factor authentication can be used for this project// "MANDATORY" - Multi-factor authentication is required for this project.// Users from this project must authenticate with the second factor.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "EnabledProviders") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnabledProviders") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig: Options related toMultiFactor Authentication for the project.
func (GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2MultiTenantConfig¶
type GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig struct {// AllowTenants: Whether this project can have tenants or not.AllowTenantsbool `json:"allowTenants,omitempty"`// DefaultTenantLocation: The default cloud parent org or folder that the// tenant project should be created under. The parent resource name should be// in the format of "/", such as "folders/123" or "organizations/456". If the// value is not set, the tenant will be created under the same organization or// folder as the agent project.DefaultTenantLocationstring `json:"defaultTenantLocation,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowTenants") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowTenants") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig: Configuration related tomulti-tenant functionality.
func (GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2MultiTenantConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2NotificationConfig¶
type GoogleCloudIdentitytoolkitAdminV2NotificationConfig struct {// DefaultLocale: Default locale used for email and SMS in IETF BCP 47 format.DefaultLocalestring `json:"defaultLocale,omitempty"`// SendEmail: Options for email sending.SendEmail *GoogleCloudIdentitytoolkitAdminV2SendEmail `json:"sendEmail,omitempty"`// SendSms: Options for SMS sending.SendSms *GoogleCloudIdentitytoolkitAdminV2SendSms `json:"sendSms,omitempty"`// ForceSendFields is a list of field names (e.g. "DefaultLocale") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DefaultLocale") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2NotificationConfig: Configuration relatedto sending notifications to users.
func (GoogleCloudIdentitytoolkitAdminV2NotificationConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2NotificationConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig¶
type GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig struct {// ClientId: The client id of an OAuth client.ClientIdstring `json:"clientId,omitempty"`// ClientSecret: The client secret of the OAuth client, to enable OIDC code// flow.ClientSecretstring `json:"clientSecret,omitempty"`// DisplayName: The config's display name set by developers.DisplayNamestring `json:"displayName,omitempty"`// Enabled: True if allows the user to sign in with the provider.Enabledbool `json:"enabled,omitempty"`// Issuer: For OIDC Idps, the issuer identifier.Issuerstring `json:"issuer,omitempty"`// Name: The name of the OAuthIdpConfig resource, for example:// 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored// during create requests.Namestring `json:"name,omitempty"`// ResponseType: The response type to request for in the OAuth authorization// flow. You can set either `id_token` or `code` to true, but not both. Setting// both types to be simultaneously true (`{code: true, id_token: true}`) is not// yet supported.ResponseType *GoogleCloudIdentitytoolkitAdminV2OAuthResponseType `json:"responseType,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ClientId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ClientId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig: Configuration options forauthenticating with an OAuth IDP.
func (GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2OAuthResponseType¶
type GoogleCloudIdentitytoolkitAdminV2OAuthResponseType struct {// Code: If true, authorization code is returned from IdP's authorization// endpoint.Codebool `json:"code,omitempty"`// IdToken: If true, ID token is returned from IdP's authorization endpoint.IdTokenbool `json:"idToken,omitempty"`// Token: Do not use. The `token` response type is not supported at the moment.Tokenbool `json:"token,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2OAuthResponseType: The response type torequest for in the OAuth authorization flow. You can set either `id_token`or `code` to true, but not both. Setting both types to be simultaneouslytrue (`{code: true, id_token: true}`) is not yet supported. Seehttps://openid.net/specs/openid-connect-core-1_0.html#Authentication for amapping of response type to OAuth 2.0 flow.
func (GoogleCloudIdentitytoolkitAdminV2OAuthResponseType)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2OAuthResponseType) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig¶added inv0.123.0
type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig struct {// ForceUpgradeOnSignin: Users must have a password compliant with the password// policy to sign-in.ForceUpgradeOnSigninbool `json:"forceUpgradeOnSignin,omitempty"`// LastUpdateTime: Output only. The last time the password policy on the// project was updated.LastUpdateTimestring `json:"lastUpdateTime,omitempty"`// PasswordPolicyEnforcementState: Which enforcement mode to use for the// password policy.//// Possible values:// "PASSWORD_POLICY_ENFORCEMENT_STATE_UNSPECIFIED" - Illegal State, should// not be used.// "OFF" - Password Policy will not be used on the project.// "ENFORCE" - Passwords non-compliant with the password policy will be// rejected with an error thrown.PasswordPolicyEnforcementStatestring `json:"passwordPolicyEnforcementState,omitempty"`// PasswordPolicyVersions: Must be of length 1. Contains the strength// attributes for the password policy.PasswordPolicyVersions []*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion `json:"passwordPolicyVersions,omitempty"`// ForceSendFields is a list of field names (e.g. "ForceUpgradeOnSignin") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ForceUpgradeOnSignin") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig: The configuration forthe password policy on the project.
func (GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig)MarshalJSON¶added inv0.123.0
func (sGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion¶added inv0.123.0
type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion struct {// CustomStrengthOptions: The custom strength options enforced by the password// policy.CustomStrengthOptions *GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions `json:"customStrengthOptions,omitempty"`// SchemaVersion: Output only. schema version number for the password policySchemaVersionint64 `json:"schemaVersion,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomStrengthOptions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomStrengthOptions") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion: The strengthattributes for the password policy on the project.
func (GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion)MarshalJSON¶added inv0.123.0
func (sGoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Permissions¶
type GoogleCloudIdentitytoolkitAdminV2Permissions struct {// DisabledUserDeletion: When true, end users cannot delete their account on// the associated project through any of our API methodsDisabledUserDeletionbool `json:"disabledUserDeletion,omitempty"`// DisabledUserSignup: When true, end users cannot sign up for a new account on// the associated project through any of our API methodsDisabledUserSignupbool `json:"disabledUserSignup,omitempty"`// ForceSendFields is a list of field names (e.g. "DisabledUserDeletion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisabledUserDeletion") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Permissions: Configuration related torestricting a user's ability to affect their account.
func (GoogleCloudIdentitytoolkitAdminV2Permissions)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Permissions) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2PhoneNumber¶
type GoogleCloudIdentitytoolkitAdminV2PhoneNumber struct {// Enabled: Whether phone number auth is enabled for the project or not.Enabledbool `json:"enabled,omitempty"`// TestPhoneNumbers: A map of that can be used for phone auth testing.TestPhoneNumbers map[string]string `json:"testPhoneNumbers,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2PhoneNumber: Configuration options relatedto authenticated a user by their phone number.
func (GoogleCloudIdentitytoolkitAdminV2PhoneNumber)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2PhoneNumber) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2ProviderConfig¶added inv0.115.0
type GoogleCloudIdentitytoolkitAdminV2ProviderConfig struct {// State: Describes the state of the MultiFactor Authentication type.//// Possible values:// "MFA_STATE_UNSPECIFIED" - Illegal State, should not be used.// "DISABLED" - Multi-factor authentication cannot be used for this project.// "ENABLED" - Multi-factor authentication can be used for this project.// "MANDATORY" - Multi-factor authentication is required for this project.// Users from this project must authenticate with the second factor.Statestring `json:"state,omitempty"`// TotpProviderConfig: TOTP MFA provider config for this project.TotpProviderConfig *GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig `json:"totpProviderConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "State") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "State") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2ProviderConfig: ProviderConfig describesthe supported MFA providers along with their configurations.
func (GoogleCloudIdentitytoolkitAdminV2ProviderConfig)MarshalJSON¶added inv0.115.0
func (sGoogleCloudIdentitytoolkitAdminV2ProviderConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2QuotaConfig¶
type GoogleCloudIdentitytoolkitAdminV2QuotaConfig struct {// SignUpQuotaConfig: Quota for the Signup endpoint, if overwritten. Signup// quota is measured in sign ups per project per hour per IP.SignUpQuotaConfig *GoogleCloudIdentitytoolkitAdminV2TemporaryQuota `json:"signUpQuotaConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "SignUpQuotaConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SignUpQuotaConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2QuotaConfig: Configuration related toquotas.
func (GoogleCloudIdentitytoolkitAdminV2QuotaConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2QuotaConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2RecaptchaConfig¶added inv0.118.0
type GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig struct {// EmailPasswordEnforcementState: The reCAPTCHA config for email/password// provider, containing the enforcement status. The email/password provider// contains all email related user flows protected by reCAPTCHA.//// Possible values:// "RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED" - Enforcement state has// not been set.// "OFF" - Unenforced.// "AUDIT" - reCAPTCHA assessment is created, result is not used to enforce.// "ENFORCE" - reCAPTCHA assessment is created, result is used to enforce.EmailPasswordEnforcementStatestring `json:"emailPasswordEnforcementState,omitempty"`// ManagedRules: The managed rules for authentication action based on reCAPTCHA// scores. The rules are shared across providers for a given tenant project.ManagedRules []*GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule `json:"managedRules,omitempty"`// PhoneEnforcementState: The reCAPTCHA config for phone provider, containing// the enforcement status. The phone provider contains all SMS related user// flows protected by reCAPTCHA.//// Possible values:// "RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED" - Enforcement state has// not been set.// "OFF" - Unenforced.// "AUDIT" - reCAPTCHA assessment is created, result is not used to enforce.// "ENFORCE" - reCAPTCHA assessment is created, result is used to enforce.PhoneEnforcementStatestring `json:"phoneEnforcementState,omitempty"`// RecaptchaKeys: The reCAPTCHA keys.RecaptchaKeys []*GoogleCloudIdentitytoolkitAdminV2RecaptchaKey `json:"recaptchaKeys,omitempty"`// TollFraudManagedRules: The managed rules for the authentication action based// on reCAPTCHA toll fraud risk scores. Toll fraud managed rules will only take// effect when the phone_enforcement_state is AUDIT or ENFORCE and// use_sms_toll_fraud_protection is true.TollFraudManagedRules []*GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule `json:"tollFraudManagedRules,omitempty"`// UseAccountDefender: Whether to use the account defender for reCAPTCHA// assessment. Defaults to `false`.UseAccountDefenderbool `json:"useAccountDefender,omitempty"`// UseSmsBotScore: Whether to use the rCE bot score for reCAPTCHA phone// provider. Can only be true when the phone_enforcement_state is AUDIT or// ENFORCE.UseSmsBotScorebool `json:"useSmsBotScore,omitempty"`// UseSmsTollFraudProtection: Whether to use the rCE sms toll fraud protection// risk score for reCAPTCHA phone provider. Can only be true when the// phone_enforcement_state is AUDIT or ENFORCE.UseSmsTollFraudProtectionbool `json:"useSmsTollFraudProtection,omitempty"`// ForceSendFields is a list of field names (e.g.// "EmailPasswordEnforcementState") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EmailPasswordEnforcementState")// to include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig: The reCAPTCHA Enterpriseintegration config.
func (GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig)MarshalJSON¶added inv0.118.0
func (sGoogleCloudIdentitytoolkitAdminV2RecaptchaConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2RecaptchaKey¶added inv0.118.0
type GoogleCloudIdentitytoolkitAdminV2RecaptchaKey struct {// Key: The reCAPTCHA Enterprise key resource name, e.g.// "projects/{project}/keys/{key}"Keystring `json:"key,omitempty"`// Type: The client's platform type.//// Possible values:// "CLIENT_TYPE_UNSPECIFIED" - Client type is not specified.// "WEB" - Client type is web.// "IOS" - Client type is iOS.// "ANDROID" - Client type is Android.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "Key") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Key") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2RecaptchaKey: The reCAPTCHA key config.reCAPTCHA Enterprise offers different keys for different client platforms.
func (GoogleCloudIdentitytoolkitAdminV2RecaptchaKey)MarshalJSON¶added inv0.118.0
func (sGoogleCloudIdentitytoolkitAdminV2RecaptchaKey) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule¶added inv0.118.0
type GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule struct {// Action: The action taken if the reCAPTCHA score of a request is within the// interval [start_score, end_score].//// Possible values:// "RECAPTCHA_ACTION_UNSPECIFIED" - The reCAPTCHA action is not specified.// "BLOCK" - The reCAPTCHA-protected request will be blocked.Actionstring `json:"action,omitempty"`// EndScore: The end score (inclusive) of the score range for an action. Must// be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2,// 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a// bot), whereas 1.0 indicates the safest request (likely a human). See//https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment.EndScorefloat64 `json:"endScore,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule: The config for areCAPTCHA managed rule. Models a single interval [start_score, end_score].The start_score is implicit. It is either the closest smaller end_score (ifone is available) or 0. Intervals in aggregate span [0, 1] withoutoverlapping.
func (GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule)MarshalJSON¶added inv0.118.0
func (sGoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule) MarshalJSON() ([]byte,error)
func (*GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule)UnmarshalJSON¶added inv0.118.0
func (s *GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule) UnmarshalJSON(data []byte)error
typeGoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule¶added inv0.203.0
type GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule struct {// Action: The action taken if the reCAPTCHA score of a request is within the// interval [start_score, end_score].//// Possible values:// "RECAPTCHA_ACTION_UNSPECIFIED" - The reCAPTCHA action is not specified.// "BLOCK" - The reCAPTCHA-protected request will be blocked.Actionstring `json:"action,omitempty"`// StartScore: The start score (inclusive) for an action. Must be a value// between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9,// 1.0. A score of 0.0 indicates the safest request (likely legitimate),// whereas 1.0 indicates the riskiest request (likely toll fraud). See//https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms.StartScorefloat64 `json:"startScore,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule: The configfor a reCAPTCHA toll fraud assessment managed rule. Models a single interval[start_score, end_score]. The end_score is implicit. It is either theclosest smaller end_score (if one is available) or 0. Intervals in aggregatespan [0, 1] without overlapping.
func (GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule)MarshalJSON¶added inv0.203.0
func (sGoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule) MarshalJSON() ([]byte,error)
func (*GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule)UnmarshalJSON¶added inv0.203.0
func (s *GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule) UnmarshalJSON(data []byte)error
typeGoogleCloudIdentitytoolkitAdminV2RequestLogging¶
type GoogleCloudIdentitytoolkitAdminV2RequestLogging struct {// Enabled: Whether logging is enabled for this project or not.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2RequestLogging: Configuration for loggingrequests made to this project to Stackdriver Logging
func (GoogleCloudIdentitytoolkitAdminV2RequestLogging)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2RequestLogging) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SendEmail¶
type GoogleCloudIdentitytoolkitAdminV2SendEmail struct {// CallbackUri: action url in email template.CallbackUristring `json:"callbackUri,omitempty"`// ChangeEmailTemplate: Email template for change emailChangeEmailTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"changeEmailTemplate,omitempty"`// DnsInfo: Information of custom domain DNS verification.DnsInfo *GoogleCloudIdentitytoolkitAdminV2DnsInfo `json:"dnsInfo,omitempty"`// LegacyResetPasswordTemplate: Reset password email template for legacy// Firebase V1 app.LegacyResetPasswordTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"legacyResetPasswordTemplate,omitempty"`// Method: The method used for sending an email.//// Possible values:// "METHOD_UNSPECIFIED" - Email method unspecified.// "DEFAULT" - Sending email on behalf of developer.// "CUSTOM_SMTP" - Sending email using SMTP configuration provided by// developers.Methodstring `json:"method,omitempty"`// ResetPasswordTemplate: Email template for reset passwordResetPasswordTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"resetPasswordTemplate,omitempty"`// RevertSecondFactorAdditionTemplate: Email template for reverting second// factor addition emailsRevertSecondFactorAdditionTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"revertSecondFactorAdditionTemplate,omitempty"`// Smtp: Use a custom SMTP relaySmtp *GoogleCloudIdentitytoolkitAdminV2Smtp `json:"smtp,omitempty"`// VerifyEmailTemplate: Email template for verify emailVerifyEmailTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"verifyEmailTemplate,omitempty"`// ForceSendFields is a list of field names (e.g. "CallbackUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CallbackUri") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SendEmail: Options for email sending.
func (GoogleCloudIdentitytoolkitAdminV2SendEmail)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2SendEmail) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SendSms¶
type GoogleCloudIdentitytoolkitAdminV2SendSms struct {// SmsTemplate: Output only. The template to use when sending an SMS.SmsTemplate *GoogleCloudIdentitytoolkitAdminV2SmsTemplate `json:"smsTemplate,omitempty"`// UseDeviceLocale: Whether to use the accept_language header for SMS.UseDeviceLocalebool `json:"useDeviceLocale,omitempty"`// ForceSendFields is a list of field names (e.g. "SmsTemplate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SmsTemplate") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SendSms: Options for SMS sending.
func (GoogleCloudIdentitytoolkitAdminV2SendSms)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2SendSms) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SignInConfig¶
type GoogleCloudIdentitytoolkitAdminV2SignInConfig struct {// AllowDuplicateEmails: Whether to allow more than one account to have the// same email.AllowDuplicateEmailsbool `json:"allowDuplicateEmails,omitempty"`// Anonymous: Configuration options related to authenticating an anonymous// user.Anonymous *GoogleCloudIdentitytoolkitAdminV2Anonymous `json:"anonymous,omitempty"`// Email: Configuration options related to authenticating a user by their email// address.Email *GoogleCloudIdentitytoolkitAdminV2Email `json:"email,omitempty"`// HashConfig: Output only. Hash config information.HashConfig *GoogleCloudIdentitytoolkitAdminV2HashConfig `json:"hashConfig,omitempty"`// PhoneNumber: Configuration options related to authenticated a user by their// phone number.PhoneNumber *GoogleCloudIdentitytoolkitAdminV2PhoneNumber `json:"phoneNumber,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowDuplicateEmails") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowDuplicateEmails") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SignInConfig: Configuration related tolocal sign in methods.
func (GoogleCloudIdentitytoolkitAdminV2SignInConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2SignInConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SmsRegionConfig¶added inv0.98.0
type GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig struct {// AllowByDefault: A policy of allowing SMS to every region by default and// adding disallowed regions to a disallow list.AllowByDefault *GoogleCloudIdentitytoolkitAdminV2AllowByDefault `json:"allowByDefault,omitempty"`// AllowlistOnly: A policy of only allowing regions by explicitly adding them// to an allowlist.AllowlistOnly *GoogleCloudIdentitytoolkitAdminV2AllowlistOnly `json:"allowlistOnly,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowByDefault") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowByDefault") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig: Configures the regionswhere users are allowed to send verification SMS for the project or tenant.This is based on the calling code of the destination phone number.
func (GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig)MarshalJSON¶added inv0.98.0
func (sGoogleCloudIdentitytoolkitAdminV2SmsRegionConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SmsTemplate¶
type GoogleCloudIdentitytoolkitAdminV2SmsTemplate struct {// Content: Output only. The SMS's content. Can contain the following// placeholders which will be replaced with the appropriate values: %APP_NAME%// - For Android or iOS apps, the app's display name. For web apps, the domain// hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS.Contentstring `json:"content,omitempty"`// ForceSendFields is a list of field names (e.g. "Content") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Content") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SmsTemplate: The template to use whensending an SMS.
func (GoogleCloudIdentitytoolkitAdminV2SmsTemplate)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2SmsTemplate) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Smtp¶
type GoogleCloudIdentitytoolkitAdminV2Smtp struct {// Host: SMTP relay hostHoststring `json:"host,omitempty"`// Password: SMTP relay passwordPasswordstring `json:"password,omitempty"`// Port: SMTP relay portPortint64 `json:"port,omitempty"`// SecurityMode: SMTP security mode.//// Possible values:// "SECURITY_MODE_UNSPECIFIED" - Default value. Do not use.// "SSL" - SSL mode// "START_TLS" - START_TLS modeSecurityModestring `json:"securityMode,omitempty"`// SenderEmail: Sender email for the SMTP relaySenderEmailstring `json:"senderEmail,omitempty"`// Username: SMTP relay usernameUsernamestring `json:"username,omitempty"`// ForceSendFields is a list of field names (e.g. "Host") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Host") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Smtp: Configuration for SMTP relay
func (GoogleCloudIdentitytoolkitAdminV2Smtp)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Smtp) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SpCertificate¶
type GoogleCloudIdentitytoolkitAdminV2SpCertificate struct {// ExpiresAt: Timestamp of the cert expiration instance.ExpiresAtstring `json:"expiresAt,omitempty"`// X509Certificate: Self-signed public certificate.X509Certificatestring `json:"x509Certificate,omitempty"`// ForceSendFields is a list of field names (e.g. "ExpiresAt") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExpiresAt") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SpCertificate: The SP's certificate datafor IDP to verify the SAMLRequest generated by the SP.
func (GoogleCloudIdentitytoolkitAdminV2SpCertificate)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2SpCertificate) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2SpConfig¶
type GoogleCloudIdentitytoolkitAdminV2SpConfig struct {// CallbackUri: Callback URI where responses from IDP are handled.CallbackUristring `json:"callbackUri,omitempty"`// SpCertificates: Output only. Public certificates generated by the server to// verify the signature in SAMLRequest in the SP-initiated flow.SpCertificates []*GoogleCloudIdentitytoolkitAdminV2SpCertificate `json:"spCertificates,omitempty"`// SpEntityId: Unique identifier for all SAML entities.SpEntityIdstring `json:"spEntityId,omitempty"`// ForceSendFields is a list of field names (e.g. "CallbackUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CallbackUri") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2SpConfig: The SAML SP (Service Provider)configuration when the project acts as the relying party to receive andaccept an authentication assertion issued by a SAML identity provider.
func (GoogleCloudIdentitytoolkitAdminV2SpConfig)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2SpConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2TemporaryQuota¶
type GoogleCloudIdentitytoolkitAdminV2TemporaryQuota struct {// Quota: Corresponds to the 'refill_token_count' field in QuotaServer configQuotaint64 `json:"quota,omitempty,string"`// QuotaDuration: How long this quota will be active forQuotaDurationstring `json:"quotaDuration,omitempty"`// StartTime: When this quota will take effectStartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "Quota") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Quota") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2TemporaryQuota: Temporary quota increase /decrease
func (GoogleCloudIdentitytoolkitAdminV2TemporaryQuota)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2TemporaryQuota) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Tenant¶
type GoogleCloudIdentitytoolkitAdminV2Tenant struct {// AllowPasswordSignup: Whether to allow email/password user authentication.AllowPasswordSignupbool `json:"allowPasswordSignup,omitempty"`// AutodeleteAnonymousUsers: Whether anonymous users will be auto-deleted after// a period of 30 days.AutodeleteAnonymousUsersbool `json:"autodeleteAnonymousUsers,omitempty"`// Client: Options related to how clients making requests on behalf of a// project should be configured.Client *GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig `json:"client,omitempty"`// DisableAuth: Whether authentication is disabled for the tenant. If true, the// users under the disabled tenant are not allowed to sign-in. Admins of the// disabled tenant are not able to manage its users.DisableAuthbool `json:"disableAuth,omitempty"`// DisplayName: Display name of the tenant.DisplayNamestring `json:"displayName,omitempty"`// EmailPrivacyConfig: Configuration for settings related to email privacy and// public visibility.EmailPrivacyConfig *GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig `json:"emailPrivacyConfig,omitempty"`// EnableAnonymousUser: Whether to enable anonymous user authentication.EnableAnonymousUserbool `json:"enableAnonymousUser,omitempty"`// EnableEmailLinkSignin: Whether to enable email link user authentication.EnableEmailLinkSigninbool `json:"enableEmailLinkSignin,omitempty"`// HashConfig: Output only. Hash config information of a tenant for display on// Pantheon. This can only be displayed on Pantheon to avoid the sensitive// information to get accidentally leaked. Only returned in GetTenant response// to restrict reading of this information. Requires// firebaseauth.configs.getHashConfig permission on the agent project for// returning this field.HashConfig *GoogleCloudIdentitytoolkitAdminV2HashConfig `json:"hashConfig,omitempty"`// Inheritance: Specify the settings that the tenant could inherit.Inheritance *GoogleCloudIdentitytoolkitAdminV2Inheritance `json:"inheritance,omitempty"`// MfaConfig: The tenant-level configuration of MFA options.MfaConfig *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig `json:"mfaConfig,omitempty"`// MobileLinksConfig: Optional. Deprecated. Never launched. Configuration for// settings related to univeral links (iOS) and app links (Android).MobileLinksConfig *GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig `json:"mobileLinksConfig,omitempty"`// Monitoring: Configuration related to monitoring project activity.Monitoring *GoogleCloudIdentitytoolkitAdminV2MonitoringConfig `json:"monitoring,omitempty"`// Name: Output only. Resource name of a tenant. For example:// "projects/{project-id}/tenants/{tenant-id}"Namestring `json:"name,omitempty"`// PasswordPolicyConfig: The tenant-level password policy configPasswordPolicyConfig *GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig `json:"passwordPolicyConfig,omitempty"`// RecaptchaConfig: The tenant-level reCAPTCHA config.RecaptchaConfig *GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig `json:"recaptchaConfig,omitempty"`// SmsRegionConfig: Configures which regions are enabled for SMS verification// code sending.SmsRegionConfig *GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig `json:"smsRegionConfig,omitempty"`// TestPhoneNumbers: A map of pairs that can be used for MFA. The phone number// should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a// maximum of 10 pairs can be added (error will be thrown once exceeded).TestPhoneNumbers map[string]string `json:"testPhoneNumbers,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AllowPasswordSignup") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowPasswordSignup") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Tenant: A Tenant contains configuration forthe tenant in a multi-tenant project.
func (GoogleCloudIdentitytoolkitAdminV2Tenant)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Tenant) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig¶added inv0.115.0
type GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig struct {// AdjacentIntervals: The allowed number of adjacent intervals that will be// used for verification to avoid clock skew.AdjacentIntervalsint64 `json:"adjacentIntervals,omitempty"`// ForceSendFields is a list of field names (e.g. "AdjacentIntervals") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdjacentIntervals") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig:TotpMFAProviderConfig represents the TOTP based MFA provider.
func (GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig)MarshalJSON¶added inv0.115.0
func (sGoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitAdminV2Trigger¶
type GoogleCloudIdentitytoolkitAdminV2Trigger struct {// FunctionUri: HTTP URI trigger for the Cloud Function.FunctionUristring `json:"functionUri,omitempty"`// UpdateTime: When the trigger was changed.UpdateTimestring `json:"updateTime,omitempty"`// ForceSendFields is a list of field names (e.g. "FunctionUri") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FunctionUri") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitAdminV2Trigger: Synchronous Cloud Function withHTTP Trigger
func (GoogleCloudIdentitytoolkitAdminV2Trigger)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitAdminV2Trigger) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2AutoRetrievalInfo¶
type GoogleCloudIdentitytoolkitV2AutoRetrievalInfo struct {// AppSignatureHash: The Android app's signature hash for Google Play Service's// SMS Retriever API.AppSignatureHashstring `json:"appSignatureHash,omitempty"`// ForceSendFields is a list of field names (e.g. "AppSignatureHash") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppSignatureHash") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2AutoRetrievalInfo: The information required toauto-retrieve an SMS.
func (GoogleCloudIdentitytoolkitV2AutoRetrievalInfo)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2AutoRetrievalInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2CustomStrengthOptions¶added inv0.123.0
type GoogleCloudIdentitytoolkitV2CustomStrengthOptions struct {// ContainsLowercaseCharacter: The password must contain a lower case// character.ContainsLowercaseCharacterbool `json:"containsLowercaseCharacter,omitempty"`// ContainsNonAlphanumericCharacter: The password must contain a non alpha// numeric character.ContainsNonAlphanumericCharacterbool `json:"containsNonAlphanumericCharacter,omitempty"`// ContainsNumericCharacter: The password must contain a number.ContainsNumericCharacterbool `json:"containsNumericCharacter,omitempty"`// ContainsUppercaseCharacter: The password must contain an upper case// character.ContainsUppercaseCharacterbool `json:"containsUppercaseCharacter,omitempty"`// MaxPasswordLength: Maximum password length. No default max lengthMaxPasswordLengthint64 `json:"maxPasswordLength,omitempty"`// MinPasswordLength: Minimum password length. Range from 6 to 30MinPasswordLengthint64 `json:"minPasswordLength,omitempty"`// ForceSendFields is a list of field names (e.g. "ContainsLowercaseCharacter")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContainsLowercaseCharacter") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2CustomStrengthOptions: Custom strength optionsto enforce on user passwords.
func (GoogleCloudIdentitytoolkitV2CustomStrengthOptions)MarshalJSON¶added inv0.123.0
func (sGoogleCloudIdentitytoolkitV2CustomStrengthOptions) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest¶
type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest struct {// DisplayName: Display name which is entered by users to distinguish between// different second factors with same type or different type.DisplayNamestring `json:"displayName,omitempty"`// IdToken: Required. ID token.IdTokenstring `json:"idToken,omitempty"`// PhoneVerificationInfo: Verification info to authorize sending an SMS for// phone verification.PhoneVerificationInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo `json:"phoneVerificationInfo,omitempty"`// TenantId: The ID of the Identity Platform tenant that the user enrolling MFA// belongs to. If not set, the user belongs to the default Identity Platform// project.TenantIdstring `json:"tenantId,omitempty"`// TotpVerificationInfo: Verification information for TOTP.TotpVerificationInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo `json:"totpVerificationInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest: Finishes enrollinga second factor for the user.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse¶
type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse struct {// IdToken: ID token updated to reflect MFA enrollment.IdTokenstring `json:"idToken,omitempty"`// PhoneAuthInfo: Auxiliary auth info specific to phone auth.PhoneAuthInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo `json:"phoneAuthInfo,omitempty"`// RefreshToken: Refresh token updated to reflect MFA enrollment.RefreshTokenstring `json:"refreshToken,omitempty"`// TotpAuthInfo: Auxiliary auth info specific to TOTP auth.TotpAuthInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo `json:"totpAuthInfo,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "IdToken") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse:FinalizeMfaEnrollment response.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo¶
type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo struct {// AndroidVerificationProof: Android only. Uses for "instant" phone number// verification though GmsCore.AndroidVerificationProofstring `json:"androidVerificationProof,omitempty"`// Code: User-entered verification code.Codestring `json:"code,omitempty"`// PhoneNumber: Required if Android verification proof is presented.PhoneNumberstring `json:"phoneNumber,omitempty"`// SessionInfo: An opaque string that represents the enrollment session.SessionInfostring `json:"sessionInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "AndroidVerificationProof")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AndroidVerificationProof") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo: Phone Verificationinfo for a FinalizeMfa request.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo¶
type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo struct {// AndroidVerificationProof: Android only. Long-lived replacement for valid// code tied to android device.AndroidVerificationProofstring `json:"androidVerificationProof,omitempty"`// AndroidVerificationProofExpireTime: Android only. Expiration time of// verification proof in seconds.AndroidVerificationProofExpireTimestring `json:"androidVerificationProofExpireTime,omitempty"`// PhoneNumber: For Android verification proof.PhoneNumberstring `json:"phoneNumber,omitempty"`// ForceSendFields is a list of field names (e.g. "AndroidVerificationProof")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AndroidVerificationProof") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo: Phone Verificationinfo for a FinalizeMfa response.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest¶
type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest struct {// MfaEnrollmentId: The MFA enrollment ID from the user's list of current MFA// enrollments.MfaEnrollmentIdstring `json:"mfaEnrollmentId,omitempty"`// MfaPendingCredential: Required. Pending credential from first factor// sign-in.MfaPendingCredentialstring `json:"mfaPendingCredential,omitempty"`// PhoneVerificationInfo: Proof of completion of the SMS based MFA challenge.PhoneVerificationInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo `json:"phoneVerificationInfo,omitempty"`// TenantId: The ID of the Identity Platform tenant the user is signing in to.// If not set, the user will sign in to the default Identity Platform project.TenantIdstring `json:"tenantId,omitempty"`// TotpVerificationInfo: Proof of completion of the TOTP based MFA challenge.TotpVerificationInfo *GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo `json:"totpVerificationInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "MfaEnrollmentId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MfaEnrollmentId") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest: Finalizes sign-in byverifying MFA challenge.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse¶
type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse struct {// IdToken: ID token for the authenticated user.IdTokenstring `json:"idToken,omitempty"`// PhoneAuthInfo: Extra phone auth info, including android verification proof.PhoneAuthInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo `json:"phoneAuthInfo,omitempty"`// RefreshToken: Refresh token for the authenticated user.RefreshTokenstring `json:"refreshToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "IdToken") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse: FinalizeMfaSignInresponse.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo¶added inv0.115.0
type GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo struct {// SessionInfo: An opaque string that represents the enrollment session.SessionInfostring `json:"sessionInfo,omitempty"`// VerificationCode: User-entered verification code.VerificationCodestring `json:"verificationCode,omitempty"`// ForceSendFields is a list of field names (e.g. "SessionInfo") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SessionInfo") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo: Mfarequest info specific to TOTP auth for FinalizeMfa.
func (GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo)MarshalJSON¶added inv0.115.0
func (sGoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo¶added inv0.115.0
type GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo struct {}GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo: Mfaresponse info specific to TOTP auth for FinalizeMfa.
typeGoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo¶added inv0.115.0
type GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo struct {// VerificationCode: User-entered verification code.VerificationCodestring `json:"verificationCode,omitempty"`// ForceSendFields is a list of field names (e.g. "VerificationCode") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "VerificationCode") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo: TOTP verification infofor FinalizeMfaSignInRequest.
func (GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo)MarshalJSON¶added inv0.115.0
func (sGoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2PasswordPolicy¶added inv0.123.0
type GoogleCloudIdentitytoolkitV2PasswordPolicy struct {// AllowedNonAlphanumericCharacters: Output only. Allowed characters which// satisfy the non_alphanumeric requirement.AllowedNonAlphanumericCharacters []string `json:"allowedNonAlphanumericCharacters,omitempty"`// CustomStrengthOptions: The custom strength options enforced by the password// policy.CustomStrengthOptions *GoogleCloudIdentitytoolkitV2CustomStrengthOptions `json:"customStrengthOptions,omitempty"`// EnforcementState: Output only. Which enforcement mode to use for the// password policy.//// Possible values:// "ENFORCEMENT_STATE_UNSPECIFIED" - Enforcement state has not been set.// "OFF" - Password Policy will not be used on the project.// "ENFORCE" - Passwords non-compliant with the password policy will be// rejected with an error thrown.EnforcementStatestring `json:"enforcementState,omitempty"`// ForceUpgradeOnSignin: Users must have a password compliant with the password// policy to sign-in.ForceUpgradeOnSigninbool `json:"forceUpgradeOnSignin,omitempty"`// SchemaVersion: Output only. schema version number for the password policySchemaVersionint64 `json:"schemaVersion,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AllowedNonAlphanumericCharacters") to unconditionally include in API// requests. By default, fields with empty or default values are omitted from// API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "AllowedNonAlphanumericCharacters") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-NullFields for// more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2PasswordPolicy: Configuration for passwordpolicy.
func (GoogleCloudIdentitytoolkitV2PasswordPolicy)MarshalJSON¶added inv0.123.0
func (sGoogleCloudIdentitytoolkitV2PasswordPolicy) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2RecaptchaConfig¶added inv0.118.0
type GoogleCloudIdentitytoolkitV2RecaptchaConfig struct {// RecaptchaEnforcementState: The reCAPTCHA enforcement state for the providers// that GCIP supports reCAPTCHA protection.RecaptchaEnforcementState []*GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState `json:"recaptchaEnforcementState,omitempty"`// RecaptchaKey: The reCAPTCHA Enterprise key resource name, e.g.// "projects/{project}/keys/{key}". This will only be returned when the// reCAPTCHA enforcement state is AUDIT or ENFORCE on at least one of the// reCAPTCHA providers.RecaptchaKeystring `json:"recaptchaKey,omitempty"`// UseSmsBotScore: Whether to use the rCE bot score for reCAPTCHA phone// provider.UseSmsBotScorebool `json:"useSmsBotScore,omitempty"`// UseSmsTollFraudProtection: Whether to use the rCE sms toll fraud protection// risk score for reCAPTCHA phone provider.UseSmsTollFraudProtectionbool `json:"useSmsTollFraudProtection,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "RecaptchaEnforcementState")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RecaptchaEnforcementState") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2RecaptchaConfig: Configuration for reCAPTCHA
func (GoogleCloudIdentitytoolkitV2RecaptchaConfig)MarshalJSON¶added inv0.118.0
func (sGoogleCloudIdentitytoolkitV2RecaptchaConfig) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2RecaptchaEnforcementState¶added inv0.118.0
type GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState struct {// EnforcementState: The reCAPTCHA enforcement state for the provider.//// Possible values:// "ENFORCEMENT_STATE_UNSPECIFIED" - Enforcement state has not been set.// "OFF" - Unenforced.// "AUDIT" - reCAPTCHA assessment is created, result is not used to enforce.// "ENFORCE" - reCAPTCHA assessment is created, result is used to enforce.EnforcementStatestring `json:"enforcementState,omitempty"`// Provider: The provider that has reCAPTCHA protection.//// Possible values:// "RECAPTCHA_PROVIDER_UNSPECIFIED" - reCAPTCHA provider not specified// "EMAIL_PASSWORD_PROVIDER" - Email password provider// "PHONE_PROVIDER" - Phone auth providerProviderstring `json:"provider,omitempty"`// ForceSendFields is a list of field names (e.g. "EnforcementState") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnforcementState") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState: Enforcement statesfor reCAPTCHA protection.
func (GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState)MarshalJSON¶added inv0.118.0
func (sGoogleCloudIdentitytoolkitV2RecaptchaEnforcementState) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2RevokeTokenRequest¶added inv0.118.0
type GoogleCloudIdentitytoolkitV2RevokeTokenRequest struct {// IdToken: Required. A valid Identity Platform ID token to link the account.// If there was a successful token revocation request on the account and no// tokens are generated after the revocation, the duplicate requests will be// ignored and returned immediately.IdTokenstring `json:"idToken,omitempty"`// ProviderId: Required. The idp provider for the token. Currently only// supports Apple Idp. The format should be "apple.com".ProviderIdstring `json:"providerId,omitempty"`// RedirectUri: The redirect URI provided in the initial authorization request// made by the client to the IDP. The URI must use the HTTPS protocol, include// a domain name, and can't contain an IP address or localhost. Required if// token_type is CODE.RedirectUristring `json:"redirectUri,omitempty"`// TenantId: The ID of the Identity Platform tenant the user is signing in to.// If not set, the user will sign in to the default Identity Platform project.TenantIdstring `json:"tenantId,omitempty"`// Token: Required. The token to be revoked. If an authorization_code is passed// in, the API will first exchange the code for access token and then revoke// the token exchanged.Tokenstring `json:"token,omitempty"`// TokenType: Required. The type of the token to be revoked.//// Possible values:// "TOKEN_TYPE_UNSPECIFIED" - Default value, do not use.// "REFRESH_TOKEN" - Token type is refresh_token.// "ACCESS_TOKEN" - Token type is access_token.// "CODE" - Token type is authorization_code.TokenTypestring `json:"tokenType,omitempty"`// ForceSendFields is a list of field names (e.g. "IdToken") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2RevokeTokenRequest: Request message forRevokeToken.
func (GoogleCloudIdentitytoolkitV2RevokeTokenRequest)MarshalJSON¶added inv0.118.0
func (sGoogleCloudIdentitytoolkitV2RevokeTokenRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2RevokeTokenResponse¶added inv0.118.0
type GoogleCloudIdentitytoolkitV2RevokeTokenResponse struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}GoogleCloudIdentitytoolkitV2RevokeTokenResponse: Response message forRevokeToken. Empty for now.
typeGoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest¶
type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest struct {// IdToken: Required. User's ID token.IdTokenstring `json:"idToken,omitempty"`// PhoneEnrollmentInfo: Verification info to authorize sending an SMS for phone// verification.PhoneEnrollmentInfo *GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo `json:"phoneEnrollmentInfo,omitempty"`// TenantId: The ID of the Identity Platform tenant that the user enrolling MFA// belongs to. If not set, the user belongs to the default Identity Platform// project.TenantIdstring `json:"tenantId,omitempty"`// TotpEnrollmentInfo: Sign-in info specific to TOTP auth.TotpEnrollmentInfo *GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo `json:"totpEnrollmentInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "IdToken") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest: Sends MFA enrollmentverification SMS for a user.
func (GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse¶
type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse struct {// PhoneSessionInfo: Verification info to authorize sending an SMS for phone// verification.PhoneSessionInfo *GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo `json:"phoneSessionInfo,omitempty"`// TotpSessionInfo: Enrollment response info specific to TOTP auth.TotpSessionInfo *GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo `json:"totpSessionInfo,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "PhoneSessionInfo") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PhoneSessionInfo") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse: StartMfaEnrollmentresponse.
func (GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo¶
type GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo struct {// AutoRetrievalInfo: Android only. Used by Google Play Services to identify// the app for auto-retrieval.AutoRetrievalInfo *GoogleCloudIdentitytoolkitV2AutoRetrievalInfo `json:"autoRetrievalInfo,omitempty"`// CaptchaResponse: The reCAPTCHA Enterprise token provided by the reCAPTCHA// client-side integration. Required when reCAPTCHA enterprise is enabled.CaptchaResponsestring `json:"captchaResponse,omitempty"`// ClientType: The client type, web, android or ios. Required when reCAPTCHA// Enterprise is enabled.//// Possible values:// "CLIENT_TYPE_UNSPECIFIED" - Client type is not specified.// "CLIENT_TYPE_WEB" - Client type is web.// "CLIENT_TYPE_ANDROID" - Client type is android.// "CLIENT_TYPE_IOS" - Client type is ios.ClientTypestring `json:"clientType,omitempty"`// IosReceipt: iOS only. Receipt of successful app token validation with APNS.IosReceiptstring `json:"iosReceipt,omitempty"`// IosSecret: iOS only. Secret delivered to iOS app via APNS.IosSecretstring `json:"iosSecret,omitempty"`// PhoneNumber: Required for enrollment. Phone number to be enrolled as MFA.PhoneNumberstring `json:"phoneNumber,omitempty"`// PlayIntegrityToken: Android only. Used to assert application identity in// place of a recaptcha token (or safety net token). A Play Integrity Token can// be generated via the [PlayIntegrity API]// (https://developer.android.com/google/play/integrity) with applying SHA256// to the `phone_number` field as the nonce.PlayIntegrityTokenstring `json:"playIntegrityToken,omitempty"`// RecaptchaToken: Web only. Recaptcha solution.RecaptchaTokenstring `json:"recaptchaToken,omitempty"`// RecaptchaVersion: The reCAPTCHA version of the reCAPTCHA token in the// captcha_response. Required when reCAPTCHA Enterprise is enabled.//// Possible values:// "RECAPTCHA_VERSION_UNSPECIFIED" - The reCAPTCHA version is not specified.// "RECAPTCHA_ENTERPRISE" - The reCAPTCHA enterprise.RecaptchaVersionstring `json:"recaptchaVersion,omitempty"`// SafetyNetToken: Android only. Used to assert application identity in place// of a recaptcha token. A SafetyNet Token can be generated via the SafetyNet// Android Attestation API// (https://developer.android.com/training/safetynet/attestation.html), with// the Base64 encoding of the `phone_number` field as the nonce.SafetyNetTokenstring `json:"safetyNetToken,omitempty"`// ForceSendFields is a list of field names (e.g. "AutoRetrievalInfo") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoRetrievalInfo") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo: App Verification infofor a StartMfa request.
func (GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo¶
type GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo struct {// SessionInfo: An opaque string that represents the enrollment session.SessionInfostring `json:"sessionInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "SessionInfo") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SessionInfo") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo: Phone Verificationinfo for a StartMfa response.
func (GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2StartMfaSignInRequest¶
type GoogleCloudIdentitytoolkitV2StartMfaSignInRequest struct {// MfaEnrollmentId: Required. MFA enrollment id from the user's list of current// MFA enrollments.MfaEnrollmentIdstring `json:"mfaEnrollmentId,omitempty"`// MfaPendingCredential: Required. Pending credential from first factor// sign-in.MfaPendingCredentialstring `json:"mfaPendingCredential,omitempty"`// PhoneSignInInfo: Verification info to authorize sending an SMS for phone// verification.PhoneSignInInfo *GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo `json:"phoneSignInInfo,omitempty"`// TenantId: The ID of the Identity Platform tenant the user is signing in to.// If not set, the user will sign in to the default Identity Platform project.TenantIdstring `json:"tenantId,omitempty"`// ForceSendFields is a list of field names (e.g. "MfaEnrollmentId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MfaEnrollmentId") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaSignInRequest: Starts multi-factorsign-in by sending the multi-factor auth challenge.
func (GoogleCloudIdentitytoolkitV2StartMfaSignInRequest)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2StartMfaSignInRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2StartMfaSignInResponse¶
type GoogleCloudIdentitytoolkitV2StartMfaSignInResponse struct {// PhoneResponseInfo: MultiFactor sign-in session information specific to// SMS-type second factors. Along with the one-time code retrieved from the// sent SMS, the contents of this session information should be passed to// FinalizeMfaSignIn to complete the sign in.PhoneResponseInfo *GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo `json:"phoneResponseInfo,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "PhoneResponseInfo") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PhoneResponseInfo") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaSignInResponse: StartMfaSignIn response.
func (GoogleCloudIdentitytoolkitV2StartMfaSignInResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2StartMfaSignInResponse) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo¶added inv0.115.0
type GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo struct {}GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo: Mfa requestinfo specific to TOTP auth for StartMfa.
typeGoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo¶added inv0.115.0
type GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo struct {// FinalizeEnrollmentTime: The time by which the enrollment must finish.FinalizeEnrollmentTimestring `json:"finalizeEnrollmentTime,omitempty"`// HashingAlgorithm: The hashing algorithm used to generate the verification// code.HashingAlgorithmstring `json:"hashingAlgorithm,omitempty"`// PeriodSec: Duration in seconds at which the verification code will change.PeriodSecint64 `json:"periodSec,omitempty"`// SessionInfo: An encoded string that represents the enrollment session.SessionInfostring `json:"sessionInfo,omitempty"`// SharedSecretKey: A base 32 encoded string that represents the shared TOTP// secret. The base 32 encoding is the one specified by RFC4648#section-6// (https://datatracker.ietf.org/doc/html/rfc4648#section-6). (This is the same// as the base 32 encoding from RFC3548#section-5// (https://datatracker.ietf.org/doc/html/rfc3548#section-5).)SharedSecretKeystring `json:"sharedSecretKey,omitempty"`// VerificationCodeLength: The length of the verification code that needs to be// generated.VerificationCodeLengthint64 `json:"verificationCodeLength,omitempty"`// ForceSendFields is a list of field names (e.g. "FinalizeEnrollmentTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FinalizeEnrollmentTime") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo: Mfa responseinfo specific to TOTP auth for StartMfa.
func (GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo)MarshalJSON¶added inv0.115.0
func (sGoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2WithdrawMfaRequest¶
type GoogleCloudIdentitytoolkitV2WithdrawMfaRequest struct {// IdToken: Required. User's ID token.IdTokenstring `json:"idToken,omitempty"`// MfaEnrollmentId: Required. MFA enrollment id from a current MFA enrollment.MfaEnrollmentIdstring `json:"mfaEnrollmentId,omitempty"`// TenantId: The ID of the Identity Platform tenant that the user unenrolling// MFA belongs to. If not set, the user belongs to the default Identity// Platform project.TenantIdstring `json:"tenantId,omitempty"`// ForceSendFields is a list of field names (e.g. "IdToken") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2WithdrawMfaRequest: Withdraws MFA.
func (GoogleCloudIdentitytoolkitV2WithdrawMfaRequest)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2WithdrawMfaRequest) MarshalJSON() ([]byte,error)
typeGoogleCloudIdentitytoolkitV2WithdrawMfaResponse¶
type GoogleCloudIdentitytoolkitV2WithdrawMfaResponse struct {// IdToken: ID token updated to reflect removal of the second factor.IdTokenstring `json:"idToken,omitempty"`// RefreshToken: Refresh token updated to reflect removal of the second factor.RefreshTokenstring `json:"refreshToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "IdToken") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IdToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleCloudIdentitytoolkitV2WithdrawMfaResponse: Withdraws MultiFactorAuthresponse.
func (GoogleCloudIdentitytoolkitV2WithdrawMfaResponse)MarshalJSON¶
func (sGoogleCloudIdentitytoolkitV2WithdrawMfaResponse) MarshalJSON() ([]byte,error)
typeGoogleIamV1AuditConfig¶
type GoogleIamV1AuditConfig struct {// AuditLogConfigs: The configuration for logging of each type of permission.AuditLogConfigs []*GoogleIamV1AuditLogConfig `json:"auditLogConfigs,omitempty"`// Service: Specifies a service that will be enabled for audit logging. For// example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices`// is a special value that covers all services.Servicestring `json:"service,omitempty"`// ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuditLogConfigs") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1AuditConfig: Specifies the audit configuration for a service. Theconfiguration determines which permission types are logged, and whatidentities, if any, are exempted from logging. An AuditConfig must have oneor more AuditLogConfigs. If there are AuditConfigs for both `allServices`and a specific service, the union of the two AuditConfigs is used for thatservice: the log_types specified in each AuditConfig are enabled, and theexempted_members in each AuditLogConfig are exempted. Example Policy withmultiple AuditConfigs: { "audit_configs": [ { "service": "allServices","audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": ["user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type":"ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com","audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type":"DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } Forsampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READlogging. It also exempts `jose@example.com` from DATA_READ logging, and`aliya@example.com` from DATA_WRITE logging.
func (GoogleIamV1AuditConfig)MarshalJSON¶
func (sGoogleIamV1AuditConfig) MarshalJSON() ([]byte,error)
typeGoogleIamV1AuditLogConfig¶
type GoogleIamV1AuditLogConfig struct {// ExemptedMembers: Specifies the identities that do not cause logging for this// type of permission. Follows the same format of Binding.members.ExemptedMembers []string `json:"exemptedMembers,omitempty"`// LogType: The log type that this config enables.//// Possible values:// "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this.// "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy// "DATA_WRITE" - Data writes. Example: CloudSQL Users create// "DATA_READ" - Data reads. Example: CloudSQL Users listLogTypestring `json:"logType,omitempty"`// ForceSendFields is a list of field names (e.g. "ExemptedMembers") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExemptedMembers") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1AuditLogConfig: Provides the configuration for logging a type ofpermissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ","exempted_members": [ "user:jose@example.com" ] }, { "log_type":"DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, whileexempting jose@example.com from DATA_READ logging.
func (GoogleIamV1AuditLogConfig)MarshalJSON¶
func (sGoogleIamV1AuditLogConfig) MarshalJSON() ([]byte,error)
typeGoogleIamV1Binding¶
type GoogleIamV1Binding struct {// Condition: The condition that is associated with this binding. If the// condition evaluates to `true`, then this binding applies to the current// request. If the condition evaluates to `false`, then this binding does not// apply to the current request. However, a different role binding might grant// the same role to one or more of the principals in this binding. To learn// which resources support conditions in their IAM policies, see the IAM// documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Condition *GoogleTypeExpr `json:"condition,omitempty"`// Members: Specifies the principals requesting access for a Google Cloud// resource. `members` can have the following values: * `allUsers`: A special// identifier that represents anyone who is on the internet; with or without a// Google account. * `allAuthenticatedUsers`: A special identifier that// represents anyone who is authenticated with a Google account or a service// account. Does not include identities that come from external identity// providers (IdPs) through identity federation. * `user:{emailid}`: An email// address that represents a specific Google account. For example,// `alice@example.com` . * `serviceAccount:{emailid}`: An email address that// represents a Google service account. For example,// `my-other-app@appspot.gserviceaccount.com`. *// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An// identifier for a Kubernetes service account// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).// For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *// `group:{emailid}`: An email address that represents a Google group. For// example, `admins@example.com`. * `domain:{domain}`: The G Suite domain// (primary) that represents all the users of that domain. For example,// `google.com` or `example.com`. *// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub// ject/{subject_attribute_value}`: A single identity in a workforce identity// pool. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// group/{group_id}`: All workforce identities in a group. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// attribute.{attribute_name}/{attribute_value}`: All workforce identities with// a specific attribute value. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// *`: All identities in a workforce identity pool. *// `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo// rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single// identity in a workload identity pool. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool// group. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}// `: All identities in a workload identity pool with a certain attribute. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity// pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a user that has been recently deleted. For// example, `alice@example.com?uid=123456789012345678901`. If the user is// recovered, this value reverts to `user:{emailid}` and the recovered user// retains the role in the binding. *// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a service account that has been recently// deleted. For example,// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the// service account is undeleted, this value reverts to// `serviceAccount:{emailid}` and the undeleted service account retains the// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email// address (plus unique identifier) representing a Google group that has been// recently deleted. For example,// `admins@example.com?uid=123456789012345678901`. If the group is recovered,// this value reverts to `group:{emailid}` and the recovered group retains the// role in the binding. *// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool// _id}/subject/{subject_attribute_value}`: Deleted single identity in a// workforce identity pool. For example,// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po// ol-id/subject/my-subject-attribute-value`.Members []string `json:"members,omitempty"`// Role: Role that is assigned to the list of `members`, or principals. For// example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview// of the IAM roles and permissions, see the IAM documentation// (https://cloud.google.com/iam/docs/roles-overview). For a list of the// available pre-defined roles, see here// (https://cloud.google.com/iam/docs/understanding-roles).Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Condition") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Condition") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1Binding: Associates `members`, or principals, with a `role`.
func (GoogleIamV1Binding)MarshalJSON¶
func (sGoogleIamV1Binding) MarshalJSON() ([]byte,error)
typeGoogleIamV1GetIamPolicyRequest¶
type GoogleIamV1GetIamPolicyRequest struct {// Options: OPTIONAL: A `GetPolicyOptions` object for specifying options to// `GetIamPolicy`.Options *GoogleIamV1GetPolicyOptions `json:"options,omitempty"`// ForceSendFields is a list of field names (e.g. "Options") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Options") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1GetIamPolicyRequest: Request message for `GetIamPolicy` method.
func (GoogleIamV1GetIamPolicyRequest)MarshalJSON¶
func (sGoogleIamV1GetIamPolicyRequest) MarshalJSON() ([]byte,error)
typeGoogleIamV1GetPolicyOptions¶
type GoogleIamV1GetPolicyOptions struct {// RequestedPolicyVersion: Optional. The maximum policy version that will be// used to format the policy. Valid values are 0, 1, and 3. Requests specifying// an invalid value will be rejected. Requests for policies with any// conditional role bindings must specify version 3. Policies with no// conditional role bindings may specify any valid value or leave the field// unset. The policy in the response might use the policy version that you// specified, or it might use a lower policy version. For example, if you// specify version 3, but the policy has no conditional role bindings, the// response uses version 1. To learn which resources support conditions in// their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).RequestedPolicyVersionint64 `json:"requestedPolicyVersion,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestedPolicyVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestedPolicyVersion") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1GetPolicyOptions: Encapsulates settings provided to GetIamPolicy.
func (GoogleIamV1GetPolicyOptions)MarshalJSON¶
func (sGoogleIamV1GetPolicyOptions) MarshalJSON() ([]byte,error)
typeGoogleIamV1Policy¶
type GoogleIamV1Policy struct {// AuditConfigs: Specifies cloud audit logging configuration for this policy.AuditConfigs []*GoogleIamV1AuditConfig `json:"auditConfigs,omitempty"`// Bindings: Associates a list of `members`, or principals, with a `role`.// Optionally, may specify a `condition` that determines how and when the// `bindings` are applied. Each of the `bindings` must contain at least one// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals;// up to 250 of these principals can be Google groups. Each occurrence of a// principal counts towards these limits. For example, if the `bindings` grant// 50 different roles to `user:alice@example.com`, and not to any other// principal, then you can add another 1,450 principals to the `bindings` in// the `Policy`.Bindings []*GoogleIamV1Binding `json:"bindings,omitempty"`// Etag: `etag` is used for optimistic concurrency control as a way to help// prevent simultaneous updates of a policy from overwriting each other. It is// strongly suggested that systems make use of the `etag` in the// read-modify-write cycle to perform policy updates in order to avoid race// conditions: An `etag` is returned in the response to `getIamPolicy`, and// systems are expected to put that etag in the request to `setIamPolicy` to// ensure that their change will be applied to the same version of the policy.// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost.Etagstring `json:"etag,omitempty"`// Version: Specifies the format of the policy. Valid values are `0`, `1`, and// `3`. Requests that specify an invalid value are rejected. Any operation that// affects conditional role bindings must specify version `3`. This requirement// applies to the following operations: * Getting a policy that includes a// conditional role binding * Adding a conditional role binding to a policy *// Changing a conditional role binding in a policy * Removing any role binding,// with or without a condition, from a policy that includes conditions// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost. If a policy does not// include any conditions, operations on that policy may specify any valid// version or leave the field unset. To learn which resources support// conditions in their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Versionint64 `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuditConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuditConfigs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1Policy: An Identity and Access Management (IAM) policy, whichspecifies access controls for Google Cloud resources. A `Policy` is acollection of `bindings`. A `binding` binds one or more `members`, orprincipals, to a single `role`. Principals can be user accounts, serviceaccounts, Google groups, and domains (such as G Suite). A `role` is a namedlist of permissions; each `role` can be an IAM predefined role or auser-created custom role. For some types of Google Cloud resources, a`binding` can also specify a `condition`, which is a logical expression thatallows access to a resource only if the expression evaluates to `true`. Acondition can add constraints based on attributes of the request, theresource, or both. To learn which resources support conditions in their IAMpolicies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies). **JSONexample:** ``` { "bindings": [ { "role":"roles/resourcemanager.organizationAdmin", "members": ["user:mike@example.com", "group:admins@example.com", "domain:google.com","serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role":"roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com" ], "condition": { "title": "expirable access","description": "Does not grant access after Sep 2020", "expression":"request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag":"BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: -members: - user:mike@example.com - group:admins@example.com -domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.comrole: roles/resourcemanager.organizationAdmin - members: -user:eve@example.com role: roles/resourcemanager.organizationViewercondition: title: expirable access description: Does not grant access afterSep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z')etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features,see the IAM documentation (https://cloud.google.com/iam/docs/).
func (GoogleIamV1Policy)MarshalJSON¶
func (sGoogleIamV1Policy) MarshalJSON() ([]byte,error)
typeGoogleIamV1SetIamPolicyRequest¶
type GoogleIamV1SetIamPolicyRequest struct {// Policy: REQUIRED: The complete policy to be applied to the `resource`. The// size of the policy is limited to a few 10s of KB. An empty policy is a valid// policy but certain Google Cloud services (such as Projects) might reject// them.Policy *GoogleIamV1Policy `json:"policy,omitempty"`// UpdateMask: OPTIONAL: A FieldMask specifying which fields of the policy to// modify. Only the fields in the mask will be modified. If no mask is// provided, the following default mask is used: `paths: "bindings, etag"UpdateMaskstring `json:"updateMask,omitempty"`// ForceSendFields is a list of field names (e.g. "Policy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Policy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (GoogleIamV1SetIamPolicyRequest)MarshalJSON¶
func (sGoogleIamV1SetIamPolicyRequest) MarshalJSON() ([]byte,error)
typeGoogleIamV1TestIamPermissionsRequest¶
type GoogleIamV1TestIamPermissionsRequest struct {// Permissions: The set of permissions to check for the `resource`. Permissions// with wildcards (such as `*` or `storage.*`) are not allowed. For more// information see IAM Overview// (https://cloud.google.com/iam/docs/overview#permissions).Permissions []string `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1TestIamPermissionsRequest: Request message for`TestIamPermissions` method.
func (GoogleIamV1TestIamPermissionsRequest)MarshalJSON¶
func (sGoogleIamV1TestIamPermissionsRequest) MarshalJSON() ([]byte,error)
typeGoogleIamV1TestIamPermissionsResponse¶
type GoogleIamV1TestIamPermissionsResponse struct {// Permissions: A subset of `TestPermissionsRequest.permissions` that the// caller is allowed.Permissions []string `json:"permissions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleIamV1TestIamPermissionsResponse: Response message for`TestIamPermissions` method.
func (GoogleIamV1TestIamPermissionsResponse)MarshalJSON¶
func (sGoogleIamV1TestIamPermissionsResponse) MarshalJSON() ([]byte,error)
typeGoogleProtobufEmpty¶
type GoogleProtobufEmpty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}GoogleProtobufEmpty: A generic empty message that you can re-use to avoiddefining duplicated empty messages in your APIs. A typical example is to useit as the request or the response type of an API method. For instance:service Foo { rpc Bar(google.protobuf.Empty) returns(google.protobuf.Empty); }
typeGoogleTypeExpr¶
type GoogleTypeExpr struct {// Description: Optional. Description of the expression. This is a longer text// which describes the expression, e.g. when hovered over it in a UI.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `json:"expression,omitempty"`// Location: Optional. String indicating the location of the expression for// error reporting, e.g. a file name and a position in the file.Locationstring `json:"location,omitempty"`// Title: Optional. Title for the expression, i.e. a short string describing// its purpose. This can be used e.g. in UIs which allow to enter the// expression.Titlestring `json:"title,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GoogleTypeExpr: Represents a textual expression in the Common ExpressionLanguage (CEL) syntax. CEL is a C-like expression language. The syntax andsemantics of CEL are documented athttps://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determinesif a summary is less than 100 chars" expression: "document.summary.size() <100" Example (Equality): title: "Requestor is owner" description:"Determines if requestor is the document owner" expression: "document.owner== request.auth.claims.email" Example (Logic): title: "Public documents"description: "Determine whether the document should be publicly visible"expression: "document.type != 'private' && document.type != 'internal'"Example (Data Manipulation): title: "Notification string" description:"Create a notification string with a timestamp." expression: "'New messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.
func (GoogleTypeExpr)MarshalJSON¶
func (sGoogleTypeExpr) MarshalJSON() ([]byte,error)
typeProjectsDefaultSupportedIdpConfigsCreateCall¶
type ProjectsDefaultSupportedIdpConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsDefaultSupportedIdpConfigsCreateCall)Context¶
func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Context(ctxcontext.Context) *ProjectsDefaultSupportedIdpConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsDefaultSupportedIdpConfigsCreateCall)Do¶
func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig,error)
Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDefaultSupportedIdpConfigsCreateCall)Fields¶
func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsDefaultSupportedIdpConfigsCreateCall)Header¶
func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsDefaultSupportedIdpConfigsCreateCall)IdpId¶
func (c *ProjectsDefaultSupportedIdpConfigsCreateCall) IdpId(idpIdstring) *ProjectsDefaultSupportedIdpConfigsCreateCall
IdpId sets the optional parameter "idpId": The id of the Idp to create aconfig for. Call ListDefaultSupportedIdps for list of all default supportedIdps.
typeProjectsDefaultSupportedIdpConfigsDeleteCall¶
type ProjectsDefaultSupportedIdpConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsDefaultSupportedIdpConfigsDeleteCall)Context¶
func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsDefaultSupportedIdpConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsDefaultSupportedIdpConfigsDeleteCall)Do¶
func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsDefaultSupportedIdpConfigsDeleteCall)Fields¶
func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsDefaultSupportedIdpConfigsDeleteCall)Header¶
func (c *ProjectsDefaultSupportedIdpConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsDefaultSupportedIdpConfigsGetCall¶
type ProjectsDefaultSupportedIdpConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsDefaultSupportedIdpConfigsGetCall)Context¶
func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Context(ctxcontext.Context) *ProjectsDefaultSupportedIdpConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsDefaultSupportedIdpConfigsGetCall)Do¶
func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig,error)
Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDefaultSupportedIdpConfigsGetCall)Fields¶
func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsDefaultSupportedIdpConfigsGetCall)Header¶
func (c *ProjectsDefaultSupportedIdpConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsDefaultSupportedIdpConfigsGetCall)IfNoneMatch¶
func (c *ProjectsDefaultSupportedIdpConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsDefaultSupportedIdpConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsDefaultSupportedIdpConfigsListCall¶
type ProjectsDefaultSupportedIdpConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsDefaultSupportedIdpConfigsListCall)Context¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) Context(ctxcontext.Context) *ProjectsDefaultSupportedIdpConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsDefaultSupportedIdpConfigsListCall)Do¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse,error)
Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDefaultSupportedIdpConfigsListCall)Fields¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsDefaultSupportedIdpConfigsListCall)Header¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsDefaultSupportedIdpConfigsListCall)IfNoneMatch¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsDefaultSupportedIdpConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsDefaultSupportedIdpConfigsListCall)PageSize¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) PageSize(pageSizeint64) *ProjectsDefaultSupportedIdpConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsDefaultSupportedIdpConfigsListCall)PageToken¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) PageToken(pageTokenstring) *ProjectsDefaultSupportedIdpConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*ProjectsDefaultSupportedIdpConfigsListCall)Pages¶
func (c *ProjectsDefaultSupportedIdpConfigsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsDefaultSupportedIdpConfigsPatchCall¶
type ProjectsDefaultSupportedIdpConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsDefaultSupportedIdpConfigsPatchCall)Context¶
func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Context(ctxcontext.Context) *ProjectsDefaultSupportedIdpConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsDefaultSupportedIdpConfigsPatchCall)Do¶
func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig,error)
Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDefaultSupportedIdpConfigsPatchCall)Fields¶
func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsDefaultSupportedIdpConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsDefaultSupportedIdpConfigsPatchCall)Header¶
func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsDefaultSupportedIdpConfigsPatchCall)UpdateMask¶
func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsDefaultSupportedIdpConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsDefaultSupportedIdpConfigsService¶
type ProjectsDefaultSupportedIdpConfigsService struct {// contains filtered or unexported fields}funcNewProjectsDefaultSupportedIdpConfigsService¶
func NewProjectsDefaultSupportedIdpConfigsService(s *Service) *ProjectsDefaultSupportedIdpConfigsService
func (*ProjectsDefaultSupportedIdpConfigsService)Create¶
func (r *ProjectsDefaultSupportedIdpConfigsService) Create(parentstring, googlecloudidentitytoolkitadminv2defaultsupportedidpconfig *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig) *ProjectsDefaultSupportedIdpConfigsCreateCall
Create: Create a default supported Idp configuration for an Identity Toolkitproject.
- parent: The parent resource name where the config to be created, forexample: "projects/my-awesome-project".
func (*ProjectsDefaultSupportedIdpConfigsService)Delete¶
func (r *ProjectsDefaultSupportedIdpConfigsService) Delete(namestring) *ProjectsDefaultSupportedIdpConfigsDeleteCall
Delete: Delete a default supported Idp configuration for an Identity Toolkitproject.
- name: The resource name of the config, for example:"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".
func (*ProjectsDefaultSupportedIdpConfigsService)Get¶
func (r *ProjectsDefaultSupportedIdpConfigsService) Get(namestring) *ProjectsDefaultSupportedIdpConfigsGetCall
Get: Retrieve a default supported Idp configuration for an Identity Toolkitproject.
- name: The resource name of the config, for example:"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".
func (*ProjectsDefaultSupportedIdpConfigsService)List¶
func (r *ProjectsDefaultSupportedIdpConfigsService) List(parentstring) *ProjectsDefaultSupportedIdpConfigsListCall
List: List all default supported Idp configurations for an Identity Toolkitproject.
- parent: The parent resource name, for example,"projects/my-awesome-project".
func (*ProjectsDefaultSupportedIdpConfigsService)Patch¶
func (r *ProjectsDefaultSupportedIdpConfigsService) Patch(namestring, googlecloudidentitytoolkitadminv2defaultsupportedidpconfig *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig) *ProjectsDefaultSupportedIdpConfigsPatchCall
Patch: Update a default supported Idp configuration for an Identity Toolkitproject.
- name: The name of the DefaultSupportedIdpConfig resource, for example:"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".
typeProjectsGetConfigCall¶
type ProjectsGetConfigCall struct {// contains filtered or unexported fields}func (*ProjectsGetConfigCall)Context¶
func (c *ProjectsGetConfigCall) Context(ctxcontext.Context) *ProjectsGetConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsGetConfigCall)Do¶
func (c *ProjectsGetConfigCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Config,error)
Do executes the "identitytoolkit.projects.getConfig" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2Config.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsGetConfigCall)Fields¶
func (c *ProjectsGetConfigCall) Fields(s ...googleapi.Field) *ProjectsGetConfigCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsGetConfigCall)Header¶
func (c *ProjectsGetConfigCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsGetConfigCall)IfNoneMatch¶
func (c *ProjectsGetConfigCall) IfNoneMatch(entityTagstring) *ProjectsGetConfigCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsIdentityPlatformInitializeAuthCall¶added inv0.96.0
type ProjectsIdentityPlatformInitializeAuthCall struct {// contains filtered or unexported fields}func (*ProjectsIdentityPlatformInitializeAuthCall)Context¶added inv0.96.0
func (c *ProjectsIdentityPlatformInitializeAuthCall) Context(ctxcontext.Context) *ProjectsIdentityPlatformInitializeAuthCall
Context sets the context to be used in this call's Do method.
func (*ProjectsIdentityPlatformInitializeAuthCall)Do¶added inv0.96.0
func (c *ProjectsIdentityPlatformInitializeAuthCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse,error)
Do executes the "identitytoolkit.projects.identityPlatform.initializeAuth" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsIdentityPlatformInitializeAuthCall)Fields¶added inv0.96.0
func (c *ProjectsIdentityPlatformInitializeAuthCall) Fields(s ...googleapi.Field) *ProjectsIdentityPlatformInitializeAuthCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsIdentityPlatformInitializeAuthCall)Header¶added inv0.96.0
func (c *ProjectsIdentityPlatformInitializeAuthCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsIdentityPlatformService¶added inv0.96.0
type ProjectsIdentityPlatformService struct {// contains filtered or unexported fields}funcNewProjectsIdentityPlatformService¶added inv0.96.0
func NewProjectsIdentityPlatformService(s *Service) *ProjectsIdentityPlatformService
func (*ProjectsIdentityPlatformService)InitializeAuth¶added inv0.96.0
func (r *ProjectsIdentityPlatformService) InitializeAuth(projectstring, googlecloudidentitytoolkitadminv2initializeidentityplatformrequest *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest) *ProjectsIdentityPlatformInitializeAuthCall
InitializeAuth: Initialize Identity Platform for a Cloud project. IdentityPlatform is an end-to-end authentication system for third-party users toaccess your apps and services. These could include mobile/web apps, games,APIs and beyond. This is the publicly available variant ofEnableIdentityPlatform that is only available to billing-enabled projects.
- project: The resource name of the target project the developer wants toenable Identity Platform for.
typeProjectsInboundSamlConfigsCreateCall¶
type ProjectsInboundSamlConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsInboundSamlConfigsCreateCall)Context¶
func (c *ProjectsInboundSamlConfigsCreateCall) Context(ctxcontext.Context) *ProjectsInboundSamlConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsInboundSamlConfigsCreateCall)Do¶
func (c *ProjectsInboundSamlConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig,error)
Do executes the "identitytoolkit.projects.inboundSamlConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsInboundSamlConfigsCreateCall)Fields¶
func (c *ProjectsInboundSamlConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsInboundSamlConfigsCreateCall)Header¶
func (c *ProjectsInboundSamlConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsInboundSamlConfigsCreateCall)InboundSamlConfigId¶
func (c *ProjectsInboundSamlConfigsCreateCall) InboundSamlConfigId(inboundSamlConfigIdstring) *ProjectsInboundSamlConfigsCreateCall
InboundSamlConfigId sets the optional parameter "inboundSamlConfigId": Theid to use for this config.
typeProjectsInboundSamlConfigsDeleteCall¶
type ProjectsInboundSamlConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsInboundSamlConfigsDeleteCall)Context¶
func (c *ProjectsInboundSamlConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsInboundSamlConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsInboundSamlConfigsDeleteCall)Do¶
func (c *ProjectsInboundSamlConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.inboundSamlConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsInboundSamlConfigsDeleteCall)Fields¶
func (c *ProjectsInboundSamlConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsInboundSamlConfigsDeleteCall)Header¶
func (c *ProjectsInboundSamlConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsInboundSamlConfigsGetCall¶
type ProjectsInboundSamlConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsInboundSamlConfigsGetCall)Context¶
func (c *ProjectsInboundSamlConfigsGetCall) Context(ctxcontext.Context) *ProjectsInboundSamlConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsInboundSamlConfigsGetCall)Do¶
func (c *ProjectsInboundSamlConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig,error)
Do executes the "identitytoolkit.projects.inboundSamlConfigs.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsInboundSamlConfigsGetCall)Fields¶
func (c *ProjectsInboundSamlConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsInboundSamlConfigsGetCall)Header¶
func (c *ProjectsInboundSamlConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsInboundSamlConfigsGetCall)IfNoneMatch¶
func (c *ProjectsInboundSamlConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsInboundSamlConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsInboundSamlConfigsListCall¶
type ProjectsInboundSamlConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsInboundSamlConfigsListCall)Context¶
func (c *ProjectsInboundSamlConfigsListCall) Context(ctxcontext.Context) *ProjectsInboundSamlConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsInboundSamlConfigsListCall)Do¶
func (c *ProjectsInboundSamlConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse,error)
Do executes the "identitytoolkit.projects.inboundSamlConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsInboundSamlConfigsListCall)Fields¶
func (c *ProjectsInboundSamlConfigsListCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsInboundSamlConfigsListCall)Header¶
func (c *ProjectsInboundSamlConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsInboundSamlConfigsListCall)IfNoneMatch¶
func (c *ProjectsInboundSamlConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsInboundSamlConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsInboundSamlConfigsListCall)PageSize¶
func (c *ProjectsInboundSamlConfigsListCall) PageSize(pageSizeint64) *ProjectsInboundSamlConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsInboundSamlConfigsListCall)PageToken¶
func (c *ProjectsInboundSamlConfigsListCall) PageToken(pageTokenstring) *ProjectsInboundSamlConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*ProjectsInboundSamlConfigsListCall)Pages¶
func (c *ProjectsInboundSamlConfigsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsInboundSamlConfigsPatchCall¶
type ProjectsInboundSamlConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsInboundSamlConfigsPatchCall)Context¶
func (c *ProjectsInboundSamlConfigsPatchCall) Context(ctxcontext.Context) *ProjectsInboundSamlConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsInboundSamlConfigsPatchCall)Do¶
func (c *ProjectsInboundSamlConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig,error)
Do executes the "identitytoolkit.projects.inboundSamlConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsInboundSamlConfigsPatchCall)Fields¶
func (c *ProjectsInboundSamlConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsInboundSamlConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsInboundSamlConfigsPatchCall)Header¶
func (c *ProjectsInboundSamlConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsInboundSamlConfigsPatchCall)UpdateMask¶
func (c *ProjectsInboundSamlConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsInboundSamlConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. Empty update mask will result in updating nothing. For the`FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsInboundSamlConfigsService¶
type ProjectsInboundSamlConfigsService struct {// contains filtered or unexported fields}funcNewProjectsInboundSamlConfigsService¶
func NewProjectsInboundSamlConfigsService(s *Service) *ProjectsInboundSamlConfigsService
func (*ProjectsInboundSamlConfigsService)Create¶
func (r *ProjectsInboundSamlConfigsService) Create(parentstring, googlecloudidentitytoolkitadminv2inboundsamlconfig *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) *ProjectsInboundSamlConfigsCreateCall
Create: Create an inbound SAML configuration for an Identity Toolkitproject.
- parent: The parent resource name where the config to be created, forexample: "projects/my-awesome-project".
func (*ProjectsInboundSamlConfigsService)Delete¶
func (r *ProjectsInboundSamlConfigsService) Delete(namestring) *ProjectsInboundSamlConfigsDeleteCall
Delete: Delete an inbound SAML configuration for an Identity Toolkitproject.
- name: The resource name of the config to be deleted, for example:'projects/my-awesome-project/inboundSamlConfigs/my-config-id'.
func (*ProjectsInboundSamlConfigsService)Get¶
func (r *ProjectsInboundSamlConfigsService) Get(namestring) *ProjectsInboundSamlConfigsGetCall
Get: Retrieve an inbound SAML configuration for an Identity Toolkit project.
- name: The resource name of the config, for example:'projects/my-awesome-project/inboundSamlConfigs/my-config-id'.
func (*ProjectsInboundSamlConfigsService)List¶
func (r *ProjectsInboundSamlConfigsService) List(parentstring) *ProjectsInboundSamlConfigsListCall
List: List all inbound SAML configurations for an Identity Toolkit project.
- parent: The parent resource name, for example,"projects/my-awesome-project".
func (*ProjectsInboundSamlConfigsService)Patch¶
func (r *ProjectsInboundSamlConfigsService) Patch(namestring, googlecloudidentitytoolkitadminv2inboundsamlconfig *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) *ProjectsInboundSamlConfigsPatchCall
Patch: Update an inbound SAML configuration for an Identity Toolkit project.
- name: The name of the InboundSamlConfig resource, for example:'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignoredduring create requests.
typeProjectsOauthIdpConfigsCreateCall¶
type ProjectsOauthIdpConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsOauthIdpConfigsCreateCall)Context¶
func (c *ProjectsOauthIdpConfigsCreateCall) Context(ctxcontext.Context) *ProjectsOauthIdpConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsOauthIdpConfigsCreateCall)Do¶
func (c *ProjectsOauthIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig,error)
Do executes the "identitytoolkit.projects.oauthIdpConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsOauthIdpConfigsCreateCall)Fields¶
func (c *ProjectsOauthIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsOauthIdpConfigsCreateCall)Header¶
func (c *ProjectsOauthIdpConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsOauthIdpConfigsCreateCall)OauthIdpConfigId¶
func (c *ProjectsOauthIdpConfigsCreateCall) OauthIdpConfigId(oauthIdpConfigIdstring) *ProjectsOauthIdpConfigsCreateCall
OauthIdpConfigId sets the optional parameter "oauthIdpConfigId": The id touse for this config.
typeProjectsOauthIdpConfigsDeleteCall¶
type ProjectsOauthIdpConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsOauthIdpConfigsDeleteCall)Context¶
func (c *ProjectsOauthIdpConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsOauthIdpConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsOauthIdpConfigsDeleteCall)Do¶
func (c *ProjectsOauthIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.oauthIdpConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsOauthIdpConfigsDeleteCall)Fields¶
func (c *ProjectsOauthIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsOauthIdpConfigsDeleteCall)Header¶
func (c *ProjectsOauthIdpConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsOauthIdpConfigsGetCall¶
type ProjectsOauthIdpConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsOauthIdpConfigsGetCall)Context¶
func (c *ProjectsOauthIdpConfigsGetCall) Context(ctxcontext.Context) *ProjectsOauthIdpConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsOauthIdpConfigsGetCall)Do¶
func (c *ProjectsOauthIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig,error)
Do executes the "identitytoolkit.projects.oauthIdpConfigs.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsOauthIdpConfigsGetCall)Fields¶
func (c *ProjectsOauthIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsOauthIdpConfigsGetCall)Header¶
func (c *ProjectsOauthIdpConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsOauthIdpConfigsGetCall)IfNoneMatch¶
func (c *ProjectsOauthIdpConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsOauthIdpConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsOauthIdpConfigsListCall¶
type ProjectsOauthIdpConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsOauthIdpConfigsListCall)Context¶
func (c *ProjectsOauthIdpConfigsListCall) Context(ctxcontext.Context) *ProjectsOauthIdpConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsOauthIdpConfigsListCall)Do¶
func (c *ProjectsOauthIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse,error)
Do executes the "identitytoolkit.projects.oauthIdpConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOauthIdpConfigsListCall)Fields¶
func (c *ProjectsOauthIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsOauthIdpConfigsListCall)Header¶
func (c *ProjectsOauthIdpConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsOauthIdpConfigsListCall)IfNoneMatch¶
func (c *ProjectsOauthIdpConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsOauthIdpConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsOauthIdpConfigsListCall)PageSize¶
func (c *ProjectsOauthIdpConfigsListCall) PageSize(pageSizeint64) *ProjectsOauthIdpConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsOauthIdpConfigsListCall)PageToken¶
func (c *ProjectsOauthIdpConfigsListCall) PageToken(pageTokenstring) *ProjectsOauthIdpConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*ProjectsOauthIdpConfigsListCall)Pages¶
func (c *ProjectsOauthIdpConfigsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsOauthIdpConfigsPatchCall¶
type ProjectsOauthIdpConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsOauthIdpConfigsPatchCall)Context¶
func (c *ProjectsOauthIdpConfigsPatchCall) Context(ctxcontext.Context) *ProjectsOauthIdpConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsOauthIdpConfigsPatchCall)Do¶
func (c *ProjectsOauthIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig,error)
Do executes the "identitytoolkit.projects.oauthIdpConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsOauthIdpConfigsPatchCall)Fields¶
func (c *ProjectsOauthIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsOauthIdpConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsOauthIdpConfigsPatchCall)Header¶
func (c *ProjectsOauthIdpConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsOauthIdpConfigsPatchCall)UpdateMask¶
func (c *ProjectsOauthIdpConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsOauthIdpConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. Empty update mask will result in updating nothing. For the`FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsOauthIdpConfigsService¶
type ProjectsOauthIdpConfigsService struct {// contains filtered or unexported fields}funcNewProjectsOauthIdpConfigsService¶
func NewProjectsOauthIdpConfigsService(s *Service) *ProjectsOauthIdpConfigsService
func (*ProjectsOauthIdpConfigsService)Create¶
func (r *ProjectsOauthIdpConfigsService) Create(parentstring, googlecloudidentitytoolkitadminv2oauthidpconfig *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig) *ProjectsOauthIdpConfigsCreateCall
Create: Create an Oidc Idp configuration for an Identity Toolkit project.
- parent: The parent resource name where the config to be created, forexample: "projects/my-awesome-project".
func (*ProjectsOauthIdpConfigsService)Delete¶
func (r *ProjectsOauthIdpConfigsService) Delete(namestring) *ProjectsOauthIdpConfigsDeleteCall
Delete: Delete an Oidc Idp configuration for an Identity Toolkit project.
- name: The resource name of the config to be deleted, for example:'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.
func (*ProjectsOauthIdpConfigsService)Get¶
func (r *ProjectsOauthIdpConfigsService) Get(namestring) *ProjectsOauthIdpConfigsGetCall
Get: Retrieve an Oidc Idp configuration for an Identity Toolkit project.
- name: The resource name of the config, for example:'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.
func (*ProjectsOauthIdpConfigsService)List¶
func (r *ProjectsOauthIdpConfigsService) List(parentstring) *ProjectsOauthIdpConfigsListCall
List: List all Oidc Idp configurations for an Identity Toolkit project.
- parent: The parent resource name, for example,"projects/my-awesome-project".
func (*ProjectsOauthIdpConfigsService)Patch¶
func (r *ProjectsOauthIdpConfigsService) Patch(namestring, googlecloudidentitytoolkitadminv2oauthidpconfig *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig) *ProjectsOauthIdpConfigsPatchCall
Patch: Update an Oidc Idp configuration for an Identity Toolkit project.
- name: The name of the OAuthIdpConfig resource, for example:'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignoredduring create requests.
typeProjectsService¶
type ProjectsService struct {DefaultSupportedIdpConfigs *ProjectsDefaultSupportedIdpConfigsServiceIdentityPlatform *ProjectsIdentityPlatformServiceInboundSamlConfigs *ProjectsInboundSamlConfigsServiceOauthIdpConfigs *ProjectsOauthIdpConfigsServiceTenants *ProjectsTenantsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService)GetConfig¶
func (r *ProjectsService) GetConfig(namestring) *ProjectsGetConfigCall
GetConfig: Retrieve an Identity Toolkit project configuration.
- name: The resource name of the config, for example:"projects/my-awesome-project/config".
func (*ProjectsService)UpdateConfig¶
func (r *ProjectsService) UpdateConfig(namestring, googlecloudidentitytoolkitadminv2config *GoogleCloudIdentitytoolkitAdminV2Config) *ProjectsUpdateConfigCall
UpdateConfig: Update an Identity Toolkit project configuration.
- name: Output only. The name of the Config resource. Example:"projects/my-awesome-project/config".
typeProjectsTenantsCreateCall¶
type ProjectsTenantsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsCreateCall)Context¶
func (c *ProjectsTenantsCreateCall) Context(ctxcontext.Context) *ProjectsTenantsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsCreateCall)Do¶
func (c *ProjectsTenantsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Tenant,error)
Do executes the "identitytoolkit.projects.tenants.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2Tenant.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsCreateCall)Fields¶
func (c *ProjectsTenantsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsCreateCall)Header¶
func (c *ProjectsTenantsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsDefaultSupportedIdpConfigsCreateCall¶
type ProjectsTenantsDefaultSupportedIdpConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall)Context¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Context(ctxcontext.Context) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall)Do¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig,error)
Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall)Fields¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall)Header¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall)IdpId¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) IdpId(idpIdstring) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
IdpId sets the optional parameter "idpId": The id of the Idp to create aconfig for. Call ListDefaultSupportedIdps for list of all default supportedIdps.
typeProjectsTenantsDefaultSupportedIdpConfigsDeleteCall¶
type ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall)Context¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall)Do¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall)Fields¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall)Header¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsDefaultSupportedIdpConfigsGetCall¶
type ProjectsTenantsDefaultSupportedIdpConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall)Context¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Context(ctxcontext.Context) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall)Do¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig,error)
Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall)Fields¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall)Header¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall)IfNoneMatch¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsTenantsDefaultSupportedIdpConfigsListCall¶
type ProjectsTenantsDefaultSupportedIdpConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)Context¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Context(ctxcontext.Context) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)Do¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse,error)
Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)Fields¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)Header¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)IfNoneMatch¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)PageSize¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) PageSize(pageSizeint64) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)PageToken¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) PageToken(pageTokenstring) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall)Pages¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsTenantsDefaultSupportedIdpConfigsPatchCall¶
type ProjectsTenantsDefaultSupportedIdpConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall)Context¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Context(ctxcontext.Context) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall)Do¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig,error)
Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall)Fields¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall)Header¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall)UpdateMask¶
func (c *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsTenantsDefaultSupportedIdpConfigsService¶
type ProjectsTenantsDefaultSupportedIdpConfigsService struct {// contains filtered or unexported fields}funcNewProjectsTenantsDefaultSupportedIdpConfigsService¶
func NewProjectsTenantsDefaultSupportedIdpConfigsService(s *Service) *ProjectsTenantsDefaultSupportedIdpConfigsService
func (*ProjectsTenantsDefaultSupportedIdpConfigsService)Create¶
func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Create(parentstring, googlecloudidentitytoolkitadminv2defaultsupportedidpconfig *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig) *ProjectsTenantsDefaultSupportedIdpConfigsCreateCall
Create: Create a default supported Idp configuration for an Identity Toolkitproject.
- parent: The parent resource name where the config to be created, forexample: "projects/my-awesome-project".
func (*ProjectsTenantsDefaultSupportedIdpConfigsService)Delete¶
func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Delete(namestring) *ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall
Delete: Delete a default supported Idp configuration for an Identity Toolkitproject.
- name: The resource name of the config, for example:"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".
func (*ProjectsTenantsDefaultSupportedIdpConfigsService)Get¶
func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Get(namestring) *ProjectsTenantsDefaultSupportedIdpConfigsGetCall
Get: Retrieve a default supported Idp configuration for an Identity Toolkitproject.
- name: The resource name of the config, for example:"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".
func (*ProjectsTenantsDefaultSupportedIdpConfigsService)List¶
func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) List(parentstring) *ProjectsTenantsDefaultSupportedIdpConfigsListCall
List: List all default supported Idp configurations for an Identity Toolkitproject.
- parent: The parent resource name, for example,"projects/my-awesome-project".
func (*ProjectsTenantsDefaultSupportedIdpConfigsService)Patch¶
func (r *ProjectsTenantsDefaultSupportedIdpConfigsService) Patch(namestring, googlecloudidentitytoolkitadminv2defaultsupportedidpconfig *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig) *ProjectsTenantsDefaultSupportedIdpConfigsPatchCall
Patch: Update a default supported Idp configuration for an Identity Toolkitproject.
- name: The name of the DefaultSupportedIdpConfig resource, for example:"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".
typeProjectsTenantsDeleteCall¶
type ProjectsTenantsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsDeleteCall)Context¶
func (c *ProjectsTenantsDeleteCall) Context(ctxcontext.Context) *ProjectsTenantsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsDeleteCall)Do¶
func (c *ProjectsTenantsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.tenants.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsTenantsDeleteCall)Fields¶
func (c *ProjectsTenantsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsDeleteCall)Header¶
func (c *ProjectsTenantsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsGetCall¶
type ProjectsTenantsGetCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsGetCall)Context¶
func (c *ProjectsTenantsGetCall) Context(ctxcontext.Context) *ProjectsTenantsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsGetCall)Do¶
func (c *ProjectsTenantsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Tenant,error)
Do executes the "identitytoolkit.projects.tenants.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2Tenant.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsGetCall)Fields¶
func (c *ProjectsTenantsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsGetCall)Header¶
func (c *ProjectsTenantsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsGetCall)IfNoneMatch¶
func (c *ProjectsTenantsGetCall) IfNoneMatch(entityTagstring) *ProjectsTenantsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsTenantsGetIamPolicyCall¶
type ProjectsTenantsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsGetIamPolicyCall)Context¶
func (c *ProjectsTenantsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsTenantsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsGetIamPolicyCall)Do¶
func (c *ProjectsTenantsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy,error)
Do executes the "identitytoolkit.projects.tenants.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsTenantsGetIamPolicyCall)Fields¶
func (c *ProjectsTenantsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsTenantsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsGetIamPolicyCall)Header¶
func (c *ProjectsTenantsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsInboundSamlConfigsCreateCall¶
type ProjectsTenantsInboundSamlConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsInboundSamlConfigsCreateCall)Context¶
func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Context(ctxcontext.Context) *ProjectsTenantsInboundSamlConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsInboundSamlConfigsCreateCall)Do¶
func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig,error)
Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsInboundSamlConfigsCreateCall)Fields¶
func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsInboundSamlConfigsCreateCall)Header¶
func (c *ProjectsTenantsInboundSamlConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsInboundSamlConfigsCreateCall)InboundSamlConfigId¶
func (c *ProjectsTenantsInboundSamlConfigsCreateCall) InboundSamlConfigId(inboundSamlConfigIdstring) *ProjectsTenantsInboundSamlConfigsCreateCall
InboundSamlConfigId sets the optional parameter "inboundSamlConfigId": Theid to use for this config.
typeProjectsTenantsInboundSamlConfigsDeleteCall¶
type ProjectsTenantsInboundSamlConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsInboundSamlConfigsDeleteCall)Context¶
func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsTenantsInboundSamlConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsInboundSamlConfigsDeleteCall)Do¶
func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsTenantsInboundSamlConfigsDeleteCall)Fields¶
func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsInboundSamlConfigsDeleteCall)Header¶
func (c *ProjectsTenantsInboundSamlConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsInboundSamlConfigsGetCall¶
type ProjectsTenantsInboundSamlConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsInboundSamlConfigsGetCall)Context¶
func (c *ProjectsTenantsInboundSamlConfigsGetCall) Context(ctxcontext.Context) *ProjectsTenantsInboundSamlConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsInboundSamlConfigsGetCall)Do¶
func (c *ProjectsTenantsInboundSamlConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig,error)
Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsInboundSamlConfigsGetCall)Fields¶
func (c *ProjectsTenantsInboundSamlConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsInboundSamlConfigsGetCall)Header¶
func (c *ProjectsTenantsInboundSamlConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsInboundSamlConfigsGetCall)IfNoneMatch¶
func (c *ProjectsTenantsInboundSamlConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsTenantsInboundSamlConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsTenantsInboundSamlConfigsListCall¶
type ProjectsTenantsInboundSamlConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsInboundSamlConfigsListCall)Context¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) Context(ctxcontext.Context) *ProjectsTenantsInboundSamlConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsInboundSamlConfigsListCall)Do¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse,error)
Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsTenantsInboundSamlConfigsListCall)Fields¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsInboundSamlConfigsListCall)Header¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsInboundSamlConfigsListCall)IfNoneMatch¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsTenantsInboundSamlConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsTenantsInboundSamlConfigsListCall)PageSize¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) PageSize(pageSizeint64) *ProjectsTenantsInboundSamlConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsTenantsInboundSamlConfigsListCall)PageToken¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) PageToken(pageTokenstring) *ProjectsTenantsInboundSamlConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*ProjectsTenantsInboundSamlConfigsListCall)Pages¶
func (c *ProjectsTenantsInboundSamlConfigsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsTenantsInboundSamlConfigsPatchCall¶
type ProjectsTenantsInboundSamlConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsInboundSamlConfigsPatchCall)Context¶
func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Context(ctxcontext.Context) *ProjectsTenantsInboundSamlConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsInboundSamlConfigsPatchCall)Do¶
func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig,error)
Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsInboundSamlConfigsPatchCall)Fields¶
func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsInboundSamlConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsInboundSamlConfigsPatchCall)Header¶
func (c *ProjectsTenantsInboundSamlConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsInboundSamlConfigsPatchCall)UpdateMask¶
func (c *ProjectsTenantsInboundSamlConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsTenantsInboundSamlConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. Empty update mask will result in updating nothing. For the`FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsTenantsInboundSamlConfigsService¶
type ProjectsTenantsInboundSamlConfigsService struct {// contains filtered or unexported fields}funcNewProjectsTenantsInboundSamlConfigsService¶
func NewProjectsTenantsInboundSamlConfigsService(s *Service) *ProjectsTenantsInboundSamlConfigsService
func (*ProjectsTenantsInboundSamlConfigsService)Create¶
func (r *ProjectsTenantsInboundSamlConfigsService) Create(parentstring, googlecloudidentitytoolkitadminv2inboundsamlconfig *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) *ProjectsTenantsInboundSamlConfigsCreateCall
Create: Create an inbound SAML configuration for an Identity Toolkitproject.
- parent: The parent resource name where the config to be created, forexample: "projects/my-awesome-project".
func (*ProjectsTenantsInboundSamlConfigsService)Delete¶
func (r *ProjectsTenantsInboundSamlConfigsService) Delete(namestring) *ProjectsTenantsInboundSamlConfigsDeleteCall
Delete: Delete an inbound SAML configuration for an Identity Toolkitproject.
- name: The resource name of the config to be deleted, for example:'projects/my-awesome-project/inboundSamlConfigs/my-config-id'.
func (*ProjectsTenantsInboundSamlConfigsService)Get¶
func (r *ProjectsTenantsInboundSamlConfigsService) Get(namestring) *ProjectsTenantsInboundSamlConfigsGetCall
Get: Retrieve an inbound SAML configuration for an Identity Toolkit project.
- name: The resource name of the config, for example:'projects/my-awesome-project/inboundSamlConfigs/my-config-id'.
func (*ProjectsTenantsInboundSamlConfigsService)List¶
func (r *ProjectsTenantsInboundSamlConfigsService) List(parentstring) *ProjectsTenantsInboundSamlConfigsListCall
List: List all inbound SAML configurations for an Identity Toolkit project.
- parent: The parent resource name, for example,"projects/my-awesome-project".
func (*ProjectsTenantsInboundSamlConfigsService)Patch¶
func (r *ProjectsTenantsInboundSamlConfigsService) Patch(namestring, googlecloudidentitytoolkitadminv2inboundsamlconfig *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) *ProjectsTenantsInboundSamlConfigsPatchCall
Patch: Update an inbound SAML configuration for an Identity Toolkit project.
- name: The name of the InboundSamlConfig resource, for example:'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignoredduring create requests.
typeProjectsTenantsListCall¶
type ProjectsTenantsListCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsListCall)Context¶
func (c *ProjectsTenantsListCall) Context(ctxcontext.Context) *ProjectsTenantsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsListCall)Do¶
func (c *ProjectsTenantsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse,error)
Do executes the "identitytoolkit.projects.tenants.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsListCall)Fields¶
func (c *ProjectsTenantsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsListCall)Header¶
func (c *ProjectsTenantsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsListCall)IfNoneMatch¶
func (c *ProjectsTenantsListCall) IfNoneMatch(entityTagstring) *ProjectsTenantsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsTenantsListCall)PageSize¶
func (c *ProjectsTenantsListCall) PageSize(pageSizeint64) *ProjectsTenantsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return, capped at 1000. If not specified, the default value is20.
func (*ProjectsTenantsListCall)PageToken¶
func (c *ProjectsTenantsListCall) PageToken(pageTokenstring) *ProjectsTenantsListCall
PageToken sets the optional parameter "pageToken": The pagination token fromthe response of a previous request.
func (*ProjectsTenantsListCall)Pages¶
func (c *ProjectsTenantsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsTenantsOauthIdpConfigsCreateCall¶
type ProjectsTenantsOauthIdpConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsOauthIdpConfigsCreateCall)Context¶
func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Context(ctxcontext.Context) *ProjectsTenantsOauthIdpConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsOauthIdpConfigsCreateCall)Do¶
func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig,error)
Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsOauthIdpConfigsCreateCall)Fields¶
func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsOauthIdpConfigsCreateCall)Header¶
func (c *ProjectsTenantsOauthIdpConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsOauthIdpConfigsCreateCall)OauthIdpConfigId¶
func (c *ProjectsTenantsOauthIdpConfigsCreateCall) OauthIdpConfigId(oauthIdpConfigIdstring) *ProjectsTenantsOauthIdpConfigsCreateCall
OauthIdpConfigId sets the optional parameter "oauthIdpConfigId": The id touse for this config.
typeProjectsTenantsOauthIdpConfigsDeleteCall¶
type ProjectsTenantsOauthIdpConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsOauthIdpConfigsDeleteCall)Context¶
func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsTenantsOauthIdpConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsOauthIdpConfigsDeleteCall)Do¶
func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsTenantsOauthIdpConfigsDeleteCall)Fields¶
func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsOauthIdpConfigsDeleteCall)Header¶
func (c *ProjectsTenantsOauthIdpConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsOauthIdpConfigsGetCall¶
type ProjectsTenantsOauthIdpConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsOauthIdpConfigsGetCall)Context¶
func (c *ProjectsTenantsOauthIdpConfigsGetCall) Context(ctxcontext.Context) *ProjectsTenantsOauthIdpConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsOauthIdpConfigsGetCall)Do¶
func (c *ProjectsTenantsOauthIdpConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig,error)
Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsOauthIdpConfigsGetCall)Fields¶
func (c *ProjectsTenantsOauthIdpConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsOauthIdpConfigsGetCall)Header¶
func (c *ProjectsTenantsOauthIdpConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsOauthIdpConfigsGetCall)IfNoneMatch¶
func (c *ProjectsTenantsOauthIdpConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsTenantsOauthIdpConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsTenantsOauthIdpConfigsListCall¶
type ProjectsTenantsOauthIdpConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsOauthIdpConfigsListCall)Context¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) Context(ctxcontext.Context) *ProjectsTenantsOauthIdpConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsOauthIdpConfigsListCall)Do¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse,error)
Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsTenantsOauthIdpConfigsListCall)Fields¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsOauthIdpConfigsListCall)Header¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsOauthIdpConfigsListCall)IfNoneMatch¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsTenantsOauthIdpConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsTenantsOauthIdpConfigsListCall)PageSize¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) PageSize(pageSizeint64) *ProjectsTenantsOauthIdpConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsTenantsOauthIdpConfigsListCall)PageToken¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) PageToken(pageTokenstring) *ProjectsTenantsOauthIdpConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous List request, if any.
func (*ProjectsTenantsOauthIdpConfigsListCall)Pages¶
func (c *ProjectsTenantsOauthIdpConfigsListCall) Pages(ctxcontext.Context, f func(*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsTenantsOauthIdpConfigsPatchCall¶
type ProjectsTenantsOauthIdpConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsOauthIdpConfigsPatchCall)Context¶
func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Context(ctxcontext.Context) *ProjectsTenantsOauthIdpConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsOauthIdpConfigsPatchCall)Do¶
func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig,error)
Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsOauthIdpConfigsPatchCall)Fields¶
func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsOauthIdpConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsOauthIdpConfigsPatchCall)Header¶
func (c *ProjectsTenantsOauthIdpConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsOauthIdpConfigsPatchCall)UpdateMask¶
func (c *ProjectsTenantsOauthIdpConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsTenantsOauthIdpConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. Empty update mask will result in updating nothing. For the`FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsTenantsOauthIdpConfigsService¶
type ProjectsTenantsOauthIdpConfigsService struct {// contains filtered or unexported fields}funcNewProjectsTenantsOauthIdpConfigsService¶
func NewProjectsTenantsOauthIdpConfigsService(s *Service) *ProjectsTenantsOauthIdpConfigsService
func (*ProjectsTenantsOauthIdpConfigsService)Create¶
func (r *ProjectsTenantsOauthIdpConfigsService) Create(parentstring, googlecloudidentitytoolkitadminv2oauthidpconfig *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig) *ProjectsTenantsOauthIdpConfigsCreateCall
Create: Create an Oidc Idp configuration for an Identity Toolkit project.
- parent: The parent resource name where the config to be created, forexample: "projects/my-awesome-project".
func (*ProjectsTenantsOauthIdpConfigsService)Delete¶
func (r *ProjectsTenantsOauthIdpConfigsService) Delete(namestring) *ProjectsTenantsOauthIdpConfigsDeleteCall
Delete: Delete an Oidc Idp configuration for an Identity Toolkit project.
- name: The resource name of the config to be deleted, for example:'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.
func (*ProjectsTenantsOauthIdpConfigsService)Get¶
func (r *ProjectsTenantsOauthIdpConfigsService) Get(namestring) *ProjectsTenantsOauthIdpConfigsGetCall
Get: Retrieve an Oidc Idp configuration for an Identity Toolkit project.
- name: The resource name of the config, for example:'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.
func (*ProjectsTenantsOauthIdpConfigsService)List¶
func (r *ProjectsTenantsOauthIdpConfigsService) List(parentstring) *ProjectsTenantsOauthIdpConfigsListCall
List: List all Oidc Idp configurations for an Identity Toolkit project.
- parent: The parent resource name, for example,"projects/my-awesome-project".
func (*ProjectsTenantsOauthIdpConfigsService)Patch¶
func (r *ProjectsTenantsOauthIdpConfigsService) Patch(namestring, googlecloudidentitytoolkitadminv2oauthidpconfig *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig) *ProjectsTenantsOauthIdpConfigsPatchCall
Patch: Update an Oidc Idp configuration for an Identity Toolkit project.
- name: The name of the OAuthIdpConfig resource, for example:'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignoredduring create requests.
typeProjectsTenantsPatchCall¶
type ProjectsTenantsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsPatchCall)Context¶
func (c *ProjectsTenantsPatchCall) Context(ctxcontext.Context) *ProjectsTenantsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsPatchCall)Do¶
func (c *ProjectsTenantsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Tenant,error)
Do executes the "identitytoolkit.projects.tenants.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2Tenant.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsPatchCall)Fields¶
func (c *ProjectsTenantsPatchCall) Fields(s ...googleapi.Field) *ProjectsTenantsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsPatchCall)Header¶
func (c *ProjectsTenantsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsTenantsPatchCall)UpdateMask¶
func (c *ProjectsTenantsPatchCall) UpdateMask(updateMaskstring) *ProjectsTenantsPatchCall
UpdateMask sets the optional parameter "updateMask": If provided, onlyupdate fields set in the update mask. Otherwise, all settable fields will beupdated. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeProjectsTenantsService¶
type ProjectsTenantsService struct {DefaultSupportedIdpConfigs *ProjectsTenantsDefaultSupportedIdpConfigsServiceInboundSamlConfigs *ProjectsTenantsInboundSamlConfigsServiceOauthIdpConfigs *ProjectsTenantsOauthIdpConfigsService// contains filtered or unexported fields}funcNewProjectsTenantsService¶
func NewProjectsTenantsService(s *Service) *ProjectsTenantsService
func (*ProjectsTenantsService)Create¶
func (r *ProjectsTenantsService) Create(parentstring, googlecloudidentitytoolkitadminv2tenant *GoogleCloudIdentitytoolkitAdminV2Tenant) *ProjectsTenantsCreateCall
Create: Create a tenant. Requires write permission on the Agent project.
- parent: The parent resource name where the tenant will be created. Forexample, "projects/project1".
func (*ProjectsTenantsService)Delete¶
func (r *ProjectsTenantsService) Delete(namestring) *ProjectsTenantsDeleteCall
Delete: Delete a tenant. Requires write permission on the Agent project.
- name: Resource name of the tenant to delete.
func (*ProjectsTenantsService)Get¶
func (r *ProjectsTenantsService) Get(namestring) *ProjectsTenantsGetCall
Get: Get a tenant. Requires read permission on the Tenant resource.
- name: Resource name of the tenant to retrieve.
func (*ProjectsTenantsService)GetIamPolicy¶
func (r *ProjectsTenantsService) GetIamPolicy(resourcestring, googleiamv1getiampolicyrequest *GoogleIamV1GetIamPolicyRequest) *ProjectsTenantsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. An error isreturned if the resource does not exist. An empty policy is returned if theresource exists but does not have a policy set on it. Caller must have theright Google IAM permission on the resource.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsTenantsService)List¶
func (r *ProjectsTenantsService) List(parentstring) *ProjectsTenantsListCall
List: List tenants under the given agent project. Requires read permissionon the Agent project.
- parent: The parent resource name to list tenants for.
func (*ProjectsTenantsService)Patch¶
func (r *ProjectsTenantsService) Patch(namestring, googlecloudidentitytoolkitadminv2tenant *GoogleCloudIdentitytoolkitAdminV2Tenant) *ProjectsTenantsPatchCall
Patch: Update a tenant. Requires write permission on the Tenant resource.
- name: Output only. Resource name of a tenant. For example:"projects/{project-id}/tenants/{tenant-id}".
func (*ProjectsTenantsService)SetIamPolicy¶
func (r *ProjectsTenantsService) SetIamPolicy(resourcestring, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsTenantsSetIamPolicyCall
SetIamPolicy: Sets the access control policy for a resource. If the policyexists, it is replaced. Caller must have the right Google IAM permission onthe resource.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsTenantsService)TestIamPermissions¶
func (r *ProjectsTenantsService) TestIamPermissions(resourcestring, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsTenantsTestIamPermissionsCall
TestIamPermissions: Returns the caller's permissions on a resource. An erroris returned if the resource does not exist. A caller is not required to haveGoogle IAM permission to make this request.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsTenantsSetIamPolicyCall¶
type ProjectsTenantsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsSetIamPolicyCall)Context¶
func (c *ProjectsTenantsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsTenantsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsSetIamPolicyCall)Do¶
func (c *ProjectsTenantsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy,error)
Do executes the "identitytoolkit.projects.tenants.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsTenantsSetIamPolicyCall)Fields¶
func (c *ProjectsTenantsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsTenantsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsSetIamPolicyCall)Header¶
func (c *ProjectsTenantsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsTenantsTestIamPermissionsCall¶
type ProjectsTenantsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsTenantsTestIamPermissionsCall)Context¶
func (c *ProjectsTenantsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsTenantsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsTenantsTestIamPermissionsCall)Do¶
func (c *ProjectsTenantsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse,error)
Do executes the "identitytoolkit.projects.tenants.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsTenantsTestIamPermissionsCall)Fields¶
func (c *ProjectsTenantsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsTenantsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsTenantsTestIamPermissionsCall)Header¶
func (c *ProjectsTenantsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsUpdateConfigCall¶
type ProjectsUpdateConfigCall struct {// contains filtered or unexported fields}func (*ProjectsUpdateConfigCall)Context¶
func (c *ProjectsUpdateConfigCall) Context(ctxcontext.Context) *ProjectsUpdateConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsUpdateConfigCall)Do¶
func (c *ProjectsUpdateConfigCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2Config,error)
Do executes the "identitytoolkit.projects.updateConfig" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitAdminV2Config.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsUpdateConfigCall)Fields¶
func (c *ProjectsUpdateConfigCall) Fields(s ...googleapi.Field) *ProjectsUpdateConfigCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsUpdateConfigCall)Header¶
func (c *ProjectsUpdateConfigCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsUpdateConfigCall)UpdateMask¶
func (c *ProjectsUpdateConfigCall) UpdateMask(updateMaskstring) *ProjectsUpdateConfigCall
UpdateMask sets the optional parameter "updateMask": The update mask appliesto the resource. Fields set in the config but not included in this updatemask will be ignored. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentAccounts *AccountsServiceDefaultSupportedIdps *DefaultSupportedIdpsServiceProjects *ProjectsServiceV2 *V2Service// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeV2GetPasswordPolicyCall¶added inv0.123.0
type V2GetPasswordPolicyCall struct {// contains filtered or unexported fields}func (*V2GetPasswordPolicyCall)Context¶added inv0.123.0
func (c *V2GetPasswordPolicyCall) Context(ctxcontext.Context) *V2GetPasswordPolicyCall
Context sets the context to be used in this call's Do method.
func (*V2GetPasswordPolicyCall)Do¶added inv0.123.0
func (c *V2GetPasswordPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2PasswordPolicy,error)
Do executes the "identitytoolkit.getPasswordPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2PasswordPolicy.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*V2GetPasswordPolicyCall)Fields¶added inv0.123.0
func (c *V2GetPasswordPolicyCall) Fields(s ...googleapi.Field) *V2GetPasswordPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*V2GetPasswordPolicyCall)Header¶added inv0.123.0
func (c *V2GetPasswordPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*V2GetPasswordPolicyCall)IfNoneMatch¶added inv0.123.0
func (c *V2GetPasswordPolicyCall) IfNoneMatch(entityTagstring) *V2GetPasswordPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*V2GetPasswordPolicyCall)TenantId¶added inv0.123.0
func (c *V2GetPasswordPolicyCall) TenantId(tenantIdstring) *V2GetPasswordPolicyCall
TenantId sets the optional parameter "tenantId": The id of a tenant.
typeV2GetRecaptchaConfigCall¶added inv0.118.0
type V2GetRecaptchaConfigCall struct {// contains filtered or unexported fields}func (*V2GetRecaptchaConfigCall)ClientType¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) ClientType(clientTypestring) *V2GetRecaptchaConfigCall
ClientType sets the optional parameter "clientType": reCAPTCHA Enterpriseuses separate site keys for different client types. Specify the client typeto get the corresponding key.
Possible values:
"CLIENT_TYPE_UNSPECIFIED" - Client type is not specified."CLIENT_TYPE_WEB" - Client type is web."CLIENT_TYPE_ANDROID" - Client type is android."CLIENT_TYPE_IOS" - Client type is ios.
func (*V2GetRecaptchaConfigCall)Context¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) Context(ctxcontext.Context) *V2GetRecaptchaConfigCall
Context sets the context to be used in this call's Do method.
func (*V2GetRecaptchaConfigCall)Do¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitV2RecaptchaConfig,error)
Do executes the "identitytoolkit.getRecaptchaConfig" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudIdentitytoolkitV2RecaptchaConfig.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*V2GetRecaptchaConfigCall)Fields¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) Fields(s ...googleapi.Field) *V2GetRecaptchaConfigCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*V2GetRecaptchaConfigCall)Header¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*V2GetRecaptchaConfigCall)IfNoneMatch¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) IfNoneMatch(entityTagstring) *V2GetRecaptchaConfigCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*V2GetRecaptchaConfigCall)TenantId¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) TenantId(tenantIdstring) *V2GetRecaptchaConfigCall
TenantId sets the optional parameter "tenantId": The id of a tenant.
func (*V2GetRecaptchaConfigCall)Version¶added inv0.118.0
func (c *V2GetRecaptchaConfigCall) Version(versionstring) *V2GetRecaptchaConfigCall
Version sets the optional parameter "version": The reCAPTCHA version.
Possible values:
"RECAPTCHA_VERSION_UNSPECIFIED" - The reCAPTCHA version is not specified."RECAPTCHA_ENTERPRISE" - The reCAPTCHA enterprise.
typeV2Service¶added inv0.118.0
type V2Service struct {// contains filtered or unexported fields}funcNewV2Service¶added inv0.118.0
func (*V2Service)GetPasswordPolicy¶added inv0.123.0
func (r *V2Service) GetPasswordPolicy() *V2GetPasswordPolicyCall
GetPasswordPolicy: Gets password policy config set on the project or tenant.
func (*V2Service)GetRecaptchaConfig¶added inv0.118.0
func (r *V2Service) GetRecaptchaConfig() *V2GetRecaptchaConfigCall
GetRecaptchaConfig: Gets parameters needed for reCAPTCHA analysis.