Class: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration

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



1675
1676
1677
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1675

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

Instance Attribute Details

#create_timeString

Output only. The time sql integration was created. Synthetic field is populated automatically by CCFE. Corresponds to the JSON property createTime

Returns:

  • (String)


1650
1651
1652
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1650

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)


1656
1657
1658
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1656

def name
  @name
end

#sql_instanceString

The full resource name of an integrated sql instance Reference to: http:// google3/google/cloud/sql/v1/cloud_sql_resources.proto?l=351&rcl=354416019 Corresponds to the JSON property sqlInstance

Returns:

  • (String)


1662
1663
1664
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1662

def sql_instance
  @sql_instance
end

#stateString

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

Returns:

  • (String)


1667
1668
1669
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1667

def state
  @state
end

#update_timeString

Output only. The time sql integration was updated. Synthetic field is populated automatically by CCFE. Corresponds to the JSON property updateTime

Returns:

  • (String)


1673
1674
1675
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1673

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1680
1681
1682
1683
1684
1685
1686
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1680

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