grafeas-v1 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,60 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2024 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
- require "gapic/rest"
20
- require "gapic/config"
21
- require "gapic/config/method"
22
-
23
- require "grafeas/v1/version"
24
-
25
- require "grafeas/v1/grafeas/paths"
26
- require "grafeas/v1/grafeas/rest/client"
27
-
28
- module Grafeas
29
- module V1
30
- ##
31
- # [Grafeas](https://grafeas.io) API.
32
- #
33
- # Retrieves analysis results of Cloud components such as Docker container
34
- # images.
35
- #
36
- # Analysis results are stored as a series of occurrences. An `Occurrence`
37
- # contains information about a specific analysis instance on a resource. An
38
- # occurrence refers to a `Note`. A note contains details describing the
39
- # analysis and is generally stored in a separate project, called a `Provider`.
40
- # Multiple occurrences can refer to the same note.
41
- #
42
- # For example, an SSL vulnerability could affect multiple images. In this case,
43
- # there would be one note for the vulnerability and an occurrence for each
44
- # image with the vulnerability referring to that note.
45
- #
46
- # To load this service and instantiate a REST client:
47
- #
48
- # require "grafeas/v1/grafeas/rest"
49
- # client = ::Grafeas::V1::Grafeas::Rest::Client.new
50
- #
51
- module Grafeas
52
- # Client for the REST transport
53
- module Rest
54
- end
55
- end
56
- end
57
- end
58
-
59
- helper_path = ::File.join __dir__, "rest", "helpers.rb"
60
- require "grafeas/v1/grafeas/rest/helpers" if ::File.file? helper_path
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2024 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
- require "grafeas/v1/grafeas/rest"
20
- require "grafeas/v1/version"
21
-
22
- module Grafeas
23
- ##
24
- # To load just the REST part of this package, including all its services, and instantiate a REST client:
25
- #
26
- # @example
27
- #
28
- # require "grafeas/v1/rest"
29
- # client = ::Grafeas::V1::Grafeas::Rest::Client.new
30
- #
31
- module V1
32
- end
33
- end