Class: Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration

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

Overview

Represents the SQL instance integrated with AD.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlIntegration

Returns a new instance of SqlIntegration.



1602
1603
1604
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1602

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

Instance Attribute Details

#create_timeString

Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide Corresponds to the JSON property createTime

Returns:

  • (String)


1578
1579
1580
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1578

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)


1584
1585
1586
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1584

def name
  @name
end

#sql_instanceString

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

Returns:

  • (String)


1589
1590
1591
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1589

def sql_instance
  @sql_instance
end

#stateString

Output only. The current state of the managed OU. Corresponds to the JSON property state

Returns:

  • (String)


1594
1595
1596
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1594

def state
  @state
end

#update_timeString

Output only. Last update time. Synthetic field is populated automatically by CCFE. Corresponds to the JSON property updateTime

Returns:

  • (String)


1600
1601
1602
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1600

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1607
1608
1609
1610
1611
1612
1613
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1607

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