Class: Google::Apis::CloudidentityV1::IdpCredential

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



1963
1964
1965
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1963

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

Instance Attribute Details

#dsa_key_infoGoogle::Apis::CloudidentityV1::DsaPublicKeyInfo

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



1945
1946
1947
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1945

def dsa_key_info
  @dsa_key_info
end

#nameString

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

Returns:

  • (String)


1951
1952
1953
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1951

def name
  @name
end

#rsa_key_infoGoogle::Apis::CloudidentityV1::RsaPublicKeyInfo

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



1956
1957
1958
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1956

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)


1961
1962
1963
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1961

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1968
1969
1970
1971
1972
1973
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1968

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