Class: Google::Apis::SqladminV1::SqlActiveDirectoryConfig

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

Overview

Active Directory configuration, relevant only for Cloud SQL for SQL Server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlActiveDirectoryConfig

Returns a new instance of SqlActiveDirectoryConfig.



3113
3114
3115
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3113

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

Instance Attribute Details

#domainString

The name of the domain (e.g., mydomain.com). Corresponds to the JSON property domain

Returns:

  • (String)


3106
3107
3108
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3106

def domain
  @domain
end

#kindString

This is always sql#activeDirectoryConfig. Corresponds to the JSON property kind

Returns:

  • (String)


3111
3112
3113
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3111

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3118
3119
3120
3121
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3118

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