Class: Google::Apis::CloudidentityV1beta1::IdpCredential

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

Credential for verifying signatures produced by the Identity Provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdpCredential

Returns a new instance of IdpCredential.



2631
2632
2633
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2631

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

Instance Attribute Details

#dsa_key_infoGoogle::Apis::CloudidentityV1beta1::DsaPublicKeyInfo

Information of a DSA public key. Corresponds to the JSON property dsaKeyInfo



2613
2614
2615
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2613

def dsa_key_info
  @dsa_key_info
end

#nameString

Output only. Resource name of the credential. Corresponds to the JSON property name

Returns:

  • (String)


2619
2620
2621
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2619

def name
  @name
end

#rsa_key_infoGoogle::Apis::CloudidentityV1beta1::RsaPublicKeyInfo

Information of a RSA public key. Corresponds to the JSON property rsaKeyInfo



2624
2625
2626
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2624

def rsa_key_info
  @rsa_key_info
end

#update_timeString

Output only. Time when the IdpCredential was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2629
2630
2631
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2629

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2636
2637
2638
2639
2640
2641
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2636

def update!(**args)
  @dsa_key_info = args[:dsa_key_info] if args.key?(:dsa_key_info)
  @name = args[:name] if args.key?(:name)
  @rsa_key_info = args[:rsa_key_info] if args.key?(:rsa_key_info)
  @update_time = args[:update_time] if args.key?(:update_time)
end