Class: Google::Apis::ManagedidentitiesV1::SqlIntegration
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1::SqlIntegration
- 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
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
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`. -
#sql_instance ⇒ String
The full resource name of an integrated SQL instance Corresponds to the JSON property
sqlInstance. -
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlIntegration
constructor
A new instance of SqlIntegration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlIntegration
Returns a new instance of SqlIntegration.
1825 1826 1827 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time the SQL integration was created.
Corresponds to the JSON property createTime
1802 1803 1804 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1802 def create_time @create_time end |
#name ⇒ String
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`
1808 1809 1810 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1808 def name @name end |
#sql_instance ⇒ String
The full resource name of an integrated SQL instance
Corresponds to the JSON property sqlInstance
1813 1814 1815 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1813 def sql_instance @sql_instance end |
#state ⇒ String
Output only. The current state of the SQL integration.
Corresponds to the JSON property state
1818 1819 1820 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1818 def state @state end |
#update_time ⇒ String
Output only. The time the SQL integration was updated.
Corresponds to the JSON property updateTime
1823 1824 1825 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1823 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1830 1831 1832 1833 1834 1835 1836 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1830 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 |