Class: Google::Apis::ManagedidentitiesV1::SqlIntegration

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

Overview

Represents the SQL instance integrated with Managed AD.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlIntegration

Returns a new instance of SqlIntegration.



1719
1720
1721
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1719

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

Instance Attribute Details

#create_timeString

Output only. The time the SQL integration was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1696
1697
1698
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1696

def create_time
  @create_time
end

#nameString

The unique name of the SQL integration in the form of projects/project_id/ locations/global/domains/domain_name/sqlIntegrations/sql_integration` Corresponds to the JSON propertyname`

Returns:

  • (String)


1702
1703
1704
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1702

def name
  @name
end

#sql_instanceString

The full resource name of an integrated SQL instance Corresponds to the JSON property sqlInstance

Returns:

  • (String)


1707
1708
1709
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1707

def sql_instance
  @sql_instance
end

#stateString

Output only. The current state of the SQL integration. Corresponds to the JSON property state

Returns:

  • (String)


1712
1713
1714
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1712

def state
  @state
end

#update_timeString

Output only. The time the SQL integration was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1717
1718
1719
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1717

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1724
1725
1726
1727
1728
1729
1730
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1724

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @sql_instance = args[:sql_instance] if args.key?(:sql_instance)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end