Class: Google::Apis::FirebasehostingV1beta1::CustomDomainMetadata

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

Overview

Metadata associated with aCustomDomain operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomDomainMetadata

Returns a new instance of CustomDomainMetadata.



545
546
547
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 545

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

Instance Attribute Details

#cert_stateString

The CertState of the domain name's SSL certificate. Corresponds to the JSON property certState

Returns:

  • (String)


505
506
507
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 505

def cert_state
  @cert_state
end

#host_stateString

The HostState of the domain name this CustomDomain refers to. Corresponds to the JSON property hostState

Returns:

  • (String)


510
511
512
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 510

def host_state
  @host_state
end

#issuesArray<Google::Apis::FirebasehostingV1beta1::Status>

A list of issues that are currently preventing Hosting from completing the operation. These are generally DNS-related issues that Hosting encounters when querying a domain name's records or attempting to mint an SSL certificate. Corresponds to the JSON property issues



517
518
519
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 517

def issues
  @issues
end

#live_migration_stepsArray<Google::Apis::FirebasehostingV1beta1::LiveMigrationStep>

A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended DNS updates. After adding challenges and adjusting DNS records as necessary, wait for the ownershipState to be OWNERSHIP_ACTIVE and the certState to be CERT_ACTIVE before sending traffic to Hosting. Corresponds to the JSON property liveMigrationSteps



529
530
531
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 529

def live_migration_steps
  @live_migration_steps
end

#ownership_stateString

The OwnershipState of the domain name this CustomDomain refers to. Corresponds to the JSON property ownershipState

Returns:

  • (String)


534
535
536
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 534

def ownership_state
  @ownership_state
end

#quick_setup_updatesGoogle::Apis::FirebasehostingV1beta1::DnsUpdates

A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active. Corresponds to the JSON property quickSetupUpdates



543
544
545
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 543

def quick_setup_updates
  @quick_setup_updates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



550
551
552
553
554
555
556
557
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 550

def update!(**args)
  @cert_state = args[:cert_state] if args.key?(:cert_state)
  @host_state = args[:host_state] if args.key?(:host_state)
  @issues = args[:issues] if args.key?(:issues)
  @live_migration_steps = args[:live_migration_steps] if args.key?(:live_migration_steps)
  @ownership_state = args[:ownership_state] if args.key?(:ownership_state)
  @quick_setup_updates = args[:quick_setup_updates] if args.key?(:quick_setup_updates)
end