Class: Google::Apis::IamV1::WorkforcePoolProviderScimToken

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

Overview

Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkforcePoolProviderScimToken

Returns a new instance of WorkforcePoolProviderScimToken.



3700
3701
3702
# File 'lib/google/apis/iam_v1/classes.rb', line 3700

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

Instance Attribute Details

#display_nameString

Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


3680
3681
3682
# File 'lib/google/apis/iam_v1/classes.rb', line 3680

def display_name
  @display_name
end

#nameString

Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: locations/location/workforcePools/workforce_pool/providers/ workforce_pool_provider/scimTenants/scim_tenant/tokens/token` Corresponds to the JSON propertyname`

Returns:

  • (String)


3687
3688
3689
# File 'lib/google/apis/iam_v1/classes.rb', line 3687

def name
  @name
end

#security_tokenString

Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation. Corresponds to the JSON property securityToken

Returns:

  • (String)


3693
3694
3695
# File 'lib/google/apis/iam_v1/classes.rb', line 3693

def security_token
  @security_token
end

#stateString

Output only. Gemini Enterprise only. The state of the token. Corresponds to the JSON property state

Returns:

  • (String)


3698
3699
3700
# File 'lib/google/apis/iam_v1/classes.rb', line 3698

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3705
3706
3707
3708
3709
3710
# File 'lib/google/apis/iam_v1/classes.rb', line 3705

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @security_token = args[:security_token] if args.key?(:security_token)
  @state = args[:state] if args.key?(:state)
end