Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig

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

Configuration related to multi-tenant functionality.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig.



1095
1096
1097
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1095

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

Instance Attribute Details

#allow_tenantsBoolean Also known as: allow_tenants?

Whether this project can have tenants or not. Corresponds to the JSON property allowTenants

Returns:

  • (Boolean)


1084
1085
1086
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1084

def allow_tenants
  @allow_tenants
end

#default_tenant_locationString

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. Corresponds to the JSON property defaultTenantLocation

Returns:

  • (String)


1093
1094
1095
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1093

def default_tenant_location
  @default_tenant_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1100
1101
1102
1103
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1100

def update!(**args)
  @allow_tenants = args[:allow_tenants] if args.key?(:allow_tenants)
  @default_tenant_location = args[:default_tenant_location] if args.key?(:default_tenant_location)
end