Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ClientConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2ClientConfig.



116
117
118
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 116

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_keyString

Output only. API key that can be used when making requests for this project. Corresponds to the JSON property apiKey

Returns:

  • (String)


104
105
106
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 104

def api_key
  @api_key
end

#firebase_subdomainString

Output only. Firebase subdomain. Corresponds to the JSON property firebaseSubdomain

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 109

def firebase_subdomain
  @firebase_subdomain
end

#permissionsGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Permissions

Configuration related to restricting a user's ability to affect their account. Corresponds to the JSON property permissions



114
115
116
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 114

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



121
122
123
124
125
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 121

def update!(**args)
  @api_key = args[:api_key] if args.key?(:api_key)
  @firebase_subdomain = args[:firebase_subdomain] if args.key?(:firebase_subdomain)
  @permissions = args[:permissions] if args.key?(:permissions)
end