Class: Google::Apis::FirebasehostingV1beta1::Domain

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

Overview

The intended behavior and status information of a domain.

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

Returns a new instance of Domain.



210
211
212
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 210

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

Instance Attribute Details

#domain_nameString

Required. The domain name of the association. Corresponds to the JSON property domainName

Returns:

  • (String)


181
182
183
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 181

def domain_name
  @domain_name
end

#domain_redirectGoogle::Apis::FirebasehostingV1beta1::DomainRedirect

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration. Corresponds to the JSON property domainRedirect



188
189
190
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 188

def domain_redirect
  @domain_redirect
end

#provisioningGoogle::Apis::FirebasehostingV1beta1::DomainProvisioning

The current certificate provisioning status information for a domain. Corresponds to the JSON property provisioning



193
194
195
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 193

def provisioning
  @provisioning
end

#siteString

Required. The site name of the association. Corresponds to the JSON property site

Returns:

  • (String)


198
199
200
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 198

def site
  @site
end

#statusString

Output only. Additional status of the domain association. Corresponds to the JSON property status

Returns:

  • (String)


203
204
205
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 203

def status
  @status
end

#update_timeString

Output only. The time at which the domain was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


208
209
210
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 208

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



215
216
217
218
219
220
221
222
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 215

def update!(**args)
  @domain_name = args[:domain_name] if args.key?(:domain_name)
  @domain_redirect = args[:domain_redirect] if args.key?(:domain_redirect)
  @provisioning = args[:provisioning] if args.key?(:provisioning)
  @site = args[:site] if args.key?(:site)
  @status = args[:status] if args.key?(:status)
  @update_time = args[:update_time] if args.key?(:update_time)
end