Skip to content

Commit

Permalink
Staging protos
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDuckworth committed Jul 26, 2024
1 parent 72ca7c0 commit a27ed4b
Show file tree
Hide file tree
Showing 25 changed files with 31,551 additions and 29,540 deletions.
182 changes: 182 additions & 0 deletions dev/protos/admin_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"deleteTime": {
"type": "google.protobuf.Timestamp",
"id": 7,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"locationId": {
"type": "string",
"id": 9
Expand Down Expand Up @@ -190,6 +197,20 @@
"type": "DeleteProtectionState",
"id": 22
},
"cmekConfig": {
"type": "CmekConfig",
"id": 23,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"previousId": {
"type": "string",
"id": 25,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"etag": {
"type": "string",
"id": 99
Expand Down Expand Up @@ -231,6 +252,25 @@
"DELETE_PROTECTION_DISABLED": 1,
"DELETE_PROTECTION_ENABLED": 2
}
},
"CmekConfig": {
"fields": {
"kmsKeyName": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"activeKeyVersion": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
}
}
}
}
},
Expand Down Expand Up @@ -633,6 +673,34 @@
}
]
},
"BulkDeleteDocuments": {
"requestType": "BulkDeleteDocumentsRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v1/{name=projects/*/databases/*}:bulkDeleteDocuments",
"(google.api.http).body": "*",
"(google.api.method_signature)": "name",
"(google.longrunning.operation_info).response_type": "BulkDeleteDocumentsResponse",
"(google.longrunning.operation_info).metadata_type": "BulkDeleteDocumentsMetadata"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{name=projects/*/databases/*}:bulkDeleteDocuments",
"body": "*"
}
},
{
"(google.api.method_signature)": "name"
},
{
"(google.longrunning.operation_info)": {
"response_type": "BulkDeleteDocumentsResponse",
"metadata_type": "BulkDeleteDocumentsMetadata"
}
}
]
},
"CreateDatabase": {
"requestType": "CreateDatabaseRequest",
"responseType": "google.longrunning.Operation",
Expand Down Expand Up @@ -934,6 +1002,10 @@
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "firestore.googleapis.com/Database"
}
},
"showDeleted": {
"type": "bool",
"id": 4
}
}
},
Expand Down Expand Up @@ -1308,6 +1380,37 @@
}
}
},
"BulkDeleteDocumentsRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Database"
}
},
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"namespaceIds": {
"rule": "repeated",
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"BulkDeleteDocumentsResponse": {
"fields": {}
},
"GetBackupRequest": {
"fields": {
"name": {
Expand Down Expand Up @@ -1359,6 +1462,15 @@
}
},
"RestoreDatabaseRequest": {
"oneofs": {
"encryptionConfig": {
"oneof": [
"useGoogleDefaultEncryption",
"useBackupEncryption",
"kmsKeyName"
]
}
},
"fields": {
"parent": {
"type": "string",
Expand All @@ -1382,6 +1494,18 @@
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Backup"
}
},
"useGoogleDefaultEncryption": {
"type": "google.protobuf.Empty",
"id": 6
},
"useBackupEncryption": {
"type": "google.protobuf.Empty",
"id": 7
},
"kmsKeyName": {
"type": "string",
"id": 8
}
}
},
Expand Down Expand Up @@ -1570,6 +1694,44 @@
}
}
},
"BulkDeleteDocumentsMetadata": {
"fields": {
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"operationState": {
"type": "OperationState",
"id": 3
},
"progressDocuments": {
"type": "Progress",
"id": 4
},
"progressBytes": {
"type": "Progress",
"id": 5
},
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 6
},
"namespaceIds": {
"rule": "repeated",
"type": "string",
"id": 7
},
"snapshotTime": {
"type": "google.protobuf.Timestamp",
"id": 8
}
}
},
"ExportDocumentsResponse": {
"fields": {
"outputUriPrefix": {
Expand Down Expand Up @@ -3697,6 +3859,26 @@
"SUNDAY": 7
}
},
"TimeOfDay": {
"fields": {
"hours": {
"type": "int32",
"id": 1
},
"minutes": {
"type": "int32",
"id": 2
},
"seconds": {
"type": "int32",
"id": 3
},
"nanos": {
"type": "int32",
"id": 4
}
}
},
"LatLng": {
"fields": {
"latitude": {
Expand Down
Loading

0 comments on commit a27ed4b

Please sign in to comment.