Class: Google::Apis::RunV1alpha1::DomainMappingCondition
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::DomainMappingCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb
Overview
DomainMappingCondition contains state information for a DomainMapping.
Instance Attribute Summary collapse
-
#message ⇒ String
Human readable message indicating details about the current status.
-
#reason ⇒ String
One-word CamelCase reason for the condition's current status.
-
#status ⇒ String
Status of the condition, one of True, False, Unknown.
-
#type ⇒ String
Type of domain mapping condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainMappingCondition
constructor
A new instance of DomainMappingCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DomainMappingCondition
Returns a new instance of DomainMappingCondition
830 831 832 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Human readable message indicating details about the current status.
+optional
Corresponds to the JSON property message
812 813 814 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 812 def @message end |
#reason ⇒ String
One-word CamelCase reason for the condition's current status.
+optional
Corresponds to the JSON property reason
818 819 820 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 818 def reason @reason end |
#status ⇒ String
Status of the condition, one of True, False, Unknown.
Corresponds to the JSON property status
823 824 825 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 823 def status @status end |
#type ⇒ String
Type of domain mapping condition.
Corresponds to the JSON property type
828 829 830 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 828 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
835 836 837 838 839 840 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 835 def update!(**args) @message = args[:message] if args.key?(:message) @reason = args[:reason] if args.key?(:reason) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |