Class: Google::Cloud::Redis::V1beta1::RescheduleMaintenanceRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/redis/v1beta1/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.



387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
# File 'proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb', line 387

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::V1beta1::RescheduleMaintenanceRequest::RescheduleType

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

Returns:



387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
# File 'proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb', line 387

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.



387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
# File 'proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb', line 387

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