Class: Google::Apis::WorkstationsV1::DomainConfig

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

Overview

Configuration options for a custom domain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainConfig

Returns a new instance of DomainConfig.



413
414
415
# File 'lib/google/apis/workstations_v1/classes.rb', line 413

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

Instance Attribute Details

#domainString

Immutable. Domain used by Workstations for HTTP ingress. Corresponds to the JSON property domain

Returns:

  • (String)


411
412
413
# File 'lib/google/apis/workstations_v1/classes.rb', line 411

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



418
419
420
# File 'lib/google/apis/workstations_v1/classes.rb', line 418

def update!(**args)
  @domain = args[:domain] if args.key?(:domain)
end