Class: Google::Cloud::Memcache::V1beta2::RescheduleMaintenanceRequest

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

Overview

Request for RescheduleMaintenance.

Defined Under Namespace

Modules: RescheduleType

Instance Attribute Summary collapse

Instance Attribute Details

#instance::String

Returns Required. Memcache instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

Returns:

  • (::String)

    Required. Memcache instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 401

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 use the existing maintenance policy to find the
    # next available window.
    NEXT_AVAILABLE_WINDOW = 2

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

#reschedule_type::Google::Cloud::Memcache::V1beta2::RescheduleMaintenanceRequest::RescheduleType

Returns Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 401

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 use the existing maintenance policy to find the
    # next available window.
    NEXT_AVAILABLE_WINDOW = 2

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

#schedule_time::Google::Protobuf::Timestamp

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

Returns:

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

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



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 401

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 use the existing maintenance policy to find the
    # next available window.
    NEXT_AVAILABLE_WINDOW = 2

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