Class: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1beta1::SqlIntegration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/managedidentities_v1beta1/classes.rb,
generated/google/apis/managedidentities_v1beta1/representations.rb,
generated/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 property
name`. -
#sql_instance ⇒ String
The full resource name of an integrated sql instance TODO(b/161918255) Add resource type annotation post CloudSQL API fix.
-
#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.
1539 1540 1541 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time sql integration was created. Synthetic field is
populated automatically by CCFE.
Corresponds to the JSON property createTime
1514 1515 1516 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1514 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 property
name`
1520 1521 1522 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1520 def name @name end |
#sql_instance ⇒ String
The full resource name of an integrated sql instance TODO(b/161918255) Add
resource type annotation post CloudSQL API fix.
Corresponds to the JSON property sqlInstance
1526 1527 1528 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1526 def sql_instance @sql_instance end |
#state ⇒ String
Output only. The current state of the sql integration.
Corresponds to the JSON property state
1531 1532 1533 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1531 def state @state end |
#update_time ⇒ String
Output only. The time sql integration was updated. Synthetic field is
populated automatically by CCFE.
Corresponds to the JSON property updateTime
1537 1538 1539 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1537 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1544 1545 1546 1547 1548 1549 1550 |
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 1544 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 |