Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig
- 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
-
#allow_tenants ⇒ Boolean
(also: #allow_tenants?)
Whether this project can have tenants or not.
-
#default_tenant_location ⇒ String
The default cloud parent org or folder that the tenant project should be created under.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig.
1022 1023 1024 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_tenants ⇒ Boolean Also known as: allow_tenants?
Whether this project can have tenants or not.
Corresponds to the JSON property allowTenants
1011 1012 1013 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1011 def allow_tenants @allow_tenants end |
#default_tenant_location ⇒ String
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
1020 1021 1022 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1020 def default_tenant_location @default_tenant_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1027 1028 1029 1030 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1027 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 |