Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::MigrationWarning.
Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action_item
def action_item() -> ::Google::Rpc::LocalizedMessage
Returns
- (::Google::Rpc::LocalizedMessage) — Output only. Suggested action for solving the warning.
#code
def code() -> ::Google::Cloud::VMMigration::V1::MigrationWarning::WarningCode
Returns
- (::Google::Cloud::VMMigration::V1::MigrationWarning::WarningCode) — The warning code.
#code=
def code=(value) -> ::Google::Cloud::VMMigration::V1::MigrationWarning::WarningCode
Parameter
- value (::Google::Cloud::VMMigration::V1::MigrationWarning::WarningCode) — The warning code.
Returns
- (::Google::Cloud::VMMigration::V1::MigrationWarning::WarningCode) — The warning code.
#help_links
def help_links() -> ::Array<::Google::Rpc::Help::Link>
Returns
- (::Array<::Google::Rpc::Help::Link>) — Output only. URL(s) pointing to additional information on handling the current warning.
#warning_message
def warning_message() -> ::Google::Rpc::LocalizedMessage
Returns
- (::Google::Rpc::LocalizedMessage) — Output only. The localized warning message.
#warning_time
def warning_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the warning occurred.
#warning_time=
def warning_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the warning occurred.
Returns
- (::Google::Protobuf::Timestamp) — The time the warning occurred.