Class: Google::Cloud::Memcache::V1beta2::CreateInstanceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Memcache::V1beta2::CreateInstanceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb
Overview
Request for CreateInstance.
Instance Attribute Summary collapse
-
#instance_id ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
-
#resource ⇒ ::Google::Cloud::Memcache::V1beta2::Instance
Required.
Instance Attribute Details
#instance_id ⇒ ::String
Returns Required. The logical name of the Memcached instance in the user 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 user project / location.
If any of the above are not met, the API raises an invalid argument error.
356 357 358 359 |
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 356 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.
356 357 358 359 |
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 356 class CreateInstanceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource ⇒ ::Google::Cloud::Memcache::V1beta2::Instance
Returns Required. A Memcached [Instance] resource.
356 357 358 359 |
# File 'proto_docs/google/cloud/memcache/v1beta2/cloud_memcache.rb', line 356 class CreateInstanceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |