Reference documentation and code samples for the Cloud Firestore Admin V1 API module Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Paths.
Path helper methods for the FirestoreAdmin API.
Methods
#collection_group_path
def collection_group_path(project:, database:, collection:) -> ::String
Create a fully-qualified CollectionGroup resource string.
The resource will be in the following format:
projects/{project}/databases/{database}/collectionGroups/{collection}
- project (String)
- database (String)
- collection (String)
- (::String)
- (::ArgumentError)
#database_path
def database_path(project:, database:) -> ::String
Create a fully-qualified Database resource string.
The resource will be in the following format:
projects/{project}/databases/{database}
- project (String)
- database (String)
- (::String)
- (::ArgumentError)
#field_path
def field_path(project:, database:, collection:, field:) -> ::String
Create a fully-qualified Field resource string.
The resource will be in the following format:
projects/{project}/databases/{database}/collectionGroups/{collection}/fields/{field}
- project (String)
- database (String)
- collection (String)
- field (String)
- (::String)
- (::ArgumentError)
#index_path
def index_path(project:, database:, collection:, index:) -> ::String
Create a fully-qualified Index resource string.
The resource will be in the following format:
projects/{project}/databases/{database}/collectionGroups/{collection}/indexes/{index}
- project (String)
- database (String)
- collection (String)
- index (String)
- (::String)
- (::ArgumentError)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)