Class: Google::Apis::CloudidentityV1beta1::InboundSsoAssignment

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

Overview

Targets with "set" SSO assignments and their respective assignments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InboundSsoAssignment

Returns a new instance of InboundSsoAssignment.



2844
2845
2846
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2844

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

Instance Attribute Details

#customerString

Immutable. The customer. For example: customers/C0123abc. Corresponds to the JSON property customer

Returns:

  • (String)


2799
2800
2801
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2799

def customer
  @customer
end

#nameString

Output only. Resource name of the Inbound SSO Assignment. Corresponds to the JSON property name

Returns:

  • (String)


2805
2806
2807
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2805

def name
  @name
end

#oidc_sso_infoGoogle::Apis::CloudidentityV1beta1::OidcSsoInfo

Details that are applicable when sso_mode is set to OIDC_SSO. Corresponds to the JSON property oidcSsoInfo



2810
2811
2812
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2810

def oidc_sso_info
  @oidc_sso_info
end

#rankFixnum

Must be zero (which is the default value so it can be omitted) for assignments with target_org_unit set and must be greater-than-or-equal-to one for assignments with target_group set. Corresponds to the JSON property rank

Returns:

  • (Fixnum)


2817
2818
2819
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2817

def rank
  @rank
end

#saml_sso_infoGoogle::Apis::CloudidentityV1beta1::SamlSsoInfo

Details that are applicable when sso_mode == SAML_SSO. Corresponds to the JSON property samlSsoInfo



2822
2823
2824
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2822

def saml_sso_info
  @saml_sso_info
end

#sign_in_behaviorGoogle::Apis::CloudidentityV1beta1::SignInBehavior

Controls sign-in behavior. Corresponds to the JSON property signInBehavior



2827
2828
2829
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2827

def 
  @sign_in_behavior
end

#sso_modeString

Inbound SSO behavior. Corresponds to the JSON property ssoMode

Returns:

  • (String)


2832
2833
2834
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2832

def sso_mode
  @sso_mode
end

#target_groupString

Immutable. Must be of the form groups/group`. Corresponds to the JSON propertytargetGroup`

Returns:

  • (String)


2837
2838
2839
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2837

def target_group
  @target_group
end

#target_org_unitString

Immutable. Must be of the form orgUnits/org_unit`. Corresponds to the JSON propertytargetOrgUnit`

Returns:

  • (String)


2842
2843
2844
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2842

def target_org_unit
  @target_org_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2849

def update!(**args)
  @customer = args[:customer] if args.key?(:customer)
  @name = args[:name] if args.key?(:name)
  @oidc_sso_info = args[:oidc_sso_info] if args.key?(:oidc_sso_info)
  @rank = args[:rank] if args.key?(:rank)
  @saml_sso_info = args[:saml_sso_info] if args.key?(:saml_sso_info)
  @sign_in_behavior = args[:sign_in_behavior] if args.key?(:sign_in_behavior)
  @sso_mode = args[:sso_mode] if args.key?(:sso_mode)
  @target_group = args[:target_group] if args.key?(:target_group)
  @target_org_unit = args[:target_org_unit] if args.key?(:target_org_unit)
end