Class: Google::Cloud::Redis::V1::RescheduleMaintenanceRequest

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

Overview

Request for RescheduleMaintenance.

Defined Under Namespace

Modules: RescheduleType

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Redis 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. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.



416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'proto_docs/google/cloud/redis/v1/cloud_redis.rb', line 416

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::Redis::V1::RescheduleMaintenanceRequest::RescheduleType

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

Returns:



416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'proto_docs/google/cloud/redis/v1/cloud_redis.rb', line 416

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 Optional. 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)

    Optional. 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.



416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'proto_docs/google/cloud/redis/v1/cloud_redis.rb', line 416

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