Class: Google::Apis::AppengineV1::DomainMapping

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

Overview

A domain serving an App Engine application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainMapping

Returns a new instance of DomainMapping.



788
789
790
# File 'generated/google/apis/appengine_v1/classes.rb', line 788

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

Instance Attribute Details

#idString

Relative name of the domain serving the application. Example: example.com. Corresponds to the JSON property id

Returns:

  • (String)


768
769
770
# File 'generated/google/apis/appengine_v1/classes.rb', line 768

def id
  @id
end

#nameString

Full path to the DomainMapping resource in the API. Example: apps/myapp/ domainMapping/example.com.@OutputOnly Corresponds to the JSON property name

Returns:

  • (String)


774
775
776
# File 'generated/google/apis/appengine_v1/classes.rb', line 774

def name
  @name
end

#resource_recordsArray<Google::Apis::AppengineV1::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.@OutputOnly Corresponds to the JSON property resourceRecords



781
782
783
# File 'generated/google/apis/appengine_v1/classes.rb', line 781

def resource_records
  @resource_records
end

#ssl_settingsGoogle::Apis::AppengineV1::SslSettings

SSL configuration for a DomainMapping resource. Corresponds to the JSON property sslSettings



786
787
788
# File 'generated/google/apis/appengine_v1/classes.rb', line 786

def ssl_settings
  @ssl_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



793
794
795
796
797
798
# File 'generated/google/apis/appengine_v1/classes.rb', line 793

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @resource_records = args[:resource_records] if args.key?(:resource_records)
  @ssl_settings = args[:ssl_settings] if args.key?(:ssl_settings)
end