google-cloud-container_analysis-v1 0.9.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/container_analysis/v1/container_analysis/client.rb +11 -4
- data/lib/google/cloud/container_analysis/v1/version.rb +1 -1
- data/lib/google/devtools/containeranalysis/v1/containeranalysis_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 552ec84af1cc849ae9d9515ff771057bca83301b3620d2ad28d6841fb2b33020
|
4
|
+
data.tar.gz: 3285b9029ffd892516d3b9494936649bb9237057d9796f1a7e0d82e5dcae6053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9af96c218453f1f82ed29e749f70463be5ebccc937c0ab79067fce9d0f2f366f1e0564202e8fff5e3e9eac72dd6402094b671aac2bb82d9a9d087a9dff9b1c
|
7
|
+
data.tar.gz: 1273491145088be60957fe4f10a5171f24a0fd171c9b0fadbb736950b48a22391814dc9015b5af275ffc039d6d118e5a8af9d8708a80ac423541f72d525c9fee
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -42,6 +42,9 @@ module Google
|
|
42
42
|
# image with the vulnerability referring to that note.
|
43
43
|
#
|
44
44
|
class Client
|
45
|
+
# @private
|
46
|
+
API_VERSION = ""
|
47
|
+
|
45
48
|
# @private
|
46
49
|
DEFAULT_ENDPOINT_TEMPLATE = "containeranalysis.$UNIVERSE_DOMAIN$"
|
47
50
|
|
@@ -252,10 +255,11 @@ module Google
|
|
252
255
|
# Customize the options with defaults
|
253
256
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
254
257
|
|
255
|
-
# Set x-goog-api-client
|
258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
256
259
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
257
260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
258
261
|
gapic_version: ::Google::Cloud::ContainerAnalysis::V1::VERSION
|
262
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
259
263
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
260
264
|
|
261
265
|
header_params = {}
|
@@ -348,10 +352,11 @@ module Google
|
|
348
352
|
# Customize the options with defaults
|
349
353
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
350
354
|
|
351
|
-
# Set x-goog-api-client
|
355
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
352
356
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
353
357
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
354
358
|
gapic_version: ::Google::Cloud::ContainerAnalysis::V1::VERSION
|
359
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
355
360
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
356
361
|
|
357
362
|
header_params = {}
|
@@ -445,10 +450,11 @@ module Google
|
|
445
450
|
# Customize the options with defaults
|
446
451
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
447
452
|
|
448
|
-
# Set x-goog-api-client
|
453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
449
454
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
450
455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
451
456
|
gapic_version: ::Google::Cloud::ContainerAnalysis::V1::VERSION
|
457
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
452
458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
453
459
|
|
454
460
|
header_params = {}
|
@@ -533,10 +539,11 @@ module Google
|
|
533
539
|
# Customize the options with defaults
|
534
540
|
metadata = @config.rpcs.get_vulnerability_occurrences_summary.metadata.to_h
|
535
541
|
|
536
|
-
# Set x-goog-api-client
|
542
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
537
543
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
538
544
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
539
545
|
gapic_version: ::Google::Cloud::ContainerAnalysis::V1::VERSION
|
546
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
540
547
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
541
548
|
|
542
549
|
header_params = {}
|
@@ -13,7 +13,7 @@ require 'google/iam/v1/policy_pb'
|
|
13
13
|
require 'grafeas/v1/severity_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n<google/devtools/containeranalysis/v1/containeranalysis.proto\x12$google.devtools.containeranalysis.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x19grafeas/v1/severity.proto\"\
|
16
|
+
descriptor_data = "\n<google/devtools/containeranalysis/v1/containeranalysis.proto\x12$google.devtools.containeranalysis.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x19grafeas/v1/severity.proto\"\x80\x01\n)GetVulnerabilityOccurrencesSummaryRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\"\x90\x02\n\x1fVulnerabilityOccurrencesSummary\x12j\n\x06\x63ounts\x18\x01 \x03(\x0b\x32Z.google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest\x1a\x80\x01\n\x14\x46ixableTotalByDigest\x12\x14\n\x0cresource_uri\x18\x01 \x01(\t\x12&\n\x08severity\x18\x02 \x01(\x0e\x32\x14.grafeas.v1.Severity\x12\x15\n\rfixable_count\x18\x03 \x01(\x03\x12\x13\n\x0btotal_count\x18\x04 \x01(\x03\x32\xa2\x08\n\x11\x43ontainerAnalysis\x12\xd2\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x86\x01\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02n\"./v1/{resource=projects/*/notes/*}:setIamPolicy:\x01*Z9\"4/v1/{resource=projects/*/occurrences/*}:setIamPolicy:\x01*\x12\xca\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x7f\xda\x41\x08resource\x82\xd3\xe4\x93\x02n\"./v1/{resource=projects/*/notes/*}:getIamPolicy:\x01*Z9\"4/v1/{resource=projects/*/occurrences/*}:getIamPolicy:\x01*\x12\x83\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\x97\x01\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02z\"4/v1/{resource=projects/*/notes/*}:testIamPermissions:\x01*Z?\":/v1/{resource=projects/*/occurrences/*}:testIamPermissions:\x01*\x12\x8e\x02\n\"GetVulnerabilityOccurrencesSummary\x12O.google.devtools.containeranalysis.v1.GetVulnerabilityOccurrencesSummaryRequest\x1a\x45.google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary\"P\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*}/occurrences:vulnerabilitySummary\x1aT\xca\x41 containeranalysis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf8\x01\n\x1f\x63om.google.containeranalysis.v1P\x01ZUgoogle.golang.org/genproto/googleapis/devtools/containeranalysis/v1;containeranalysis\xa2\x02\x03GCA\xaa\x02*Google.Cloud.DevTools.ContainerAnalysis.V1\xca\x02!Google\\Cloud\\ContainerAnalysis\\V1\xea\x02$Google::Cloud::ContainerAnalysis::V1b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container_analysis-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -78,118 +78,6 @@ dependencies:
|
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '1.1'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: google-style
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 1.26.3
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 1.26.3
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: minitest
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '5.16'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '5.16'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: minitest-focus
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '1.1'
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - "~>"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '1.1'
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: minitest-rg
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '5.2'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '5.2'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: rake
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '13.0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '13.0'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: redcarpet
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '3.0'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '3.0'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: simplecov
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '0.18'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '0.18'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: yard
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - "~>"
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: '0.9'
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - "~>"
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: '0.9'
|
193
81
|
description: The Container Analysis API is an implementation of Grafeas. It stores,
|
194
82
|
and enables querying and retrieval of, critical metadata about all of your software
|
195
83
|
artifacts. Note that google-cloud-container_analysis-v1 is a version-specific client
|
@@ -239,14 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
239
127
|
requirements:
|
240
128
|
- - ">="
|
241
129
|
- !ruby/object:Gem::Version
|
242
|
-
version: '2.
|
130
|
+
version: '2.7'
|
243
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
132
|
requirements:
|
245
133
|
- - ">="
|
246
134
|
- !ruby/object:Gem::Version
|
247
135
|
version: '0'
|
248
136
|
requirements: []
|
249
|
-
rubygems_version: 3.5.
|
137
|
+
rubygems_version: 3.5.6
|
250
138
|
signing_key:
|
251
139
|
specification_version: 4
|
252
140
|
summary: An implementation of the Grafeas API, which stores, and enables querying
|