@@ -448,6 +448,20 @@ export namespace google {
448
448
*/
449
449
public importDocuments ( request : google . firestore . admin . v1 . IImportDocumentsRequest ) : Promise < google . longrunning . Operation > ;
450
450
451
+ /**
452
+ * Calls CreateDatabase.
453
+ * @param request CreateDatabaseRequest message or plain object
454
+ * @param callback Node-style callback called with the error, if any, and Operation
455
+ */
456
+ public createDatabase ( request : google . firestore . admin . v1 . ICreateDatabaseRequest , callback : google . firestore . admin . v1 . FirestoreAdmin . CreateDatabaseCallback ) : void ;
457
+
458
+ /**
459
+ * Calls CreateDatabase.
460
+ * @param request CreateDatabaseRequest message or plain object
461
+ * @returns Promise
462
+ */
463
+ public createDatabase ( request : google . firestore . admin . v1 . ICreateDatabaseRequest ) : Promise < google . longrunning . Operation > ;
464
+
451
465
/**
452
466
* Calls GetDatabase.
453
467
* @param request GetDatabaseRequest message or plain object
@@ -556,6 +570,13 @@ export namespace google {
556
570
*/
557
571
type ImportDocumentsCallback = ( error : ( Error | null ) , response ?: google . longrunning . Operation ) => void ;
558
572
573
+ /**
574
+ * Callback as used by {@link google.firestore.admin.v1.FirestoreAdmin#createDatabase}.
575
+ * @param error Error, if any
576
+ * @param [response] Operation
577
+ */
578
+ type CreateDatabaseCallback = ( error : ( Error | null ) , response ?: google . longrunning . Operation ) => void ;
579
+
559
580
/**
560
581
* Callback as used by {@link google.firestore.admin.v1.FirestoreAdmin#getDatabase}.
561
582
* @param error Error, if any
@@ -626,6 +647,108 @@ export namespace google {
626
647
public static getTypeUrl ( typeUrlPrefix ?: string ) : string ;
627
648
}
628
649
650
+ /** Properties of a CreateDatabaseRequest. */
651
+ interface ICreateDatabaseRequest {
652
+
653
+ /** CreateDatabaseRequest parent */
654
+ parent ?: ( string | null ) ;
655
+
656
+ /** CreateDatabaseRequest database */
657
+ database ?: ( google . firestore . admin . v1 . IDatabase | null ) ;
658
+
659
+ /** CreateDatabaseRequest databaseId */
660
+ databaseId ?: ( string | null ) ;
661
+ }
662
+
663
+ /** Represents a CreateDatabaseRequest. */
664
+ class CreateDatabaseRequest implements ICreateDatabaseRequest {
665
+
666
+ /**
667
+ * Constructs a new CreateDatabaseRequest.
668
+ * @param [properties] Properties to set
669
+ */
670
+ constructor ( properties ?: google . firestore . admin . v1 . ICreateDatabaseRequest ) ;
671
+
672
+ /** CreateDatabaseRequest parent. */
673
+ public parent : string ;
674
+
675
+ /** CreateDatabaseRequest database. */
676
+ public database ?: ( google . firestore . admin . v1 . IDatabase | null ) ;
677
+
678
+ /** CreateDatabaseRequest databaseId. */
679
+ public databaseId : string ;
680
+
681
+ /**
682
+ * Creates a CreateDatabaseRequest message from a plain object. Also converts values to their respective internal types.
683
+ * @param object Plain object
684
+ * @returns CreateDatabaseRequest
685
+ */
686
+ public static fromObject ( object : { [ k : string ] : any } ) : google . firestore . admin . v1 . CreateDatabaseRequest ;
687
+
688
+ /**
689
+ * Creates a plain object from a CreateDatabaseRequest message. Also converts values to other types if specified.
690
+ * @param message CreateDatabaseRequest
691
+ * @param [options] Conversion options
692
+ * @returns Plain object
693
+ */
694
+ public static toObject ( message : google . firestore . admin . v1 . CreateDatabaseRequest , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
695
+
696
+ /**
697
+ * Converts this CreateDatabaseRequest to JSON.
698
+ * @returns JSON object
699
+ */
700
+ public toJSON ( ) : { [ k : string ] : any } ;
701
+
702
+ /**
703
+ * Gets the default type url for CreateDatabaseRequest
704
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
705
+ * @returns The default type url
706
+ */
707
+ public static getTypeUrl ( typeUrlPrefix ?: string ) : string ;
708
+ }
709
+
710
+ /** Properties of a CreateDatabaseMetadata. */
711
+ interface ICreateDatabaseMetadata {
712
+ }
713
+
714
+ /** Represents a CreateDatabaseMetadata. */
715
+ class CreateDatabaseMetadata implements ICreateDatabaseMetadata {
716
+
717
+ /**
718
+ * Constructs a new CreateDatabaseMetadata.
719
+ * @param [properties] Properties to set
720
+ */
721
+ constructor ( properties ?: google . firestore . admin . v1 . ICreateDatabaseMetadata ) ;
722
+
723
+ /**
724
+ * Creates a CreateDatabaseMetadata message from a plain object. Also converts values to their respective internal types.
725
+ * @param object Plain object
726
+ * @returns CreateDatabaseMetadata
727
+ */
728
+ public static fromObject ( object : { [ k : string ] : any } ) : google . firestore . admin . v1 . CreateDatabaseMetadata ;
729
+
730
+ /**
731
+ * Creates a plain object from a CreateDatabaseMetadata message. Also converts values to other types if specified.
732
+ * @param message CreateDatabaseMetadata
733
+ * @param [options] Conversion options
734
+ * @returns Plain object
735
+ */
736
+ public static toObject ( message : google . firestore . admin . v1 . CreateDatabaseMetadata , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
737
+
738
+ /**
739
+ * Converts this CreateDatabaseMetadata to JSON.
740
+ * @returns JSON object
741
+ */
742
+ public toJSON ( ) : { [ k : string ] : any } ;
743
+
744
+ /**
745
+ * Gets the default type url for CreateDatabaseMetadata
746
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
747
+ * @returns The default type url
748
+ */
749
+ public static getTypeUrl ( typeUrlPrefix ?: string ) : string ;
750
+ }
751
+
629
752
/** Properties of a ListDatabasesResponse. */
630
753
interface IListDatabasesResponse {
631
754
@@ -1439,6 +1562,9 @@ export namespace google {
1439
1562
/** Index queryScope */
1440
1563
queryScope ?: ( google . firestore . admin . v1 . Index . QueryScope | null ) ;
1441
1564
1565
+ /** Index apiScope */
1566
+ apiScope ?: ( google . firestore . admin . v1 . Index . ApiScope | null ) ;
1567
+
1442
1568
/** Index fields */
1443
1569
fields ?: ( google . firestore . admin . v1 . Index . IIndexField [ ] | null ) ;
1444
1570
@@ -1461,6 +1587,9 @@ export namespace google {
1461
1587
/** Index queryScope. */
1462
1588
public queryScope : google . firestore . admin . v1 . Index . QueryScope ;
1463
1589
1590
+ /** Index apiScope. */
1591
+ public apiScope : google . firestore . admin . v1 . Index . ApiScope ;
1592
+
1464
1593
/** Index fields. */
1465
1594
public fields : google . firestore . admin . v1 . Index . IIndexField [ ] ;
1466
1595
@@ -1500,7 +1629,11 @@ export namespace google {
1500
1629
1501
1630
/** QueryScope enum. */
1502
1631
type QueryScope =
1503
- "QUERY_SCOPE_UNSPECIFIED" | "COLLECTION" | "COLLECTION_GROUP" ;
1632
+ "QUERY_SCOPE_UNSPECIFIED" | "COLLECTION" | "COLLECTION_GROUP" | "COLLECTION_RECURSIVE" ;
1633
+
1634
+ /** ApiScope enum. */
1635
+ type ApiScope =
1636
+ "ANY_API" | "DATASTORE_MODE_API" ;
1504
1637
1505
1638
/** Properties of an IndexField. */
1506
1639
interface IIndexField {
@@ -2582,6 +2715,9 @@ export namespace google {
2582
2715
2583
2716
/** Publishing librarySettings */
2584
2717
librarySettings ?: ( google . api . IClientLibrarySettings [ ] | null ) ;
2718
+
2719
+ /** Publishing protoReferenceDocumentationUri */
2720
+ protoReferenceDocumentationUri ?: ( string | null ) ;
2585
2721
}
2586
2722
2587
2723
/** Represents a Publishing. */
@@ -2620,6 +2756,9 @@ export namespace google {
2620
2756
/** Publishing librarySettings. */
2621
2757
public librarySettings : google . api . IClientLibrarySettings [ ] ;
2622
2758
2759
+ /** Publishing protoReferenceDocumentationUri. */
2760
+ public protoReferenceDocumentationUri : string ;
2761
+
2623
2762
/**
2624
2763
* Creates a Publishing message from a plain object. Also converts values to their respective internal types.
2625
2764
* @param object Plain object
@@ -2906,6 +3045,21 @@ export namespace google {
2906
3045
2907
3046
/** DotnetSettings common */
2908
3047
common ?: ( google . api . ICommonLanguageSettings | null ) ;
3048
+
3049
+ /** DotnetSettings renamedServices */
3050
+ renamedServices ?: ( { [ k : string ] : string } | null ) ;
3051
+
3052
+ /** DotnetSettings renamedResources */
3053
+ renamedResources ?: ( { [ k : string ] : string } | null ) ;
3054
+
3055
+ /** DotnetSettings ignoredResources */
3056
+ ignoredResources ?: ( string [ ] | null ) ;
3057
+
3058
+ /** DotnetSettings forcedNamespaceAliases */
3059
+ forcedNamespaceAliases ?: ( string [ ] | null ) ;
3060
+
3061
+ /** DotnetSettings handwrittenSignatures */
3062
+ handwrittenSignatures ?: ( string [ ] | null ) ;
2909
3063
}
2910
3064
2911
3065
/** Represents a DotnetSettings. */
@@ -2920,6 +3074,21 @@ export namespace google {
2920
3074
/** DotnetSettings common. */
2921
3075
public common ?: ( google . api . ICommonLanguageSettings | null ) ;
2922
3076
3077
+ /** DotnetSettings renamedServices. */
3078
+ public renamedServices : { [ k : string ] : string } ;
3079
+
3080
+ /** DotnetSettings renamedResources. */
3081
+ public renamedResources : { [ k : string ] : string } ;
3082
+
3083
+ /** DotnetSettings ignoredResources. */
3084
+ public ignoredResources : string [ ] ;
3085
+
3086
+ /** DotnetSettings forcedNamespaceAliases. */
3087
+ public forcedNamespaceAliases : string [ ] ;
3088
+
3089
+ /** DotnetSettings handwrittenSignatures. */
3090
+ public handwrittenSignatures : string [ ] ;
3091
+
2923
3092
/**
2924
3093
* Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
2925
3094
* @param object Plain object
@@ -3170,7 +3339,7 @@ export namespace google {
3170
3339
3171
3340
/** ClientLibraryOrganization enum. */
3172
3341
type ClientLibraryOrganization =
3173
- "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" | "CLOUD" | "ADS" | "PHOTOS" | "STREET_VIEW" ;
3342
+ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" | "CLOUD" | "ADS" | "PHOTOS" | "STREET_VIEW" | "SHOPPING" | "GEO" | "GENERATIVE_AI" ;
3174
3343
3175
3344
/** ClientLibraryDestination enum. */
3176
3345
type ClientLibraryDestination =
0 commit comments