@google-cloud/containeranalysis 6.1.0 → 6.3.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/README.md +3 -2
- package/build/protos/google/devtools/containeranalysis/v1/containeranalysis.proto +81 -8
- package/build/protos/google/devtools/containeranalysis/v1beta1/containeranalysis.proto +32 -0
- package/build/protos/grafeas/v1/common.proto +31 -0
- package/build/protos/grafeas/v1/grafeas.proto +5 -0
- package/build/protos/grafeas/v1/secret.proto +90 -0
- package/build/protos/protos.d.ts +1036 -33
- package/build/protos/protos.js +3787 -789
- package/build/protos/protos.json +383 -56
- package/build/src/v1/container_analysis_client.d.ts +38 -11
- package/build/src/v1/container_analysis_client.js +104 -74
- package/build/src/v1/container_analysis_client_config.json +4 -0
- package/build/src/v1/container_analysis_proto_list.json +1 -0
- package/build/src/v1/gapic_metadata.json +10 -0
- package/build/src/v1/grafeas_proto_list.json +1 -0
- package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +2 -2
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js +69 -73
- package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +78 -78
- package/build/src/v1beta1/grafeas_v1_beta1_client.js +174 -198
- package/package.json +4 -4
- package/CHANGELOG.md +0 -560
package/build/protos/protos.d.ts
CHANGED
|
@@ -328,7 +328,7 @@ export namespace grafeas {
|
|
|
328
328
|
interface IAttestationOccurrence {
|
|
329
329
|
|
|
330
330
|
/** AttestationOccurrence serializedPayload */
|
|
331
|
-
serializedPayload?: (Uint8Array|string|null);
|
|
331
|
+
serializedPayload?: (Uint8Array|Buffer|string|null);
|
|
332
332
|
|
|
333
333
|
/** AttestationOccurrence signatures */
|
|
334
334
|
signatures?: (grafeas.v1.ISignature[]|null);
|
|
@@ -347,7 +347,7 @@ export namespace grafeas {
|
|
|
347
347
|
constructor(properties?: grafeas.v1.IAttestationOccurrence);
|
|
348
348
|
|
|
349
349
|
/** AttestationOccurrence serializedPayload. */
|
|
350
|
-
public serializedPayload: (Uint8Array|string);
|
|
350
|
+
public serializedPayload: (Uint8Array|Buffer|string);
|
|
351
351
|
|
|
352
352
|
/** AttestationOccurrence signatures. */
|
|
353
353
|
public signatures: grafeas.v1.ISignature[];
|
|
@@ -447,7 +447,8 @@ export namespace grafeas {
|
|
|
447
447
|
COMPLIANCE = 9,
|
|
448
448
|
DSSE_ATTESTATION = 10,
|
|
449
449
|
VULNERABILITY_ASSESSMENT = 11,
|
|
450
|
-
SBOM_REFERENCE = 12
|
|
450
|
+
SBOM_REFERENCE = 12,
|
|
451
|
+
SECRET = 13
|
|
451
452
|
}
|
|
452
453
|
|
|
453
454
|
/** Properties of a RelatedUrl. */
|
|
@@ -557,7 +558,7 @@ export namespace grafeas {
|
|
|
557
558
|
interface ISignature {
|
|
558
559
|
|
|
559
560
|
/** Signature signature */
|
|
560
|
-
signature?: (Uint8Array|string|null);
|
|
561
|
+
signature?: (Uint8Array|Buffer|string|null);
|
|
561
562
|
|
|
562
563
|
/** Signature publicKeyId */
|
|
563
564
|
publicKeyId?: (string|null);
|
|
@@ -573,7 +574,7 @@ export namespace grafeas {
|
|
|
573
574
|
constructor(properties?: grafeas.v1.ISignature);
|
|
574
575
|
|
|
575
576
|
/** Signature signature. */
|
|
576
|
-
public signature: (Uint8Array|string);
|
|
577
|
+
public signature: (Uint8Array|Buffer|string);
|
|
577
578
|
|
|
578
579
|
/** Signature publicKeyId. */
|
|
579
580
|
public publicKeyId: string;
|
|
@@ -660,7 +661,7 @@ export namespace grafeas {
|
|
|
660
661
|
interface IEnvelope {
|
|
661
662
|
|
|
662
663
|
/** Envelope payload */
|
|
663
|
-
payload?: (Uint8Array|string|null);
|
|
664
|
+
payload?: (Uint8Array|Buffer|string|null);
|
|
664
665
|
|
|
665
666
|
/** Envelope payloadType */
|
|
666
667
|
payloadType?: (string|null);
|
|
@@ -679,7 +680,7 @@ export namespace grafeas {
|
|
|
679
680
|
constructor(properties?: grafeas.v1.IEnvelope);
|
|
680
681
|
|
|
681
682
|
/** Envelope payload. */
|
|
682
|
-
public payload: (Uint8Array|string);
|
|
683
|
+
public payload: (Uint8Array|Buffer|string);
|
|
683
684
|
|
|
684
685
|
/** Envelope payloadType. */
|
|
685
686
|
public payloadType: string;
|
|
@@ -769,7 +770,7 @@ export namespace grafeas {
|
|
|
769
770
|
interface IEnvelopeSignature {
|
|
770
771
|
|
|
771
772
|
/** EnvelopeSignature sig */
|
|
772
|
-
sig?: (Uint8Array|string|null);
|
|
773
|
+
sig?: (Uint8Array|Buffer|string|null);
|
|
773
774
|
|
|
774
775
|
/** EnvelopeSignature keyid */
|
|
775
776
|
keyid?: (string|null);
|
|
@@ -785,7 +786,7 @@ export namespace grafeas {
|
|
|
785
786
|
constructor(properties?: grafeas.v1.IEnvelopeSignature);
|
|
786
787
|
|
|
787
788
|
/** EnvelopeSignature sig. */
|
|
788
|
-
public sig: (Uint8Array|string);
|
|
789
|
+
public sig: (Uint8Array|Buffer|string);
|
|
789
790
|
|
|
790
791
|
/** EnvelopeSignature keyid. */
|
|
791
792
|
public keyid: string;
|
|
@@ -873,6 +874,9 @@ export namespace grafeas {
|
|
|
873
874
|
|
|
874
875
|
/** FileLocation filePath */
|
|
875
876
|
filePath?: (string|null);
|
|
877
|
+
|
|
878
|
+
/** FileLocation layerDetails */
|
|
879
|
+
layerDetails?: (grafeas.v1.ILayerDetails|null);
|
|
876
880
|
}
|
|
877
881
|
|
|
878
882
|
/** Represents a FileLocation. */
|
|
@@ -887,6 +891,9 @@ export namespace grafeas {
|
|
|
887
891
|
/** FileLocation filePath. */
|
|
888
892
|
public filePath: string;
|
|
889
893
|
|
|
894
|
+
/** FileLocation layerDetails. */
|
|
895
|
+
public layerDetails?: (grafeas.v1.ILayerDetails|null);
|
|
896
|
+
|
|
890
897
|
/**
|
|
891
898
|
* Creates a new FileLocation instance using the specified properties.
|
|
892
899
|
* @param [properties] Properties to set
|
|
@@ -965,6 +972,236 @@ export namespace grafeas {
|
|
|
965
972
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
966
973
|
}
|
|
967
974
|
|
|
975
|
+
/** Properties of a BaseImage. */
|
|
976
|
+
interface IBaseImage {
|
|
977
|
+
|
|
978
|
+
/** BaseImage name */
|
|
979
|
+
name?: (string|null);
|
|
980
|
+
|
|
981
|
+
/** BaseImage repository */
|
|
982
|
+
repository?: (string|null);
|
|
983
|
+
|
|
984
|
+
/** BaseImage layerCount */
|
|
985
|
+
layerCount?: (number|null);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/** Represents a BaseImage. */
|
|
989
|
+
class BaseImage implements IBaseImage {
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Constructs a new BaseImage.
|
|
993
|
+
* @param [properties] Properties to set
|
|
994
|
+
*/
|
|
995
|
+
constructor(properties?: grafeas.v1.IBaseImage);
|
|
996
|
+
|
|
997
|
+
/** BaseImage name. */
|
|
998
|
+
public name: string;
|
|
999
|
+
|
|
1000
|
+
/** BaseImage repository. */
|
|
1001
|
+
public repository: string;
|
|
1002
|
+
|
|
1003
|
+
/** BaseImage layerCount. */
|
|
1004
|
+
public layerCount: number;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Creates a new BaseImage instance using the specified properties.
|
|
1008
|
+
* @param [properties] Properties to set
|
|
1009
|
+
* @returns BaseImage instance
|
|
1010
|
+
*/
|
|
1011
|
+
public static create(properties?: grafeas.v1.IBaseImage): grafeas.v1.BaseImage;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Encodes the specified BaseImage message. Does not implicitly {@link grafeas.v1.BaseImage.verify|verify} messages.
|
|
1015
|
+
* @param message BaseImage message or plain object to encode
|
|
1016
|
+
* @param [writer] Writer to encode to
|
|
1017
|
+
* @returns Writer
|
|
1018
|
+
*/
|
|
1019
|
+
public static encode(message: grafeas.v1.IBaseImage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Encodes the specified BaseImage message, length delimited. Does not implicitly {@link grafeas.v1.BaseImage.verify|verify} messages.
|
|
1023
|
+
* @param message BaseImage message or plain object to encode
|
|
1024
|
+
* @param [writer] Writer to encode to
|
|
1025
|
+
* @returns Writer
|
|
1026
|
+
*/
|
|
1027
|
+
public static encodeDelimited(message: grafeas.v1.IBaseImage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Decodes a BaseImage message from the specified reader or buffer.
|
|
1031
|
+
* @param reader Reader or buffer to decode from
|
|
1032
|
+
* @param [length] Message length if known beforehand
|
|
1033
|
+
* @returns BaseImage
|
|
1034
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1035
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1036
|
+
*/
|
|
1037
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.BaseImage;
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Decodes a BaseImage message from the specified reader or buffer, length delimited.
|
|
1041
|
+
* @param reader Reader or buffer to decode from
|
|
1042
|
+
* @returns BaseImage
|
|
1043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1045
|
+
*/
|
|
1046
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.BaseImage;
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Verifies a BaseImage message.
|
|
1050
|
+
* @param message Plain object to verify
|
|
1051
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1052
|
+
*/
|
|
1053
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Creates a BaseImage message from a plain object. Also converts values to their respective internal types.
|
|
1057
|
+
* @param object Plain object
|
|
1058
|
+
* @returns BaseImage
|
|
1059
|
+
*/
|
|
1060
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.BaseImage;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Creates a plain object from a BaseImage message. Also converts values to other types if specified.
|
|
1064
|
+
* @param message BaseImage
|
|
1065
|
+
* @param [options] Conversion options
|
|
1066
|
+
* @returns Plain object
|
|
1067
|
+
*/
|
|
1068
|
+
public static toObject(message: grafeas.v1.BaseImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Converts this BaseImage to JSON.
|
|
1072
|
+
* @returns JSON object
|
|
1073
|
+
*/
|
|
1074
|
+
public toJSON(): { [k: string]: any };
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Gets the default type url for BaseImage
|
|
1078
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1079
|
+
* @returns The default type url
|
|
1080
|
+
*/
|
|
1081
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/** Properties of a LayerDetails. */
|
|
1085
|
+
interface ILayerDetails {
|
|
1086
|
+
|
|
1087
|
+
/** LayerDetails index */
|
|
1088
|
+
index?: (number|null);
|
|
1089
|
+
|
|
1090
|
+
/** LayerDetails diffId */
|
|
1091
|
+
diffId?: (string|null);
|
|
1092
|
+
|
|
1093
|
+
/** LayerDetails chainId */
|
|
1094
|
+
chainId?: (string|null);
|
|
1095
|
+
|
|
1096
|
+
/** LayerDetails command */
|
|
1097
|
+
command?: (string|null);
|
|
1098
|
+
|
|
1099
|
+
/** LayerDetails baseImages */
|
|
1100
|
+
baseImages?: (grafeas.v1.IBaseImage[]|null);
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
/** Represents a LayerDetails. */
|
|
1104
|
+
class LayerDetails implements ILayerDetails {
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Constructs a new LayerDetails.
|
|
1108
|
+
* @param [properties] Properties to set
|
|
1109
|
+
*/
|
|
1110
|
+
constructor(properties?: grafeas.v1.ILayerDetails);
|
|
1111
|
+
|
|
1112
|
+
/** LayerDetails index. */
|
|
1113
|
+
public index: number;
|
|
1114
|
+
|
|
1115
|
+
/** LayerDetails diffId. */
|
|
1116
|
+
public diffId: string;
|
|
1117
|
+
|
|
1118
|
+
/** LayerDetails chainId. */
|
|
1119
|
+
public chainId: string;
|
|
1120
|
+
|
|
1121
|
+
/** LayerDetails command. */
|
|
1122
|
+
public command: string;
|
|
1123
|
+
|
|
1124
|
+
/** LayerDetails baseImages. */
|
|
1125
|
+
public baseImages: grafeas.v1.IBaseImage[];
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Creates a new LayerDetails instance using the specified properties.
|
|
1129
|
+
* @param [properties] Properties to set
|
|
1130
|
+
* @returns LayerDetails instance
|
|
1131
|
+
*/
|
|
1132
|
+
public static create(properties?: grafeas.v1.ILayerDetails): grafeas.v1.LayerDetails;
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Encodes the specified LayerDetails message. Does not implicitly {@link grafeas.v1.LayerDetails.verify|verify} messages.
|
|
1136
|
+
* @param message LayerDetails message or plain object to encode
|
|
1137
|
+
* @param [writer] Writer to encode to
|
|
1138
|
+
* @returns Writer
|
|
1139
|
+
*/
|
|
1140
|
+
public static encode(message: grafeas.v1.ILayerDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Encodes the specified LayerDetails message, length delimited. Does not implicitly {@link grafeas.v1.LayerDetails.verify|verify} messages.
|
|
1144
|
+
* @param message LayerDetails message or plain object to encode
|
|
1145
|
+
* @param [writer] Writer to encode to
|
|
1146
|
+
* @returns Writer
|
|
1147
|
+
*/
|
|
1148
|
+
public static encodeDelimited(message: grafeas.v1.ILayerDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Decodes a LayerDetails message from the specified reader or buffer.
|
|
1152
|
+
* @param reader Reader or buffer to decode from
|
|
1153
|
+
* @param [length] Message length if known beforehand
|
|
1154
|
+
* @returns LayerDetails
|
|
1155
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1156
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1157
|
+
*/
|
|
1158
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.LayerDetails;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Decodes a LayerDetails message from the specified reader or buffer, length delimited.
|
|
1162
|
+
* @param reader Reader or buffer to decode from
|
|
1163
|
+
* @returns LayerDetails
|
|
1164
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1165
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1166
|
+
*/
|
|
1167
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.LayerDetails;
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Verifies a LayerDetails message.
|
|
1171
|
+
* @param message Plain object to verify
|
|
1172
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1173
|
+
*/
|
|
1174
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* Creates a LayerDetails message from a plain object. Also converts values to their respective internal types.
|
|
1178
|
+
* @param object Plain object
|
|
1179
|
+
* @returns LayerDetails
|
|
1180
|
+
*/
|
|
1181
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.LayerDetails;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Creates a plain object from a LayerDetails message. Also converts values to other types if specified.
|
|
1185
|
+
* @param message LayerDetails
|
|
1186
|
+
* @param [options] Conversion options
|
|
1187
|
+
* @returns Plain object
|
|
1188
|
+
*/
|
|
1189
|
+
public static toObject(message: grafeas.v1.LayerDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Converts this LayerDetails to JSON.
|
|
1193
|
+
* @returns JSON object
|
|
1194
|
+
*/
|
|
1195
|
+
public toJSON(): { [k: string]: any };
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Gets the default type url for LayerDetails
|
|
1199
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1200
|
+
* @returns The default type url
|
|
1201
|
+
*/
|
|
1202
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
968
1205
|
/** Properties of a License. */
|
|
969
1206
|
interface ILicense {
|
|
970
1207
|
|
|
@@ -1075,7 +1312,7 @@ export namespace grafeas {
|
|
|
1075
1312
|
algo?: (string|null);
|
|
1076
1313
|
|
|
1077
1314
|
/** Digest digestBytes */
|
|
1078
|
-
digestBytes?: (Uint8Array|string|null);
|
|
1315
|
+
digestBytes?: (Uint8Array|Buffer|string|null);
|
|
1079
1316
|
}
|
|
1080
1317
|
|
|
1081
1318
|
/** Represents a Digest. */
|
|
@@ -1091,7 +1328,7 @@ export namespace grafeas {
|
|
|
1091
1328
|
public algo: string;
|
|
1092
1329
|
|
|
1093
1330
|
/** Digest digestBytes. */
|
|
1094
|
-
public digestBytes: (Uint8Array|string);
|
|
1331
|
+
public digestBytes: (Uint8Array|Buffer|string);
|
|
1095
1332
|
|
|
1096
1333
|
/**
|
|
1097
1334
|
* Creates a new Digest instance using the specified properties.
|
|
@@ -2533,7 +2770,7 @@ export namespace grafeas {
|
|
|
2533
2770
|
digest?: ({ [k: string]: string }|null);
|
|
2534
2771
|
|
|
2535
2772
|
/** ResourceDescriptor content */
|
|
2536
|
-
content?: (Uint8Array|string|null);
|
|
2773
|
+
content?: (Uint8Array|Buffer|string|null);
|
|
2537
2774
|
|
|
2538
2775
|
/** ResourceDescriptor downloadLocation */
|
|
2539
2776
|
downloadLocation?: (string|null);
|
|
@@ -2564,7 +2801,7 @@ export namespace grafeas {
|
|
|
2564
2801
|
public digest: { [k: string]: string };
|
|
2565
2802
|
|
|
2566
2803
|
/** ResourceDescriptor content. */
|
|
2567
|
-
public content: (Uint8Array|string);
|
|
2804
|
+
public content: (Uint8Array|Buffer|string);
|
|
2568
2805
|
|
|
2569
2806
|
/** ResourceDescriptor downloadLocation. */
|
|
2570
2807
|
public downloadLocation: string;
|
|
@@ -4816,7 +5053,7 @@ export namespace grafeas {
|
|
|
4816
5053
|
type?: (string|null);
|
|
4817
5054
|
|
|
4818
5055
|
/** Hash value */
|
|
4819
|
-
value?: (Uint8Array|string|null);
|
|
5056
|
+
value?: (Uint8Array|Buffer|string|null);
|
|
4820
5057
|
}
|
|
4821
5058
|
|
|
4822
5059
|
/** Represents a Hash. */
|
|
@@ -4832,7 +5069,7 @@ export namespace grafeas {
|
|
|
4832
5069
|
public type: string;
|
|
4833
5070
|
|
|
4834
5071
|
/** Hash value. */
|
|
4835
|
-
public value: (Uint8Array|string);
|
|
5072
|
+
public value: (Uint8Array|Buffer|string);
|
|
4836
5073
|
|
|
4837
5074
|
/**
|
|
4838
5075
|
* Creates a new Hash instance using the specified properties.
|
|
@@ -5944,7 +6181,7 @@ export namespace grafeas {
|
|
|
5944
6181
|
cisBenchmark?: (grafeas.v1.ComplianceNote.ICisBenchmark|null);
|
|
5945
6182
|
|
|
5946
6183
|
/** ComplianceNote scanInstructions */
|
|
5947
|
-
scanInstructions?: (Uint8Array|string|null);
|
|
6184
|
+
scanInstructions?: (Uint8Array|Buffer|string|null);
|
|
5948
6185
|
|
|
5949
6186
|
/** ComplianceNote impact */
|
|
5950
6187
|
impact?: (string|null);
|
|
@@ -5978,7 +6215,7 @@ export namespace grafeas {
|
|
|
5978
6215
|
public cisBenchmark?: (grafeas.v1.ComplianceNote.ICisBenchmark|null);
|
|
5979
6216
|
|
|
5980
6217
|
/** ComplianceNote scanInstructions. */
|
|
5981
|
-
public scanInstructions: (Uint8Array|string);
|
|
6218
|
+
public scanInstructions: (Uint8Array|Buffer|string);
|
|
5982
6219
|
|
|
5983
6220
|
/** ComplianceNote impact. */
|
|
5984
6221
|
public impact?: (string|null);
|
|
@@ -8453,6 +8690,9 @@ export namespace grafeas {
|
|
|
8453
8690
|
/** Occurrence sbomReference */
|
|
8454
8691
|
sbomReference?: (grafeas.v1.ISBOMReferenceOccurrence|null);
|
|
8455
8692
|
|
|
8693
|
+
/** Occurrence secret */
|
|
8694
|
+
secret?: (grafeas.v1.ISecretOccurrence|null);
|
|
8695
|
+
|
|
8456
8696
|
/** Occurrence envelope */
|
|
8457
8697
|
envelope?: (grafeas.v1.IEnvelope|null);
|
|
8458
8698
|
}
|
|
@@ -8520,11 +8760,14 @@ export namespace grafeas {
|
|
|
8520
8760
|
/** Occurrence sbomReference. */
|
|
8521
8761
|
public sbomReference?: (grafeas.v1.ISBOMReferenceOccurrence|null);
|
|
8522
8762
|
|
|
8763
|
+
/** Occurrence secret. */
|
|
8764
|
+
public secret?: (grafeas.v1.ISecretOccurrence|null);
|
|
8765
|
+
|
|
8523
8766
|
/** Occurrence envelope. */
|
|
8524
8767
|
public envelope?: (grafeas.v1.IEnvelope|null);
|
|
8525
8768
|
|
|
8526
8769
|
/** Occurrence details. */
|
|
8527
|
-
public details?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade"|"compliance"|"dsseAttestation"|"sbomReference");
|
|
8770
|
+
public details?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade"|"compliance"|"dsseAttestation"|"sbomReference"|"secret");
|
|
8528
8771
|
|
|
8529
8772
|
/**
|
|
8530
8773
|
* Creates a new Occurrence instance using the specified properties.
|
|
@@ -8669,6 +8912,9 @@ export namespace grafeas {
|
|
|
8669
8912
|
|
|
8670
8913
|
/** Note sbomReference */
|
|
8671
8914
|
sbomReference?: (grafeas.v1.ISBOMReferenceNote|null);
|
|
8915
|
+
|
|
8916
|
+
/** Note secret */
|
|
8917
|
+
secret?: (grafeas.v1.ISecretNote|null);
|
|
8672
8918
|
}
|
|
8673
8919
|
|
|
8674
8920
|
/** Represents a Note. */
|
|
@@ -8743,8 +8989,11 @@ export namespace grafeas {
|
|
|
8743
8989
|
/** Note sbomReference. */
|
|
8744
8990
|
public sbomReference?: (grafeas.v1.ISBOMReferenceNote|null);
|
|
8745
8991
|
|
|
8992
|
+
/** Note secret. */
|
|
8993
|
+
public secret?: (grafeas.v1.ISecretNote|null);
|
|
8994
|
+
|
|
8746
8995
|
/** Note type. */
|
|
8747
|
-
public type?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade"|"compliance"|"dsseAttestation"|"vulnerabilityAssessment"|"sbomReference");
|
|
8996
|
+
public type?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade"|"compliance"|"dsseAttestation"|"vulnerabilityAssessment"|"sbomReference"|"secret");
|
|
8748
8997
|
|
|
8749
8998
|
/**
|
|
8750
8999
|
* Creates a new Note instance using the specified properties.
|
|
@@ -12336,6 +12585,433 @@ export namespace grafeas {
|
|
|
12336
12585
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12337
12586
|
}
|
|
12338
12587
|
|
|
12588
|
+
/** Properties of a SecretNote. */
|
|
12589
|
+
interface ISecretNote {
|
|
12590
|
+
}
|
|
12591
|
+
|
|
12592
|
+
/** Represents a SecretNote. */
|
|
12593
|
+
class SecretNote implements ISecretNote {
|
|
12594
|
+
|
|
12595
|
+
/**
|
|
12596
|
+
* Constructs a new SecretNote.
|
|
12597
|
+
* @param [properties] Properties to set
|
|
12598
|
+
*/
|
|
12599
|
+
constructor(properties?: grafeas.v1.ISecretNote);
|
|
12600
|
+
|
|
12601
|
+
/**
|
|
12602
|
+
* Creates a new SecretNote instance using the specified properties.
|
|
12603
|
+
* @param [properties] Properties to set
|
|
12604
|
+
* @returns SecretNote instance
|
|
12605
|
+
*/
|
|
12606
|
+
public static create(properties?: grafeas.v1.ISecretNote): grafeas.v1.SecretNote;
|
|
12607
|
+
|
|
12608
|
+
/**
|
|
12609
|
+
* Encodes the specified SecretNote message. Does not implicitly {@link grafeas.v1.SecretNote.verify|verify} messages.
|
|
12610
|
+
* @param message SecretNote message or plain object to encode
|
|
12611
|
+
* @param [writer] Writer to encode to
|
|
12612
|
+
* @returns Writer
|
|
12613
|
+
*/
|
|
12614
|
+
public static encode(message: grafeas.v1.ISecretNote, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12615
|
+
|
|
12616
|
+
/**
|
|
12617
|
+
* Encodes the specified SecretNote message, length delimited. Does not implicitly {@link grafeas.v1.SecretNote.verify|verify} messages.
|
|
12618
|
+
* @param message SecretNote message or plain object to encode
|
|
12619
|
+
* @param [writer] Writer to encode to
|
|
12620
|
+
* @returns Writer
|
|
12621
|
+
*/
|
|
12622
|
+
public static encodeDelimited(message: grafeas.v1.ISecretNote, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12623
|
+
|
|
12624
|
+
/**
|
|
12625
|
+
* Decodes a SecretNote message from the specified reader or buffer.
|
|
12626
|
+
* @param reader Reader or buffer to decode from
|
|
12627
|
+
* @param [length] Message length if known beforehand
|
|
12628
|
+
* @returns SecretNote
|
|
12629
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12630
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12631
|
+
*/
|
|
12632
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SecretNote;
|
|
12633
|
+
|
|
12634
|
+
/**
|
|
12635
|
+
* Decodes a SecretNote message from the specified reader or buffer, length delimited.
|
|
12636
|
+
* @param reader Reader or buffer to decode from
|
|
12637
|
+
* @returns SecretNote
|
|
12638
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12639
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12640
|
+
*/
|
|
12641
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SecretNote;
|
|
12642
|
+
|
|
12643
|
+
/**
|
|
12644
|
+
* Verifies a SecretNote message.
|
|
12645
|
+
* @param message Plain object to verify
|
|
12646
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12647
|
+
*/
|
|
12648
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12649
|
+
|
|
12650
|
+
/**
|
|
12651
|
+
* Creates a SecretNote message from a plain object. Also converts values to their respective internal types.
|
|
12652
|
+
* @param object Plain object
|
|
12653
|
+
* @returns SecretNote
|
|
12654
|
+
*/
|
|
12655
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SecretNote;
|
|
12656
|
+
|
|
12657
|
+
/**
|
|
12658
|
+
* Creates a plain object from a SecretNote message. Also converts values to other types if specified.
|
|
12659
|
+
* @param message SecretNote
|
|
12660
|
+
* @param [options] Conversion options
|
|
12661
|
+
* @returns Plain object
|
|
12662
|
+
*/
|
|
12663
|
+
public static toObject(message: grafeas.v1.SecretNote, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12664
|
+
|
|
12665
|
+
/**
|
|
12666
|
+
* Converts this SecretNote to JSON.
|
|
12667
|
+
* @returns JSON object
|
|
12668
|
+
*/
|
|
12669
|
+
public toJSON(): { [k: string]: any };
|
|
12670
|
+
|
|
12671
|
+
/**
|
|
12672
|
+
* Gets the default type url for SecretNote
|
|
12673
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12674
|
+
* @returns The default type url
|
|
12675
|
+
*/
|
|
12676
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12677
|
+
}
|
|
12678
|
+
|
|
12679
|
+
/** Properties of a SecretOccurrence. */
|
|
12680
|
+
interface ISecretOccurrence {
|
|
12681
|
+
|
|
12682
|
+
/** SecretOccurrence kind */
|
|
12683
|
+
kind?: (grafeas.v1.SecretKind|keyof typeof grafeas.v1.SecretKind|null);
|
|
12684
|
+
|
|
12685
|
+
/** SecretOccurrence locations */
|
|
12686
|
+
locations?: (grafeas.v1.ISecretLocation[]|null);
|
|
12687
|
+
|
|
12688
|
+
/** SecretOccurrence statuses */
|
|
12689
|
+
statuses?: (grafeas.v1.ISecretStatus[]|null);
|
|
12690
|
+
}
|
|
12691
|
+
|
|
12692
|
+
/** Represents a SecretOccurrence. */
|
|
12693
|
+
class SecretOccurrence implements ISecretOccurrence {
|
|
12694
|
+
|
|
12695
|
+
/**
|
|
12696
|
+
* Constructs a new SecretOccurrence.
|
|
12697
|
+
* @param [properties] Properties to set
|
|
12698
|
+
*/
|
|
12699
|
+
constructor(properties?: grafeas.v1.ISecretOccurrence);
|
|
12700
|
+
|
|
12701
|
+
/** SecretOccurrence kind. */
|
|
12702
|
+
public kind: (grafeas.v1.SecretKind|keyof typeof grafeas.v1.SecretKind);
|
|
12703
|
+
|
|
12704
|
+
/** SecretOccurrence locations. */
|
|
12705
|
+
public locations: grafeas.v1.ISecretLocation[];
|
|
12706
|
+
|
|
12707
|
+
/** SecretOccurrence statuses. */
|
|
12708
|
+
public statuses: grafeas.v1.ISecretStatus[];
|
|
12709
|
+
|
|
12710
|
+
/**
|
|
12711
|
+
* Creates a new SecretOccurrence instance using the specified properties.
|
|
12712
|
+
* @param [properties] Properties to set
|
|
12713
|
+
* @returns SecretOccurrence instance
|
|
12714
|
+
*/
|
|
12715
|
+
public static create(properties?: grafeas.v1.ISecretOccurrence): grafeas.v1.SecretOccurrence;
|
|
12716
|
+
|
|
12717
|
+
/**
|
|
12718
|
+
* Encodes the specified SecretOccurrence message. Does not implicitly {@link grafeas.v1.SecretOccurrence.verify|verify} messages.
|
|
12719
|
+
* @param message SecretOccurrence message or plain object to encode
|
|
12720
|
+
* @param [writer] Writer to encode to
|
|
12721
|
+
* @returns Writer
|
|
12722
|
+
*/
|
|
12723
|
+
public static encode(message: grafeas.v1.ISecretOccurrence, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12724
|
+
|
|
12725
|
+
/**
|
|
12726
|
+
* Encodes the specified SecretOccurrence message, length delimited. Does not implicitly {@link grafeas.v1.SecretOccurrence.verify|verify} messages.
|
|
12727
|
+
* @param message SecretOccurrence message or plain object to encode
|
|
12728
|
+
* @param [writer] Writer to encode to
|
|
12729
|
+
* @returns Writer
|
|
12730
|
+
*/
|
|
12731
|
+
public static encodeDelimited(message: grafeas.v1.ISecretOccurrence, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12732
|
+
|
|
12733
|
+
/**
|
|
12734
|
+
* Decodes a SecretOccurrence message from the specified reader or buffer.
|
|
12735
|
+
* @param reader Reader or buffer to decode from
|
|
12736
|
+
* @param [length] Message length if known beforehand
|
|
12737
|
+
* @returns SecretOccurrence
|
|
12738
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12739
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12740
|
+
*/
|
|
12741
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SecretOccurrence;
|
|
12742
|
+
|
|
12743
|
+
/**
|
|
12744
|
+
* Decodes a SecretOccurrence message from the specified reader or buffer, length delimited.
|
|
12745
|
+
* @param reader Reader or buffer to decode from
|
|
12746
|
+
* @returns SecretOccurrence
|
|
12747
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12748
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12749
|
+
*/
|
|
12750
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SecretOccurrence;
|
|
12751
|
+
|
|
12752
|
+
/**
|
|
12753
|
+
* Verifies a SecretOccurrence message.
|
|
12754
|
+
* @param message Plain object to verify
|
|
12755
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12756
|
+
*/
|
|
12757
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12758
|
+
|
|
12759
|
+
/**
|
|
12760
|
+
* Creates a SecretOccurrence message from a plain object. Also converts values to their respective internal types.
|
|
12761
|
+
* @param object Plain object
|
|
12762
|
+
* @returns SecretOccurrence
|
|
12763
|
+
*/
|
|
12764
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SecretOccurrence;
|
|
12765
|
+
|
|
12766
|
+
/**
|
|
12767
|
+
* Creates a plain object from a SecretOccurrence message. Also converts values to other types if specified.
|
|
12768
|
+
* @param message SecretOccurrence
|
|
12769
|
+
* @param [options] Conversion options
|
|
12770
|
+
* @returns Plain object
|
|
12771
|
+
*/
|
|
12772
|
+
public static toObject(message: grafeas.v1.SecretOccurrence, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12773
|
+
|
|
12774
|
+
/**
|
|
12775
|
+
* Converts this SecretOccurrence to JSON.
|
|
12776
|
+
* @returns JSON object
|
|
12777
|
+
*/
|
|
12778
|
+
public toJSON(): { [k: string]: any };
|
|
12779
|
+
|
|
12780
|
+
/**
|
|
12781
|
+
* Gets the default type url for SecretOccurrence
|
|
12782
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12783
|
+
* @returns The default type url
|
|
12784
|
+
*/
|
|
12785
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12786
|
+
}
|
|
12787
|
+
|
|
12788
|
+
/** Properties of a SecretLocation. */
|
|
12789
|
+
interface ISecretLocation {
|
|
12790
|
+
|
|
12791
|
+
/** SecretLocation fileLocation */
|
|
12792
|
+
fileLocation?: (grafeas.v1.IFileLocation|null);
|
|
12793
|
+
}
|
|
12794
|
+
|
|
12795
|
+
/** Represents a SecretLocation. */
|
|
12796
|
+
class SecretLocation implements ISecretLocation {
|
|
12797
|
+
|
|
12798
|
+
/**
|
|
12799
|
+
* Constructs a new SecretLocation.
|
|
12800
|
+
* @param [properties] Properties to set
|
|
12801
|
+
*/
|
|
12802
|
+
constructor(properties?: grafeas.v1.ISecretLocation);
|
|
12803
|
+
|
|
12804
|
+
/** SecretLocation fileLocation. */
|
|
12805
|
+
public fileLocation?: (grafeas.v1.IFileLocation|null);
|
|
12806
|
+
|
|
12807
|
+
/** SecretLocation location. */
|
|
12808
|
+
public location?: "fileLocation";
|
|
12809
|
+
|
|
12810
|
+
/**
|
|
12811
|
+
* Creates a new SecretLocation instance using the specified properties.
|
|
12812
|
+
* @param [properties] Properties to set
|
|
12813
|
+
* @returns SecretLocation instance
|
|
12814
|
+
*/
|
|
12815
|
+
public static create(properties?: grafeas.v1.ISecretLocation): grafeas.v1.SecretLocation;
|
|
12816
|
+
|
|
12817
|
+
/**
|
|
12818
|
+
* Encodes the specified SecretLocation message. Does not implicitly {@link grafeas.v1.SecretLocation.verify|verify} messages.
|
|
12819
|
+
* @param message SecretLocation message or plain object to encode
|
|
12820
|
+
* @param [writer] Writer to encode to
|
|
12821
|
+
* @returns Writer
|
|
12822
|
+
*/
|
|
12823
|
+
public static encode(message: grafeas.v1.ISecretLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12824
|
+
|
|
12825
|
+
/**
|
|
12826
|
+
* Encodes the specified SecretLocation message, length delimited. Does not implicitly {@link grafeas.v1.SecretLocation.verify|verify} messages.
|
|
12827
|
+
* @param message SecretLocation message or plain object to encode
|
|
12828
|
+
* @param [writer] Writer to encode to
|
|
12829
|
+
* @returns Writer
|
|
12830
|
+
*/
|
|
12831
|
+
public static encodeDelimited(message: grafeas.v1.ISecretLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12832
|
+
|
|
12833
|
+
/**
|
|
12834
|
+
* Decodes a SecretLocation message from the specified reader or buffer.
|
|
12835
|
+
* @param reader Reader or buffer to decode from
|
|
12836
|
+
* @param [length] Message length if known beforehand
|
|
12837
|
+
* @returns SecretLocation
|
|
12838
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12839
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12840
|
+
*/
|
|
12841
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SecretLocation;
|
|
12842
|
+
|
|
12843
|
+
/**
|
|
12844
|
+
* Decodes a SecretLocation message from the specified reader or buffer, length delimited.
|
|
12845
|
+
* @param reader Reader or buffer to decode from
|
|
12846
|
+
* @returns SecretLocation
|
|
12847
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12848
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12849
|
+
*/
|
|
12850
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SecretLocation;
|
|
12851
|
+
|
|
12852
|
+
/**
|
|
12853
|
+
* Verifies a SecretLocation message.
|
|
12854
|
+
* @param message Plain object to verify
|
|
12855
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12856
|
+
*/
|
|
12857
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12858
|
+
|
|
12859
|
+
/**
|
|
12860
|
+
* Creates a SecretLocation message from a plain object. Also converts values to their respective internal types.
|
|
12861
|
+
* @param object Plain object
|
|
12862
|
+
* @returns SecretLocation
|
|
12863
|
+
*/
|
|
12864
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SecretLocation;
|
|
12865
|
+
|
|
12866
|
+
/**
|
|
12867
|
+
* Creates a plain object from a SecretLocation message. Also converts values to other types if specified.
|
|
12868
|
+
* @param message SecretLocation
|
|
12869
|
+
* @param [options] Conversion options
|
|
12870
|
+
* @returns Plain object
|
|
12871
|
+
*/
|
|
12872
|
+
public static toObject(message: grafeas.v1.SecretLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12873
|
+
|
|
12874
|
+
/**
|
|
12875
|
+
* Converts this SecretLocation to JSON.
|
|
12876
|
+
* @returns JSON object
|
|
12877
|
+
*/
|
|
12878
|
+
public toJSON(): { [k: string]: any };
|
|
12879
|
+
|
|
12880
|
+
/**
|
|
12881
|
+
* Gets the default type url for SecretLocation
|
|
12882
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12883
|
+
* @returns The default type url
|
|
12884
|
+
*/
|
|
12885
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12886
|
+
}
|
|
12887
|
+
|
|
12888
|
+
/** Properties of a SecretStatus. */
|
|
12889
|
+
interface ISecretStatus {
|
|
12890
|
+
|
|
12891
|
+
/** SecretStatus status */
|
|
12892
|
+
status?: (grafeas.v1.SecretStatus.Status|keyof typeof grafeas.v1.SecretStatus.Status|null);
|
|
12893
|
+
|
|
12894
|
+
/** SecretStatus updateTime */
|
|
12895
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
|
12896
|
+
|
|
12897
|
+
/** SecretStatus message */
|
|
12898
|
+
message?: (string|null);
|
|
12899
|
+
}
|
|
12900
|
+
|
|
12901
|
+
/** Represents a SecretStatus. */
|
|
12902
|
+
class SecretStatus implements ISecretStatus {
|
|
12903
|
+
|
|
12904
|
+
/**
|
|
12905
|
+
* Constructs a new SecretStatus.
|
|
12906
|
+
* @param [properties] Properties to set
|
|
12907
|
+
*/
|
|
12908
|
+
constructor(properties?: grafeas.v1.ISecretStatus);
|
|
12909
|
+
|
|
12910
|
+
/** SecretStatus status. */
|
|
12911
|
+
public status: (grafeas.v1.SecretStatus.Status|keyof typeof grafeas.v1.SecretStatus.Status);
|
|
12912
|
+
|
|
12913
|
+
/** SecretStatus updateTime. */
|
|
12914
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
|
12915
|
+
|
|
12916
|
+
/** SecretStatus message. */
|
|
12917
|
+
public message: string;
|
|
12918
|
+
|
|
12919
|
+
/**
|
|
12920
|
+
* Creates a new SecretStatus instance using the specified properties.
|
|
12921
|
+
* @param [properties] Properties to set
|
|
12922
|
+
* @returns SecretStatus instance
|
|
12923
|
+
*/
|
|
12924
|
+
public static create(properties?: grafeas.v1.ISecretStatus): grafeas.v1.SecretStatus;
|
|
12925
|
+
|
|
12926
|
+
/**
|
|
12927
|
+
* Encodes the specified SecretStatus message. Does not implicitly {@link grafeas.v1.SecretStatus.verify|verify} messages.
|
|
12928
|
+
* @param message SecretStatus message or plain object to encode
|
|
12929
|
+
* @param [writer] Writer to encode to
|
|
12930
|
+
* @returns Writer
|
|
12931
|
+
*/
|
|
12932
|
+
public static encode(message: grafeas.v1.ISecretStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12933
|
+
|
|
12934
|
+
/**
|
|
12935
|
+
* Encodes the specified SecretStatus message, length delimited. Does not implicitly {@link grafeas.v1.SecretStatus.verify|verify} messages.
|
|
12936
|
+
* @param message SecretStatus message or plain object to encode
|
|
12937
|
+
* @param [writer] Writer to encode to
|
|
12938
|
+
* @returns Writer
|
|
12939
|
+
*/
|
|
12940
|
+
public static encodeDelimited(message: grafeas.v1.ISecretStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12941
|
+
|
|
12942
|
+
/**
|
|
12943
|
+
* Decodes a SecretStatus message from the specified reader or buffer.
|
|
12944
|
+
* @param reader Reader or buffer to decode from
|
|
12945
|
+
* @param [length] Message length if known beforehand
|
|
12946
|
+
* @returns SecretStatus
|
|
12947
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12948
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12949
|
+
*/
|
|
12950
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SecretStatus;
|
|
12951
|
+
|
|
12952
|
+
/**
|
|
12953
|
+
* Decodes a SecretStatus message from the specified reader or buffer, length delimited.
|
|
12954
|
+
* @param reader Reader or buffer to decode from
|
|
12955
|
+
* @returns SecretStatus
|
|
12956
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12957
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12958
|
+
*/
|
|
12959
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SecretStatus;
|
|
12960
|
+
|
|
12961
|
+
/**
|
|
12962
|
+
* Verifies a SecretStatus message.
|
|
12963
|
+
* @param message Plain object to verify
|
|
12964
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12965
|
+
*/
|
|
12966
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12967
|
+
|
|
12968
|
+
/**
|
|
12969
|
+
* Creates a SecretStatus message from a plain object. Also converts values to their respective internal types.
|
|
12970
|
+
* @param object Plain object
|
|
12971
|
+
* @returns SecretStatus
|
|
12972
|
+
*/
|
|
12973
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SecretStatus;
|
|
12974
|
+
|
|
12975
|
+
/**
|
|
12976
|
+
* Creates a plain object from a SecretStatus message. Also converts values to other types if specified.
|
|
12977
|
+
* @param message SecretStatus
|
|
12978
|
+
* @param [options] Conversion options
|
|
12979
|
+
* @returns Plain object
|
|
12980
|
+
*/
|
|
12981
|
+
public static toObject(message: grafeas.v1.SecretStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12982
|
+
|
|
12983
|
+
/**
|
|
12984
|
+
* Converts this SecretStatus to JSON.
|
|
12985
|
+
* @returns JSON object
|
|
12986
|
+
*/
|
|
12987
|
+
public toJSON(): { [k: string]: any };
|
|
12988
|
+
|
|
12989
|
+
/**
|
|
12990
|
+
* Gets the default type url for SecretStatus
|
|
12991
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12992
|
+
* @returns The default type url
|
|
12993
|
+
*/
|
|
12994
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12995
|
+
}
|
|
12996
|
+
|
|
12997
|
+
namespace SecretStatus {
|
|
12998
|
+
|
|
12999
|
+
/** Status enum. */
|
|
13000
|
+
enum Status {
|
|
13001
|
+
STATUS_UNSPECIFIED = 0,
|
|
13002
|
+
UNKNOWN = 1,
|
|
13003
|
+
VALID = 2,
|
|
13004
|
+
INVALID = 3
|
|
13005
|
+
}
|
|
13006
|
+
}
|
|
13007
|
+
|
|
13008
|
+
/** SecretKind enum. */
|
|
13009
|
+
enum SecretKind {
|
|
13010
|
+
SECRET_KIND_UNSPECIFIED = 0,
|
|
13011
|
+
SECRET_KIND_UNKNOWN = 1,
|
|
13012
|
+
SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY = 2
|
|
13013
|
+
}
|
|
13014
|
+
|
|
12339
13015
|
/** Properties of an UpgradeNote. */
|
|
12340
13016
|
interface IUpgradeNote {
|
|
12341
13017
|
|
|
@@ -14916,7 +15592,7 @@ export namespace grafeas {
|
|
|
14916
15592
|
contentType?: (grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType|keyof typeof grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType|null);
|
|
14917
15593
|
|
|
14918
15594
|
/** GenericSignedAttestation serializedPayload */
|
|
14919
|
-
serializedPayload?: (Uint8Array|string|null);
|
|
15595
|
+
serializedPayload?: (Uint8Array|Buffer|string|null);
|
|
14920
15596
|
|
|
14921
15597
|
/** GenericSignedAttestation signatures */
|
|
14922
15598
|
signatures?: (grafeas.v1beta1.ISignature[]|null);
|
|
@@ -14935,7 +15611,7 @@ export namespace grafeas {
|
|
|
14935
15611
|
public contentType: (grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType|keyof typeof grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType);
|
|
14936
15612
|
|
|
14937
15613
|
/** GenericSignedAttestation serializedPayload. */
|
|
14938
|
-
public serializedPayload: (Uint8Array|string);
|
|
15614
|
+
public serializedPayload: (Uint8Array|Buffer|string);
|
|
14939
15615
|
|
|
14940
15616
|
/** GenericSignedAttestation signatures. */
|
|
14941
15617
|
public signatures: grafeas.v1beta1.ISignature[];
|
|
@@ -15547,7 +16223,7 @@ export namespace grafeas {
|
|
|
15547
16223
|
interface ISignature {
|
|
15548
16224
|
|
|
15549
16225
|
/** Signature signature */
|
|
15550
|
-
signature?: (Uint8Array|string|null);
|
|
16226
|
+
signature?: (Uint8Array|Buffer|string|null);
|
|
15551
16227
|
|
|
15552
16228
|
/** Signature publicKeyId */
|
|
15553
16229
|
publicKeyId?: (string|null);
|
|
@@ -15563,7 +16239,7 @@ export namespace grafeas {
|
|
|
15563
16239
|
constructor(properties?: grafeas.v1beta1.ISignature);
|
|
15564
16240
|
|
|
15565
16241
|
/** Signature signature. */
|
|
15566
|
-
public signature: (Uint8Array|string);
|
|
16242
|
+
public signature: (Uint8Array|Buffer|string);
|
|
15567
16243
|
|
|
15568
16244
|
/** Signature publicKeyId. */
|
|
15569
16245
|
public publicKeyId: string;
|
|
@@ -15759,7 +16435,7 @@ export namespace grafeas {
|
|
|
15759
16435
|
publicKey?: (string|null);
|
|
15760
16436
|
|
|
15761
16437
|
/** BuildSignature signature */
|
|
15762
|
-
signature?: (Uint8Array|string|null);
|
|
16438
|
+
signature?: (Uint8Array|Buffer|string|null);
|
|
15763
16439
|
|
|
15764
16440
|
/** BuildSignature keyId */
|
|
15765
16441
|
keyId?: (string|null);
|
|
@@ -15781,7 +16457,7 @@ export namespace grafeas {
|
|
|
15781
16457
|
public publicKey: string;
|
|
15782
16458
|
|
|
15783
16459
|
/** BuildSignature signature. */
|
|
15784
|
-
public signature: (Uint8Array|string);
|
|
16460
|
+
public signature: (Uint8Array|Buffer|string);
|
|
15785
16461
|
|
|
15786
16462
|
/** BuildSignature keyId. */
|
|
15787
16463
|
public keyId: string;
|
|
@@ -16372,7 +17048,7 @@ export namespace grafeas {
|
|
|
16372
17048
|
type?: (grafeas.v1beta1.provenance.Hash.HashType|keyof typeof grafeas.v1beta1.provenance.Hash.HashType|null);
|
|
16373
17049
|
|
|
16374
17050
|
/** Hash value */
|
|
16375
|
-
value?: (Uint8Array|string|null);
|
|
17051
|
+
value?: (Uint8Array|Buffer|string|null);
|
|
16376
17052
|
}
|
|
16377
17053
|
|
|
16378
17054
|
/** Represents a Hash. */
|
|
@@ -16388,7 +17064,7 @@ export namespace grafeas {
|
|
|
16388
17064
|
public type: (grafeas.v1beta1.provenance.Hash.HashType|keyof typeof grafeas.v1beta1.provenance.Hash.HashType);
|
|
16389
17065
|
|
|
16390
17066
|
/** Hash value. */
|
|
16391
|
-
public value: (Uint8Array|string);
|
|
17067
|
+
public value: (Uint8Array|Buffer|string);
|
|
16392
17068
|
|
|
16393
17069
|
/**
|
|
16394
17070
|
* Creates a new Hash instance using the specified properties.
|
|
@@ -23670,6 +24346,20 @@ export namespace google {
|
|
|
23670
24346
|
* @returns Promise
|
|
23671
24347
|
*/
|
|
23672
24348
|
public getVulnerabilityOccurrencesSummary(request: google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest): Promise<google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary>;
|
|
24349
|
+
|
|
24350
|
+
/**
|
|
24351
|
+
* Calls ExportSBOM.
|
|
24352
|
+
* @param request ExportSBOMRequest message or plain object
|
|
24353
|
+
* @param callback Node-style callback called with the error, if any, and ExportSBOMResponse
|
|
24354
|
+
*/
|
|
24355
|
+
public exportSBOM(request: google.devtools.containeranalysis.v1.IExportSBOMRequest, callback: google.devtools.containeranalysis.v1.ContainerAnalysis.ExportSBOMCallback): void;
|
|
24356
|
+
|
|
24357
|
+
/**
|
|
24358
|
+
* Calls ExportSBOM.
|
|
24359
|
+
* @param request ExportSBOMRequest message or plain object
|
|
24360
|
+
* @returns Promise
|
|
24361
|
+
*/
|
|
24362
|
+
public exportSBOM(request: google.devtools.containeranalysis.v1.IExportSBOMRequest): Promise<google.devtools.containeranalysis.v1.ExportSBOMResponse>;
|
|
23673
24363
|
}
|
|
23674
24364
|
|
|
23675
24365
|
namespace ContainerAnalysis {
|
|
@@ -23701,6 +24391,310 @@ export namespace google {
|
|
|
23701
24391
|
* @param [response] VulnerabilityOccurrencesSummary
|
|
23702
24392
|
*/
|
|
23703
24393
|
type GetVulnerabilityOccurrencesSummaryCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary) => void;
|
|
24394
|
+
|
|
24395
|
+
/**
|
|
24396
|
+
* Callback as used by {@link google.devtools.containeranalysis.v1.ContainerAnalysis|exportSBOM}.
|
|
24397
|
+
* @param error Error, if any
|
|
24398
|
+
* @param [response] ExportSBOMResponse
|
|
24399
|
+
*/
|
|
24400
|
+
type ExportSBOMCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1.ExportSBOMResponse) => void;
|
|
24401
|
+
}
|
|
24402
|
+
|
|
24403
|
+
/** Properties of an ExportSBOMRequest. */
|
|
24404
|
+
interface IExportSBOMRequest {
|
|
24405
|
+
|
|
24406
|
+
/** ExportSBOMRequest name */
|
|
24407
|
+
name?: (string|null);
|
|
24408
|
+
|
|
24409
|
+
/** ExportSBOMRequest cloudStorageLocation */
|
|
24410
|
+
cloudStorageLocation?: (google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation|null);
|
|
24411
|
+
}
|
|
24412
|
+
|
|
24413
|
+
/** Represents an ExportSBOMRequest. */
|
|
24414
|
+
class ExportSBOMRequest implements IExportSBOMRequest {
|
|
24415
|
+
|
|
24416
|
+
/**
|
|
24417
|
+
* Constructs a new ExportSBOMRequest.
|
|
24418
|
+
* @param [properties] Properties to set
|
|
24419
|
+
*/
|
|
24420
|
+
constructor(properties?: google.devtools.containeranalysis.v1.IExportSBOMRequest);
|
|
24421
|
+
|
|
24422
|
+
/** ExportSBOMRequest name. */
|
|
24423
|
+
public name: string;
|
|
24424
|
+
|
|
24425
|
+
/** ExportSBOMRequest cloudStorageLocation. */
|
|
24426
|
+
public cloudStorageLocation?: (google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation|null);
|
|
24427
|
+
|
|
24428
|
+
/** ExportSBOMRequest target. */
|
|
24429
|
+
public target?: "cloudStorageLocation";
|
|
24430
|
+
|
|
24431
|
+
/**
|
|
24432
|
+
* Creates a new ExportSBOMRequest instance using the specified properties.
|
|
24433
|
+
* @param [properties] Properties to set
|
|
24434
|
+
* @returns ExportSBOMRequest instance
|
|
24435
|
+
*/
|
|
24436
|
+
public static create(properties?: google.devtools.containeranalysis.v1.IExportSBOMRequest): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
24437
|
+
|
|
24438
|
+
/**
|
|
24439
|
+
* Encodes the specified ExportSBOMRequest message. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.verify|verify} messages.
|
|
24440
|
+
* @param message ExportSBOMRequest message or plain object to encode
|
|
24441
|
+
* @param [writer] Writer to encode to
|
|
24442
|
+
* @returns Writer
|
|
24443
|
+
*/
|
|
24444
|
+
public static encode(message: google.devtools.containeranalysis.v1.IExportSBOMRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24445
|
+
|
|
24446
|
+
/**
|
|
24447
|
+
* Encodes the specified ExportSBOMRequest message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.verify|verify} messages.
|
|
24448
|
+
* @param message ExportSBOMRequest message or plain object to encode
|
|
24449
|
+
* @param [writer] Writer to encode to
|
|
24450
|
+
* @returns Writer
|
|
24451
|
+
*/
|
|
24452
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1.IExportSBOMRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24453
|
+
|
|
24454
|
+
/**
|
|
24455
|
+
* Decodes an ExportSBOMRequest message from the specified reader or buffer.
|
|
24456
|
+
* @param reader Reader or buffer to decode from
|
|
24457
|
+
* @param [length] Message length if known beforehand
|
|
24458
|
+
* @returns ExportSBOMRequest
|
|
24459
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24460
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24461
|
+
*/
|
|
24462
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
24463
|
+
|
|
24464
|
+
/**
|
|
24465
|
+
* Decodes an ExportSBOMRequest message from the specified reader or buffer, length delimited.
|
|
24466
|
+
* @param reader Reader or buffer to decode from
|
|
24467
|
+
* @returns ExportSBOMRequest
|
|
24468
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24469
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24470
|
+
*/
|
|
24471
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
24472
|
+
|
|
24473
|
+
/**
|
|
24474
|
+
* Verifies an ExportSBOMRequest message.
|
|
24475
|
+
* @param message Plain object to verify
|
|
24476
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24477
|
+
*/
|
|
24478
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24479
|
+
|
|
24480
|
+
/**
|
|
24481
|
+
* Creates an ExportSBOMRequest message from a plain object. Also converts values to their respective internal types.
|
|
24482
|
+
* @param object Plain object
|
|
24483
|
+
* @returns ExportSBOMRequest
|
|
24484
|
+
*/
|
|
24485
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
24486
|
+
|
|
24487
|
+
/**
|
|
24488
|
+
* Creates a plain object from an ExportSBOMRequest message. Also converts values to other types if specified.
|
|
24489
|
+
* @param message ExportSBOMRequest
|
|
24490
|
+
* @param [options] Conversion options
|
|
24491
|
+
* @returns Plain object
|
|
24492
|
+
*/
|
|
24493
|
+
public static toObject(message: google.devtools.containeranalysis.v1.ExportSBOMRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24494
|
+
|
|
24495
|
+
/**
|
|
24496
|
+
* Converts this ExportSBOMRequest to JSON.
|
|
24497
|
+
* @returns JSON object
|
|
24498
|
+
*/
|
|
24499
|
+
public toJSON(): { [k: string]: any };
|
|
24500
|
+
|
|
24501
|
+
/**
|
|
24502
|
+
* Gets the default type url for ExportSBOMRequest
|
|
24503
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24504
|
+
* @returns The default type url
|
|
24505
|
+
*/
|
|
24506
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24507
|
+
}
|
|
24508
|
+
|
|
24509
|
+
namespace ExportSBOMRequest {
|
|
24510
|
+
|
|
24511
|
+
/** Properties of a CloudStorageLocation. */
|
|
24512
|
+
interface ICloudStorageLocation {
|
|
24513
|
+
}
|
|
24514
|
+
|
|
24515
|
+
/** Represents a CloudStorageLocation. */
|
|
24516
|
+
class CloudStorageLocation implements ICloudStorageLocation {
|
|
24517
|
+
|
|
24518
|
+
/**
|
|
24519
|
+
* Constructs a new CloudStorageLocation.
|
|
24520
|
+
* @param [properties] Properties to set
|
|
24521
|
+
*/
|
|
24522
|
+
constructor(properties?: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation);
|
|
24523
|
+
|
|
24524
|
+
/**
|
|
24525
|
+
* Creates a new CloudStorageLocation instance using the specified properties.
|
|
24526
|
+
* @param [properties] Properties to set
|
|
24527
|
+
* @returns CloudStorageLocation instance
|
|
24528
|
+
*/
|
|
24529
|
+
public static create(properties?: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
24530
|
+
|
|
24531
|
+
/**
|
|
24532
|
+
* Encodes the specified CloudStorageLocation message. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation.verify|verify} messages.
|
|
24533
|
+
* @param message CloudStorageLocation message or plain object to encode
|
|
24534
|
+
* @param [writer] Writer to encode to
|
|
24535
|
+
* @returns Writer
|
|
24536
|
+
*/
|
|
24537
|
+
public static encode(message: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24538
|
+
|
|
24539
|
+
/**
|
|
24540
|
+
* Encodes the specified CloudStorageLocation message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation.verify|verify} messages.
|
|
24541
|
+
* @param message CloudStorageLocation message or plain object to encode
|
|
24542
|
+
* @param [writer] Writer to encode to
|
|
24543
|
+
* @returns Writer
|
|
24544
|
+
*/
|
|
24545
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24546
|
+
|
|
24547
|
+
/**
|
|
24548
|
+
* Decodes a CloudStorageLocation message from the specified reader or buffer.
|
|
24549
|
+
* @param reader Reader or buffer to decode from
|
|
24550
|
+
* @param [length] Message length if known beforehand
|
|
24551
|
+
* @returns CloudStorageLocation
|
|
24552
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24553
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24554
|
+
*/
|
|
24555
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
24556
|
+
|
|
24557
|
+
/**
|
|
24558
|
+
* Decodes a CloudStorageLocation message from the specified reader or buffer, length delimited.
|
|
24559
|
+
* @param reader Reader or buffer to decode from
|
|
24560
|
+
* @returns CloudStorageLocation
|
|
24561
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24562
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24563
|
+
*/
|
|
24564
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
24565
|
+
|
|
24566
|
+
/**
|
|
24567
|
+
* Verifies a CloudStorageLocation message.
|
|
24568
|
+
* @param message Plain object to verify
|
|
24569
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24570
|
+
*/
|
|
24571
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24572
|
+
|
|
24573
|
+
/**
|
|
24574
|
+
* Creates a CloudStorageLocation message from a plain object. Also converts values to their respective internal types.
|
|
24575
|
+
* @param object Plain object
|
|
24576
|
+
* @returns CloudStorageLocation
|
|
24577
|
+
*/
|
|
24578
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
24579
|
+
|
|
24580
|
+
/**
|
|
24581
|
+
* Creates a plain object from a CloudStorageLocation message. Also converts values to other types if specified.
|
|
24582
|
+
* @param message CloudStorageLocation
|
|
24583
|
+
* @param [options] Conversion options
|
|
24584
|
+
* @returns Plain object
|
|
24585
|
+
*/
|
|
24586
|
+
public static toObject(message: google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24587
|
+
|
|
24588
|
+
/**
|
|
24589
|
+
* Converts this CloudStorageLocation to JSON.
|
|
24590
|
+
* @returns JSON object
|
|
24591
|
+
*/
|
|
24592
|
+
public toJSON(): { [k: string]: any };
|
|
24593
|
+
|
|
24594
|
+
/**
|
|
24595
|
+
* Gets the default type url for CloudStorageLocation
|
|
24596
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24597
|
+
* @returns The default type url
|
|
24598
|
+
*/
|
|
24599
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24600
|
+
}
|
|
24601
|
+
}
|
|
24602
|
+
|
|
24603
|
+
/** Properties of an ExportSBOMResponse. */
|
|
24604
|
+
interface IExportSBOMResponse {
|
|
24605
|
+
|
|
24606
|
+
/** ExportSBOMResponse discoveryOccurrence */
|
|
24607
|
+
discoveryOccurrence?: (string|null);
|
|
24608
|
+
}
|
|
24609
|
+
|
|
24610
|
+
/** Represents an ExportSBOMResponse. */
|
|
24611
|
+
class ExportSBOMResponse implements IExportSBOMResponse {
|
|
24612
|
+
|
|
24613
|
+
/**
|
|
24614
|
+
* Constructs a new ExportSBOMResponse.
|
|
24615
|
+
* @param [properties] Properties to set
|
|
24616
|
+
*/
|
|
24617
|
+
constructor(properties?: google.devtools.containeranalysis.v1.IExportSBOMResponse);
|
|
24618
|
+
|
|
24619
|
+
/** ExportSBOMResponse discoveryOccurrence. */
|
|
24620
|
+
public discoveryOccurrence: string;
|
|
24621
|
+
|
|
24622
|
+
/**
|
|
24623
|
+
* Creates a new ExportSBOMResponse instance using the specified properties.
|
|
24624
|
+
* @param [properties] Properties to set
|
|
24625
|
+
* @returns ExportSBOMResponse instance
|
|
24626
|
+
*/
|
|
24627
|
+
public static create(properties?: google.devtools.containeranalysis.v1.IExportSBOMResponse): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
24628
|
+
|
|
24629
|
+
/**
|
|
24630
|
+
* Encodes the specified ExportSBOMResponse message. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMResponse.verify|verify} messages.
|
|
24631
|
+
* @param message ExportSBOMResponse message or plain object to encode
|
|
24632
|
+
* @param [writer] Writer to encode to
|
|
24633
|
+
* @returns Writer
|
|
24634
|
+
*/
|
|
24635
|
+
public static encode(message: google.devtools.containeranalysis.v1.IExportSBOMResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24636
|
+
|
|
24637
|
+
/**
|
|
24638
|
+
* Encodes the specified ExportSBOMResponse message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMResponse.verify|verify} messages.
|
|
24639
|
+
* @param message ExportSBOMResponse message or plain object to encode
|
|
24640
|
+
* @param [writer] Writer to encode to
|
|
24641
|
+
* @returns Writer
|
|
24642
|
+
*/
|
|
24643
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1.IExportSBOMResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24644
|
+
|
|
24645
|
+
/**
|
|
24646
|
+
* Decodes an ExportSBOMResponse message from the specified reader or buffer.
|
|
24647
|
+
* @param reader Reader or buffer to decode from
|
|
24648
|
+
* @param [length] Message length if known beforehand
|
|
24649
|
+
* @returns ExportSBOMResponse
|
|
24650
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24651
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24652
|
+
*/
|
|
24653
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
24654
|
+
|
|
24655
|
+
/**
|
|
24656
|
+
* Decodes an ExportSBOMResponse message from the specified reader or buffer, length delimited.
|
|
24657
|
+
* @param reader Reader or buffer to decode from
|
|
24658
|
+
* @returns ExportSBOMResponse
|
|
24659
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24660
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24661
|
+
*/
|
|
24662
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
24663
|
+
|
|
24664
|
+
/**
|
|
24665
|
+
* Verifies an ExportSBOMResponse message.
|
|
24666
|
+
* @param message Plain object to verify
|
|
24667
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24668
|
+
*/
|
|
24669
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24670
|
+
|
|
24671
|
+
/**
|
|
24672
|
+
* Creates an ExportSBOMResponse message from a plain object. Also converts values to their respective internal types.
|
|
24673
|
+
* @param object Plain object
|
|
24674
|
+
* @returns ExportSBOMResponse
|
|
24675
|
+
*/
|
|
24676
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
24677
|
+
|
|
24678
|
+
/**
|
|
24679
|
+
* Creates a plain object from an ExportSBOMResponse message. Also converts values to other types if specified.
|
|
24680
|
+
* @param message ExportSBOMResponse
|
|
24681
|
+
* @param [options] Conversion options
|
|
24682
|
+
* @returns Plain object
|
|
24683
|
+
*/
|
|
24684
|
+
public static toObject(message: google.devtools.containeranalysis.v1.ExportSBOMResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24685
|
+
|
|
24686
|
+
/**
|
|
24687
|
+
* Converts this ExportSBOMResponse to JSON.
|
|
24688
|
+
* @returns JSON object
|
|
24689
|
+
*/
|
|
24690
|
+
public toJSON(): { [k: string]: any };
|
|
24691
|
+
|
|
24692
|
+
/**
|
|
24693
|
+
* Gets the default type url for ExportSBOMResponse
|
|
24694
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24695
|
+
* @returns The default type url
|
|
24696
|
+
*/
|
|
24697
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23704
24698
|
}
|
|
23705
24699
|
|
|
23706
24700
|
/** Properties of a GetVulnerabilityOccurrencesSummaryRequest. */
|
|
@@ -25312,6 +26306,9 @@ export namespace google {
|
|
|
25312
26306
|
|
|
25313
26307
|
/** Publishing protoReferenceDocumentationUri */
|
|
25314
26308
|
protoReferenceDocumentationUri?: (string|null);
|
|
26309
|
+
|
|
26310
|
+
/** Publishing restReferenceDocumentationUri */
|
|
26311
|
+
restReferenceDocumentationUri?: (string|null);
|
|
25315
26312
|
}
|
|
25316
26313
|
|
|
25317
26314
|
/** Represents a Publishing. */
|
|
@@ -25353,6 +26350,9 @@ export namespace google {
|
|
|
25353
26350
|
/** Publishing protoReferenceDocumentationUri. */
|
|
25354
26351
|
public protoReferenceDocumentationUri: string;
|
|
25355
26352
|
|
|
26353
|
+
/** Publishing restReferenceDocumentationUri. */
|
|
26354
|
+
public restReferenceDocumentationUri: string;
|
|
26355
|
+
|
|
25356
26356
|
/**
|
|
25357
26357
|
* Creates a new Publishing instance using the specified properties.
|
|
25358
26358
|
* @param [properties] Properties to set
|
|
@@ -29570,6 +30570,9 @@ export namespace google {
|
|
|
29570
30570
|
|
|
29571
30571
|
/** ServiceOptions .google.api.oauthScopes */
|
|
29572
30572
|
".google.api.oauthScopes"?: (string|null);
|
|
30573
|
+
|
|
30574
|
+
/** ServiceOptions .google.api.apiVersion */
|
|
30575
|
+
".google.api.apiVersion"?: (string|null);
|
|
29573
30576
|
}
|
|
29574
30577
|
|
|
29575
30578
|
/** Represents a ServiceOptions. */
|
|
@@ -29818,7 +30821,7 @@ export namespace google {
|
|
|
29818
30821
|
doubleValue?: (number|null);
|
|
29819
30822
|
|
|
29820
30823
|
/** UninterpretedOption stringValue */
|
|
29821
|
-
stringValue?: (Uint8Array|string|null);
|
|
30824
|
+
stringValue?: (Uint8Array|Buffer|string|null);
|
|
29822
30825
|
|
|
29823
30826
|
/** UninterpretedOption aggregateValue */
|
|
29824
30827
|
aggregateValue?: (string|null);
|
|
@@ -29849,7 +30852,7 @@ export namespace google {
|
|
|
29849
30852
|
public doubleValue: number;
|
|
29850
30853
|
|
|
29851
30854
|
/** UninterpretedOption stringValue. */
|
|
29852
|
-
public stringValue: (Uint8Array|string);
|
|
30855
|
+
public stringValue: (Uint8Array|Buffer|string);
|
|
29853
30856
|
|
|
29854
30857
|
/** UninterpretedOption aggregateValue. */
|
|
29855
30858
|
public aggregateValue: string;
|
|
@@ -31085,7 +32088,7 @@ export namespace google {
|
|
|
31085
32088
|
type_url?: (string|null);
|
|
31086
32089
|
|
|
31087
32090
|
/** Any value */
|
|
31088
|
-
value?: (Uint8Array|string|null);
|
|
32091
|
+
value?: (Uint8Array|Buffer|string|null);
|
|
31089
32092
|
}
|
|
31090
32093
|
|
|
31091
32094
|
/** Represents an Any. */
|
|
@@ -31101,7 +32104,7 @@ export namespace google {
|
|
|
31101
32104
|
public type_url: string;
|
|
31102
32105
|
|
|
31103
32106
|
/** Any value. */
|
|
31104
|
-
public value: (Uint8Array|string);
|
|
32107
|
+
public value: (Uint8Array|Buffer|string);
|
|
31105
32108
|
|
|
31106
32109
|
/**
|
|
31107
32110
|
* Creates a new Any instance using the specified properties.
|
|
@@ -32320,7 +33323,7 @@ export namespace google {
|
|
|
32320
33323
|
auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
|
|
32321
33324
|
|
|
32322
33325
|
/** Policy etag */
|
|
32323
|
-
etag?: (Uint8Array|string|null);
|
|
33326
|
+
etag?: (Uint8Array|Buffer|string|null);
|
|
32324
33327
|
}
|
|
32325
33328
|
|
|
32326
33329
|
/** Represents a Policy. */
|
|
@@ -32342,7 +33345,7 @@ export namespace google {
|
|
|
32342
33345
|
public auditConfigs: google.iam.v1.IAuditConfig[];
|
|
32343
33346
|
|
|
32344
33347
|
/** Policy etag. */
|
|
32345
|
-
public etag: (Uint8Array|string);
|
|
33348
|
+
public etag: (Uint8Array|Buffer|string);
|
|
32346
33349
|
|
|
32347
33350
|
/**
|
|
32348
33351
|
* Creates a new Policy instance using the specified properties.
|