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
#backup_path
def backup_path(project:, location:, backup:) -> ::String
Create a fully-qualified Backup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backups/{backup}
- project (String)
- location (String)
- backup (String)
- (::String)
- (::ArgumentError)
#backup_schedule_path
def backup_schedule_path(project:, database:, backup_schedule:) -> ::String
Create a fully-qualified BackupSchedule resource string.
The resource will be in the following format:
projects/{project}/databases/{database}/backupSchedules/{backup_schedule}
- project (String)
- database (String)
- backup_schedule (String)
- (::String)
- (::ArgumentError)
#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)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (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)