@google-cloud/dlp 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +17 -17
- package/build/protos/google/privacy/dlp/v2/dlp.proto +107 -59
- package/build/protos/google/privacy/dlp/v2/storage.proto +81 -66
- package/build/protos/protos.d.ts +476 -348
- package/build/protos/protos.js +1408 -1000
- package/build/protos/protos.json +232 -146
- package/build/src/v2/dlp_service_client.d.ts +1300 -44
- package/build/src/v2/dlp_service_client.js +84 -1364
- package/build/src/v2/dlp_service_client.js.map +1 -1
- package/build/src/v2/index.js +1 -1
- package/package.json +4 -4
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2022 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -526,238 +526,238 @@ export namespace google {
|
|
|
526
526
|
namespace DlpService {
|
|
527
527
|
|
|
528
528
|
/**
|
|
529
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
529
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|inspectContent}.
|
|
530
530
|
* @param error Error, if any
|
|
531
531
|
* @param [response] InspectContentResponse
|
|
532
532
|
*/
|
|
533
533
|
type InspectContentCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectContentResponse) => void;
|
|
534
534
|
|
|
535
535
|
/**
|
|
536
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
536
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|redactImage}.
|
|
537
537
|
* @param error Error, if any
|
|
538
538
|
* @param [response] RedactImageResponse
|
|
539
539
|
*/
|
|
540
540
|
type RedactImageCallback = (error: (Error|null), response?: google.privacy.dlp.v2.RedactImageResponse) => void;
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
543
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|deidentifyContent}.
|
|
544
544
|
* @param error Error, if any
|
|
545
545
|
* @param [response] DeidentifyContentResponse
|
|
546
546
|
*/
|
|
547
547
|
type DeidentifyContentCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyContentResponse) => void;
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
550
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|reidentifyContent}.
|
|
551
551
|
* @param error Error, if any
|
|
552
552
|
* @param [response] ReidentifyContentResponse
|
|
553
553
|
*/
|
|
554
554
|
type ReidentifyContentCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ReidentifyContentResponse) => void;
|
|
555
555
|
|
|
556
556
|
/**
|
|
557
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
557
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|listInfoTypes}.
|
|
558
558
|
* @param error Error, if any
|
|
559
559
|
* @param [response] ListInfoTypesResponse
|
|
560
560
|
*/
|
|
561
561
|
type ListInfoTypesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListInfoTypesResponse) => void;
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
564
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|createInspectTemplate}.
|
|
565
565
|
* @param error Error, if any
|
|
566
566
|
* @param [response] InspectTemplate
|
|
567
567
|
*/
|
|
568
568
|
type CreateInspectTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectTemplate) => void;
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
571
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|updateInspectTemplate}.
|
|
572
572
|
* @param error Error, if any
|
|
573
573
|
* @param [response] InspectTemplate
|
|
574
574
|
*/
|
|
575
575
|
type UpdateInspectTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectTemplate) => void;
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
578
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|getInspectTemplate}.
|
|
579
579
|
* @param error Error, if any
|
|
580
580
|
* @param [response] InspectTemplate
|
|
581
581
|
*/
|
|
582
582
|
type GetInspectTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectTemplate) => void;
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
585
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|listInspectTemplates}.
|
|
586
586
|
* @param error Error, if any
|
|
587
587
|
* @param [response] ListInspectTemplatesResponse
|
|
588
588
|
*/
|
|
589
589
|
type ListInspectTemplatesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListInspectTemplatesResponse) => void;
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
592
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteInspectTemplate}.
|
|
593
593
|
* @param error Error, if any
|
|
594
594
|
* @param [response] Empty
|
|
595
595
|
*/
|
|
596
596
|
type DeleteInspectTemplateCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
599
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|createDeidentifyTemplate}.
|
|
600
600
|
* @param error Error, if any
|
|
601
601
|
* @param [response] DeidentifyTemplate
|
|
602
602
|
*/
|
|
603
603
|
type CreateDeidentifyTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyTemplate) => void;
|
|
604
604
|
|
|
605
605
|
/**
|
|
606
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
606
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|updateDeidentifyTemplate}.
|
|
607
607
|
* @param error Error, if any
|
|
608
608
|
* @param [response] DeidentifyTemplate
|
|
609
609
|
*/
|
|
610
610
|
type UpdateDeidentifyTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyTemplate) => void;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
613
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|getDeidentifyTemplate}.
|
|
614
614
|
* @param error Error, if any
|
|
615
615
|
* @param [response] DeidentifyTemplate
|
|
616
616
|
*/
|
|
617
617
|
type GetDeidentifyTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyTemplate) => void;
|
|
618
618
|
|
|
619
619
|
/**
|
|
620
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
620
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|listDeidentifyTemplates}.
|
|
621
621
|
* @param error Error, if any
|
|
622
622
|
* @param [response] ListDeidentifyTemplatesResponse
|
|
623
623
|
*/
|
|
624
624
|
type ListDeidentifyTemplatesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) => void;
|
|
625
625
|
|
|
626
626
|
/**
|
|
627
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
627
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDeidentifyTemplate}.
|
|
628
628
|
* @param error Error, if any
|
|
629
629
|
* @param [response] Empty
|
|
630
630
|
*/
|
|
631
631
|
type DeleteDeidentifyTemplateCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
634
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|createJobTrigger}.
|
|
635
635
|
* @param error Error, if any
|
|
636
636
|
* @param [response] JobTrigger
|
|
637
637
|
*/
|
|
638
638
|
type CreateJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.JobTrigger) => void;
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
641
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|updateJobTrigger}.
|
|
642
642
|
* @param error Error, if any
|
|
643
643
|
* @param [response] JobTrigger
|
|
644
644
|
*/
|
|
645
645
|
type UpdateJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.JobTrigger) => void;
|
|
646
646
|
|
|
647
647
|
/**
|
|
648
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
648
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|hybridInspectJobTrigger}.
|
|
649
649
|
* @param error Error, if any
|
|
650
650
|
* @param [response] HybridInspectResponse
|
|
651
651
|
*/
|
|
652
652
|
type HybridInspectJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.HybridInspectResponse) => void;
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
655
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|getJobTrigger}.
|
|
656
656
|
* @param error Error, if any
|
|
657
657
|
* @param [response] JobTrigger
|
|
658
658
|
*/
|
|
659
659
|
type GetJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.JobTrigger) => void;
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
662
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|listJobTriggers}.
|
|
663
663
|
* @param error Error, if any
|
|
664
664
|
* @param [response] ListJobTriggersResponse
|
|
665
665
|
*/
|
|
666
666
|
type ListJobTriggersCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListJobTriggersResponse) => void;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
669
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteJobTrigger}.
|
|
670
670
|
* @param error Error, if any
|
|
671
671
|
* @param [response] Empty
|
|
672
672
|
*/
|
|
673
673
|
type DeleteJobTriggerCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
674
674
|
|
|
675
675
|
/**
|
|
676
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
676
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|activateJobTrigger}.
|
|
677
677
|
* @param error Error, if any
|
|
678
678
|
* @param [response] DlpJob
|
|
679
679
|
*/
|
|
680
680
|
type ActivateJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DlpJob) => void;
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
683
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|createDlpJob}.
|
|
684
684
|
* @param error Error, if any
|
|
685
685
|
* @param [response] DlpJob
|
|
686
686
|
*/
|
|
687
687
|
type CreateDlpJobCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DlpJob) => void;
|
|
688
688
|
|
|
689
689
|
/**
|
|
690
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
690
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|listDlpJobs}.
|
|
691
691
|
* @param error Error, if any
|
|
692
692
|
* @param [response] ListDlpJobsResponse
|
|
693
693
|
*/
|
|
694
694
|
type ListDlpJobsCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListDlpJobsResponse) => void;
|
|
695
695
|
|
|
696
696
|
/**
|
|
697
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
697
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|getDlpJob}.
|
|
698
698
|
* @param error Error, if any
|
|
699
699
|
* @param [response] DlpJob
|
|
700
700
|
*/
|
|
701
701
|
type GetDlpJobCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DlpJob) => void;
|
|
702
702
|
|
|
703
703
|
/**
|
|
704
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
704
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDlpJob}.
|
|
705
705
|
* @param error Error, if any
|
|
706
706
|
* @param [response] Empty
|
|
707
707
|
*/
|
|
708
708
|
type DeleteDlpJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
709
709
|
|
|
710
710
|
/**
|
|
711
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
711
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|cancelDlpJob}.
|
|
712
712
|
* @param error Error, if any
|
|
713
713
|
* @param [response] Empty
|
|
714
714
|
*/
|
|
715
715
|
type CancelDlpJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
716
716
|
|
|
717
717
|
/**
|
|
718
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
718
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|createStoredInfoType}.
|
|
719
719
|
* @param error Error, if any
|
|
720
720
|
* @param [response] StoredInfoType
|
|
721
721
|
*/
|
|
722
722
|
type CreateStoredInfoTypeCallback = (error: (Error|null), response?: google.privacy.dlp.v2.StoredInfoType) => void;
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
725
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|updateStoredInfoType}.
|
|
726
726
|
* @param error Error, if any
|
|
727
727
|
* @param [response] StoredInfoType
|
|
728
728
|
*/
|
|
729
729
|
type UpdateStoredInfoTypeCallback = (error: (Error|null), response?: google.privacy.dlp.v2.StoredInfoType) => void;
|
|
730
730
|
|
|
731
731
|
/**
|
|
732
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
732
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|getStoredInfoType}.
|
|
733
733
|
* @param error Error, if any
|
|
734
734
|
* @param [response] StoredInfoType
|
|
735
735
|
*/
|
|
736
736
|
type GetStoredInfoTypeCallback = (error: (Error|null), response?: google.privacy.dlp.v2.StoredInfoType) => void;
|
|
737
737
|
|
|
738
738
|
/**
|
|
739
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
739
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|listStoredInfoTypes}.
|
|
740
740
|
* @param error Error, if any
|
|
741
741
|
* @param [response] ListStoredInfoTypesResponse
|
|
742
742
|
*/
|
|
743
743
|
type ListStoredInfoTypesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListStoredInfoTypesResponse) => void;
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
746
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteStoredInfoType}.
|
|
747
747
|
* @param error Error, if any
|
|
748
748
|
* @param [response] Empty
|
|
749
749
|
*/
|
|
750
750
|
type DeleteStoredInfoTypeCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
753
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|hybridInspectDlpJob}.
|
|
754
754
|
* @param error Error, if any
|
|
755
755
|
* @param [response] HybridInspectResponse
|
|
756
756
|
*/
|
|
757
757
|
type HybridInspectDlpJobCallback = (error: (Error|null), response?: google.privacy.dlp.v2.HybridInspectResponse) => void;
|
|
758
758
|
|
|
759
759
|
/**
|
|
760
|
-
* Callback as used by {@link google.privacy.dlp.v2.DlpService
|
|
760
|
+
* Callback as used by {@link google.privacy.dlp.v2.DlpService|finishDlpJob}.
|
|
761
761
|
* @param error Error, if any
|
|
762
762
|
* @param [response] Empty
|
|
763
763
|
*/
|
|
@@ -1605,6 +1605,8 @@ export namespace google {
|
|
|
1605
1605
|
TEXT_UTF8 = 5,
|
|
1606
1606
|
WORD_DOCUMENT = 7,
|
|
1607
1607
|
PDF = 8,
|
|
1608
|
+
POWERPOINT_DOCUMENT = 9,
|
|
1609
|
+
EXCEL_DOCUMENT = 10,
|
|
1608
1610
|
AVRO = 11,
|
|
1609
1611
|
CSV = 12,
|
|
1610
1612
|
TSV = 13
|
|
@@ -2039,6 +2041,9 @@ export namespace google {
|
|
|
2039
2041
|
|
|
2040
2042
|
/** Finding jobName */
|
|
2041
2043
|
jobName?: (string|null);
|
|
2044
|
+
|
|
2045
|
+
/** Finding findingId */
|
|
2046
|
+
findingId?: (string|null);
|
|
2042
2047
|
}
|
|
2043
2048
|
|
|
2044
2049
|
/** Represents a Finding. */
|
|
@@ -2086,6 +2091,9 @@ export namespace google {
|
|
|
2086
2091
|
/** Finding jobName. */
|
|
2087
2092
|
public jobName: string;
|
|
2088
2093
|
|
|
2094
|
+
/** Finding findingId. */
|
|
2095
|
+
public findingId: string;
|
|
2096
|
+
|
|
2089
2097
|
/**
|
|
2090
2098
|
* Creates a new Finding instance using the specified properties.
|
|
2091
2099
|
* @param [properties] Properties to set
|
|
@@ -9417,6 +9425,9 @@ export namespace google {
|
|
|
9417
9425
|
|
|
9418
9426
|
/** PrimitiveTransformation cryptoDeterministicConfig */
|
|
9419
9427
|
cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
|
|
9428
|
+
|
|
9429
|
+
/** PrimitiveTransformation replaceDictionaryConfig */
|
|
9430
|
+
replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
|
|
9420
9431
|
}
|
|
9421
9432
|
|
|
9422
9433
|
/** Represents a PrimitiveTransformation. */
|
|
@@ -9461,8 +9472,11 @@ export namespace google {
|
|
|
9461
9472
|
/** PrimitiveTransformation cryptoDeterministicConfig. */
|
|
9462
9473
|
public cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
|
|
9463
9474
|
|
|
9475
|
+
/** PrimitiveTransformation replaceDictionaryConfig. */
|
|
9476
|
+
public replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
|
|
9477
|
+
|
|
9464
9478
|
/** PrimitiveTransformation transformation. */
|
|
9465
|
-
public transformation?: ("replaceConfig"|"redactConfig"|"characterMaskConfig"|"cryptoReplaceFfxFpeConfig"|"fixedSizeBucketingConfig"|"bucketingConfig"|"replaceWithInfoTypeConfig"|"timePartConfig"|"cryptoHashConfig"|"dateShiftConfig"|"cryptoDeterministicConfig");
|
|
9479
|
+
public transformation?: ("replaceConfig"|"redactConfig"|"characterMaskConfig"|"cryptoReplaceFfxFpeConfig"|"fixedSizeBucketingConfig"|"bucketingConfig"|"replaceWithInfoTypeConfig"|"timePartConfig"|"cryptoHashConfig"|"dateShiftConfig"|"cryptoDeterministicConfig"|"replaceDictionaryConfig");
|
|
9466
9480
|
|
|
9467
9481
|
/**
|
|
9468
9482
|
* Creates a new PrimitiveTransformation instance using the specified properties.
|
|
@@ -9921,6 +9935,99 @@ export namespace google {
|
|
|
9921
9935
|
public toJSON(): { [k: string]: any };
|
|
9922
9936
|
}
|
|
9923
9937
|
|
|
9938
|
+
/** Properties of a ReplaceDictionaryConfig. */
|
|
9939
|
+
interface IReplaceDictionaryConfig {
|
|
9940
|
+
|
|
9941
|
+
/** ReplaceDictionaryConfig wordList */
|
|
9942
|
+
wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
|
|
9943
|
+
}
|
|
9944
|
+
|
|
9945
|
+
/** Represents a ReplaceDictionaryConfig. */
|
|
9946
|
+
class ReplaceDictionaryConfig implements IReplaceDictionaryConfig {
|
|
9947
|
+
|
|
9948
|
+
/**
|
|
9949
|
+
* Constructs a new ReplaceDictionaryConfig.
|
|
9950
|
+
* @param [properties] Properties to set
|
|
9951
|
+
*/
|
|
9952
|
+
constructor(properties?: google.privacy.dlp.v2.IReplaceDictionaryConfig);
|
|
9953
|
+
|
|
9954
|
+
/** ReplaceDictionaryConfig wordList. */
|
|
9955
|
+
public wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
|
|
9956
|
+
|
|
9957
|
+
/** ReplaceDictionaryConfig type. */
|
|
9958
|
+
public type?: "wordList";
|
|
9959
|
+
|
|
9960
|
+
/**
|
|
9961
|
+
* Creates a new ReplaceDictionaryConfig instance using the specified properties.
|
|
9962
|
+
* @param [properties] Properties to set
|
|
9963
|
+
* @returns ReplaceDictionaryConfig instance
|
|
9964
|
+
*/
|
|
9965
|
+
public static create(properties?: google.privacy.dlp.v2.IReplaceDictionaryConfig): google.privacy.dlp.v2.ReplaceDictionaryConfig;
|
|
9966
|
+
|
|
9967
|
+
/**
|
|
9968
|
+
* Encodes the specified ReplaceDictionaryConfig message. Does not implicitly {@link google.privacy.dlp.v2.ReplaceDictionaryConfig.verify|verify} messages.
|
|
9969
|
+
* @param message ReplaceDictionaryConfig message or plain object to encode
|
|
9970
|
+
* @param [writer] Writer to encode to
|
|
9971
|
+
* @returns Writer
|
|
9972
|
+
*/
|
|
9973
|
+
public static encode(message: google.privacy.dlp.v2.IReplaceDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9974
|
+
|
|
9975
|
+
/**
|
|
9976
|
+
* Encodes the specified ReplaceDictionaryConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReplaceDictionaryConfig.verify|verify} messages.
|
|
9977
|
+
* @param message ReplaceDictionaryConfig message or plain object to encode
|
|
9978
|
+
* @param [writer] Writer to encode to
|
|
9979
|
+
* @returns Writer
|
|
9980
|
+
*/
|
|
9981
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IReplaceDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9982
|
+
|
|
9983
|
+
/**
|
|
9984
|
+
* Decodes a ReplaceDictionaryConfig message from the specified reader or buffer.
|
|
9985
|
+
* @param reader Reader or buffer to decode from
|
|
9986
|
+
* @param [length] Message length if known beforehand
|
|
9987
|
+
* @returns ReplaceDictionaryConfig
|
|
9988
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9989
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9990
|
+
*/
|
|
9991
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReplaceDictionaryConfig;
|
|
9992
|
+
|
|
9993
|
+
/**
|
|
9994
|
+
* Decodes a ReplaceDictionaryConfig message from the specified reader or buffer, length delimited.
|
|
9995
|
+
* @param reader Reader or buffer to decode from
|
|
9996
|
+
* @returns ReplaceDictionaryConfig
|
|
9997
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9998
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9999
|
+
*/
|
|
10000
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReplaceDictionaryConfig;
|
|
10001
|
+
|
|
10002
|
+
/**
|
|
10003
|
+
* Verifies a ReplaceDictionaryConfig message.
|
|
10004
|
+
* @param message Plain object to verify
|
|
10005
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10006
|
+
*/
|
|
10007
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10008
|
+
|
|
10009
|
+
/**
|
|
10010
|
+
* Creates a ReplaceDictionaryConfig message from a plain object. Also converts values to their respective internal types.
|
|
10011
|
+
* @param object Plain object
|
|
10012
|
+
* @returns ReplaceDictionaryConfig
|
|
10013
|
+
*/
|
|
10014
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReplaceDictionaryConfig;
|
|
10015
|
+
|
|
10016
|
+
/**
|
|
10017
|
+
* Creates a plain object from a ReplaceDictionaryConfig message. Also converts values to other types if specified.
|
|
10018
|
+
* @param message ReplaceDictionaryConfig
|
|
10019
|
+
* @param [options] Conversion options
|
|
10020
|
+
* @returns Plain object
|
|
10021
|
+
*/
|
|
10022
|
+
public static toObject(message: google.privacy.dlp.v2.ReplaceDictionaryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10023
|
+
|
|
10024
|
+
/**
|
|
10025
|
+
* Converts this ReplaceDictionaryConfig to JSON.
|
|
10026
|
+
* @returns JSON object
|
|
10027
|
+
*/
|
|
10028
|
+
public toJSON(): { [k: string]: any };
|
|
10029
|
+
}
|
|
10030
|
+
|
|
9924
10031
|
/** Properties of a ReplaceWithInfoTypeConfig. */
|
|
9925
10032
|
interface IReplaceWithInfoTypeConfig {
|
|
9926
10033
|
}
|
|
@@ -12336,6 +12443,13 @@ export namespace google {
|
|
|
12336
12443
|
|
|
12337
12444
|
namespace TransformationSummary {
|
|
12338
12445
|
|
|
12446
|
+
/** TransformationResultCode enum. */
|
|
12447
|
+
enum TransformationResultCode {
|
|
12448
|
+
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0,
|
|
12449
|
+
SUCCESS = 1,
|
|
12450
|
+
ERROR = 2
|
|
12451
|
+
}
|
|
12452
|
+
|
|
12339
12453
|
/** Properties of a SummaryResult. */
|
|
12340
12454
|
interface ISummaryResult {
|
|
12341
12455
|
|
|
@@ -12437,13 +12551,6 @@ export namespace google {
|
|
|
12437
12551
|
*/
|
|
12438
12552
|
public toJSON(): { [k: string]: any };
|
|
12439
12553
|
}
|
|
12440
|
-
|
|
12441
|
-
/** TransformationResultCode enum. */
|
|
12442
|
-
enum TransformationResultCode {
|
|
12443
|
-
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0,
|
|
12444
|
-
SUCCESS = 1,
|
|
12445
|
-
ERROR = 2
|
|
12446
|
-
}
|
|
12447
12554
|
}
|
|
12448
12555
|
|
|
12449
12556
|
/** Properties of a Schedule. */
|
|
@@ -14983,6 +15090,9 @@ export namespace google {
|
|
|
14983
15090
|
/** ListJobTriggersRequest filter */
|
|
14984
15091
|
filter?: (string|null);
|
|
14985
15092
|
|
|
15093
|
+
/** ListJobTriggersRequest type */
|
|
15094
|
+
type?: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType|null);
|
|
15095
|
+
|
|
14986
15096
|
/** ListJobTriggersRequest locationId */
|
|
14987
15097
|
locationId?: (string|null);
|
|
14988
15098
|
}
|
|
@@ -15011,6 +15121,9 @@ export namespace google {
|
|
|
15011
15121
|
/** ListJobTriggersRequest filter. */
|
|
15012
15122
|
public filter: string;
|
|
15013
15123
|
|
|
15124
|
+
/** ListJobTriggersRequest type. */
|
|
15125
|
+
public type: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType);
|
|
15126
|
+
|
|
15014
15127
|
/** ListJobTriggersRequest locationId. */
|
|
15015
15128
|
public locationId: string;
|
|
15016
15129
|
|
|
@@ -18490,6 +18603,9 @@ export namespace google {
|
|
|
18490
18603
|
|
|
18491
18604
|
/** InfoType name */
|
|
18492
18605
|
name?: (string|null);
|
|
18606
|
+
|
|
18607
|
+
/** InfoType version */
|
|
18608
|
+
version?: (string|null);
|
|
18493
18609
|
}
|
|
18494
18610
|
|
|
18495
18611
|
/** Represents an InfoType. */
|
|
@@ -18504,6 +18620,9 @@ export namespace google {
|
|
|
18504
18620
|
/** InfoType name. */
|
|
18505
18621
|
public name: string;
|
|
18506
18622
|
|
|
18623
|
+
/** InfoType version. */
|
|
18624
|
+
public version: string;
|
|
18625
|
+
|
|
18507
18626
|
/**
|
|
18508
18627
|
* Creates a new InfoType instance using the specified properties.
|
|
18509
18628
|
* @param [properties] Properties to set
|
|
@@ -18575,6 +18694,16 @@ export namespace google {
|
|
|
18575
18694
|
public toJSON(): { [k: string]: any };
|
|
18576
18695
|
}
|
|
18577
18696
|
|
|
18697
|
+
/** Likelihood enum. */
|
|
18698
|
+
enum Likelihood {
|
|
18699
|
+
LIKELIHOOD_UNSPECIFIED = 0,
|
|
18700
|
+
VERY_UNLIKELY = 1,
|
|
18701
|
+
UNLIKELY = 2,
|
|
18702
|
+
POSSIBLE = 3,
|
|
18703
|
+
LIKELY = 4,
|
|
18704
|
+
VERY_LIKELY = 5
|
|
18705
|
+
}
|
|
18706
|
+
|
|
18578
18707
|
/** Properties of a StoredType. */
|
|
18579
18708
|
interface IStoredType {
|
|
18580
18709
|
|
|
@@ -18671,16 +18800,6 @@ export namespace google {
|
|
|
18671
18800
|
public toJSON(): { [k: string]: any };
|
|
18672
18801
|
}
|
|
18673
18802
|
|
|
18674
|
-
/** Likelihood enum. */
|
|
18675
|
-
enum Likelihood {
|
|
18676
|
-
LIKELIHOOD_UNSPECIFIED = 0,
|
|
18677
|
-
VERY_UNLIKELY = 1,
|
|
18678
|
-
UNLIKELY = 2,
|
|
18679
|
-
POSSIBLE = 3,
|
|
18680
|
-
LIKELY = 4,
|
|
18681
|
-
VERY_LIKELY = 5
|
|
18682
|
-
}
|
|
18683
|
-
|
|
18684
18803
|
/** Properties of a CustomInfoType. */
|
|
18685
18804
|
interface ICustomInfoType {
|
|
18686
18805
|
|
|
@@ -19962,6 +20081,21 @@ export namespace google {
|
|
|
19962
20081
|
public toJSON(): { [k: string]: any };
|
|
19963
20082
|
}
|
|
19964
20083
|
|
|
20084
|
+
/** FileType enum. */
|
|
20085
|
+
enum FileType {
|
|
20086
|
+
FILE_TYPE_UNSPECIFIED = 0,
|
|
20087
|
+
BINARY_FILE = 1,
|
|
20088
|
+
TEXT_FILE = 2,
|
|
20089
|
+
IMAGE = 3,
|
|
20090
|
+
WORD = 5,
|
|
20091
|
+
PDF = 6,
|
|
20092
|
+
AVRO = 7,
|
|
20093
|
+
CSV = 8,
|
|
20094
|
+
TSV = 9,
|
|
20095
|
+
POWERPOINT = 11,
|
|
20096
|
+
EXCEL = 12
|
|
20097
|
+
}
|
|
20098
|
+
|
|
19965
20099
|
/** Properties of a CloudStorageRegexFileSet. */
|
|
19966
20100
|
interface ICloudStorageRegexFileSet {
|
|
19967
20101
|
|
|
@@ -20490,6 +20624,9 @@ export namespace google {
|
|
|
20490
20624
|
|
|
20491
20625
|
/** BigQueryOptions excludedFields */
|
|
20492
20626
|
excludedFields?: (google.privacy.dlp.v2.IFieldId[]|null);
|
|
20627
|
+
|
|
20628
|
+
/** BigQueryOptions includedFields */
|
|
20629
|
+
includedFields?: (google.privacy.dlp.v2.IFieldId[]|null);
|
|
20493
20630
|
}
|
|
20494
20631
|
|
|
20495
20632
|
/** Represents a BigQueryOptions. */
|
|
@@ -20519,6 +20656,9 @@ export namespace google {
|
|
|
20519
20656
|
/** BigQueryOptions excludedFields. */
|
|
20520
20657
|
public excludedFields: google.privacy.dlp.v2.IFieldId[];
|
|
20521
20658
|
|
|
20659
|
+
/** BigQueryOptions includedFields. */
|
|
20660
|
+
public includedFields: google.privacy.dlp.v2.IFieldId[];
|
|
20661
|
+
|
|
20522
20662
|
/**
|
|
20523
20663
|
* Creates a new BigQueryOptions instance using the specified properties.
|
|
20524
20664
|
* @param [properties] Properties to set
|
|
@@ -20828,19 +20968,6 @@ export namespace google {
|
|
|
20828
20968
|
}
|
|
20829
20969
|
}
|
|
20830
20970
|
|
|
20831
|
-
/** FileType enum. */
|
|
20832
|
-
enum FileType {
|
|
20833
|
-
FILE_TYPE_UNSPECIFIED = 0,
|
|
20834
|
-
BINARY_FILE = 1,
|
|
20835
|
-
TEXT_FILE = 2,
|
|
20836
|
-
IMAGE = 3,
|
|
20837
|
-
WORD = 5,
|
|
20838
|
-
PDF = 6,
|
|
20839
|
-
AVRO = 7,
|
|
20840
|
-
CSV = 8,
|
|
20841
|
-
TSV = 9
|
|
20842
|
-
}
|
|
20843
|
-
|
|
20844
20971
|
/** Properties of a HybridOptions. */
|
|
20845
20972
|
interface IHybridOptions {
|
|
20846
20973
|
|
|
@@ -21828,589 +21955,590 @@ export namespace google {
|
|
|
21828
21955
|
/** Namespace api. */
|
|
21829
21956
|
namespace api {
|
|
21830
21957
|
|
|
21831
|
-
/**
|
|
21832
|
-
|
|
21833
|
-
FIELD_BEHAVIOR_UNSPECIFIED = 0,
|
|
21834
|
-
OPTIONAL = 1,
|
|
21835
|
-
REQUIRED = 2,
|
|
21836
|
-
OUTPUT_ONLY = 3,
|
|
21837
|
-
INPUT_ONLY = 4,
|
|
21838
|
-
IMMUTABLE = 5,
|
|
21839
|
-
UNORDERED_LIST = 6
|
|
21840
|
-
}
|
|
21841
|
-
|
|
21842
|
-
/** Properties of a ResourceDescriptor. */
|
|
21843
|
-
interface IResourceDescriptor {
|
|
21844
|
-
|
|
21845
|
-
/** ResourceDescriptor type */
|
|
21846
|
-
type?: (string|null);
|
|
21847
|
-
|
|
21848
|
-
/** ResourceDescriptor pattern */
|
|
21849
|
-
pattern?: (string[]|null);
|
|
21850
|
-
|
|
21851
|
-
/** ResourceDescriptor nameField */
|
|
21852
|
-
nameField?: (string|null);
|
|
21853
|
-
|
|
21854
|
-
/** ResourceDescriptor history */
|
|
21855
|
-
history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
|
|
21856
|
-
|
|
21857
|
-
/** ResourceDescriptor plural */
|
|
21858
|
-
plural?: (string|null);
|
|
21958
|
+
/** Properties of a Http. */
|
|
21959
|
+
interface IHttp {
|
|
21859
21960
|
|
|
21860
|
-
/**
|
|
21861
|
-
|
|
21961
|
+
/** Http rules */
|
|
21962
|
+
rules?: (google.api.IHttpRule[]|null);
|
|
21862
21963
|
|
|
21863
|
-
/**
|
|
21864
|
-
|
|
21964
|
+
/** Http fullyDecodeReservedExpansion */
|
|
21965
|
+
fullyDecodeReservedExpansion?: (boolean|null);
|
|
21865
21966
|
}
|
|
21866
21967
|
|
|
21867
|
-
/** Represents a
|
|
21868
|
-
class
|
|
21968
|
+
/** Represents a Http. */
|
|
21969
|
+
class Http implements IHttp {
|
|
21869
21970
|
|
|
21870
21971
|
/**
|
|
21871
|
-
* Constructs a new
|
|
21972
|
+
* Constructs a new Http.
|
|
21872
21973
|
* @param [properties] Properties to set
|
|
21873
21974
|
*/
|
|
21874
|
-
constructor(properties?: google.api.
|
|
21875
|
-
|
|
21876
|
-
/** ResourceDescriptor type. */
|
|
21877
|
-
public type: string;
|
|
21878
|
-
|
|
21879
|
-
/** ResourceDescriptor pattern. */
|
|
21880
|
-
public pattern: string[];
|
|
21881
|
-
|
|
21882
|
-
/** ResourceDescriptor nameField. */
|
|
21883
|
-
public nameField: string;
|
|
21884
|
-
|
|
21885
|
-
/** ResourceDescriptor history. */
|
|
21886
|
-
public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
|
|
21887
|
-
|
|
21888
|
-
/** ResourceDescriptor plural. */
|
|
21889
|
-
public plural: string;
|
|
21975
|
+
constructor(properties?: google.api.IHttp);
|
|
21890
21976
|
|
|
21891
|
-
/**
|
|
21892
|
-
public
|
|
21977
|
+
/** Http rules. */
|
|
21978
|
+
public rules: google.api.IHttpRule[];
|
|
21893
21979
|
|
|
21894
|
-
/**
|
|
21895
|
-
public
|
|
21980
|
+
/** Http fullyDecodeReservedExpansion. */
|
|
21981
|
+
public fullyDecodeReservedExpansion: boolean;
|
|
21896
21982
|
|
|
21897
21983
|
/**
|
|
21898
|
-
* Creates a new
|
|
21984
|
+
* Creates a new Http instance using the specified properties.
|
|
21899
21985
|
* @param [properties] Properties to set
|
|
21900
|
-
* @returns
|
|
21986
|
+
* @returns Http instance
|
|
21901
21987
|
*/
|
|
21902
|
-
public static create(properties?: google.api.
|
|
21988
|
+
public static create(properties?: google.api.IHttp): google.api.Http;
|
|
21903
21989
|
|
|
21904
21990
|
/**
|
|
21905
|
-
* Encodes the specified
|
|
21906
|
-
* @param message
|
|
21991
|
+
* Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
|
21992
|
+
* @param message Http message or plain object to encode
|
|
21907
21993
|
* @param [writer] Writer to encode to
|
|
21908
21994
|
* @returns Writer
|
|
21909
21995
|
*/
|
|
21910
|
-
public static encode(message: google.api.
|
|
21996
|
+
public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21911
21997
|
|
|
21912
21998
|
/**
|
|
21913
|
-
* Encodes the specified
|
|
21914
|
-
* @param message
|
|
21999
|
+
* Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
|
22000
|
+
* @param message Http message or plain object to encode
|
|
21915
22001
|
* @param [writer] Writer to encode to
|
|
21916
22002
|
* @returns Writer
|
|
21917
22003
|
*/
|
|
21918
|
-
public static encodeDelimited(message: google.api.
|
|
22004
|
+
public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21919
22005
|
|
|
21920
22006
|
/**
|
|
21921
|
-
* Decodes a
|
|
22007
|
+
* Decodes a Http message from the specified reader or buffer.
|
|
21922
22008
|
* @param reader Reader or buffer to decode from
|
|
21923
22009
|
* @param [length] Message length if known beforehand
|
|
21924
|
-
* @returns
|
|
22010
|
+
* @returns Http
|
|
21925
22011
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21926
22012
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21927
22013
|
*/
|
|
21928
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
22014
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
|
|
21929
22015
|
|
|
21930
22016
|
/**
|
|
21931
|
-
* Decodes a
|
|
22017
|
+
* Decodes a Http message from the specified reader or buffer, length delimited.
|
|
21932
22018
|
* @param reader Reader or buffer to decode from
|
|
21933
|
-
* @returns
|
|
22019
|
+
* @returns Http
|
|
21934
22020
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21935
22021
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21936
22022
|
*/
|
|
21937
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
22023
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
|
|
21938
22024
|
|
|
21939
22025
|
/**
|
|
21940
|
-
* Verifies a
|
|
22026
|
+
* Verifies a Http message.
|
|
21941
22027
|
* @param message Plain object to verify
|
|
21942
22028
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
21943
22029
|
*/
|
|
21944
22030
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
21945
22031
|
|
|
21946
22032
|
/**
|
|
21947
|
-
* Creates a
|
|
22033
|
+
* Creates a Http message from a plain object. Also converts values to their respective internal types.
|
|
21948
22034
|
* @param object Plain object
|
|
21949
|
-
* @returns
|
|
22035
|
+
* @returns Http
|
|
21950
22036
|
*/
|
|
21951
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
22037
|
+
public static fromObject(object: { [k: string]: any }): google.api.Http;
|
|
21952
22038
|
|
|
21953
22039
|
/**
|
|
21954
|
-
* Creates a plain object from a
|
|
21955
|
-
* @param message
|
|
22040
|
+
* Creates a plain object from a Http message. Also converts values to other types if specified.
|
|
22041
|
+
* @param message Http
|
|
21956
22042
|
* @param [options] Conversion options
|
|
21957
22043
|
* @returns Plain object
|
|
21958
22044
|
*/
|
|
21959
|
-
public static toObject(message: google.api.
|
|
22045
|
+
public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
21960
22046
|
|
|
21961
22047
|
/**
|
|
21962
|
-
* Converts this
|
|
22048
|
+
* Converts this Http to JSON.
|
|
21963
22049
|
* @returns JSON object
|
|
21964
22050
|
*/
|
|
21965
22051
|
public toJSON(): { [k: string]: any };
|
|
21966
22052
|
}
|
|
21967
22053
|
|
|
21968
|
-
|
|
22054
|
+
/** Properties of a HttpRule. */
|
|
22055
|
+
interface IHttpRule {
|
|
21969
22056
|
|
|
21970
|
-
/**
|
|
21971
|
-
|
|
21972
|
-
HISTORY_UNSPECIFIED = 0,
|
|
21973
|
-
ORIGINALLY_SINGLE_PATTERN = 1,
|
|
21974
|
-
FUTURE_MULTI_PATTERN = 2
|
|
21975
|
-
}
|
|
22057
|
+
/** HttpRule selector */
|
|
22058
|
+
selector?: (string|null);
|
|
21976
22059
|
|
|
21977
|
-
/**
|
|
21978
|
-
|
|
21979
|
-
STYLE_UNSPECIFIED = 0,
|
|
21980
|
-
DECLARATIVE_FRIENDLY = 1
|
|
21981
|
-
}
|
|
21982
|
-
}
|
|
22060
|
+
/** HttpRule get */
|
|
22061
|
+
get?: (string|null);
|
|
21983
22062
|
|
|
21984
|
-
|
|
21985
|
-
|
|
22063
|
+
/** HttpRule put */
|
|
22064
|
+
put?: (string|null);
|
|
21986
22065
|
|
|
21987
|
-
/**
|
|
21988
|
-
|
|
22066
|
+
/** HttpRule post */
|
|
22067
|
+
post?: (string|null);
|
|
21989
22068
|
|
|
21990
|
-
/**
|
|
21991
|
-
|
|
22069
|
+
/** HttpRule delete */
|
|
22070
|
+
"delete"?: (string|null);
|
|
22071
|
+
|
|
22072
|
+
/** HttpRule patch */
|
|
22073
|
+
patch?: (string|null);
|
|
22074
|
+
|
|
22075
|
+
/** HttpRule custom */
|
|
22076
|
+
custom?: (google.api.ICustomHttpPattern|null);
|
|
22077
|
+
|
|
22078
|
+
/** HttpRule body */
|
|
22079
|
+
body?: (string|null);
|
|
22080
|
+
|
|
22081
|
+
/** HttpRule responseBody */
|
|
22082
|
+
responseBody?: (string|null);
|
|
22083
|
+
|
|
22084
|
+
/** HttpRule additionalBindings */
|
|
22085
|
+
additionalBindings?: (google.api.IHttpRule[]|null);
|
|
21992
22086
|
}
|
|
21993
22087
|
|
|
21994
|
-
/** Represents a
|
|
21995
|
-
class
|
|
22088
|
+
/** Represents a HttpRule. */
|
|
22089
|
+
class HttpRule implements IHttpRule {
|
|
21996
22090
|
|
|
21997
22091
|
/**
|
|
21998
|
-
* Constructs a new
|
|
22092
|
+
* Constructs a new HttpRule.
|
|
21999
22093
|
* @param [properties] Properties to set
|
|
22000
22094
|
*/
|
|
22001
|
-
constructor(properties?: google.api.
|
|
22095
|
+
constructor(properties?: google.api.IHttpRule);
|
|
22002
22096
|
|
|
22003
|
-
/**
|
|
22004
|
-
public
|
|
22097
|
+
/** HttpRule selector. */
|
|
22098
|
+
public selector: string;
|
|
22005
22099
|
|
|
22006
|
-
/**
|
|
22007
|
-
public
|
|
22100
|
+
/** HttpRule get. */
|
|
22101
|
+
public get?: (string|null);
|
|
22102
|
+
|
|
22103
|
+
/** HttpRule put. */
|
|
22104
|
+
public put?: (string|null);
|
|
22105
|
+
|
|
22106
|
+
/** HttpRule post. */
|
|
22107
|
+
public post?: (string|null);
|
|
22108
|
+
|
|
22109
|
+
/** HttpRule delete. */
|
|
22110
|
+
public delete?: (string|null);
|
|
22111
|
+
|
|
22112
|
+
/** HttpRule patch. */
|
|
22113
|
+
public patch?: (string|null);
|
|
22114
|
+
|
|
22115
|
+
/** HttpRule custom. */
|
|
22116
|
+
public custom?: (google.api.ICustomHttpPattern|null);
|
|
22117
|
+
|
|
22118
|
+
/** HttpRule body. */
|
|
22119
|
+
public body: string;
|
|
22120
|
+
|
|
22121
|
+
/** HttpRule responseBody. */
|
|
22122
|
+
public responseBody: string;
|
|
22123
|
+
|
|
22124
|
+
/** HttpRule additionalBindings. */
|
|
22125
|
+
public additionalBindings: google.api.IHttpRule[];
|
|
22126
|
+
|
|
22127
|
+
/** HttpRule pattern. */
|
|
22128
|
+
public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
|
|
22008
22129
|
|
|
22009
22130
|
/**
|
|
22010
|
-
* Creates a new
|
|
22131
|
+
* Creates a new HttpRule instance using the specified properties.
|
|
22011
22132
|
* @param [properties] Properties to set
|
|
22012
|
-
* @returns
|
|
22133
|
+
* @returns HttpRule instance
|
|
22013
22134
|
*/
|
|
22014
|
-
public static create(properties?: google.api.
|
|
22135
|
+
public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
|
|
22015
22136
|
|
|
22016
22137
|
/**
|
|
22017
|
-
* Encodes the specified
|
|
22018
|
-
* @param message
|
|
22138
|
+
* Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
|
|
22139
|
+
* @param message HttpRule message or plain object to encode
|
|
22019
22140
|
* @param [writer] Writer to encode to
|
|
22020
22141
|
* @returns Writer
|
|
22021
22142
|
*/
|
|
22022
|
-
public static encode(message: google.api.
|
|
22143
|
+
public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22023
22144
|
|
|
22024
22145
|
/**
|
|
22025
|
-
* Encodes the specified
|
|
22026
|
-
* @param message
|
|
22146
|
+
* Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
|
|
22147
|
+
* @param message HttpRule message or plain object to encode
|
|
22027
22148
|
* @param [writer] Writer to encode to
|
|
22028
22149
|
* @returns Writer
|
|
22029
22150
|
*/
|
|
22030
|
-
public static encodeDelimited(message: google.api.
|
|
22151
|
+
public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22031
22152
|
|
|
22032
22153
|
/**
|
|
22033
|
-
* Decodes a
|
|
22154
|
+
* Decodes a HttpRule message from the specified reader or buffer.
|
|
22034
22155
|
* @param reader Reader or buffer to decode from
|
|
22035
22156
|
* @param [length] Message length if known beforehand
|
|
22036
|
-
* @returns
|
|
22157
|
+
* @returns HttpRule
|
|
22037
22158
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22038
22159
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22039
22160
|
*/
|
|
22040
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
22161
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
|
|
22041
22162
|
|
|
22042
22163
|
/**
|
|
22043
|
-
* Decodes a
|
|
22164
|
+
* Decodes a HttpRule message from the specified reader or buffer, length delimited.
|
|
22044
22165
|
* @param reader Reader or buffer to decode from
|
|
22045
|
-
* @returns
|
|
22166
|
+
* @returns HttpRule
|
|
22046
22167
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22047
22168
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22048
22169
|
*/
|
|
22049
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
22170
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
|
|
22050
22171
|
|
|
22051
22172
|
/**
|
|
22052
|
-
* Verifies a
|
|
22173
|
+
* Verifies a HttpRule message.
|
|
22053
22174
|
* @param message Plain object to verify
|
|
22054
22175
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
22055
22176
|
*/
|
|
22056
22177
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
22057
22178
|
|
|
22058
22179
|
/**
|
|
22059
|
-
* Creates a
|
|
22180
|
+
* Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
|
|
22060
22181
|
* @param object Plain object
|
|
22061
|
-
* @returns
|
|
22182
|
+
* @returns HttpRule
|
|
22062
22183
|
*/
|
|
22063
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
22184
|
+
public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
|
|
22064
22185
|
|
|
22065
22186
|
/**
|
|
22066
|
-
* Creates a plain object from a
|
|
22067
|
-
* @param message
|
|
22187
|
+
* Creates a plain object from a HttpRule message. Also converts values to other types if specified.
|
|
22188
|
+
* @param message HttpRule
|
|
22068
22189
|
* @param [options] Conversion options
|
|
22069
22190
|
* @returns Plain object
|
|
22070
22191
|
*/
|
|
22071
|
-
public static toObject(message: google.api.
|
|
22192
|
+
public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22072
22193
|
|
|
22073
22194
|
/**
|
|
22074
|
-
* Converts this
|
|
22195
|
+
* Converts this HttpRule to JSON.
|
|
22075
22196
|
* @returns JSON object
|
|
22076
22197
|
*/
|
|
22077
22198
|
public toJSON(): { [k: string]: any };
|
|
22078
22199
|
}
|
|
22079
22200
|
|
|
22080
|
-
/** Properties of a
|
|
22081
|
-
interface
|
|
22201
|
+
/** Properties of a CustomHttpPattern. */
|
|
22202
|
+
interface ICustomHttpPattern {
|
|
22082
22203
|
|
|
22083
|
-
/**
|
|
22084
|
-
|
|
22204
|
+
/** CustomHttpPattern kind */
|
|
22205
|
+
kind?: (string|null);
|
|
22085
22206
|
|
|
22086
|
-
/**
|
|
22087
|
-
|
|
22207
|
+
/** CustomHttpPattern path */
|
|
22208
|
+
path?: (string|null);
|
|
22088
22209
|
}
|
|
22089
22210
|
|
|
22090
|
-
/** Represents a
|
|
22091
|
-
class
|
|
22211
|
+
/** Represents a CustomHttpPattern. */
|
|
22212
|
+
class CustomHttpPattern implements ICustomHttpPattern {
|
|
22092
22213
|
|
|
22093
22214
|
/**
|
|
22094
|
-
* Constructs a new
|
|
22215
|
+
* Constructs a new CustomHttpPattern.
|
|
22095
22216
|
* @param [properties] Properties to set
|
|
22096
22217
|
*/
|
|
22097
|
-
constructor(properties?: google.api.
|
|
22218
|
+
constructor(properties?: google.api.ICustomHttpPattern);
|
|
22098
22219
|
|
|
22099
|
-
/**
|
|
22100
|
-
public
|
|
22220
|
+
/** CustomHttpPattern kind. */
|
|
22221
|
+
public kind: string;
|
|
22101
22222
|
|
|
22102
|
-
/**
|
|
22103
|
-
public
|
|
22223
|
+
/** CustomHttpPattern path. */
|
|
22224
|
+
public path: string;
|
|
22104
22225
|
|
|
22105
22226
|
/**
|
|
22106
|
-
* Creates a new
|
|
22227
|
+
* Creates a new CustomHttpPattern instance using the specified properties.
|
|
22107
22228
|
* @param [properties] Properties to set
|
|
22108
|
-
* @returns
|
|
22229
|
+
* @returns CustomHttpPattern instance
|
|
22109
22230
|
*/
|
|
22110
|
-
public static create(properties?: google.api.
|
|
22231
|
+
public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
|
|
22111
22232
|
|
|
22112
22233
|
/**
|
|
22113
|
-
* Encodes the specified
|
|
22114
|
-
* @param message
|
|
22234
|
+
* Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
|
|
22235
|
+
* @param message CustomHttpPattern message or plain object to encode
|
|
22115
22236
|
* @param [writer] Writer to encode to
|
|
22116
22237
|
* @returns Writer
|
|
22117
22238
|
*/
|
|
22118
|
-
public static encode(message: google.api.
|
|
22239
|
+
public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22119
22240
|
|
|
22120
22241
|
/**
|
|
22121
|
-
* Encodes the specified
|
|
22122
|
-
* @param message
|
|
22242
|
+
* Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
|
|
22243
|
+
* @param message CustomHttpPattern message or plain object to encode
|
|
22123
22244
|
* @param [writer] Writer to encode to
|
|
22124
22245
|
* @returns Writer
|
|
22125
22246
|
*/
|
|
22126
|
-
public static encodeDelimited(message: google.api.
|
|
22247
|
+
public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22127
22248
|
|
|
22128
22249
|
/**
|
|
22129
|
-
* Decodes a
|
|
22250
|
+
* Decodes a CustomHttpPattern message from the specified reader or buffer.
|
|
22130
22251
|
* @param reader Reader or buffer to decode from
|
|
22131
22252
|
* @param [length] Message length if known beforehand
|
|
22132
|
-
* @returns
|
|
22253
|
+
* @returns CustomHttpPattern
|
|
22133
22254
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22134
22255
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22135
22256
|
*/
|
|
22136
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
22257
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
|
|
22137
22258
|
|
|
22138
22259
|
/**
|
|
22139
|
-
* Decodes a
|
|
22260
|
+
* Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
|
|
22140
22261
|
* @param reader Reader or buffer to decode from
|
|
22141
|
-
* @returns
|
|
22262
|
+
* @returns CustomHttpPattern
|
|
22142
22263
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22143
22264
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22144
22265
|
*/
|
|
22145
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
22266
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
|
|
22146
22267
|
|
|
22147
22268
|
/**
|
|
22148
|
-
* Verifies a
|
|
22269
|
+
* Verifies a CustomHttpPattern message.
|
|
22149
22270
|
* @param message Plain object to verify
|
|
22150
22271
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
22151
22272
|
*/
|
|
22152
22273
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
22153
22274
|
|
|
22154
22275
|
/**
|
|
22155
|
-
* Creates a
|
|
22276
|
+
* Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
|
|
22156
22277
|
* @param object Plain object
|
|
22157
|
-
* @returns
|
|
22278
|
+
* @returns CustomHttpPattern
|
|
22158
22279
|
*/
|
|
22159
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
22280
|
+
public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
|
|
22160
22281
|
|
|
22161
22282
|
/**
|
|
22162
|
-
* Creates a plain object from a
|
|
22163
|
-
* @param message
|
|
22283
|
+
* Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
|
|
22284
|
+
* @param message CustomHttpPattern
|
|
22164
22285
|
* @param [options] Conversion options
|
|
22165
22286
|
* @returns Plain object
|
|
22166
22287
|
*/
|
|
22167
|
-
public static toObject(message: google.api.
|
|
22288
|
+
public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22168
22289
|
|
|
22169
22290
|
/**
|
|
22170
|
-
* Converts this
|
|
22291
|
+
* Converts this CustomHttpPattern to JSON.
|
|
22171
22292
|
* @returns JSON object
|
|
22172
22293
|
*/
|
|
22173
22294
|
public toJSON(): { [k: string]: any };
|
|
22174
22295
|
}
|
|
22175
22296
|
|
|
22176
|
-
/**
|
|
22177
|
-
|
|
22178
|
-
|
|
22179
|
-
|
|
22180
|
-
|
|
22181
|
-
|
|
22182
|
-
|
|
22183
|
-
|
|
22297
|
+
/** FieldBehavior enum. */
|
|
22298
|
+
enum FieldBehavior {
|
|
22299
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0,
|
|
22300
|
+
OPTIONAL = 1,
|
|
22301
|
+
REQUIRED = 2,
|
|
22302
|
+
OUTPUT_ONLY = 3,
|
|
22303
|
+
INPUT_ONLY = 4,
|
|
22304
|
+
IMMUTABLE = 5,
|
|
22305
|
+
UNORDERED_LIST = 6,
|
|
22306
|
+
NON_EMPTY_DEFAULT = 7
|
|
22307
|
+
}
|
|
22184
22308
|
|
|
22185
|
-
|
|
22186
|
-
|
|
22309
|
+
/** Properties of a ResourceDescriptor. */
|
|
22310
|
+
interface IResourceDescriptor {
|
|
22187
22311
|
|
|
22188
|
-
/**
|
|
22189
|
-
|
|
22312
|
+
/** ResourceDescriptor type */
|
|
22313
|
+
type?: (string|null);
|
|
22190
22314
|
|
|
22191
|
-
/**
|
|
22192
|
-
|
|
22315
|
+
/** ResourceDescriptor pattern */
|
|
22316
|
+
pattern?: (string[]|null);
|
|
22193
22317
|
|
|
22194
|
-
/**
|
|
22195
|
-
|
|
22318
|
+
/** ResourceDescriptor nameField */
|
|
22319
|
+
nameField?: (string|null);
|
|
22196
22320
|
|
|
22197
|
-
/**
|
|
22198
|
-
|
|
22321
|
+
/** ResourceDescriptor history */
|
|
22322
|
+
history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
|
|
22199
22323
|
|
|
22200
|
-
/**
|
|
22201
|
-
|
|
22324
|
+
/** ResourceDescriptor plural */
|
|
22325
|
+
plural?: (string|null);
|
|
22202
22326
|
|
|
22203
|
-
/**
|
|
22204
|
-
|
|
22327
|
+
/** ResourceDescriptor singular */
|
|
22328
|
+
singular?: (string|null);
|
|
22205
22329
|
|
|
22206
|
-
/**
|
|
22207
|
-
|
|
22330
|
+
/** ResourceDescriptor style */
|
|
22331
|
+
style?: (google.api.ResourceDescriptor.Style[]|null);
|
|
22208
22332
|
}
|
|
22209
22333
|
|
|
22210
|
-
/** Represents a
|
|
22211
|
-
class
|
|
22334
|
+
/** Represents a ResourceDescriptor. */
|
|
22335
|
+
class ResourceDescriptor implements IResourceDescriptor {
|
|
22212
22336
|
|
|
22213
22337
|
/**
|
|
22214
|
-
* Constructs a new
|
|
22338
|
+
* Constructs a new ResourceDescriptor.
|
|
22215
22339
|
* @param [properties] Properties to set
|
|
22216
22340
|
*/
|
|
22217
|
-
constructor(properties?: google.api.
|
|
22218
|
-
|
|
22219
|
-
/** HttpRule selector. */
|
|
22220
|
-
public selector: string;
|
|
22221
|
-
|
|
22222
|
-
/** HttpRule get. */
|
|
22223
|
-
public get?: (string|null);
|
|
22224
|
-
|
|
22225
|
-
/** HttpRule put. */
|
|
22226
|
-
public put?: (string|null);
|
|
22227
|
-
|
|
22228
|
-
/** HttpRule post. */
|
|
22229
|
-
public post?: (string|null);
|
|
22341
|
+
constructor(properties?: google.api.IResourceDescriptor);
|
|
22230
22342
|
|
|
22231
|
-
/**
|
|
22232
|
-
public
|
|
22343
|
+
/** ResourceDescriptor type. */
|
|
22344
|
+
public type: string;
|
|
22233
22345
|
|
|
22234
|
-
/**
|
|
22235
|
-
public
|
|
22346
|
+
/** ResourceDescriptor pattern. */
|
|
22347
|
+
public pattern: string[];
|
|
22236
22348
|
|
|
22237
|
-
/**
|
|
22238
|
-
public
|
|
22349
|
+
/** ResourceDescriptor nameField. */
|
|
22350
|
+
public nameField: string;
|
|
22239
22351
|
|
|
22240
|
-
/**
|
|
22241
|
-
public
|
|
22352
|
+
/** ResourceDescriptor history. */
|
|
22353
|
+
public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
|
|
22242
22354
|
|
|
22243
|
-
/**
|
|
22244
|
-
public
|
|
22355
|
+
/** ResourceDescriptor plural. */
|
|
22356
|
+
public plural: string;
|
|
22245
22357
|
|
|
22246
|
-
/**
|
|
22247
|
-
public
|
|
22358
|
+
/** ResourceDescriptor singular. */
|
|
22359
|
+
public singular: string;
|
|
22248
22360
|
|
|
22249
|
-
/**
|
|
22250
|
-
public
|
|
22361
|
+
/** ResourceDescriptor style. */
|
|
22362
|
+
public style: google.api.ResourceDescriptor.Style[];
|
|
22251
22363
|
|
|
22252
22364
|
/**
|
|
22253
|
-
* Creates a new
|
|
22365
|
+
* Creates a new ResourceDescriptor instance using the specified properties.
|
|
22254
22366
|
* @param [properties] Properties to set
|
|
22255
|
-
* @returns
|
|
22367
|
+
* @returns ResourceDescriptor instance
|
|
22256
22368
|
*/
|
|
22257
|
-
public static create(properties?: google.api.
|
|
22369
|
+
public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
|
|
22258
22370
|
|
|
22259
22371
|
/**
|
|
22260
|
-
* Encodes the specified
|
|
22261
|
-
* @param message
|
|
22372
|
+
* Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
22373
|
+
* @param message ResourceDescriptor message or plain object to encode
|
|
22262
22374
|
* @param [writer] Writer to encode to
|
|
22263
22375
|
* @returns Writer
|
|
22264
22376
|
*/
|
|
22265
|
-
public static encode(message: google.api.
|
|
22377
|
+
public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22266
22378
|
|
|
22267
22379
|
/**
|
|
22268
|
-
* Encodes the specified
|
|
22269
|
-
* @param message
|
|
22380
|
+
* Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
22381
|
+
* @param message ResourceDescriptor message or plain object to encode
|
|
22270
22382
|
* @param [writer] Writer to encode to
|
|
22271
22383
|
* @returns Writer
|
|
22272
22384
|
*/
|
|
22273
|
-
public static encodeDelimited(message: google.api.
|
|
22385
|
+
public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22274
22386
|
|
|
22275
22387
|
/**
|
|
22276
|
-
* Decodes a
|
|
22388
|
+
* Decodes a ResourceDescriptor message from the specified reader or buffer.
|
|
22277
22389
|
* @param reader Reader or buffer to decode from
|
|
22278
22390
|
* @param [length] Message length if known beforehand
|
|
22279
|
-
* @returns
|
|
22391
|
+
* @returns ResourceDescriptor
|
|
22280
22392
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22281
22393
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22282
22394
|
*/
|
|
22283
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
22395
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
|
|
22284
22396
|
|
|
22285
22397
|
/**
|
|
22286
|
-
* Decodes a
|
|
22398
|
+
* Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
|
|
22287
22399
|
* @param reader Reader or buffer to decode from
|
|
22288
|
-
* @returns
|
|
22400
|
+
* @returns ResourceDescriptor
|
|
22289
22401
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22290
22402
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22291
22403
|
*/
|
|
22292
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
22404
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
|
|
22293
22405
|
|
|
22294
22406
|
/**
|
|
22295
|
-
* Verifies a
|
|
22407
|
+
* Verifies a ResourceDescriptor message.
|
|
22296
22408
|
* @param message Plain object to verify
|
|
22297
22409
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
22298
22410
|
*/
|
|
22299
22411
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
22300
22412
|
|
|
22301
22413
|
/**
|
|
22302
|
-
* Creates a
|
|
22414
|
+
* Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
22303
22415
|
* @param object Plain object
|
|
22304
|
-
* @returns
|
|
22416
|
+
* @returns ResourceDescriptor
|
|
22305
22417
|
*/
|
|
22306
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
22418
|
+
public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
|
|
22307
22419
|
|
|
22308
22420
|
/**
|
|
22309
|
-
* Creates a plain object from a
|
|
22310
|
-
* @param message
|
|
22421
|
+
* Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
|
|
22422
|
+
* @param message ResourceDescriptor
|
|
22311
22423
|
* @param [options] Conversion options
|
|
22312
22424
|
* @returns Plain object
|
|
22313
22425
|
*/
|
|
22314
|
-
public static toObject(message: google.api.
|
|
22426
|
+
public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22315
22427
|
|
|
22316
22428
|
/**
|
|
22317
|
-
* Converts this
|
|
22429
|
+
* Converts this ResourceDescriptor to JSON.
|
|
22318
22430
|
* @returns JSON object
|
|
22319
22431
|
*/
|
|
22320
22432
|
public toJSON(): { [k: string]: any };
|
|
22321
22433
|
}
|
|
22322
22434
|
|
|
22323
|
-
|
|
22324
|
-
interface ICustomHttpPattern {
|
|
22435
|
+
namespace ResourceDescriptor {
|
|
22325
22436
|
|
|
22326
|
-
/**
|
|
22327
|
-
|
|
22437
|
+
/** History enum. */
|
|
22438
|
+
enum History {
|
|
22439
|
+
HISTORY_UNSPECIFIED = 0,
|
|
22440
|
+
ORIGINALLY_SINGLE_PATTERN = 1,
|
|
22441
|
+
FUTURE_MULTI_PATTERN = 2
|
|
22442
|
+
}
|
|
22328
22443
|
|
|
22329
|
-
/**
|
|
22330
|
-
|
|
22444
|
+
/** Style enum. */
|
|
22445
|
+
enum Style {
|
|
22446
|
+
STYLE_UNSPECIFIED = 0,
|
|
22447
|
+
DECLARATIVE_FRIENDLY = 1
|
|
22448
|
+
}
|
|
22331
22449
|
}
|
|
22332
22450
|
|
|
22333
|
-
/**
|
|
22334
|
-
|
|
22451
|
+
/** Properties of a ResourceReference. */
|
|
22452
|
+
interface IResourceReference {
|
|
22453
|
+
|
|
22454
|
+
/** ResourceReference type */
|
|
22455
|
+
type?: (string|null);
|
|
22456
|
+
|
|
22457
|
+
/** ResourceReference childType */
|
|
22458
|
+
childType?: (string|null);
|
|
22459
|
+
}
|
|
22460
|
+
|
|
22461
|
+
/** Represents a ResourceReference. */
|
|
22462
|
+
class ResourceReference implements IResourceReference {
|
|
22335
22463
|
|
|
22336
22464
|
/**
|
|
22337
|
-
* Constructs a new
|
|
22465
|
+
* Constructs a new ResourceReference.
|
|
22338
22466
|
* @param [properties] Properties to set
|
|
22339
22467
|
*/
|
|
22340
|
-
constructor(properties?: google.api.
|
|
22468
|
+
constructor(properties?: google.api.IResourceReference);
|
|
22341
22469
|
|
|
22342
|
-
/**
|
|
22343
|
-
public
|
|
22470
|
+
/** ResourceReference type. */
|
|
22471
|
+
public type: string;
|
|
22344
22472
|
|
|
22345
|
-
/**
|
|
22346
|
-
public
|
|
22473
|
+
/** ResourceReference childType. */
|
|
22474
|
+
public childType: string;
|
|
22347
22475
|
|
|
22348
22476
|
/**
|
|
22349
|
-
* Creates a new
|
|
22477
|
+
* Creates a new ResourceReference instance using the specified properties.
|
|
22350
22478
|
* @param [properties] Properties to set
|
|
22351
|
-
* @returns
|
|
22479
|
+
* @returns ResourceReference instance
|
|
22352
22480
|
*/
|
|
22353
|
-
public static create(properties?: google.api.
|
|
22481
|
+
public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
|
|
22354
22482
|
|
|
22355
22483
|
/**
|
|
22356
|
-
* Encodes the specified
|
|
22357
|
-
* @param message
|
|
22484
|
+
* Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
22485
|
+
* @param message ResourceReference message or plain object to encode
|
|
22358
22486
|
* @param [writer] Writer to encode to
|
|
22359
22487
|
* @returns Writer
|
|
22360
22488
|
*/
|
|
22361
|
-
public static encode(message: google.api.
|
|
22489
|
+
public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22362
22490
|
|
|
22363
22491
|
/**
|
|
22364
|
-
* Encodes the specified
|
|
22365
|
-
* @param message
|
|
22492
|
+
* Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
22493
|
+
* @param message ResourceReference message or plain object to encode
|
|
22366
22494
|
* @param [writer] Writer to encode to
|
|
22367
22495
|
* @returns Writer
|
|
22368
22496
|
*/
|
|
22369
|
-
public static encodeDelimited(message: google.api.
|
|
22497
|
+
public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22370
22498
|
|
|
22371
22499
|
/**
|
|
22372
|
-
* Decodes a
|
|
22500
|
+
* Decodes a ResourceReference message from the specified reader or buffer.
|
|
22373
22501
|
* @param reader Reader or buffer to decode from
|
|
22374
22502
|
* @param [length] Message length if known beforehand
|
|
22375
|
-
* @returns
|
|
22503
|
+
* @returns ResourceReference
|
|
22376
22504
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22377
22505
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22378
22506
|
*/
|
|
22379
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
22507
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
|
|
22380
22508
|
|
|
22381
22509
|
/**
|
|
22382
|
-
* Decodes a
|
|
22510
|
+
* Decodes a ResourceReference message from the specified reader or buffer, length delimited.
|
|
22383
22511
|
* @param reader Reader or buffer to decode from
|
|
22384
|
-
* @returns
|
|
22512
|
+
* @returns ResourceReference
|
|
22385
22513
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22386
22514
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22387
22515
|
*/
|
|
22388
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
22516
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
|
|
22389
22517
|
|
|
22390
22518
|
/**
|
|
22391
|
-
* Verifies a
|
|
22519
|
+
* Verifies a ResourceReference message.
|
|
22392
22520
|
* @param message Plain object to verify
|
|
22393
22521
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
22394
22522
|
*/
|
|
22395
22523
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
22396
22524
|
|
|
22397
22525
|
/**
|
|
22398
|
-
* Creates a
|
|
22526
|
+
* Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
|
|
22399
22527
|
* @param object Plain object
|
|
22400
|
-
* @returns
|
|
22528
|
+
* @returns ResourceReference
|
|
22401
22529
|
*/
|
|
22402
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
22530
|
+
public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
|
|
22403
22531
|
|
|
22404
22532
|
/**
|
|
22405
|
-
* Creates a plain object from a
|
|
22406
|
-
* @param message
|
|
22533
|
+
* Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
|
|
22534
|
+
* @param message ResourceReference
|
|
22407
22535
|
* @param [options] Conversion options
|
|
22408
22536
|
* @returns Plain object
|
|
22409
22537
|
*/
|
|
22410
|
-
public static toObject(message: google.api.
|
|
22538
|
+
public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22411
22539
|
|
|
22412
22540
|
/**
|
|
22413
|
-
* Converts this
|
|
22541
|
+
* Converts this ResourceReference to JSON.
|
|
22414
22542
|
* @returns JSON object
|
|
22415
22543
|
*/
|
|
22416
22544
|
public toJSON(): { [k: string]: any };
|
|
@@ -24807,11 +24935,11 @@ export namespace google {
|
|
|
24807
24935
|
/** MethodOptions uninterpretedOption */
|
|
24808
24936
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
24809
24937
|
|
|
24810
|
-
/** MethodOptions .google.api.methodSignature */
|
|
24811
|
-
".google.api.methodSignature"?: (string[]|null);
|
|
24812
|
-
|
|
24813
24938
|
/** MethodOptions .google.api.http */
|
|
24814
24939
|
".google.api.http"?: (google.api.IHttpRule|null);
|
|
24940
|
+
|
|
24941
|
+
/** MethodOptions .google.api.methodSignature */
|
|
24942
|
+
".google.api.methodSignature"?: (string[]|null);
|
|
24815
24943
|
}
|
|
24816
24944
|
|
|
24817
24945
|
/** Represents a MethodOptions. */
|