identitytoolkit

package
v0.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2022 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package identitytoolkit provides access to the Identity Toolkit API.

For product documentation, see: https://cloud.google.com/identity-platform

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 for authentication.

For information on how to create and obtain Application Default Credentials, see https://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, use option.WithScopes:

identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithScopes(identitytoolkit.FirebaseScope))

To use an API key for authentication (note: some APIs do not support API keys), use 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 OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
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 settings
	FirebaseScope = "https://www.googleapis.com/auth/firebase"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsMfaEnrollmentFinalizeCall

type AccountsMfaEnrollmentFinalizeCall struct {
	// contains filtered or unexported fields
}

func (*AccountsMfaEnrollmentFinalizeCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsMfaEnrollmentFinalizeCall) Do

Do executes the "identitytoolkit.accounts.mfaEnrollment.finalize" call. Exactly one of *GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsMfaEnrollmentFinalizeCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsMfaEnrollmentFinalizeCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsMfaEnrollmentService

type AccountsMfaEnrollmentService struct {
	// contains filtered or unexported fields
}

func NewAccountsMfaEnrollmentService

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 an SMS 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 an account.

type AccountsMfaEnrollmentStartCall

type AccountsMfaEnrollmentStartCall struct {
	// contains filtered or unexported fields
}

func (*AccountsMfaEnrollmentStartCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsMfaEnrollmentStartCall) Do

Do executes the "identitytoolkit.accounts.mfaEnrollment.start" call. Exactly one of *GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse or error will be non-nil. 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 because http.StatusNotModified was returned.

func (*AccountsMfaEnrollmentStartCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsMfaEnrollmentStartCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsMfaEnrollmentWithdrawCall

type AccountsMfaEnrollmentWithdrawCall struct {
	// contains filtered or unexported fields
}

func (*AccountsMfaEnrollmentWithdrawCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsMfaEnrollmentWithdrawCall) Do

Do executes the "identitytoolkit.accounts.mfaEnrollment.withdraw" call. Exactly one of *GoogleCloudIdentitytoolkitV2WithdrawMfaResponse or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsMfaEnrollmentWithdrawCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsMfaEnrollmentWithdrawCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsMfaSignInFinalizeCall

type AccountsMfaSignInFinalizeCall struct {
	// contains filtered or unexported fields
}

func (*AccountsMfaSignInFinalizeCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsMfaSignInFinalizeCall) Do

Do executes the "identitytoolkit.accounts.mfaSignIn.finalize" call. Exactly one of *GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse.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 because http.StatusNotModified was returned.

func (*AccountsMfaSignInFinalizeCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsMfaSignInFinalizeCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsMfaSignInService

type AccountsMfaSignInService struct {
	// contains filtered or unexported fields
}

func NewAccountsMfaSignInService

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

type AccountsMfaSignInStartCall

type AccountsMfaSignInStartCall struct {
	// contains filtered or unexported fields
}

func (*AccountsMfaSignInStartCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsMfaSignInStartCall) Do

Do executes the "identitytoolkit.accounts.mfaSignIn.start" call. Exactly one of *GoogleCloudIdentitytoolkitV2StartMfaSignInResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitV2StartMfaSignInResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsMfaSignInStartCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsMfaSignInStartCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsService

type AccountsService struct {
	MfaEnrollment *AccountsMfaEnrollmentService

	MfaSignIn *AccountsMfaSignInService
	// contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

type DefaultSupportedIdpsListCall

type DefaultSupportedIdpsListCall struct {
	// contains filtered or unexported fields
}

func (*DefaultSupportedIdpsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DefaultSupportedIdpsListCall) Do

Do executes the "identitytoolkit.defaultSupportedIdps.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse.Ser verResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DefaultSupportedIdpsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DefaultSupportedIdpsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DefaultSupportedIdpsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*DefaultSupportedIdpsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*DefaultSupportedIdpsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*DefaultSupportedIdpsListCall) Pages

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.

type DefaultSupportedIdpsService

type DefaultSupportedIdpsService struct {
	// contains filtered or unexported fields
}

func NewDefaultSupportedIdpsService

func NewDefaultSupportedIdpsService(s *Service) *DefaultSupportedIdpsService

func (*DefaultSupportedIdpsService) List

List: List all default supported Idps.

type GoogleCloudIdentitytoolkitAdminV2Anonymous

type GoogleCloudIdentitytoolkitAdminV2Anonymous struct {
	// Enabled: Whether anonymous user auth is enabled for the project or
	// not.
	Enabled bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Anonymous: Configuration options related to authenticating an anonymous user.

func (*GoogleCloudIdentitytoolkitAdminV2Anonymous) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig

type GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig struct {
	// BundleIds: A list of Bundle ID's usable by this project
	BundleIds []string `json:"bundleIds,omitempty"`

	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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig: Additional config for SignInWithApple.

func (*GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig

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. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	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. However, any field with an empty value appearing in
	// NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig: Configuration related to Blocking Functions.

func (*GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ClientConfig

type GoogleCloudIdentitytoolkitAdminV2ClientConfig struct {
	// ApiKey: Output only. API key that can be used when making requests
	// for this project.
	ApiKey string `json:"apiKey,omitempty"`

	// FirebaseSubdomain: Output only. Firebase subdomain.
	FirebaseSubdomain string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ClientConfig: Options related to how clients making requests on behalf of a project should be configured.

func (*GoogleCloudIdentitytoolkitAdminV2ClientConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig: Options related to how clients making requests on behalf of a tenant should be configured.

func (*GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ClientPermissions

type GoogleCloudIdentitytoolkitAdminV2ClientPermissions struct {
	// DisabledUserDeletion: When true, end users cannot delete their
	// account on the associated project through any of our API methods
	DisabledUserDeletion bool `json:"disabledUserDeletion,omitempty"`

	// DisabledUserSignup: When true, end users cannot sign up for a new
	// account on the associated project through any of our API methods
	DisabledUserSignup bool `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. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ClientPermissions: Configuration related to restricting a user's ability to affect their account.

func (*GoogleCloudIdentitytoolkitAdminV2ClientPermissions) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig

type GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig struct {
	// KeyId: Key ID for the private key.
	KeyId string `json:"keyId,omitempty"`

	// PrivateKey: Private key used for signing the client secret JWT.
	PrivateKey string `json:"privateKey,omitempty"`

	// TeamId: Apple Developer Team ID.
	TeamId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig: Additional config for Apple for code flow.

func (*GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2Config

type GoogleCloudIdentitytoolkitAdminV2Config struct {
	// AuthorizedDomains: List of domains authorized for OAuth redirects
	AuthorizedDomains []string `json:"authorizedDomains,omitempty"`

	// AutodeleteAnonymousUsers: Whether anonymous users will be
	// auto-deleted after a period of 30 days.
	AutodeleteAnonymousUsers bool `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"`

	// Mfa: Configuration for this project's multi-factor authentication,
	// including whether it is active and what factors can be used for the
	// second factor
	Mfa *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig `json:"mfa,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"
	Name string `json:"name,omitempty"`

	// Notification: Configuration related to sending notifications to
	// users.
	Notification *GoogleCloudIdentitytoolkitAdminV2NotificationConfig `json:"notification,omitempty"`

	// Quota: Configuration related to quotas.
	Quota *GoogleCloudIdentitytoolkitAdminV2QuotaConfig `json:"quota,omitempty"`

	// SignIn: Configuration related to local sign in methods.
	SignIn *GoogleCloudIdentitytoolkitAdminV2SignInConfig `json:"signIn,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.
	Subtype string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Config: Represents an Identity Toolkit project.

func (*GoogleCloudIdentitytoolkitAdminV2Config) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2Config) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp

type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp struct {
	// Description: Description of the Idp
	Description string `json:"description,omitempty"`

	// IdpId: Id the of Idp
	IdpId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp: Standard Identity Toolkit-trusted IDPs.

func (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig

type GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig struct {
	// AppleSignInConfig: Additional config for Apple-based projects.
	AppleSignInConfig *GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig `json:"appleSignInConfig,omitempty"`

	// ClientId: OAuth client ID.
	ClientId string `json:"clientId,omitempty"`

	// ClientSecret: OAuth client secret.
	ClientSecret string `json:"clientSecret,omitempty"`

	// Enabled: True if allows the user to sign in with the provider.
	Enabled bool `json:"enabled,omitempty"`

	// Name: The name of the DefaultSupportedIdpConfig resource, for
	// example:
	// "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
	Name string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig: Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.

func (*GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2DnsInfo

type GoogleCloudIdentitytoolkitAdminV2DnsInfo struct {
	// CustomDomain: Output only. The applied verified custom domain.
	CustomDomain string `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.
	CustomDomainState string `json:"customDomainState,omitempty"`

	// DomainVerificationRequestTime: Output only. The timestamp of initial
	// request for the current domain verification.
	DomainVerificationRequestTime string `json:"domainVerificationRequestTime,omitempty"`

	// PendingCustomDomain: Output only. The custom domain that's to be
	// verified.
	PendingCustomDomain string `json:"pendingCustomDomain,omitempty"`

	// UseCustomDomain: Whether to use custom domain.
	UseCustomDomain bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2DnsInfo: Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain.

func (*GoogleCloudIdentitytoolkitAdminV2DnsInfo) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2DnsInfo) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitAdminV2Email

type GoogleCloudIdentitytoolkitAdminV2Email struct {
	// Enabled: Whether email auth is enabled for the project or not.
	Enabled bool `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.
	PasswordRequired bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Email: Configuration options related to authenticating a user by their email address.

func (*GoogleCloudIdentitytoolkitAdminV2Email) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2Email) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitAdminV2EmailTemplate

type GoogleCloudIdentitytoolkitAdminV2EmailTemplate struct {
	// Body: Email body
	Body string `json:"body,omitempty"`

	// BodyFormat: Email body format
	//
	// Possible values:
	//   "BODY_FORMAT_UNSPECIFIED" - Default value. Do not use.
	//   "PLAIN_TEXT" - Plain text
	//   "HTML" - HTML
	BodyFormat string `json:"bodyFormat,omitempty"`

	// Customized: Output only. Whether the body or subject of the email is
	// customized.
	Customized bool `json:"customized,omitempty"`

	// ReplyTo: Reply-to address
	ReplyTo string `json:"replyTo,omitempty"`

	// SenderDisplayName: Sender display name
	SenderDisplayName string `json:"senderDisplayName,omitempty"`

	// SenderLocalPart: Local part of From address
	SenderLocalPart string `json:"senderLocalPart,omitempty"`

	// Subject: Subject of the email
	Subject string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2EmailTemplate: Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send 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 GCP project's display name. %DISPLAY_NAME% - The user's display name.

func (*GoogleCloudIdentitytoolkitAdminV2EmailTemplate) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials

type GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials struct {
	// AccessToken: Whether to pass the user's OAuth identity provider's
	// access token.
	AccessToken bool `json:"accessToken,omitempty"`

	// IdToken: Whether to pass the user's OIDC identity provider's ID
	// token.
	IdToken bool `json:"idToken,omitempty"`

	// RefreshToken: Whether to pass the user's OAuth identity provider's
	// refresh token.
	RefreshToken bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials: Indicates which credentials to pass to the registered Blocking Functions.

func (*GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2HashConfig

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_SCRYPT
	Algorithm string `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.
	MemoryCost int64 `json:"memoryCost,omitempty"`

	// Rounds: Output only. How many rounds for hash calculation. Used by
	// scrypt and other similar password derivation algorithms.
	Rounds int64 `json:"rounds,omitempty"`

	// SaltSeparator: Output only. Non-printable character to be inserted
	// between the salt and plain text password in base64.
	SaltSeparator string `json:"saltSeparator,omitempty"`

	// SignerKey: Output only. Signer key in base64.
	SignerKey string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2HashConfig: History information of the hash algorithm and key. Different accounts' passwords may be generated by different version.

func (*GoogleCloudIdentitytoolkitAdminV2HashConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2IdpCertificate

type GoogleCloudIdentitytoolkitAdminV2IdpCertificate struct {
	// X509Certificate: The x509 certificate
	X509Certificate string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2IdpCertificate: The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP.

func (*GoogleCloudIdentitytoolkitAdminV2IdpCertificate) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2IdpConfig

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.
	IdpEntityId string `json:"idpEntityId,omitempty"`

	// SignRequest: Indicates if outbounding SAMLRequest should be signed.
	SignRequest bool `json:"signRequest,omitempty"`

	// SsoUrl: URL to send Authentication request to.
	SsoUrl string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2IdpConfig: The SAML IdP (Identity Provider) configuration when the project acts as the relying party.

func (*GoogleCloudIdentitytoolkitAdminV2IdpConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig

type GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig struct {
	// DisplayName: The config's display name set by developers.
	DisplayName string `json:"displayName,omitempty"`

	// Enabled: True if allows the user to sign in with the provider.
	Enabled bool `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.
	Name string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig: A pair of SAML RP-IDP configurations when the project acts as the relying party.

func (*GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2Inheritance

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.
	EmailSendingConfig bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Inheritance: Settings that the tenants will inherit from project level.

func (*GoogleCloudIdentitytoolkitAdminV2Inheritance) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest added in v0.96.0

type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest struct {
}

GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest: Request for InitializeIdentityPlatform.

type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse added in v0.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.

type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse

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.
	NextPageToken string `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. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	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. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsRespons e: Response for DefaultSupportedIdpConfigs

func (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse

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.
	NextPageToken string `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. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse: Response for ListDefaultSupportedIdps

func (*GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpsResponse) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse

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.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse: Response for ListInboundSamlConfigs

func (*GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse

type GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse struct {
	// NextPageToken: Token to retrieve the next page of results, or empty
	// if there are no more results in the list.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse: Response for ListOAuthIdpConfigs

func (*GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse

type GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse struct {
	// NextPageToken: The token to get the next page of results.
	NextPageToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse: Response message for ListTenants.

func (*GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2MonitoringConfig

type GoogleCloudIdentitytoolkitAdminV2MonitoringConfig struct {
	// RequestLogging: Configuration for logging requests made to this
	// project to Stackdriver Logging
	RequestLogging *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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2MonitoringConfig: Configuration related to monitoring project activity.

func (*GoogleCloudIdentitytoolkitAdminV2MonitoringConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig

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"`

	// 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.
	State string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig: Options related to MultiFactor Authentication for the project.

func (*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig

type GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig struct {
	// AllowTenants: Whether this project can have tenants or not.
	AllowTenants bool `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.
	DefaultTenantLocation string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig: Configuration related to multi-tenant functionality.

func (*GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2NotificationConfig

type GoogleCloudIdentitytoolkitAdminV2NotificationConfig struct {
	// DefaultLocale: Default locale used for email and SMS in IETF BCP 47
	// format.
	DefaultLocale string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2NotificationConfig: Configuration related to sending notifications to users.

func (*GoogleCloudIdentitytoolkitAdminV2NotificationConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig

type GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig struct {
	// ClientId: The client id of an OAuth client.
	ClientId string `json:"clientId,omitempty"`

	// ClientSecret: The client secret of the OAuth client, to enable OIDC
	// code flow.
	ClientSecret string `json:"clientSecret,omitempty"`

	// DisplayName: The config's display name set by developers.
	DisplayName string `json:"displayName,omitempty"`

	// Enabled: True if allows the user to sign in with the provider.
	Enabled bool `json:"enabled,omitempty"`

	// Issuer: For OIDC Idps, the issuer identifier.
	Issuer string `json:"issuer,omitempty"`

	// Name: The name of the OAuthIdpConfig resource, for example:
	// 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.
	// Ignored during create requests.
	Name string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig: Configuration options for authenticating with an OAuth IDP.

func (*GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2OAuthResponseType

type GoogleCloudIdentitytoolkitAdminV2OAuthResponseType struct {
	// Code: If true, authorization code is returned from IdP's
	// authorization endpoint.
	Code bool `json:"code,omitempty"`

	// IdToken: If true, ID token is returned from IdP's authorization
	// endpoint.
	IdToken bool `json:"idToken,omitempty"`

	// Token: Do not use. The `token` response type is not supported at the
	// moment.
	Token bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2OAuthResponseType: 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. See https://openid.net/specs/openid-connect-core-1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow.

func (*GoogleCloudIdentitytoolkitAdminV2OAuthResponseType) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2Permissions

type GoogleCloudIdentitytoolkitAdminV2Permissions struct {
	// DisabledUserDeletion: When true, end users cannot delete their
	// account on the associated project through any of our API methods
	DisabledUserDeletion bool `json:"disabledUserDeletion,omitempty"`

	// DisabledUserSignup: When true, end users cannot sign up for a new
	// account on the associated project through any of our API methods
	DisabledUserSignup bool `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. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Permissions: Configuration related to restricting a user's ability to affect their account.

func (*GoogleCloudIdentitytoolkitAdminV2Permissions) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2PhoneNumber

type GoogleCloudIdentitytoolkitAdminV2PhoneNumber struct {
	// Enabled: Whether phone number auth is enabled for the project or not.
	Enabled bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2PhoneNumber: Configuration options related to authenticated a user by their phone number.

func (*GoogleCloudIdentitytoolkitAdminV2PhoneNumber) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2QuotaConfig

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2QuotaConfig: Configuration related to quotas.

func (*GoogleCloudIdentitytoolkitAdminV2QuotaConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2RequestLogging

type GoogleCloudIdentitytoolkitAdminV2RequestLogging struct {
	// Enabled: Whether logging is enabled for this project or not.
	Enabled bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2RequestLogging: Configuration for logging requests made to this project to Stackdriver Logging

func (*GoogleCloudIdentitytoolkitAdminV2RequestLogging) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2SendEmail

type GoogleCloudIdentitytoolkitAdminV2SendEmail struct {
	// CallbackUri: action url in email template.
	CallbackUri string `json:"callbackUri,omitempty"`

	// ChangeEmailTemplate: Email template for change email
	ChangeEmailTemplate *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.
	Method string `json:"method,omitempty"`

	// ResetPasswordTemplate: Email template for reset password
	ResetPasswordTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"resetPasswordTemplate,omitempty"`

	// RevertSecondFactorAdditionTemplate: Email template for reverting
	// second factor addition emails
	RevertSecondFactorAdditionTemplate *GoogleCloudIdentitytoolkitAdminV2EmailTemplate `json:"revertSecondFactorAdditionTemplate,omitempty"`

	// Smtp: Use a custom SMTP relay
	Smtp *GoogleCloudIdentitytoolkitAdminV2Smtp `json:"smtp,omitempty"`

	// VerifyEmailTemplate: Email template for verify email
	VerifyEmailTemplate *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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2SendEmail: Options for email sending.

func (*GoogleCloudIdentitytoolkitAdminV2SendEmail) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2SendSms

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.
	UseDeviceLocale bool `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2SendSms: Options for SMS sending.

func (*GoogleCloudIdentitytoolkitAdminV2SendSms) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2SendSms) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitAdminV2SignInConfig

type GoogleCloudIdentitytoolkitAdminV2SignInConfig struct {
	// AllowDuplicateEmails: Whether to allow more than one account to have
	// the same email.
	AllowDuplicateEmails bool `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. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2SignInConfig: Configuration related to local sign in methods.

func (*GoogleCloudIdentitytoolkitAdminV2SignInConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2SmsTemplate

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.
	Content string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2SmsTemplate: The template to use when sending an SMS.

func (*GoogleCloudIdentitytoolkitAdminV2SmsTemplate) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2Smtp

type GoogleCloudIdentitytoolkitAdminV2Smtp struct {
	// Host: SMTP relay host
	Host string `json:"host,omitempty"`

	// Password: SMTP relay password
	Password string `json:"password,omitempty"`

	// Port: SMTP relay port
	Port int64 `json:"port,omitempty"`

	// SecurityMode: SMTP security mode.
	//
	// Possible values:
	//   "SECURITY_MODE_UNSPECIFIED" - Default value. Do not use.
	//   "SSL" - SSL mode
	//   "START_TLS" - START_TLS mode
	SecurityMode string `json:"securityMode,omitempty"`

	// SenderEmail: Sender email for the SMTP relay
	SenderEmail string `json:"senderEmail,omitempty"`

	// Username: SMTP relay username
	Username string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Smtp: Configuration for SMTP relay

func (*GoogleCloudIdentitytoolkitAdminV2Smtp) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2Smtp) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitAdminV2SpCertificate

type GoogleCloudIdentitytoolkitAdminV2SpCertificate struct {
	// ExpiresAt: Timestamp of the cert expiration instance.
	ExpiresAt string `json:"expiresAt,omitempty"`

	// X509Certificate: Self-signed public certificate.
	X509Certificate string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2SpCertificate: The SP's certificate data for IDP to verify the SAMLRequest generated by the SP.

func (*GoogleCloudIdentitytoolkitAdminV2SpCertificate) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2SpConfig

type GoogleCloudIdentitytoolkitAdminV2SpConfig struct {
	// CallbackUri: Callback URI where responses from IDP are handled.
	CallbackUri string `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.
	SpEntityId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2SpConfig: 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.

func (*GoogleCloudIdentitytoolkitAdminV2SpConfig) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2TemporaryQuota

type GoogleCloudIdentitytoolkitAdminV2TemporaryQuota struct {
	// Quota: Corresponds to the 'refill_token_count' field in QuotaServer
	// config
	Quota int64 `json:"quota,omitempty,string"`

	// QuotaDuration: How long this quota will be active for
	QuotaDuration string `json:"quotaDuration,omitempty"`

	// StartTime: When this quota will take affect
	StartTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2TemporaryQuota: Temporary quota increase / decrease

func (*GoogleCloudIdentitytoolkitAdminV2TemporaryQuota) MarshalJSON

type GoogleCloudIdentitytoolkitAdminV2Tenant

type GoogleCloudIdentitytoolkitAdminV2Tenant struct {
	// AllowPasswordSignup: Whether to allow email/password user
	// authentication.
	AllowPasswordSignup bool `json:"allowPasswordSignup,omitempty"`

	// AutodeleteAnonymousUsers: Whether anonymous users will be
	// auto-deleted after a period of 30 days.
	AutodeleteAnonymousUsers bool `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.
	DisableAuth bool `json:"disableAuth,omitempty"`

	// DisplayName: Display name of the tenant.
	DisplayName string `json:"displayName,omitempty"`

	// EnableAnonymousUser: Whether to enable anonymous user authentication.
	EnableAnonymousUser bool `json:"enableAnonymousUser,omitempty"`

	// EnableEmailLinkSignin: Whether to enable email link user
	// authentication.
	EnableEmailLinkSignin bool `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"`

	// Name: Output only. Resource name of a tenant. For example:
	// "projects/{project-id}/tenants/{tenant-id}"
	Name string `json:"name,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Tenant: A Tenant contains configuration for the tenant in a multi-tenant project.

func (*GoogleCloudIdentitytoolkitAdminV2Tenant) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2Tenant) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitAdminV2Trigger

type GoogleCloudIdentitytoolkitAdminV2Trigger struct {
	// FunctionUri: HTTP URI trigger for the Cloud Function.
	FunctionUri string `json:"functionUri,omitempty"`

	// UpdateTime: When the trigger was changed.
	UpdateTime string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitAdminV2Trigger: Synchronous Cloud Function with HTTP Trigger

func (*GoogleCloudIdentitytoolkitAdminV2Trigger) MarshalJSON

func (s *GoogleCloudIdentitytoolkitAdminV2Trigger) MarshalJSON() ([]byte, error)

type GoogleCloudIdentitytoolkitV2AutoRetrievalInfo

type GoogleCloudIdentitytoolkitV2AutoRetrievalInfo struct {
	// AppSignatureHash: The Android app's signature hash for Google Play
	// Service's SMS Retriever API.
	AppSignatureHash string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2AutoRetrievalInfo: The information required to auto-retrieve an SMS.

func (*GoogleCloudIdentitytoolkitV2AutoRetrievalInfo) MarshalJSON

type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest

type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest struct {
	// DisplayName: Display name which is entered by users to distinguish
	// between different second factors with same type or different type.
	DisplayName string `json:"displayName,omitempty"`

	// IdToken: Required. ID token.
	IdToken string `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.
	TenantId string `json:"tenantId,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest: Finishes enrolling a second factor for the user.

func (*GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest) MarshalJSON

type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse

type GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse struct {
	// IdToken: ID token updated to reflect MFA enrollment.
	IdToken string `json:"idToken,omitempty"`

	// PhoneAuthInfo: Auxiliary auth info specific to phone auth.
	PhoneAuthInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo `json:"phoneAuthInfo,omitempty"`

	// RefreshToken: Refresh token updated to reflect MFA enrollment.
	RefreshToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse: FinalizeMfaEnrollment response.

func (*GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse) MarshalJSON

type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo

type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo struct {
	// AndroidVerificationProof: Android only. Uses for "instant" phone
	// number verification though GmsCore.
	AndroidVerificationProof string `json:"androidVerificationProof,omitempty"`

	// Code: User-entered verification code.
	Code string `json:"code,omitempty"`

	// PhoneNumber: Required if Android verification proof is presented.
	PhoneNumber string `json:"phoneNumber,omitempty"`

	// SessionInfo: An opaque string that represents the enrollment session.
	SessionInfo string `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. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	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. However, any
	// field with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo: Phone Verification info for a FinalizeMfa request.

func (*GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo) MarshalJSON

type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo

type GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo struct {
	// AndroidVerificationProof: Android only. Long-lived replacement for
	// valid code tied to android device.
	AndroidVerificationProof string `json:"androidVerificationProof,omitempty"`

	// AndroidVerificationProofExpireTime: Android only. Expiration time of
	// verification proof in seconds.
	AndroidVerificationProofExpireTime string `json:"androidVerificationProofExpireTime,omitempty"`

	// PhoneNumber: For Android verification proof.
	PhoneNumber string `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. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	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. However, any
	// field with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo: Phone Verification info for a FinalizeMfa response.

func (*GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo) MarshalJSON

type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest

type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest struct {
	// MfaPendingCredential: Required. Pending credential from first factor
	// sign-in.
	MfaPendingCredential string `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.
	TenantId string `json:"tenantId,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "MfaPendingCredential") to unconditionally include in API requests.
	// By default, fields with empty or default values are omitted from API
	// requests. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "MfaPendingCredential") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest: Finalizes sign-in by verifying MFA challenge.

func (*GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest) MarshalJSON

type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse

type GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse struct {
	// IdToken: ID token for the authenticated user.
	IdToken string `json:"idToken,omitempty"`

	// PhoneAuthInfo: Extra phone auth info, including android verification
	// proof.
	PhoneAuthInfo *GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo `json:"phoneAuthInfo,omitempty"`

	// RefreshToken: Refresh token for the authenticated user.
	RefreshToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse: FinalizeMfaSignIn response.

func (*GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse) MarshalJSON

type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest

type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest struct {
	// IdToken: Required. User's ID token.
	IdToken string `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.
	TenantId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest: Sends MFA enrollment verification SMS for a user.

func (*GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest) MarshalJSON

type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse

type GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse struct {
	// PhoneSessionInfo: Verification info to authorize sending an SMS for
	// phone verification.
	PhoneSessionInfo *GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo `json:"phoneSessionInfo,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse: StartMfaEnrollment response.

func (*GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse) MarshalJSON

type GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo

type GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo struct {
	// AutoRetrievalInfo: Android only. Used by Google Play Services to
	// identify the app for auto-retrieval.
	AutoRetrievalInfo *GoogleCloudIdentitytoolkitV2AutoRetrievalInfo `json:"autoRetrievalInfo,omitempty"`

	// IosReceipt: iOS only. Receipt of successful app token validation with
	// APNS.
	IosReceipt string `json:"iosReceipt,omitempty"`

	// IosSecret: iOS only. Secret delivered to iOS app via APNS.
	IosSecret string `json:"iosSecret,omitempty"`

	// PhoneNumber: Required for enrollment. Phone number to be enrolled as
	// MFA.
	PhoneNumber string `json:"phoneNumber,omitempty"`

	// RecaptchaToken: Web only. Recaptcha solution.
	RecaptchaToken string `json:"recaptchaToken,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.
	SafetyNetToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo: App Verification info for a StartMfa request.

func (*GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo) MarshalJSON

type GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo

type GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo struct {
	// SessionInfo: An opaque string that represents the enrollment session.
	SessionInfo string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo: Phone Verification info for a StartMfa response.

func (*GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo) MarshalJSON

type GoogleCloudIdentitytoolkitV2StartMfaSignInRequest

type GoogleCloudIdentitytoolkitV2StartMfaSignInRequest struct {
	// MfaEnrollmentId: Required. MFA enrollment id from the user's list of
	// current MFA enrollments.
	MfaEnrollmentId string `json:"mfaEnrollmentId,omitempty"`

	// MfaPendingCredential: Required. Pending credential from first factor
	// sign-in.
	MfaPendingCredential string `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.
	TenantId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2StartMfaSignInRequest: Starts multi-factor sign-in by sending the multi-factor auth challenge.

func (*GoogleCloudIdentitytoolkitV2StartMfaSignInRequest) MarshalJSON

type GoogleCloudIdentitytoolkitV2StartMfaSignInResponse

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2StartMfaSignInResponse: StartMfaSignIn response.

func (*GoogleCloudIdentitytoolkitV2StartMfaSignInResponse) MarshalJSON

type GoogleCloudIdentitytoolkitV2WithdrawMfaRequest

type GoogleCloudIdentitytoolkitV2WithdrawMfaRequest struct {
	// IdToken: Required. User's ID token.
	IdToken string `json:"idToken,omitempty"`

	// MfaEnrollmentId: Required. MFA enrollment id from a current MFA
	// enrollment.
	MfaEnrollmentId string `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.
	TenantId string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2WithdrawMfaRequest: Withdraws MFA.

func (*GoogleCloudIdentitytoolkitV2WithdrawMfaRequest) MarshalJSON

type GoogleCloudIdentitytoolkitV2WithdrawMfaResponse

type GoogleCloudIdentitytoolkitV2WithdrawMfaResponse struct {
	// IdToken: ID token updated to reflect removal of the second factor.
	IdToken string `json:"idToken,omitempty"`

	// RefreshToken: Refresh token updated to reflect removal of the second
	// factor.
	RefreshToken string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleCloudIdentitytoolkitV2WithdrawMfaResponse: Withdraws MultiFactorAuth response.

func (*GoogleCloudIdentitytoolkitV2WithdrawMfaResponse) MarshalJSON

type GoogleIamV1AuditConfig

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.
	Service string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleIamV1AuditConfig: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple 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" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

func (*GoogleIamV1AuditConfig) MarshalJSON

func (s *GoogleIamV1AuditConfig) MarshalJSON() ([]byte, error)

type GoogleIamV1AuditLogConfig

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 list
	LogType string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleIamV1AuditLogConfig: Provides the configuration for logging a type of permissions. 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, while exempting jose@example.com from DATA_READ logging.

func (*GoogleIamV1AuditLogConfig) MarshalJSON

func (s *GoogleIamV1AuditLogConfig) MarshalJSON() ([]byte, error)

type GoogleIamV1Binding

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`. *
	// `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. * `domain:{domain}`: The G
	// Suite domain (primary) that represents all the users of that domain.
	// For example, `google.com` or `example.com`.
	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`.
	Role string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleIamV1Binding: Associates `members`, or principals, with a `role`.

func (*GoogleIamV1Binding) MarshalJSON

func (s *GoogleIamV1Binding) MarshalJSON() ([]byte, error)

type GoogleIamV1GetIamPolicyRequest

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleIamV1GetIamPolicyRequest: Request message for `GetIamPolicy` method.

func (*GoogleIamV1GetIamPolicyRequest) MarshalJSON

func (s *GoogleIamV1GetIamPolicyRequest) MarshalJSON() ([]byte, error)

type GoogleIamV1GetPolicyOptions

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).
	RequestedPolicyVersion int64 `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. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	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. However, any
	// field with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleIamV1GetPolicyOptions: Encapsulates settings provided to GetIamPolicy.

func (*GoogleIamV1GetPolicyOptions) MarshalJSON

func (s *GoogleIamV1GetPolicyOptions) MarshalJSON() ([]byte, error)

type GoogleIamV1Policy

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.
	Etag string `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).
	Version int64 `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleIamV1Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "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.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer 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 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).

func (*GoogleIamV1Policy) MarshalJSON

func (s *GoogleIamV1Policy) MarshalJSON() ([]byte, error)

type GoogleIamV1SetIamPolicyRequest

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"
	UpdateMask string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleIamV1SetIamPolicyRequest: Request message for `SetIamPolicy` method.

func (*GoogleIamV1SetIamPolicyRequest) MarshalJSON

func (s *GoogleIamV1SetIamPolicyRequest) MarshalJSON() ([]byte, error)

type GoogleIamV1TestIamPermissionsRequest

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleIamV1TestIamPermissionsRequest: Request message for `TestIamPermissions` method.

func (*GoogleIamV1TestIamPermissionsRequest) MarshalJSON

func (s *GoogleIamV1TestIamPermissionsRequest) MarshalJSON() ([]byte, error)

type GoogleIamV1TestIamPermissionsResponse

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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleIamV1TestIamPermissionsResponse: Response message for `TestIamPermissions` method.

func (*GoogleIamV1TestIamPermissionsResponse) MarshalJSON

func (s *GoogleIamV1TestIamPermissionsResponse) MarshalJSON() ([]byte, error)

type GoogleProtobufEmpty

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 avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type GoogleTypeExpr

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.
	Description string `json:"description,omitempty"`

	// Expression: Textual representation of an expression in Common
	// Expression Language syntax.
	Expression string `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.
	Location string `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.
	Title string `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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	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. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleTypeExpr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if 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 message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (*GoogleTypeExpr) MarshalJSON

func (s *GoogleTypeExpr) MarshalJSON() ([]byte, error)

type ProjectsDefaultSupportedIdpConfigsCreateCall

type ProjectsDefaultSupportedIdpConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsDefaultSupportedIdpConfigsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsDefaultSupportedIdpConfigsCreateCall) Do

Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsDefaultSupportedIdpConfigsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsDefaultSupportedIdpConfigsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsDefaultSupportedIdpConfigsCreateCall) IdpId

IdpId sets the optional parameter "idpId": The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.

type ProjectsDefaultSupportedIdpConfigsDeleteCall

type ProjectsDefaultSupportedIdpConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsDefaultSupportedIdpConfigsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsDefaultSupportedIdpConfigsDeleteCall) Do

Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsDefaultSupportedIdpConfigsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsDefaultSupportedIdpConfigsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsDefaultSupportedIdpConfigsGetCall

type ProjectsDefaultSupportedIdpConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsDefaultSupportedIdpConfigsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsDefaultSupportedIdpConfigsGetCall) Do

Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsDefaultSupportedIdpConfigsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsDefaultSupportedIdpConfigsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsDefaultSupportedIdpConfigsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsDefaultSupportedIdpConfigsListCall

type ProjectsDefaultSupportedIdpConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsDefaultSupportedIdpConfigsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsDefaultSupportedIdpConfigsListCall) Do

Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsRespon se or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsRespon se.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 because http.StatusNotModified was returned.

func (*ProjectsDefaultSupportedIdpConfigsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsDefaultSupportedIdpConfigsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsDefaultSupportedIdpConfigsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsDefaultSupportedIdpConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsDefaultSupportedIdpConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*ProjectsDefaultSupportedIdpConfigsListCall) Pages

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.

type ProjectsDefaultSupportedIdpConfigsPatchCall

type ProjectsDefaultSupportedIdpConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsDefaultSupportedIdpConfigsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsDefaultSupportedIdpConfigsPatchCall) Do

Do executes the "identitytoolkit.projects.defaultSupportedIdpConfigs.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsDefaultSupportedIdpConfigsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsDefaultSupportedIdpConfigsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsDefaultSupportedIdpConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsDefaultSupportedIdpConfigsService

type ProjectsDefaultSupportedIdpConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsDefaultSupportedIdpConfigsService

func NewProjectsDefaultSupportedIdpConfigsService(s *Service) *ProjectsDefaultSupportedIdpConfigsService

func (*ProjectsDefaultSupportedIdpConfigsService) Create

Create: Create a default supported Idp configuration for an Identity Toolkit project.

  • parent: The parent resource name where the config to be created, for example: "projects/my-awesome-project".

func (*ProjectsDefaultSupportedIdpConfigsService) Delete

Delete: Delete a default supported Idp configuration for an Identity Toolkit project.

  • name: The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".

func (*ProjectsDefaultSupportedIdpConfigsService) Get

Get: Retrieve a default supported Idp configuration for an Identity Toolkit project.

  • name: The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".

func (*ProjectsDefaultSupportedIdpConfigsService) List

List: List all default supported Idp configurations for an Identity Toolkit project.

  • parent: The parent resource name, for example, "projects/my-awesome-project".

func (*ProjectsDefaultSupportedIdpConfigsService) Patch

Patch: Update a default supported Idp configuration for an Identity Toolkit project.

  • name: The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".

type ProjectsGetConfigCall

type ProjectsGetConfigCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsGetConfigCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsGetConfigCall) Do

Do executes the "identitytoolkit.projects.getConfig" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2Config or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2Config.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 because http.StatusNotModified was returned.

func (*ProjectsGetConfigCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsGetConfigCall) Header

func (c *ProjectsGetConfigCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsGetConfigCall) IfNoneMatch

func (c *ProjectsGetConfigCall) IfNoneMatch(entityTag string) *ProjectsGetConfigCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsIdentityPlatformInitializeAuthCall added in v0.96.0

type ProjectsIdentityPlatformInitializeAuthCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsIdentityPlatformInitializeAuthCall) Context added in v0.96.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsIdentityPlatformInitializeAuthCall) Do added in v0.96.0

Do executes the "identitytoolkit.projects.identityPlatform.initializeAuth" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse.S erverResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsIdentityPlatformInitializeAuthCall) Fields added in v0.96.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsIdentityPlatformInitializeAuthCall) Header added in v0.96.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsIdentityPlatformService added in v0.96.0

type ProjectsIdentityPlatformService struct {
	// contains filtered or unexported fields
}

func NewProjectsIdentityPlatformService added in v0.96.0

func NewProjectsIdentityPlatformService(s *Service) *ProjectsIdentityPlatformService

func (*ProjectsIdentityPlatformService) InitializeAuth added in v0.96.0

func (r *ProjectsIdentityPlatformService) InitializeAuth(project string, googlecloudidentitytoolkitadminv2initializeidentityplatformrequest *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest) *ProjectsIdentityPlatformInitializeAuthCall

InitializeAuth: Initialize Identity Platform for a Cloud project. Identity Platform is an end-to-end authentication system for third-party users to access your apps and services. These could include mobile/web apps, games, APIs and beyond. This is the publicly available variant of EnableIdentityPlatform that is only available to billing-enabled projects.

  • project: The resource name of the target project the developer wants to enable Identity Platform for.

type ProjectsInboundSamlConfigsCreateCall

type ProjectsInboundSamlConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsInboundSamlConfigsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsInboundSamlConfigsCreateCall) Do

Do executes the "identitytoolkit.projects.inboundSamlConfigs.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsInboundSamlConfigsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsInboundSamlConfigsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsInboundSamlConfigsCreateCall) InboundSamlConfigId

func (c *ProjectsInboundSamlConfigsCreateCall) InboundSamlConfigId(inboundSamlConfigId string) *ProjectsInboundSamlConfigsCreateCall

InboundSamlConfigId sets the optional parameter "inboundSamlConfigId": The id to use for this config.

type ProjectsInboundSamlConfigsDeleteCall

type ProjectsInboundSamlConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsInboundSamlConfigsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsInboundSamlConfigsDeleteCall) Do

Do executes the "identitytoolkit.projects.inboundSamlConfigs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsInboundSamlConfigsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsInboundSamlConfigsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsInboundSamlConfigsGetCall

type ProjectsInboundSamlConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsInboundSamlConfigsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsInboundSamlConfigsGetCall) Do

Do executes the "identitytoolkit.projects.inboundSamlConfigs.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsInboundSamlConfigsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsInboundSamlConfigsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsInboundSamlConfigsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsInboundSamlConfigsListCall

type ProjectsInboundSamlConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsInboundSamlConfigsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsInboundSamlConfigsListCall) Do

Do executes the "identitytoolkit.projects.inboundSamlConfigs.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse.Serve rResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsInboundSamlConfigsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsInboundSamlConfigsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsInboundSamlConfigsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsInboundSamlConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsInboundSamlConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*ProjectsInboundSamlConfigsListCall) Pages

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.

type ProjectsInboundSamlConfigsPatchCall

type ProjectsInboundSamlConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsInboundSamlConfigsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsInboundSamlConfigsPatchCall) Do

Do executes the "identitytoolkit.projects.inboundSamlConfigs.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsInboundSamlConfigsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsInboundSamlConfigsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsInboundSamlConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsInboundSamlConfigsService

type ProjectsInboundSamlConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsInboundSamlConfigsService

func NewProjectsInboundSamlConfigsService(s *Service) *ProjectsInboundSamlConfigsService

func (*ProjectsInboundSamlConfigsService) Create

func (r *ProjectsInboundSamlConfigsService) Create(parent string, googlecloudidentitytoolkitadminv2inboundsamlconfig *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig) *ProjectsInboundSamlConfigsCreateCall

Create: Create an inbound SAML configuration for an Identity Toolkit project.

  • parent: The parent resource name where the config to be created, for example: "projects/my-awesome-project".

func (*ProjectsInboundSamlConfigsService) Delete

Delete: Delete an inbound SAML configuration for an Identity Toolkit project.

  • name: The resource name of the config to be deleted, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'.

func (*ProjectsInboundSamlConfigsService) Get

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

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

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'. Ignored during create requests.

type ProjectsOauthIdpConfigsCreateCall

type ProjectsOauthIdpConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsOauthIdpConfigsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsOauthIdpConfigsCreateCall) Do

Do executes the "identitytoolkit.projects.oauthIdpConfigs.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsOauthIdpConfigsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsOauthIdpConfigsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsOauthIdpConfigsCreateCall) OauthIdpConfigId

func (c *ProjectsOauthIdpConfigsCreateCall) OauthIdpConfigId(oauthIdpConfigId string) *ProjectsOauthIdpConfigsCreateCall

OauthIdpConfigId sets the optional parameter "oauthIdpConfigId": The id to use for this config.

type ProjectsOauthIdpConfigsDeleteCall

type ProjectsOauthIdpConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsOauthIdpConfigsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsOauthIdpConfigsDeleteCall) Do

Do executes the "identitytoolkit.projects.oauthIdpConfigs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsOauthIdpConfigsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsOauthIdpConfigsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsOauthIdpConfigsGetCall

type ProjectsOauthIdpConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsOauthIdpConfigsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsOauthIdpConfigsGetCall) Do

Do executes the "identitytoolkit.projects.oauthIdpConfigs.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsOauthIdpConfigsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsOauthIdpConfigsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsOauthIdpConfigsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsOauthIdpConfigsListCall

type ProjectsOauthIdpConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsOauthIdpConfigsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsOauthIdpConfigsListCall) Do

Do executes the "identitytoolkit.projects.oauthIdpConfigs.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsOauthIdpConfigsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsOauthIdpConfigsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsOauthIdpConfigsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsOauthIdpConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsOauthIdpConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*ProjectsOauthIdpConfigsListCall) Pages

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.

type ProjectsOauthIdpConfigsPatchCall

type ProjectsOauthIdpConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsOauthIdpConfigsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsOauthIdpConfigsPatchCall) Do

Do executes the "identitytoolkit.projects.oauthIdpConfigs.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsOauthIdpConfigsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsOauthIdpConfigsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsOauthIdpConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsOauthIdpConfigsService

type ProjectsOauthIdpConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsOauthIdpConfigsService

func NewProjectsOauthIdpConfigsService(s *Service) *ProjectsOauthIdpConfigsService

func (*ProjectsOauthIdpConfigsService) Create

func (r *ProjectsOauthIdpConfigsService) Create(parent string, 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, for example: "projects/my-awesome-project".

func (*ProjectsOauthIdpConfigsService) Delete

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

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

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(name string, 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'. Ignored during create requests.

type ProjectsService

type ProjectsService struct {
	DefaultSupportedIdpConfigs *ProjectsDefaultSupportedIdpConfigsService

	IdentityPlatform *ProjectsIdentityPlatformService

	InboundSamlConfigs *ProjectsInboundSamlConfigsService

	OauthIdpConfigs *ProjectsOauthIdpConfigsService

	Tenants *ProjectsTenantsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

func (*ProjectsService) GetConfig

func (r *ProjectsService) GetConfig(name string) *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(name string, 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".

type ProjectsTenantsCreateCall

type ProjectsTenantsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsCreateCall) Do

Do executes the "identitytoolkit.projects.tenants.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2Tenant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2Tenant.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsDefaultSupportedIdpConfigsCreateCall

type ProjectsTenantsDefaultSupportedIdpConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Do

Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsDefaultSupportedIdpConfigsCreateCall) IdpId

IdpId sets the optional parameter "idpId": The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.

type ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall

type ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Do

Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsDefaultSupportedIdpConfigsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsDefaultSupportedIdpConfigsGetCall

type ProjectsTenantsDefaultSupportedIdpConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Do

Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsDefaultSupportedIdpConfigsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsTenantsDefaultSupportedIdpConfigsListCall

type ProjectsTenantsDefaultSupportedIdpConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) Do

Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsRespon se or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsRespon se.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*ProjectsTenantsDefaultSupportedIdpConfigsListCall) Pages

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.

type ProjectsTenantsDefaultSupportedIdpConfigsPatchCall

type ProjectsTenantsDefaultSupportedIdpConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Do

Do executes the "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsDefaultSupportedIdpConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsTenantsDefaultSupportedIdpConfigsService

type ProjectsTenantsDefaultSupportedIdpConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsTenantsDefaultSupportedIdpConfigsService

func NewProjectsTenantsDefaultSupportedIdpConfigsService(s *Service) *ProjectsTenantsDefaultSupportedIdpConfigsService

func (*ProjectsTenantsDefaultSupportedIdpConfigsService) Create

Create: Create a default supported Idp configuration for an Identity Toolkit project.

  • parent: The parent resource name where the config to be created, for example: "projects/my-awesome-project".

func (*ProjectsTenantsDefaultSupportedIdpConfigsService) Delete

Delete: Delete a default supported Idp configuration for an Identity Toolkit project.

  • name: The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".

func (*ProjectsTenantsDefaultSupportedIdpConfigsService) Get

Get: Retrieve a default supported Idp configuration for an Identity Toolkit project.

  • name: The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".

func (*ProjectsTenantsDefaultSupportedIdpConfigsService) List

List: List all default supported Idp configurations for an Identity Toolkit project.

  • parent: The parent resource name, for example, "projects/my-awesome-project".

func (*ProjectsTenantsDefaultSupportedIdpConfigsService) Patch

Patch: Update a default supported Idp configuration for an Identity Toolkit project.

  • name: The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com".

type ProjectsTenantsDeleteCall

type ProjectsTenantsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsDeleteCall) Do

Do executes the "identitytoolkit.projects.tenants.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsGetCall

type ProjectsTenantsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsGetCall) Do

Do executes the "identitytoolkit.projects.tenants.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2Tenant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2Tenant.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsGetCall) Header

func (c *ProjectsTenantsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsGetCall) IfNoneMatch

func (c *ProjectsTenantsGetCall) IfNoneMatch(entityTag string) *ProjectsTenantsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsTenantsGetIamPolicyCall

type ProjectsTenantsGetIamPolicyCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsGetIamPolicyCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsGetIamPolicyCall) Do

Do executes the "identitytoolkit.projects.tenants.getIamPolicy" call. Exactly one of *GoogleIamV1Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsGetIamPolicyCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsInboundSamlConfigsCreateCall

type ProjectsTenantsInboundSamlConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsInboundSamlConfigsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsInboundSamlConfigsCreateCall) Do

Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsInboundSamlConfigsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsInboundSamlConfigsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsInboundSamlConfigsCreateCall) InboundSamlConfigId

InboundSamlConfigId sets the optional parameter "inboundSamlConfigId": The id to use for this config.

type ProjectsTenantsInboundSamlConfigsDeleteCall

type ProjectsTenantsInboundSamlConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsInboundSamlConfigsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsInboundSamlConfigsDeleteCall) Do

Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsInboundSamlConfigsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsInboundSamlConfigsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsInboundSamlConfigsGetCall

type ProjectsTenantsInboundSamlConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsInboundSamlConfigsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsInboundSamlConfigsGetCall) Do

Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsInboundSamlConfigsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsInboundSamlConfigsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsInboundSamlConfigsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsTenantsInboundSamlConfigsListCall

type ProjectsTenantsInboundSamlConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsInboundSamlConfigsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsInboundSamlConfigsListCall) Do

Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse.Serve rResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsInboundSamlConfigsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsInboundSamlConfigsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsInboundSamlConfigsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsTenantsInboundSamlConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsTenantsInboundSamlConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*ProjectsTenantsInboundSamlConfigsListCall) Pages

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.

type ProjectsTenantsInboundSamlConfigsPatchCall

type ProjectsTenantsInboundSamlConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsInboundSamlConfigsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsInboundSamlConfigsPatchCall) Do

Do executes the "identitytoolkit.projects.tenants.inboundSamlConfigs.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsInboundSamlConfigsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsInboundSamlConfigsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsInboundSamlConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsTenantsInboundSamlConfigsService

type ProjectsTenantsInboundSamlConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsTenantsInboundSamlConfigsService

func NewProjectsTenantsInboundSamlConfigsService(s *Service) *ProjectsTenantsInboundSamlConfigsService

func (*ProjectsTenantsInboundSamlConfigsService) Create

Create: Create an inbound SAML configuration for an Identity Toolkit project.

  • parent: The parent resource name where the config to be created, for example: "projects/my-awesome-project".

func (*ProjectsTenantsInboundSamlConfigsService) Delete

Delete: Delete an inbound SAML configuration for an Identity Toolkit project.

  • name: The resource name of the config to be deleted, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'.

func (*ProjectsTenantsInboundSamlConfigsService) Get

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

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

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'. Ignored during create requests.

type ProjectsTenantsListCall

type ProjectsTenantsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsListCall) Do

Do executes the "identitytoolkit.projects.tenants.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsListCall) Header

func (c *ProjectsTenantsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsListCall) IfNoneMatch

func (c *ProjectsTenantsListCall) IfNoneMatch(entityTag string) *ProjectsTenantsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsTenantsListCall) PageSize

func (c *ProjectsTenantsListCall) PageSize(pageSize int64) *ProjectsTenantsListCall

PageSize sets the optional parameter "pageSize": The maximum number of results to return, capped at 1000. If not specified, the default value is 20.

func (*ProjectsTenantsListCall) PageToken

func (c *ProjectsTenantsListCall) PageToken(pageToken string) *ProjectsTenantsListCall

PageToken sets the optional parameter "pageToken": The pagination token from the response of a previous request.

func (*ProjectsTenantsListCall) Pages

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.

type ProjectsTenantsOauthIdpConfigsCreateCall

type ProjectsTenantsOauthIdpConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsOauthIdpConfigsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsOauthIdpConfigsCreateCall) Do

Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.create" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsOauthIdpConfigsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsOauthIdpConfigsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsOauthIdpConfigsCreateCall) OauthIdpConfigId

OauthIdpConfigId sets the optional parameter "oauthIdpConfigId": The id to use for this config.

type ProjectsTenantsOauthIdpConfigsDeleteCall

type ProjectsTenantsOauthIdpConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsOauthIdpConfigsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsOauthIdpConfigsDeleteCall) Do

Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsOauthIdpConfigsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsOauthIdpConfigsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsOauthIdpConfigsGetCall

type ProjectsTenantsOauthIdpConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsOauthIdpConfigsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsOauthIdpConfigsGetCall) Do

Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.get" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsOauthIdpConfigsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsOauthIdpConfigsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsOauthIdpConfigsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsTenantsOauthIdpConfigsListCall

type ProjectsTenantsOauthIdpConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsOauthIdpConfigsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsOauthIdpConfigsListCall) Do

Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.list" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsOauthIdpConfigsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsOauthIdpConfigsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsOauthIdpConfigsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsTenantsOauthIdpConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsTenantsOauthIdpConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any.

func (*ProjectsTenantsOauthIdpConfigsListCall) Pages

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.

type ProjectsTenantsOauthIdpConfigsPatchCall

type ProjectsTenantsOauthIdpConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsOauthIdpConfigsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsOauthIdpConfigsPatchCall) Do

Do executes the "identitytoolkit.projects.tenants.oauthIdpConfigs.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig or error will be non-nil. 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. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsTenantsOauthIdpConfigsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsOauthIdpConfigsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsOauthIdpConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsTenantsOauthIdpConfigsService

type ProjectsTenantsOauthIdpConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsTenantsOauthIdpConfigsService

func NewProjectsTenantsOauthIdpConfigsService(s *Service) *ProjectsTenantsOauthIdpConfigsService

func (*ProjectsTenantsOauthIdpConfigsService) Create

Create: Create an Oidc Idp configuration for an Identity Toolkit project.

  • parent: The parent resource name where the config to be created, for example: "projects/my-awesome-project".

func (*ProjectsTenantsOauthIdpConfigsService) Delete

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

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

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

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'. Ignored during create requests.

type ProjectsTenantsPatchCall

type ProjectsTenantsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsPatchCall) Do

Do executes the "identitytoolkit.projects.tenants.patch" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2Tenant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2Tenant.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsPatchCall) Header

func (c *ProjectsTenantsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTenantsPatchCall) UpdateMask

func (c *ProjectsTenantsPatchCall) UpdateMask(updateMask string) *ProjectsTenantsPatchCall

UpdateMask sets the optional parameter "updateMask": If provided, only update fields set in the update mask. Otherwise, all settable fields will be updated. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type ProjectsTenantsService

type ProjectsTenantsService struct {
	DefaultSupportedIdpConfigs *ProjectsTenantsDefaultSupportedIdpConfigsService

	InboundSamlConfigs *ProjectsTenantsInboundSamlConfigsService

	OauthIdpConfigs *ProjectsTenantsOauthIdpConfigsService
	// contains filtered or unexported fields
}

func NewProjectsTenantsService

func NewProjectsTenantsService(s *Service) *ProjectsTenantsService

func (*ProjectsTenantsService) Create

func (r *ProjectsTenantsService) Create(parent string, 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. For example, "projects/project1".

func (*ProjectsTenantsService) Delete

Delete: Delete a tenant. Requires write permission on the Agent project.

- name: Resource name of the tenant to delete.

func (*ProjectsTenantsService) Get

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(resource string, googleiamv1getiampolicyrequest *GoogleIamV1GetIamPolicyRequest) *ProjectsTenantsGetIamPolicyCall

GetIamPolicy: Gets the access control policy for a resource. An error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Caller must have the right Google IAM permission on the resource.

func (*ProjectsTenantsService) List

List: List tenants under the given agent project. Requires read permission on the Agent project.

- parent: The parent resource name to list tenants for.

func (*ProjectsTenantsService) Patch

func (r *ProjectsTenantsService) Patch(name string, 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(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsTenantsSetIamPolicyCall

SetIamPolicy: Sets the access control policy for a resource. If the policy exists, it is replaced. Caller must have the right Google IAM permission on the resource.

func (*ProjectsTenantsService) TestIamPermissions

func (r *ProjectsTenantsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsTenantsTestIamPermissionsCall

TestIamPermissions: Returns the caller's permissions on a resource. An error is returned if the resource does not exist. A caller is not required to have Google IAM permission to make this request.

type ProjectsTenantsSetIamPolicyCall

type ProjectsTenantsSetIamPolicyCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsSetIamPolicyCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsSetIamPolicyCall) Do

Do executes the "identitytoolkit.projects.tenants.setIamPolicy" call. Exactly one of *GoogleIamV1Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsSetIamPolicyCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTenantsTestIamPermissionsCall

type ProjectsTenantsTestIamPermissionsCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsTenantsTestIamPermissionsCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsTenantsTestIamPermissionsCall) Do

Do executes the "identitytoolkit.projects.tenants.testIamPermissions" call. Exactly one of *GoogleIamV1TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1TestIamPermissionsResponse.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 because http.StatusNotModified was returned.

func (*ProjectsTenantsTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTenantsTestIamPermissionsCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsUpdateConfigCall

type ProjectsUpdateConfigCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsUpdateConfigCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsUpdateConfigCall) Do

Do executes the "identitytoolkit.projects.updateConfig" call. Exactly one of *GoogleCloudIdentitytoolkitAdminV2Config or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudIdentitytoolkitAdminV2Config.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 because http.StatusNotModified was returned.

func (*ProjectsUpdateConfigCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsUpdateConfigCall) Header

func (c *ProjectsUpdateConfigCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsUpdateConfigCall) UpdateMask

func (c *ProjectsUpdateConfigCall) UpdateMask(updateMask string) *ProjectsUpdateConfigCall

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. Fields set in the config but not included in this update mask will be ignored. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Accounts *AccountsService

	DefaultSupportedIdps *DefaultSupportedIdpsService

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

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.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL