@google-cloud/containeranalysis 4.5.0 → 4.6.1

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -0
  3. package/build/protos/google/devtools/containeranalysis/v1beta1/attestation/attestation.proto +1 -1
  4. package/build/protos/google/devtools/containeranalysis/v1beta1/build/build.proto +1 -1
  5. package/build/protos/google/devtools/containeranalysis/v1beta1/common/common.proto +1 -1
  6. package/build/protos/google/devtools/containeranalysis/v1beta1/containeranalysis.proto +35 -1
  7. package/build/protos/google/devtools/containeranalysis/v1beta1/cvss/cvss.proto +1 -1
  8. package/build/protos/google/devtools/containeranalysis/v1beta1/deployment/deployment.proto +1 -1
  9. package/build/protos/google/devtools/containeranalysis/v1beta1/discovery/discovery.proto +1 -1
  10. package/build/protos/google/devtools/containeranalysis/v1beta1/image/image.proto +1 -1
  11. package/build/protos/google/devtools/containeranalysis/v1beta1/package/package.proto +1 -1
  12. package/build/protos/google/devtools/containeranalysis/v1beta1/provenance/provenance.proto +1 -1
  13. package/build/protos/google/devtools/containeranalysis/v1beta1/source/source.proto +1 -1
  14. package/build/protos/google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto +1 -1
  15. package/build/protos/grafeas/v1/cvss.proto +3 -0
  16. package/build/protos/protos.d.ts +332 -2
  17. package/build/protos/protos.js +766 -0
  18. package/build/protos/protos.json +1 -1
  19. package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +25 -0
  20. package/build/src/v1beta1/container_analysis_v1_beta1_client.js +17 -0
  21. package/build/src/v1beta1/container_analysis_v1_beta1_client_config.json +4 -0
  22. package/package.json +4 -2
  23. package/build/src/index.js.map +0 -1
  24. package/build/src/v1/container_analysis_client.js.map +0 -1
  25. package/build/src/v1/grafeas_client.js.map +0 -1
  26. package/build/src/v1/index.js.map +0 -1
  27. package/build/src/v1beta1/container_analysis_v1_beta1_client.js.map +0 -1
  28. package/build/src/v1beta1/grafeas_v1_beta1_client.js.map +0 -1
  29. package/build/src/v1beta1/index.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/@google-cloud/containeranalysis?activeTab=versions
6
6
 
7
+ ## [4.6.1](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v4.6.0...containeranalysis-v4.6.1) (2023-04-13)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * Minify JSON and JS files, and remove .map files ([#4143](https://github.com/googleapis/google-cloud-node/issues/4143)) ([170f7d5](https://github.com/googleapis/google-cloud-node/commit/170f7d57b8fd344d182a8e758867b8124722eebc))
13
+
14
+ ## [4.6.0](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v4.5.0...containeranalysis-v4.6.0) (2023-03-28)
15
+
16
+
17
+ ### Features
18
+
19
+ * [containeranalysis] Add VULNERABILITY_ASSESSMENT Note type to grafeas v1 API, adds Vex_Assessment derived from the Note to resources' occurrences, VEX notes now be written to add CVE assessments ([#4070](https://github.com/googleapis/google-cloud-node/issues/4070)) ([ec484a6](https://github.com/googleapis/google-cloud-node/commit/ec484a6f369d2df6dc73a798501c8937caf5634b))
20
+ * [containeranalysis] remove the unimplemented ScanConfig API method and resources ([a3b26fc](https://github.com/googleapis/google-cloud-node/commit/a3b26fc4052a72858f837a45237c9df88289fb75))
21
+
7
22
  ## [4.5.0](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v4.4.2...containeranalysis-v4.5.0) (2023-03-13)
8
23
 
9
24
 
package/README.md CHANGED
@@ -80,6 +80,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
80
80
  | Grafeas.list_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_occurrences.js,samples/README.md) |
81
81
  | Grafeas.update_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_note.js,samples/README.md) |
82
82
  | Grafeas.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js,samples/README.md) |
83
+ | Container_analysis_v1_beta1.generate_packages_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js,samples/README.md) |
83
84
  | Container_analysis_v1_beta1.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js,samples/README.md) |
84
85
  | Container_analysis_v1_beta1.get_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js,samples/README.md) |
85
86
  | Container_analysis_v1_beta1.list_scan_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.list_scan_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.list_scan_configs.js,samples/README.md) |
@@ -18,7 +18,7 @@ package grafeas.v1beta1.attestation;
18
18
 
19
19
  import "google/devtools/containeranalysis/v1beta1/common/common.proto";
20
20
 
21
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation;attestation";
21
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
22
22
  option java_multiple_files = true;
23
23
  option java_package = "io.grafeas.v1beta1.attestation";
24
24
  option objc_class_prefix = "GRA";
@@ -18,7 +18,7 @@ package grafeas.v1beta1.build;
18
18
 
19
19
  import "google/devtools/containeranalysis/v1beta1/provenance/provenance.proto";
20
20
 
21
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build;build";
21
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
22
22
  option java_multiple_files = true;
23
23
  option java_package = "io.grafeas.v1beta1.build";
24
24
  option objc_class_prefix = "GRA";
@@ -16,7 +16,7 @@ syntax = "proto3";
16
16
 
17
17
  package grafeas.v1beta1;
18
18
 
19
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common;common";
19
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
20
20
  option java_multiple_files = true;
21
21
  option java_package = "io.grafeas.v1beta1.common";
22
22
  option objc_class_prefix = "GRA";
@@ -22,7 +22,7 @@ import "google/api/field_behavior.proto";
22
22
  import "google/iam/v1/iam_policy.proto";
23
23
  import "google/iam/v1/policy.proto";
24
24
 
25
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1;containeranalysis";
25
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
26
26
  option java_multiple_files = true;
27
27
  option java_package = "com.google.containeranalysis.v1beta1";
28
28
  option objc_class_prefix = "GCA";
@@ -106,4 +106,38 @@ service ContainerAnalysisV1Beta1 {
106
106
  };
107
107
  option (google.api.method_signature) = "resource,permissions";
108
108
  }
109
+
110
+ // Gets a summary of the packages within a given resource.
111
+ rpc GeneratePackagesSummary(GeneratePackagesSummaryRequest)
112
+ returns (PackagesSummaryResponse) {}
113
+ }
114
+
115
+ // GeneratePackagesSummaryRequest is the request body for the
116
+ // GeneratePackagesSummary API method. It just takes a single name argument,
117
+ // referring to the resource.
118
+ message GeneratePackagesSummaryRequest {
119
+ // Required. The name of the resource to get a packages summary for in the
120
+ // form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
121
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
122
+ }
123
+
124
+ // A summary of the packages found within the given resource.
125
+ message PackagesSummaryResponse {
126
+ // Per license count
127
+ message LicensesSummary {
128
+ // The license of the package. Note that the format of this value is not
129
+ // guaranteed. It may be nil, an empty string, a boolean value (A | B), a
130
+ // differently formed boolean value (A OR B), etc...
131
+ string license = 1;
132
+
133
+ // The number of fixable vulnerabilities associated with this resource.
134
+ int64 count = 2;
135
+ }
136
+
137
+ // The unique URL of the image or the container for which this summary
138
+ // applies.
139
+ string resource_url = 1;
140
+
141
+ // A listing by license name of each of the licenses and their counts.
142
+ repeated LicensesSummary licenses_summary = 2;
109
143
  }
@@ -16,7 +16,7 @@ syntax = "proto3";
16
16
 
17
17
  package grafeas.v1beta1.vulnerability;
18
18
 
19
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/cvss;cvss";
19
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
20
20
  option java_multiple_files = true;
21
21
  option java_package = "io.grafeas.v1beta1.vulnerability";
22
22
  option objc_class_prefix = "GRA";
@@ -18,7 +18,7 @@ package grafeas.v1beta1.deployment;
18
18
 
19
19
  import "google/protobuf/timestamp.proto";
20
20
 
21
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment;deployment";
21
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
22
22
  option java_multiple_files = true;
23
23
  option java_package = "io.grafeas.v1beta1.deployment";
24
24
  option objc_class_prefix = "GRA";
@@ -20,7 +20,7 @@ import "google/devtools/containeranalysis/v1beta1/common/common.proto";
20
20
  import "google/protobuf/timestamp.proto";
21
21
  import "google/rpc/status.proto";
22
22
 
23
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery;discovery";
23
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
24
24
  option java_multiple_files = true;
25
25
  option java_package = "io.grafeas.v1beta1.discovery";
26
26
  option objc_class_prefix = "GRA";
@@ -16,7 +16,7 @@ syntax = "proto3";
16
16
 
17
17
  package grafeas.v1beta1.image;
18
18
 
19
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image;image";
19
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
20
20
  option java_multiple_files = true;
21
21
  option java_package = "io.grafeas.v1beta1.image";
22
22
  option objc_class_prefix = "GRA";
@@ -16,7 +16,7 @@ syntax = "proto3";
16
16
 
17
17
  package grafeas.v1beta1.package;
18
18
 
19
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package";
19
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
20
20
  option java_multiple_files = true;
21
21
  option java_package = "io.grafeas.v1beta1.pkg";
22
22
  option objc_class_prefix = "GRA";
@@ -19,7 +19,7 @@ package grafeas.v1beta1.provenance;
19
19
  import "google/devtools/containeranalysis/v1beta1/source/source.proto";
20
20
  import "google/protobuf/timestamp.proto";
21
21
 
22
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance;provenance";
22
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
23
23
  option java_multiple_files = true;
24
24
  option java_package = "io.grafeas.v1beta1.provenance";
25
25
  option objc_class_prefix = "GRA";
@@ -16,7 +16,7 @@ syntax = "proto3";
16
16
 
17
17
  package grafeas.v1beta1.source;
18
18
 
19
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source;source";
19
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
20
20
  option java_multiple_files = true;
21
21
  option java_package = "io.grafeas.v1beta1.source";
22
22
  option objc_class_prefix = "GRA";
@@ -21,7 +21,7 @@ import "google/devtools/containeranalysis/v1beta1/common/common.proto";
21
21
  import "google/devtools/containeranalysis/v1beta1/cvss/cvss.proto";
22
22
  import "google/devtools/containeranalysis/v1beta1/package/package.proto";
23
23
 
24
- option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability;vulnerability";
24
+ option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
25
25
  option java_multiple_files = true;
26
26
  option java_package = "io.grafeas.v1beta1.vulnerability";
27
27
  option objc_class_prefix = "GRA";
@@ -122,6 +122,7 @@ message CVSS {
122
122
  ATTACK_COMPLEXITY_UNSPECIFIED = 0;
123
123
  ATTACK_COMPLEXITY_LOW = 1;
124
124
  ATTACK_COMPLEXITY_HIGH = 2;
125
+ ATTACK_COMPLEXITY_MEDIUM = 3;
125
126
  }
126
127
 
127
128
  enum Authentication {
@@ -155,6 +156,8 @@ message CVSS {
155
156
  IMPACT_HIGH = 1;
156
157
  IMPACT_LOW = 2;
157
158
  IMPACT_NONE = 3;
159
+ IMPACT_PARTIAL = 4;
160
+ IMPACT_COMPLETE = 5;
158
161
  }
159
162
  }
160
163
 
@@ -6066,7 +6066,8 @@ export namespace grafeas {
6066
6066
  enum AttackComplexity {
6067
6067
  ATTACK_COMPLEXITY_UNSPECIFIED = 0,
6068
6068
  ATTACK_COMPLEXITY_LOW = 1,
6069
- ATTACK_COMPLEXITY_HIGH = 2
6069
+ ATTACK_COMPLEXITY_HIGH = 2,
6070
+ ATTACK_COMPLEXITY_MEDIUM = 3
6070
6071
  }
6071
6072
 
6072
6073
  /** Authentication enum. */
@@ -6104,7 +6105,9 @@ export namespace grafeas {
6104
6105
  IMPACT_UNSPECIFIED = 0,
6105
6106
  IMPACT_HIGH = 1,
6106
6107
  IMPACT_LOW = 2,
6107
- IMPACT_NONE = 3
6108
+ IMPACT_NONE = 3,
6109
+ IMPACT_PARTIAL = 4,
6110
+ IMPACT_COMPLETE = 5
6108
6111
  }
6109
6112
  }
6110
6113
 
@@ -22549,6 +22552,20 @@ export namespace google {
22549
22552
  * @returns Promise
22550
22553
  */
22551
22554
  public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;
22555
+
22556
+ /**
22557
+ * Calls GeneratePackagesSummary.
22558
+ * @param request GeneratePackagesSummaryRequest message or plain object
22559
+ * @param callback Node-style callback called with the error, if any, and PackagesSummaryResponse
22560
+ */
22561
+ public generatePackagesSummary(request: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GeneratePackagesSummaryCallback): void;
22562
+
22563
+ /**
22564
+ * Calls GeneratePackagesSummary.
22565
+ * @param request GeneratePackagesSummaryRequest message or plain object
22566
+ * @returns Promise
22567
+ */
22568
+ public generatePackagesSummary(request: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest): Promise<google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse>;
22552
22569
  }
