Class: Google::Cloud::Firestore::Admin::V1::CreateDatabaseRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::Admin::V1::CreateDatabaseRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/admin/v1/firestore_admin.rb
Overview
The request for FirestoreAdmin.CreateDatabase.
Instance Attribute Summary collapse
-
#database ⇒ ::Google::Cloud::Firestore::Admin::V1::Database
Required.
-
#database_id ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#database ⇒ ::Google::Cloud::Firestore::Admin::V1::Database
Returns Required. The Database to create.
57 58 59 60 |
# File 'proto_docs/google/firestore/admin/v1/firestore_admin.rb', line 57 class CreateDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#database_id ⇒ ::String
Returns Required. The ID to use for the database, which will become the final component of the database's resource name.
This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/.
"(default)" database ID is also valid.
57 58 59 60 |
# File 'proto_docs/google/firestore/admin/v1/firestore_admin.rb', line 57 class CreateDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. A parent name of the form
projects/{project_id}
.
57 58 59 60 |
# File 'proto_docs/google/firestore/admin/v1/firestore_admin.rb', line 57 class CreateDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |