Class: Google::Cloud::Redis::V1beta1::CreateInstanceRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#instance::Google::Cloud::Redis::V1beta1::Instance

Returns Required. A Redis [Instance] resource.

Returns:



358
359
360
361
# File 'proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb', line 358

class CreateInstanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#instance_id::String

Returns Required. The logical name of the Redis instance in the customer project with the following restrictions:

  • Must contain only lowercase letters, numbers, and hyphens.
  • Must start with a letter.
  • Must be between 1-40 characters.
  • Must end with a number or a letter.
  • Must be unique within the customer project / location.

Returns:

  • (::String)

    Required. The logical name of the Redis instance in the customer project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-40 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project / location


358
359
360
361
# File 'proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb', line 358

class CreateInstanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region.

Returns:

  • (::String)

    Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region.



358
359
360
361
# File 'proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb', line 358

class CreateInstanceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end