Class: Google::Apis::RunV1alpha1::DomainMappingStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::DomainMappingStatus
- 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
The current state of the Domain Mapping.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::DomainMappingCondition>
Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
-
#mapped_route_name ⇒ String
The name of the route that the mapping currently points to.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller.
-
#resource_records ⇒ Array<Google::Apis::RunV1alpha1::ResourceRecord>
The resource records required to configure this domain mapping.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainMappingStatus
constructor
A new instance of DomainMappingStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DomainMappingStatus
Returns a new instance of DomainMappingStatus
1003 1004 1005 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::DomainMappingCondition>
Array of observed DomainMappingConditions, indicating the current state
of the DomainMapping.
Corresponds to the JSON property conditions
980 981 982 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 980 def conditions @conditions end |
#mapped_route_name ⇒ String
The name of the route that the mapping currently points to.
Corresponds to the JSON property mappedRouteName
985 986 987 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 985 def mapped_route_name @mapped_route_name end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the DomainMapping that
was last processed by the controller.
Clients polling for completed reconciliation should poll until
observedGeneration = metadata.generation and the Ready condition's status
is True or False.
Corresponds to the JSON property observedGeneration
994 995 996 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 994 def observed_generation @observed_generation end |
#resource_records ⇒ Array<Google::Apis::RunV1alpha1::ResourceRecord>
The resource records required to configure this domain mapping. These
records must be added to the domain's DNS configuration in order to
serve the application via this domain mapping.
Corresponds to the JSON property resourceRecords
1001 1002 1003 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1001 def resource_records @resource_records end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1008 1009 1010 1011 1012 1013 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1008 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @mapped_route_name = args[:mapped_route_name] if args.key?(:mapped_route_name) @observed_generation = args[:observed_generation] if args.key?(:observed_generation) @resource_records = args[:resource_records] if args.key?(:resource_records) end |