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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iap_v1/classes.rb,
generated/google/apis/iap_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GcipSettings

Returns a new instance of GcipSettings.



353
354
355
# File 'generated/google/apis/iap_v1/classes.rb', line 353

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)


341
342
343
# File 'generated/google/apis/iap_v1/classes.rb', line 341

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


351
352
353
# File 'generated/google/apis/iap_v1/classes.rb', line 351

def tenant_ids
  @tenant_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
# File 'generated/google/apis/iap_v1/classes.rb', line 358

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