22553
22570
 
22554
22571
  namespace ContainerAnalysisV1Beta1 {
@@ -22573,6 +22590,319 @@ export namespace google {
22573
22590
  * @param [response] TestIamPermissionsResponse
22574
22591
  */
22575
22592
  type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
22593
+
22594
+ /**
22595
+ * Callback as used by {@link google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1|generatePackagesSummary}.
22596
+ * @param error Error, if any
22597
+ * @param [response] PackagesSummaryResponse
22598
+ */
22599
+ type GeneratePackagesSummaryCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse) => void;
22600
+ }
22601
+
22602
+ /** Properties of a GeneratePackagesSummaryRequest. */
22603
+ interface IGeneratePackagesSummaryRequest {
22604
+
22605
+ /** GeneratePackagesSummaryRequest name */
22606
+ name?: (string|null);
22607
+ }
22608
+
22609
+ /** Represents a GeneratePackagesSummaryRequest. */
22610
+ class GeneratePackagesSummaryRequest implements IGeneratePackagesSummaryRequest {
22611
+
22612
+ /**
22613
+ * Constructs a new GeneratePackagesSummaryRequest.
22614
+ * @param [properties] Properties to set
22615
+ */
22616
+ constructor(properties?: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest);
22617
+
22618
+ /** GeneratePackagesSummaryRequest name. */
22619
+ public name: string;
22620
+
22621
+ /**
22622
+ * Creates a new GeneratePackagesSummaryRequest instance using the specified properties.
22623
+ * @param [properties] Properties to set
22624
+ * @returns GeneratePackagesSummaryRequest instance
22625
+ */
22626
+ public static create(properties?: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest): google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest;
22627
+
22628
+ /**
22629
+ * Encodes the specified GeneratePackagesSummaryRequest message. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest.verify|verify} messages.
22630
+ * @param message GeneratePackagesSummaryRequest message or plain object to encode
22631
+ * @param [writer] Writer to encode to
22632
+ * @returns Writer
22633
+ */
22634
+ public static encode(message: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
22635
+
22636
+ /**
22637
+ * Encodes the specified GeneratePackagesSummaryRequest message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest.verify|verify} messages.
22638
+ * @param message GeneratePackagesSummaryRequest message or plain object to encode
22639
+ * @param [writer] Writer to encode to
22640
+ * @returns Writer
22641
+ */
22642
+ public static encodeDelimited(message: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
22643
+
22644
+ /**
22645
+ * Decodes a GeneratePackagesSummaryRequest message from the specified reader or buffer.
22646
+ * @param reader Reader or buffer to decode from
22647
+ * @param [length] Message length if known beforehand
22648
+ * @returns GeneratePackagesSummaryRequest
22649
+ * @throws {Error} If the payload is not a reader or valid buffer
22650
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22651
+ */
22652
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest;
22653
+
22654
+ /**
22655
+ * Decodes a GeneratePackagesSummaryRequest message from the specified reader or buffer, length delimited.
22656
+ * @param reader Reader or buffer to decode from
22657
+ * @returns GeneratePackagesSummaryRequest
22658
+ * @throws {Error} If the payload is not a reader or valid buffer
22659
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22660
+ */
22661
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest;
22662
+
22663
+ /**
22664
+ * Verifies a GeneratePackagesSummaryRequest message.
22665
+ * @param message Plain object to verify
22666
+ * @returns `null` if valid, otherwise the reason why it is not
22667
+ */
22668
+ public static verify(message: { [k: string]: any }): (string|null);
22669
+
22670
+ /**
22671
+ * Creates a GeneratePackagesSummaryRequest message from a plain object. Also converts values to their respective internal types.
22672
+ * @param object Plain object
22673
+ * @returns GeneratePackagesSummaryRequest
22674
+ */
22675
+ public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest;
22676
+
22677
+ /**
22678
+ * Creates a plain object from a GeneratePackagesSummaryRequest message. Also converts values to other types if specified.
22679
+ * @param message GeneratePackagesSummaryRequest
22680
+ * @param [options] Conversion options
22681
+ * @returns Plain object
22682
+ */
22683
+ public static toObject(message: google.devtools.containeranalysis.v1beta1.GeneratePackagesSummaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
22684
+
22685
+ /**
22686
+ * Converts this GeneratePackagesSummaryRequest to JSON.
22687
+ * @returns JSON object
22688
+ */
22689
+ public toJSON(): { [k: string]: any };
22690
+
22691
+ /**
22692
+ * Gets the default type url for GeneratePackagesSummaryRequest
22693
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22694
+ * @returns The default type url
22695
+ */
22696
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22697
+ }
22698
+
22699
+ /** Properties of a PackagesSummaryResponse. */
22700
+ interface IPackagesSummaryResponse {
22701
+
22702
+ /** PackagesSummaryResponse resourceUrl */
22703
+ resourceUrl?: (string|null);
22704
+
22705
+ /** PackagesSummaryResponse licensesSummary */
22706
+ licensesSummary?: (google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.ILicensesSummary[]|null);
22707
+ }
22708
+
22709
+ /** Represents a PackagesSummaryResponse. */
22710
+ class PackagesSummaryResponse implements IPackagesSummaryResponse {
22711
+
22712
+ /**
22713
+ * Constructs a new PackagesSummaryResponse.
22714
+ * @param [properties] Properties to set
22715
+ */
22716
+ constructor(properties?: google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse);
22717
+
22718
+ /** PackagesSummaryResponse resourceUrl. */
22719
+ public resourceUrl: string;
22720
+
22721
+ /** PackagesSummaryResponse licensesSummary. */
22722
+ public licensesSummary: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.ILicensesSummary[];
22723
+
22724
+ /**
22725
+ * Creates a new PackagesSummaryResponse instance using the specified properties.
22726
+ * @param [properties] Properties to set
22727
+ * @returns PackagesSummaryResponse instance
22728
+ */
22729
+ public static create(properties?: google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse;
22730
+
22731
+ /**
22732
+ * Encodes the specified PackagesSummaryResponse message. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.verify|verify} messages.
22733
+ * @param message PackagesSummaryResponse message or plain object to encode
22734
+ * @param [writer] Writer to encode to
22735
+ * @returns Writer
22736
+ */
22737
+ public static encode(message: google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
22738
+
22739
+ /**
22740
+ * Encodes the specified PackagesSummaryResponse message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.verify|verify} messages.
22741
+ * @param message PackagesSummaryResponse message or plain object to encode
22742
+ * @param [writer] Writer to encode to
22743
+ * @returns Writer
22744
+ */
22745
+ public static encodeDelimited(message: google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
22746
+
22747
+ /**
22748
+ * Decodes a PackagesSummaryResponse message from the specified reader or buffer.
22749
+ * @param reader Reader or buffer to decode from
22750
+ * @param [length] Message length if known beforehand
22751
+ * @returns PackagesSummaryResponse
22752
+ * @throws {Error} If the payload is not a reader or valid buffer
22753
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22754
+ */
22755
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse;
22756
+
22757
+ /**
22758
+ * Decodes a PackagesSummaryResponse message from the specified reader or buffer, length delimited.
22759
+ * @param reader Reader or buffer to decode from
22760
+ * @returns PackagesSummaryResponse
22761
+ * @throws {Error} If the payload is not a reader or valid buffer
22762
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22763
+ */
22764
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse;
22765
+
22766
+ /**
22767
+ * Verifies a PackagesSummaryResponse message.
22768
+ * @param message Plain object to verify
22769
+ * @returns `null` if valid, otherwise the reason why it is not
22770
+ */
22771
+ public static verify(message: { [k: string]: any }): (string|null);
22772
+
22773
+ /**
22774
+ * Creates a PackagesSummaryResponse message from a plain object. Also converts values to their respective internal types.
22775
+ * @param object Plain object
22776
+ * @returns PackagesSummaryResponse
22777
+ */
22778
+ public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse;
22779
+
22780
+ /**
22781
+ * Creates a plain object from a PackagesSummaryResponse message. Also converts values to other types if specified.
22782
+ * @param message PackagesSummaryResponse
22783
+ * @param [options] Conversion options
22784
+ * @returns Plain object
22785
+ */
22786
+ public static toObject(message: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
22787
+
22788
+ /**
22789
+ * Converts this PackagesSummaryResponse to JSON.
22790
+ * @returns JSON object
22791
+ */
22792
+ public toJSON(): { [k: string]: any };
22793
+
22794
+ /**
22795
+ * Gets the default type url for PackagesSummaryResponse
22796
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22797
+ * @returns The default type url
22798
+ */
22799
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22800
+ }
22801
+
22802
+ namespace PackagesSummaryResponse {
22803
+
22804
+ /** Properties of a LicensesSummary. */
22805
+ interface ILicensesSummary {
22806
+
22807
+ /** LicensesSummary license */
22808
+ license?: (string|null);
22809
+
22810
+ /** LicensesSummary count */
22811
+ count?: (number|Long|string|null);
22812
+ }
22813
+
22814
+ /** Represents a LicensesSummary. */
22815
+ class LicensesSummary implements ILicensesSummary {
22816
+
22817
+ /**
22818
+ * Constructs a new LicensesSummary.
22819
+ * @param [properties] Properties to set
22820
+ */
22821
+ constructor(properties?: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.ILicensesSummary);
22822
+
22823
+ /** LicensesSummary license. */
22824
+ public license: string;
22825
+
22826
+ /** LicensesSummary count. */
22827
+ public count: (number|Long|string);
22828
+
22829
+ /**
22830
+ * Creates a new LicensesSummary instance using the specified properties.
22831
+ * @param [properties] Properties to set
22832
+ * @returns LicensesSummary instance
22833
+ */
22834
+ public static create(properties?: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.ILicensesSummary): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary;
22835
+
22836
+ /**
22837
+ * Encodes the specified LicensesSummary message. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary.verify|verify} messages.
22838
+ * @param message LicensesSummary message or plain object to encode
22839
+ * @param [writer] Writer to encode to
22840
+ * @returns Writer
22841
+ */
22842
+ public static encode(message: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.ILicensesSummary, writer?: $protobuf.Writer): $protobuf.Writer;
22843
+
22844
+ /**
22845
+ * Encodes the specified LicensesSummary message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary.verify|verify} messages.
22846
+ * @param message LicensesSummary message or plain object to encode
22847
+ * @param [writer] Writer to encode to
22848
+ * @returns Writer
22849
+ */
22850
+ public static encodeDelimited(message: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.ILicensesSummary, writer?: $protobuf.Writer): $protobuf.Writer;
22851
+
22852
+ /**
22853
+ * Decodes a LicensesSummary message from the specified reader or buffer.
22854
+ * @param reader Reader or buffer to decode from
22855
+ * @param [length] Message length if known beforehand
22856
+ * @returns LicensesSummary
22857
+ * @throws {Error} If the payload is not a reader or valid buffer
22858
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22859
+ */
22860
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary;
22861
+
22862
+ /**
22863
+ * Decodes a LicensesSummary message from the specified reader or buffer, length delimited.
22864
+ * @param reader Reader or buffer to decode from
22865
+ * @returns LicensesSummary
22866
+ * @throws {Error} If the payload is not a reader or valid buffer
22867
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22868
+ */
22869
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary;
22870
+
22871
+ /**
22872
+ * Verifies a LicensesSummary message.
22873
+ * @param message Plain object to verify
22874
+ * @returns `null` if valid, otherwise the reason why it is not
22875
+ */
22876
+ public static verify(message: { [k: string]: any }): (string|null);
22877
+
22878
+ /**
22879
+ * Creates a LicensesSummary message from a plain object. Also converts values to their respective internal types.
22880
+ * @param object Plain object
22881
+ * @returns LicensesSummary
22882
+ */
22883
+ public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary;
22884
+
22885
+ /**
22886
+ * Creates a plain object from a LicensesSummary message. Also converts values to other types if specified.
22887
+ * @param message LicensesSummary
22888
+ * @param [options] Conversion options
22889
+ * @returns Plain object
22890
+ */
22891
+ public static toObject(message: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
22892
+
22893
+ /**
22894
+ * Converts this LicensesSummary to JSON.
22895
+ * @returns JSON object
22896
+ */
22897
+ public toJSON(): { [k: string]: any };
22898
+
22899
+ /**
22900
+ * Gets the default type url for LicensesSummary
22901
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22902
+ * @returns The default type url
22903
+ */
22904
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22905
+ }
22576
22906
  }
22577
22907
  }
22578
22908
  }