google-api-ruby-client/generated/google/apis/identitytoolkit_v3/representations.rb

510 lines
18 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +00:00
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module IdentitytoolkitV3
class CreateAuthUriResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class DeleteAccountResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class DownloadAccountResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class GetAccountInfoResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class GetOobConfirmationCodeResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class GetRecaptchaParamResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class CreateAuthUriRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class DeleteAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class DownloadAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class GetAccountInfoRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-12-03 01:10:07 +00:00
class GetProjectConfigResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-06-23 23:05:46 +00:00
class ResetPasswordRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class SetAccountInfoRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2016-01-14 18:49:46 +00:00
class SignOutUserRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class SignOutUserResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-06-23 23:05:46 +00:00
class UploadAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class VerifyAssertionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2016-01-14 18:49:46 +00:00
class VerifyCustomTokenRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-06-23 23:05:46 +00:00
class VerifyPasswordRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-12-03 01:10:07 +00:00
class IdpConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-06-23 23:05:46 +00:00
class Relyingparty
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ResetPasswordResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class SetAccountInfoResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
class ProviderUserInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
class UploadAccountResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
class UserInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
class ProviderUserInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
class VerifyAssertionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2016-01-14 18:49:46 +00:00
class VerifyCustomTokenResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
2015-06-23 23:05:46 +00:00
class VerifyPasswordResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class CreateAuthUriResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :auth_uri, as: 'authUri'
property :captcha_required, as: 'captchaRequired'
property :for_existing_provider, as: 'forExistingProvider'
property :kind, as: 'kind'
property :provider_id, as: 'providerId'
property :registered, as: 'registered'
2015-12-03 01:10:07 +00:00
property :session_id, as: 'sessionId'
2015-06-23 23:05:46 +00:00
end
end
class DeleteAccountResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
end
end
class DownloadAccountResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
end
end
class GetAccountInfoResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
end
end
class GetOobConfirmationCodeResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2015-12-03 01:10:07 +00:00
property :email, as: 'email'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
property :oob_code, as: 'oobCode'
end
end
class GetRecaptchaParamResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :recaptcha_site_key, as: 'recaptchaSiteKey'
property :recaptcha_stoken, as: 'recaptchaStoken'
end
end
class CreateAuthUriRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :app_id, as: 'appId'
property :client_id, as: 'clientId'
property :context, as: 'context'
property :continue_uri, as: 'continueUri'
property :identifier, as: 'identifier'
property :oauth_consumer_key, as: 'oauthConsumerKey'
property :oauth_scope, as: 'oauthScope'
property :openid_realm, as: 'openidRealm'
property :ota_app, as: 'otaApp'
property :provider_id, as: 'providerId'
end
end
class DeleteAccountRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :local_id, as: 'localId'
end
end
class DownloadAccountRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :max_results, as: 'maxResults'
property :next_page_token, as: 'nextPageToken'
end
end
class GetAccountInfoRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :email, as: 'email'
property :id_token, as: 'idToken'
collection :local_id, as: 'localId'
end
end
2015-12-03 01:10:07 +00:00
class GetProjectConfigResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_password_user, as: 'allowPasswordUser'
property :api_key, as: 'apiKey'
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
property :project_id, as: 'projectId'
end
end
2015-06-23 23:05:46 +00:00
class ResetPasswordRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :new_password, as: 'newPassword'
property :old_password, as: 'oldPassword'
property :oob_code, as: 'oobCode'
end
end
class SetAccountInfoRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :captcha_challenge, as: 'captchaChallenge'
property :captcha_response, as: 'captchaResponse'
property :disable_user, as: 'disableUser'
property :display_name, as: 'displayName'
property :email, as: 'email'
property :email_verified, as: 'emailVerified'
property :id_token, as: 'idToken'
2016-01-14 18:49:46 +00:00
property :instance_id, as: 'instanceId'
2015-06-23 23:05:46 +00:00
property :local_id, as: 'localId'
property :oob_code, as: 'oobCode'
property :password, as: 'password'
collection :provider, as: 'provider'
property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin'
property :valid_since, as: 'validSince'
end
end
2016-01-14 18:49:46 +00:00
class SignOutUserRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_id, as: 'instanceId'
property :local_id, as: 'localId'
end
end
class SignOutUserResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :local_id, as: 'localId'
end
end
2015-06-23 23:05:46 +00:00
class UploadAccountRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :hash_algorithm, as: 'hashAlgorithm'
property :memory_cost, as: 'memoryCost'
property :rounds, as: 'rounds'
property :salt_separator, :base64 => true, as: 'saltSeparator'
property :signer_key, :base64 => true, as: 'signerKey'
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
end
end
class VerifyAssertionRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2016-01-14 18:49:46 +00:00
property :instance_id, as: 'instanceId'
2015-06-23 23:05:46 +00:00
property :pending_id_token, as: 'pendingIdToken'
property :post_body, as: 'postBody'
property :request_uri, as: 'requestUri'
property :return_refresh_token, as: 'returnRefreshToken'
2015-12-03 01:10:07 +00:00
property :session_id, as: 'sessionId'
2015-06-23 23:05:46 +00:00
end
end
2016-01-14 18:49:46 +00:00
class VerifyCustomTokenRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_id, as: 'instanceId'
property :token, as: 'token'
end
end
2015-06-23 23:05:46 +00:00
class VerifyPasswordRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :captcha_challenge, as: 'captchaChallenge'
property :captcha_response, as: 'captchaResponse'
property :email, as: 'email'
2016-01-14 18:49:46 +00:00
property :instance_id, as: 'instanceId'
2015-06-23 23:05:46 +00:00
property :password, as: 'password'
property :pending_id_token, as: 'pendingIdToken'
end
end
2015-12-03 01:10:07 +00:00
class IdpConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :client_id, as: 'clientId'
property :enabled, as: 'enabled'
property :experiment_percent, as: 'experimentPercent'
property :provider, as: 'provider'
end
end
2015-06-23 23:05:46 +00:00
class Relyingparty
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :captcha_resp, as: 'captchaResp'
property :challenge, as: 'challenge'
property :email, as: 'email'
property :id_token, as: 'idToken'
property :kind, as: 'kind'
property :new_email, as: 'newEmail'
property :request_type, as: 'requestType'
property :user_ip, as: 'userIp'
end
end
class ResetPasswordResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :kind, as: 'kind'
end
end
class SetAccountInfoResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :email, as: 'email'
property :id_token, as: 'idToken'
property :kind, as: 'kind'
2015-12-03 01:10:07 +00:00
property :new_email, as: 'newEmail'
2015-06-23 23:05:46 +00:00
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
end
class ProviderUserInfo
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :photo_url, as: 'photoUrl'
property :provider_id, as: 'providerId'
end
end
end
class UploadAccountResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :error, as: 'error', class: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error, decorator: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error::Representation
property :kind, as: 'kind'
end
class Error
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :index, as: 'index'
property :message, as: 'message'
end
end
end
class UserInfo
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :disabled, as: 'disabled'
property :display_name, as: 'displayName'
property :email, as: 'email'
property :email_verified, as: 'emailVerified'
property :local_id, as: 'localId'
property :password_hash, :base64 => true, as: 'passwordHash'
property :password_updated_at, as: 'passwordUpdatedAt'
property :photo_url, as: 'photoUrl'
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation
property :salt, :base64 => true, as: 'salt'
property :valid_since, as: 'validSince'
property :version, as: 'version'
end
class ProviderUserInfo
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :federated_id, as: 'federatedId'
property :photo_url, as: 'photoUrl'
property :provider_id, as: 'providerId'
end
end
end
class VerifyAssertionResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :app_installation_url, as: 'appInstallationUrl'
property :app_scheme, as: 'appScheme'
property :context, as: 'context'
property :date_of_birth, as: 'dateOfBirth'
property :display_name, as: 'displayName'
property :email, as: 'email'
property :email_recycled, as: 'emailRecycled'
property :email_verified, as: 'emailVerified'
property :federated_id, as: 'federatedId'
property :first_name, as: 'firstName'
property :full_name, as: 'fullName'
property :id_token, as: 'idToken'
property :input_email, as: 'inputEmail'
property :kind, as: 'kind'
property :language, as: 'language'
property :last_name, as: 'lastName'
property :local_id, as: 'localId'
property :need_confirmation, as: 'needConfirmation'
2015-12-03 01:10:07 +00:00
property :need_email, as: 'needEmail'
2015-06-23 23:05:46 +00:00
property :nick_name, as: 'nickName'
property :oauth_access_token, as: 'oauthAccessToken'
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
property :oauth_expire_in, as: 'oauthExpireIn'
property :oauth_request_token, as: 'oauthRequestToken'
property :oauth_scope, as: 'oauthScope'
property :original_email, as: 'originalEmail'
property :photo_url, as: 'photoUrl'
property :provider_id, as: 'providerId'
property :time_zone, as: 'timeZone'
collection :verified_provider, as: 'verifiedProvider'
end
end
2016-01-14 18:49:46 +00:00
class VerifyCustomTokenResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id_token, as: 'idToken'
property :kind, as: 'kind'
end
end
2015-06-23 23:05:46 +00:00
class VerifyPasswordResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :email, as: 'email'
property :id_token, as: 'idToken'
property :kind, as: 'kind'
property :local_id, as: 'localId'
2015-12-03 01:10:07 +00:00
property :oauth_access_token, as: 'oauthAccessToken'
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
property :oauth_expire_in, as: 'oauthExpireIn'
2015-06-23 23:05:46 +00:00
property :photo_url, as: 'photoUrl'
property :registered, as: 'registered'
end
end
end
end
end