Class: Google::Apis::CertificatemanagerV1::AuthorizationAttemptInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizationAttemptInfo

Returns a new instance of AuthorizationAttemptInfo.



71
72
73
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 71

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

Instance Attribute Details

#detailsString

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

Returns:

  • (String)


54
55
56
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 54

def details
  @details
end

#domainString

Domain name of the authorization attempt. Corresponds to the JSON property domain

Returns:

  • (String)


59
60
61
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 59

def domain
  @domain
end

#failure_reasonString

Output only. Reason for failure of the authorization attempt for the domain. Corresponds to the JSON property failureReason

Returns:

  • (String)


64
65
66
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 64

def failure_reason
  @failure_reason
end

#stateString

Output only. State of the domain for managed certificate issuance. Corresponds to the JSON property state

Returns:

  • (String)


69
70
71
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 69

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



76
77
78
79
80
81
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 76

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