Class: Google::Apis::SqladminV1beta3::BinLogCoordinates
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta3::BinLogCoordinates
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta3/classes.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb
Overview
Binary log coordinates.
Instance Attribute Summary collapse
-
#bin_log_file_name ⇒ String
Name of the binary log file for a Cloud SQL instance.
-
#bin_log_position ⇒ Fixnum
Position (offset) within the binary log file.
-
#kind ⇒ String
This is always sql#binLogCoordinates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BinLogCoordinates
constructor
A new instance of BinLogCoordinates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BinLogCoordinates
Returns a new instance of BinLogCoordinates
204 205 206 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bin_log_file_name ⇒ String
Name of the binary log file for a Cloud SQL instance.
Corresponds to the JSON property binLogFileName
192 193 194 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 192 def bin_log_file_name @bin_log_file_name end |
#bin_log_position ⇒ Fixnum
Position (offset) within the binary log file.
Corresponds to the JSON property binLogPosition
197 198 199 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 197 def bin_log_position @bin_log_position end |
#kind ⇒ String
This is always sql#binLogCoordinates.
Corresponds to the JSON property kind
202 203 204 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 202 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
209 210 211 212 213 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 209 def update!(**args) @bin_log_file_name = args[:bin_log_file_name] if args.key?(:bin_log_file_name) @bin_log_position = args[:bin_log_position] if args.key?(:bin_log_position) @kind = args[:kind] if args.key?(:kind) end |