Class: Google::Apis::AppengineV1::DomainMapping
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::DomainMapping
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1/classes.rb,
lib/google/apis/appengine_v1/representations.rb,
lib/google/apis/appengine_v1/representations.rb
Overview
A domain serving an App Engine application.
Instance Attribute Summary collapse
-
#id ⇒ String
Relative name of the domain serving the application.
-
#name ⇒ String
Full path to the DomainMapping resource in the API.
-
#resource_records ⇒ Array<Google::Apis::AppengineV1::ResourceRecord>
The resource records required to configure this domain mapping.
-
#ssl_settings ⇒ Google::Apis::AppengineV1::SslSettings
SSL configuration for a DomainMapping resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainMapping
constructor
A new instance of DomainMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DomainMapping
Returns a new instance of DomainMapping.
889 890 891 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 889 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Relative name of the domain serving the application. Example: example.com.
Corresponds to the JSON property id
869 870 871 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 869 def id @id end |
#name ⇒ String
Full path to the DomainMapping resource in the API. Example: apps/myapp/
domainMapping/example.com.@OutputOnly
Corresponds to the JSON property name
875 876 877 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 875 def name @name end |
#resource_records ⇒ Array<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
882 883 884 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 882 def resource_records @resource_records end |
#ssl_settings ⇒ Google::Apis::AppengineV1::SslSettings
SSL configuration for a DomainMapping resource.
Corresponds to the JSON property sslSettings
887 888 889 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 887 def ssl_settings @ssl_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
894 895 896 897 898 899 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 894 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 |