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.



51
52
53
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 51

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

Instance Attribute Details

#detailsString

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum. Corresponds to the JSON property details

Returns:

  • (String)


34
35
36
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 34

def details
  @details
end

#domainString

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

Returns:

  • (String)


39
40
41
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 39

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)


44
45
46
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 44

def failure_reason
  @failure_reason
end

#stateString

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

Returns:

  • (String)


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