Class: Google::Apis::IapV1::GcipSettings

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

Overview

Allows customers to configure tenant_id for GCIP instance per-app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcipSettings

Returns a new instance of GcipSettings.



532
533
534
# File 'lib/google/apis/iap_v1/classes.rb', line 532

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

Instance Attribute Details

#login_page_uriString

Login page URI associated with the GCIP tenants. Typically, all resources within the same project share the same login page, though it could be overridden at the sub resource level. Corresponds to the JSON property loginPageUri

Returns:

  • (String)


520
521
522
# File 'lib/google/apis/iap_v1/classes.rb', line 520

def 
  @login_page_uri
end

#tenant_idsArray<String>

Optional. GCIP tenant ids that are linked to the IAP resource. tenant_ids could be a string beginning with a number character to indicate authenticating with GCIP tenant flow, or in the format of _ to indicate authenticating with GCIP agent flow. If agent flow is used, tenant_ids should only contain one single element, while for tenant flow, tenant_ids can contain multiple elements. Corresponds to the JSON property tenantIds

Returns:

  • (Array<String>)


530
531
532
# File 'lib/google/apis/iap_v1/classes.rb', line 530

def tenant_ids
  @tenant_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



537
538
539
540
# File 'lib/google/apis/iap_v1/classes.rb', line 537

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