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.



2233
2234
2235
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2233

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)


2210
2211
2212
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2210

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)


2216
2217
2218
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2216

def name
  @name
end

#sql_instanceString

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

Returns:

  • (String)


2221
2222
2223
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2221

def sql_instance
  @sql_instance
end

#stateString

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

Returns:

  • (String)


2226
2227
2228
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2226

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


2231
2232
2233
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2231

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2238
2239
2240
2241
2242
2243
2244
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2238

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