Class: Google::Apis::WorkloadmanagerV1::ActiveDirectory
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::ActiveDirectory
- 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
-
#dns_address ⇒ String
Optional.
-
#domain ⇒ String
Optional.
-
#domain_username ⇒ String
Optional.
-
#secret_manager_secret ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActiveDirectory
constructor
A new instance of ActiveDirectory.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_address ⇒ String
Optional. DNS IP address
Corresponds to the JSON property dnsAddress
32 33 34 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 32 def dns_address @dns_address end |
#domain ⇒ String
Optional. human readable form of a domain such as “google.com”.
Corresponds to the JSON property domain
37 38 39 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 37 def domain @domain end |
#domain_username ⇒ String
Optional. domain username
Corresponds to the JSON property domainUsername
42 43 44 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 42 def domain_username @domain_username end |
#secret_manager_secret ⇒ String
Required. secret_manager_secret
Corresponds to the JSON property secretManagerSecret
47 48 49 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 47 def secret_manager_secret @secret_manager_secret end |
#type ⇒ String
Required. active directory type
Corresponds to the JSON property type
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 |