Class: Google::Apis::RunV1::AutoDomainMappingStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1/classes.rb,
generated/google/apis/run_v1/representations.rb,
generated/google/apis/run_v1/representations.rb

Overview

The current state of the Domain Mapping.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AutoDomainMappingStatus

Returns a new instance of AutoDomainMappingStatus



293
294
295
# File 'generated/google/apis/run_v1/classes.rb', line 293

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

Instance Attribute Details

#conditionsArray<Google::Apis::RunV1::GoogleCloudRunV1Condition>

Array of observed AutoDomainMappingConditions, indicating the current state of the AutoDomainMapping. Corresponds to the JSON property conditions



275
276
277
# File 'generated/google/apis/run_v1/classes.rb', line 275

def conditions
  @conditions
end

#observed_generationFixnum

ObservedGeneration is the 'Generation' of the AutoDomainMapping 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)


284
285
286
# File 'generated/google/apis/run_v1/classes.rb', line 284

def observed_generation
  @observed_generation
end

#resource_recordsArray<Google::Apis::RunV1::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



291
292
293
# File 'generated/google/apis/run_v1/classes.rb', line 291

def resource_records
  @resource_records
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



298
299
300
301
302
# File 'generated/google/apis/run_v1/classes.rb', line 298

def update!(**args)
  @conditions = args[:conditions] if args.key?(:conditions)
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
  @resource_records = args[:resource_records] if args.key?(:resource_records)
end