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.



160
161
162
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 160

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)


148
149
150
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 148

def api_key
  @api_key
end

#firebase_subdomainString

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

Returns:

  • (String)


153
154
155
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 153

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



158
159
160
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 158

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
168
169
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 165

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