Class: Google::Apis::RunV1alpha1::DomainMappingStatus

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainMappingStatus

Returns a new instance of DomainMappingStatus.



1688
1689
1690
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1688

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

Instance Attribute Details

#conditionsArray<Google::Apis::RunV1alpha1::DomainMappingCondition>

Array of observed DomainMappingConditions, indicating the current state of the DomainMapping. Corresponds to the JSON property conditions



1660
1661
1662
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1660

def conditions
  @conditions
end

#mapped_route_nameString

The name of the route that the mapping currently points to. Corresponds to the JSON property mappedRouteName

Returns:

  • (String)


1665
1666
1667
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1665

def mapped_route_name
  @mapped_route_name
end

#observed_generationFixnum

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

Returns:

  • (Fixnum)


1673
1674
1675
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1673

def observed_generation
  @observed_generation
end

#resource_recordsArray<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



1680
1681
1682
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1680

def resource_records
  @resource_records
end

#urlString

Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping. +optional Corresponds to the JSON property url

Returns:

  • (String)


1686
1687
1688
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1686

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1693
1694
1695
1696
1697
1698
1699
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1693

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)
  @url = args[:url] if args.key?(:url)
end