Class: Google::Apis::OracledatabaseV1::DatabaseConnectionStringProfile
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DatabaseConnectionStringProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
The connection string profile to allow clients to group. https://docs.oracle. com/en-us/iaas/api/#/en/database/20160918/datatypes/ DatabaseConnectionStringProfile
Instance Attribute Summary collapse
-
#consumer_group ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#host_format ⇒ String
Output only.
-
#is_regional ⇒ Boolean
(also: #is_regional?)
Output only.
-
#protocol ⇒ String
Output only.
-
#session_mode ⇒ String
Output only.
-
#syntax_format ⇒ String
Output only.
-
#tls_authentication ⇒ String
Output only.
-
#value ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseConnectionStringProfile
constructor
A new instance of DatabaseConnectionStringProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseConnectionStringProfile
Returns a new instance of DatabaseConnectionStringProfile.
1700 1701 1702 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1700 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumer_group ⇒ String
Output only. The current consumer group being used by the connection.
Corresponds to the JSON property consumerGroup
1655 1656 1657 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1655 def consumer_group @consumer_group end |
#display_name ⇒ String
Output only. The display name for the database connection.
Corresponds to the JSON property displayName
1660 1661 1662 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1660 def display_name @display_name end |
#host_format ⇒ String
Output only. The host name format being currently used in connection string.
Corresponds to the JSON property hostFormat
1665 1666 1667 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1665 def host_format @host_format end |
#is_regional ⇒ Boolean Also known as: is_regional?
Output only. This field indicates if the connection string is regional and is
only applicable for cross-region Data Guard.
Corresponds to the JSON property isRegional
1671 1672 1673 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1671 def is_regional @is_regional end |
#protocol ⇒ String
Output only. The protocol being used by the connection.
Corresponds to the JSON property protocol
1677 1678 1679 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1677 def protocol @protocol end |
#session_mode ⇒ String
Output only. The current session mode of the connection.
Corresponds to the JSON property sessionMode
1682 1683 1684 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1682 def session_mode @session_mode end |
#syntax_format ⇒ String
Output only. The syntax of the connection string.
Corresponds to the JSON property syntaxFormat
1687 1688 1689 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1687 def syntax_format @syntax_format end |
#tls_authentication ⇒ String
Output only. This field indicates the TLS authentication type of the
connection.
Corresponds to the JSON property tlsAuthentication
1693 1694 1695 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1693 def tls_authentication @tls_authentication end |
#value ⇒ String
Output only. The value of the connection string.
Corresponds to the JSON property value
1698 1699 1700 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1698 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1705 def update!(**args) @consumer_group = args[:consumer_group] if args.key?(:consumer_group) @display_name = args[:display_name] if args.key?(:display_name) @host_format = args[:host_format] if args.key?(:host_format) @is_regional = args[:is_regional] if args.key?(:is_regional) @protocol = args[:protocol] if args.key?(:protocol) @session_mode = args[:session_mode] if args.key?(:session_mode) @syntax_format = args[:syntax_format] if args.key?(:syntax_format) @tls_authentication = args[:tls_authentication] if args.key?(:tls_authentication) @value = args[:value] if args.key?(:value) end |