Class: Google::Apis::AppengineV1beta::DomainMapping

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

Overview

A domain serving an App Engine application.

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) ⇒ DomainMapping


859
860
861
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 859

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


839
840
841
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 839

def id
  @id
end

#nameString

Full path to the DomainMapping resource in the API. Example: apps/myapp/ domainMapping/[email protected] Corresponds to the JSON property name


845
846
847
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 845

def name
  @name
end

#resource_recordsArray<Google::Apis::AppengineV1beta::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 [email protected] Corresponds to the JSON property resourceRecords


852
853
854
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 852

def resource_records
  @resource_records
end

#ssl_settingsGoogle::Apis::AppengineV1beta::SslSettings

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


857
858
859
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 857

def ssl_settings
  @ssl_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


864
865
866
867
868
869
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 864

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