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.



389
390
391
# File 'lib/google/apis/iap_v1/classes.rb', line 389

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)


378
379
380
# File 'lib/google/apis/iap_v1/classes.rb', line 378

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


387
388
389
# File 'lib/google/apis/iap_v1/classes.rb', line 387

def tenant_ids
  @tenant_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



394
395
396
397
# File 'lib/google/apis/iap_v1/classes.rb', line 394

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