Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Tenant
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Tenant
- 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
A Tenant contains configuration for the tenant in a multi-tenant project.
Instance Attribute Summary collapse
-
#allow_password_signup ⇒ Boolean
(also: #allow_password_signup?)
Whether to allow email/password user authentication.
-
#autodelete_anonymous_users ⇒ Boolean
(also: #autodelete_anonymous_users?)
Whether anonymous users will be auto-deleted after a period of 30 days.
-
#client ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig
Options related to how clients making requests on behalf of a tenant should be configured.
-
#disable_auth ⇒ Boolean
(also: #disable_auth?)
Whether authentication is disabled for the tenant.
-
#display_name ⇒ String
Display name of the tenant.
-
#enable_anonymous_user ⇒ Boolean
(also: #enable_anonymous_user?)
Whether to enable anonymous user authentication.
-
#enable_email_link_signin ⇒ Boolean
(also: #enable_email_link_signin?)
Whether to enable email link user authentication.
-
#hash_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2HashConfig
History information of the hash algorithm and key.
-
#inheritance ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Inheritance
Settings that the tenants will inherit from project level.
-
#mfa_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
Options related to MultiFactor Authentication for the project.
-
#name ⇒ String
Output only.
-
#test_phone_numbers ⇒ Hash<String,String>
A map of pairs that can be used for MFA.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Tenant
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2Tenant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Tenant
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2Tenant.
1571 1572 1573 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_password_signup ⇒ Boolean Also known as: allow_password_signup?
Whether to allow email/password user authentication.
Corresponds to the JSON property allowPasswordSignup
1502 1503 1504 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1502 def allow_password_signup @allow_password_signup end |
#autodelete_anonymous_users ⇒ Boolean Also known as: autodelete_anonymous_users?
Whether anonymous users will be auto-deleted after a period of 30 days.
Corresponds to the JSON property autodeleteAnonymousUsers
1508 1509 1510 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1508 def autodelete_anonymous_users @autodelete_anonymous_users end |
#client ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig
Options related to how clients making requests on behalf of a tenant should be
configured.
Corresponds to the JSON property client
1515 1516 1517 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1515 def client @client end |
#disable_auth ⇒ Boolean Also known as: disable_auth?
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.
Corresponds to the JSON property disableAuth
1522 1523 1524 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1522 def disable_auth @disable_auth end |
#display_name ⇒ String
Display name of the tenant.
Corresponds to the JSON property displayName
1528 1529 1530 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1528 def display_name @display_name end |
#enable_anonymous_user ⇒ Boolean Also known as: enable_anonymous_user?
Whether to enable anonymous user authentication.
Corresponds to the JSON property enableAnonymousUser
1533 1534 1535 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1533 def enable_anonymous_user @enable_anonymous_user end |
#enable_email_link_signin ⇒ Boolean Also known as: enable_email_link_signin?
Whether to enable email link user authentication.
Corresponds to the JSON property enableEmailLinkSignin
1539 1540 1541 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1539 def enable_email_link_signin @enable_email_link_signin end |
#hash_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2HashConfig
History information of the hash algorithm and key. Different accounts'
passwords may be generated by different version.
Corresponds to the JSON property hashConfig
1546 1547 1548 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1546 def hash_config @hash_config end |
#inheritance ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Inheritance
Settings that the tenants will inherit from project level.
Corresponds to the JSON property inheritance
1551 1552 1553 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1551 def inheritance @inheritance end |
#mfa_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
Options related to MultiFactor Authentication for the project.
Corresponds to the JSON property mfaConfig
1556 1557 1558 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1556 def mfa_config @mfa_config end |
#name ⇒ String
Output only. Resource name of a tenant. For example: "projects/project-id/
tenants/tenant-id"
Corresponds to the JSON property name
1562 1563 1564 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1562 def name @name end |
#test_phone_numbers ⇒ Hash<String,String>
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).
Corresponds to the JSON property testPhoneNumbers
1569 1570 1571 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1569 def test_phone_numbers @test_phone_numbers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1576 def update!(**args) @allow_password_signup = args[:allow_password_signup] if args.key?(:allow_password_signup) @autodelete_anonymous_users = args[:autodelete_anonymous_users] if args.key?(:autodelete_anonymous_users) @client = args[:client] if args.key?(:client) @disable_auth = args[:disable_auth] if args.key?(:disable_auth) @display_name = args[:display_name] if args.key?(:display_name) @enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user) @enable_email_link_signin = args[:enable_email_link_signin] if args.key?(:enable_email_link_signin) @hash_config = args[:hash_config] if args.key?(:hash_config) @inheritance = args[:inheritance] if args.key?(:inheritance) @mfa_config = args[:mfa_config] if args.key?(:mfa_config) @name = args[:name] if args.key?(:name) @test_phone_numbers = args[:test_phone_numbers] if args.key?(:test_phone_numbers) end |