Class: Google::Apis::CertificatemanagerV1::AuthorizationAttemptInfo
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::AuthorizationAttemptInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/certificatemanager_v1/classes.rb,
lib/google/apis/certificatemanager_v1/representations.rb,
lib/google/apis/certificatemanager_v1/representations.rb
Overview
State of the latest attempt to authorize a domain for certificate issuance.
Instance Attribute Summary collapse
-
#details ⇒ String
Output only.
-
#domain ⇒ String
Domain name of the authorization attempt.
-
#failure_reason ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizationAttemptInfo
constructor
A new instance of AuthorizationAttemptInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthorizationAttemptInfo
Returns a new instance of AuthorizationAttemptInfo.
51 52 53 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 51 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Output only. Human readable explanation for reaching the state. Provided to
help address the configuration issues. Not guaranteed to be stable. For
programmatic access use FailureReason enum.
Corresponds to the JSON property details
34 35 36 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 34 def details @details end |
#domain ⇒ String
Domain name of the authorization attempt.
Corresponds to the JSON property domain
39 40 41 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 39 def domain @domain end |
#failure_reason ⇒ String
Output only. Reason for failure of the authorization attempt for the domain.
Corresponds to the JSON property failureReason
44 45 46 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 44 def failure_reason @failure_reason end |
#state ⇒ String
Output only. State of the domain for managed certificate issuance.
Corresponds to the JSON property state
49 50 51 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 49 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
56 57 58 59 60 61 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 56 def update!(**args) @details = args[:details] if args.key?(:details) @domain = args[:domain] if args.key?(:domain) @failure_reason = args[:failure_reason] if args.key?(:failure_reason) @state = args[:state] if args.key?(:state) end |