Class: Google::Apis::WorkloadmanagerV1::ActiveDirectory

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

Overview

Active directory details

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ActiveDirectory

Returns a new instance of ActiveDirectory.



54
55
56
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 54

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

Instance Attribute Details

#dns_addressString

Optional. DNS IP address Corresponds to the JSON property dnsAddress

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 32

def dns_address
  @dns_address
end

#domainString

Optional. human readable form of a domain such as “google.com”. Corresponds to the JSON property domain

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 37

def domain
  @domain
end

#domain_usernameString

Optional. domain username Corresponds to the JSON property domainUsername

Returns:

  • (String)


42
43
44
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 42

def domain_username
  @domain_username
end

#secret_manager_secretString

Required. secret_manager_secret Corresponds to the JSON property secretManagerSecret

Returns:

  • (String)


47
48
49
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 47

def secret_manager_secret
  @secret_manager_secret
end

#typeString

Required. active directory type Corresponds to the JSON property type

Returns:

  • (String)


52
53
54
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 52

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
62
63
64
65
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 59

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