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.



484
485
486
# File 'lib/google/apis/iap_v1/classes.rb', line 484

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)


473
474
475
# File 'lib/google/apis/iap_v1/classes.rb', line 473

def 
  @login_page_uri
end

#tenant_idsArray<String>

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>)


482
483
484
# File 'lib/google/apis/iap_v1/classes.rb', line 482

def tenant_ids
  @tenant_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



489
490
491
492
# File 'lib/google/apis/iap_v1/classes.rb', line 489

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