Class: Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/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.



2562
2563
2564
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2562

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)


2555
2556
2557
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2555

def domain
  @domain
end

#kindString

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

Returns:

  • (String)


2560
2561
2562
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2560

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2567
2568
2569
2570
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2567

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