Class: Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb
Overview
Active Directory configuration, relevant only for Cloud SQL for SQL Server.
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain (e.g., mydomain.com).
-
#kind ⇒ String
This is always sql#activeDirectoryConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlActiveDirectoryConfig
constructor
A new instance of SqlActiveDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlActiveDirectoryConfig
Returns a new instance of SqlActiveDirectoryConfig.
3771 3772 3773 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ String
The name of the domain (e.g., mydomain.com).
Corresponds to the JSON property domain
3764 3765 3766 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3764 def domain @domain end |
#kind ⇒ String
This is always sql#activeDirectoryConfig.
Corresponds to the JSON property kind
3769 3770 3771 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3769 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3776 3777 3778 3779 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3776 def update!(**args) @domain = args[:domain] if args.key?(:domain) @kind = args[:kind] if args.key?(:kind) end |