Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::Operation (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::Operation.

An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#acquire_ssrs_lease_context

def acquire_ssrs_lease_context() -> ::Google::Cloud::Sql::V1::AcquireSsrsLeaseContext
Returns

#acquire_ssrs_lease_context=

def acquire_ssrs_lease_context=(value) -> ::Google::Cloud::Sql::V1::AcquireSsrsLeaseContext
Parameter
Returns

#api_warning

def api_warning() -> ::Google::Cloud::Sql::V1::ApiWarning
Returns

#api_warning=

def api_warning=(value) -> ::Google::Cloud::Sql::V1::ApiWarning
Parameter
Returns

#backup_context

def backup_context() -> ::Google::Cloud::Sql::V1::BackupContext
Returns

#backup_context=

def backup_context=(value) -> ::Google::Cloud::Sql::V1::BackupContext
Parameter
Returns

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#end_time=

def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#error

def error() -> ::Google::Cloud::Sql::V1::OperationErrors
Returns

#error=

def error=(value) -> ::Google::Cloud::Sql::V1::OperationErrors
Parameter
Returns

#export_context

def export_context() -> ::Google::Cloud::Sql::V1::ExportContext
Returns

#export_context=

def export_context=(value) -> ::Google::Cloud::Sql::V1::ExportContext
Parameter
Returns

#import_context

def import_context() -> ::Google::Cloud::Sql::V1::ImportContext
Returns

#import_context=

def import_context=(value) -> ::Google::Cloud::Sql::V1::ImportContext
Parameter
Returns

#insert_time

def insert_time() -> ::Google::Protobuf::Timestamp
Returns

#insert_time=

def insert_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#kind

def kind() -> ::String
Returns
  • (::String) — This is always sql#operation.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — This is always sql#operation.
Returns
  • (::String) — This is always sql#operation.

#name

def name() -> ::String
Returns
  • (::String) — An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
Returns
  • (::String) — An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.

#operation_type

def operation_type() -> ::Google::Cloud::Sql::V1::Operation::SqlOperationType
Returns

#operation_type=

def operation_type=(value) -> ::Google::Cloud::Sql::V1::Operation::SqlOperationType
Parameter
Returns

#pre_check_major_version_upgrade_context

def pre_check_major_version_upgrade_context() -> ::Google::Cloud::Sql::V1::PreCheckMajorVersionUpgradeContext
Returns
  • (::Google::Cloud::Sql::V1::PreCheckMajorVersionUpgradeContext) — This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).

#pre_check_major_version_upgrade_context=

def pre_check_major_version_upgrade_context=(value) -> ::Google::Cloud::Sql::V1::PreCheckMajorVersionUpgradeContext
Parameter
  • value (::Google::Cloud::Sql::V1::PreCheckMajorVersionUpgradeContext) — This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).
Returns
  • (::Google::Cloud::Sql::V1::PreCheckMajorVersionUpgradeContext) — This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).
def self_link() -> ::String
Returns
  • (::String) — The URI of this resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — The URI of this resource.
Returns
  • (::String) — The URI of this resource.

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#start_time=

def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#status

def status() -> ::Google::Cloud::Sql::V1::Operation::SqlOperationStatus
Returns

#status=

def status=(value) -> ::Google::Cloud::Sql::V1::Operation::SqlOperationStatus
Parameter
Returns

#sub_operation_type

def sub_operation_type() -> ::Google::Cloud::Sql::V1::SqlSubOperationType
Returns

#sub_operation_type=

def sub_operation_type=(value) -> ::Google::Cloud::Sql::V1::SqlSubOperationType
Parameter
Returns

#target_id

def target_id() -> ::String
Returns
  • (::String) — Name of the resource on which this operation runs.

#target_id=

def target_id=(value) -> ::String
Parameter
  • value (::String) — Name of the resource on which this operation runs.
Returns
  • (::String) — Name of the resource on which this operation runs.
def target_link() -> ::String
Returns
  • (::String)
def target_link=(value) -> ::String
Parameter
  • value (::String)
Returns
  • (::String)

#target_project

def target_project() -> ::String
Returns
  • (::String) — The project ID of the target instance related to this operation.

#target_project=

def target_project=(value) -> ::String
Parameter
  • value (::String) — The project ID of the target instance related to this operation.
Returns
  • (::String) — The project ID of the target instance related to this operation.

#user

def user() -> ::String
Returns
  • (::String) — The email address of the user who initiated this operation.

#user=

def user=(value) -> ::String
Parameter
  • value (::String) — The email address of the user who initiated this operation.
Returns
  • (::String) — The email address of the user who initiated this operation.