Class: Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/memorystore/v1/memorystore.rb

Overview

Request for rescheduling instance maintenance.

Defined Under Namespace

Modules: RescheduleType

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Name of the instance to reschedule maintenance for: projects/{project}/locations/{location_id}/instances/{instance}.

Returns:

  • (::String)

    Required. Name of the instance to reschedule maintenance for: projects/{project}/locations/{location_id}/instances/{instance}



921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 921

class RescheduleMaintenanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Reschedule options.
  module RescheduleType
    # Not set.
    RESCHEDULE_TYPE_UNSPECIFIED = 0

    # If the user wants to schedule the maintenance to happen now.
    IMMEDIATE = 1

    # If the user wants to reschedule the maintenance to a specific time.
    SPECIFIC_TIME = 3
  end
end

#reschedule_type::Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType

Returns Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.

Returns:



921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 921

class RescheduleMaintenanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Reschedule options.
  module RescheduleType
    # Not set.
    RESCHEDULE_TYPE_UNSPECIFIED = 0

    # If the user wants to schedule the maintenance to happen now.
    IMMEDIATE = 1

    # If the user wants to reschedule the maintenance to a specific time.
    SPECIFIC_TIME = 3
  end
end

#schedule_time::Google::Protobuf::Timestamp

Returns Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format. Example: 2012-11-15T16:19:00.094Z.

Returns:

  • (::Google::Protobuf::Timestamp)

    Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format. Example: 2012-11-15T16:19:00.094Z.



921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 921

class RescheduleMaintenanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Reschedule options.
  module RescheduleType
    # Not set.
    RESCHEDULE_TYPE_UNSPECIFIED = 0

    # If the user wants to schedule the maintenance to happen now.
    IMMEDIATE = 1

    # If the user wants to reschedule the maintenance to a specific time.
    SPECIFIC_TIME = 3
  end
end