Class: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1beta1::SqlIntegration
- 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
-
#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.
2247 2248 2249 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time sql integration was created.
Corresponds to the JSON property createTime
2224 2225 2226 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2224 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`
2230 2231 2232 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2230 def name @name end |
#sql_instance ⇒ String
The full resource name of an integrated sql instance
Corresponds to the JSON property sqlInstance
2235 2236 2237 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2235 def sql_instance @sql_instance end |
#state ⇒ String
Output only. The current state of the sql integration.
Corresponds to the JSON property state
2240 2241 2242 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2240 def state @state end |
#update_time ⇒ String
Output only. The time sql integration was updated.
Corresponds to the JSON property updateTime
2245 2246 2247 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2245 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2252 2253 2254 2255 2256 2257 2258 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 2252 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 |