grafeas-v1 1.2.0 → 1.3.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/grafeas/v1/grafeas/client.rb +9 -2
- data/lib/grafeas/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- data/proto_docs/grafeas/v1/grafeas.rb +46 -0
- data/proto_docs/grafeas/v1/intoto_statement.rb +3 -0
- data/proto_docs/grafeas/v1/provenance.rb +18 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9e8e20ae846ff5e6aea33f0f400591bbb427d0987487cc43e9438cce1a3742b
|
4
|
+
data.tar.gz: 64fb6ca28a79b51b9571b01dbb7340e5c085d6e342e8e7c6f135a6d3d7f9408e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b4d7767187847d5d23fa5672332bc406ed66b3f8cea137a1934ccced56ce90de6cd005aa2de0d01915c291f95160b83f9199f307fcd3040b391bfbe2f7dc024
|
7
|
+
data.tar.gz: b332ebd4deb8b0b8696fcb2b9fadff823f00ed7ad6b313ef99d61d00e4be5b888fe450d80ae1f0a422bfc2e1d23a44593f60486da2acfa43d4951aacde4f4284
|
data/README.md
CHANGED
@@ -74,7 +74,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
74
74
|
|
75
75
|
## Supported Ruby Versions
|
76
76
|
|
77
|
-
This library is supported on Ruby
|
77
|
+
This library is supported on Ruby 3.0+.
|
78
78
|
|
79
79
|
Google provides official support for Ruby versions that are actively supported
|
80
80
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1545,6 +1545,13 @@ module Grafeas
|
|
1545
1545
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1546
1546
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1547
1547
|
# * (`nil`) indicating no credentials
|
1548
|
+
#
|
1549
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1550
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1551
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1552
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1553
|
+
# For more information, refer to [Validate credential configurations from external
|
1554
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1548
1555
|
# @return [::Object]
|
1549
1556
|
# @!attribute [rw] scope
|
1550
1557
|
# The OAuth scopes
|
@@ -1599,8 +1606,8 @@ module Grafeas
|
|
1599
1606
|
|
1600
1607
|
config_attr :endpoint, nil, ::String, nil
|
1601
1608
|
config_attr :credentials, nil do |value|
|
1602
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1603
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1609
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1610
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1604
1611
|
allowed.any? { |klass| klass === value }
|
1605
1612
|
end
|
1606
1613
|
config_attr :scope, nil, ::String, ::Array, nil
|
data/lib/grafeas/v1/version.rb
CHANGED
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,21 +53,33 @@ module Google
|
|
53
53
|
# @!attribute [rw] null_value
|
54
54
|
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] number_value
|
57
59
|
# @return [::Float]
|
58
60
|
# Represents a double value.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] string_value
|
60
64
|
# @return [::String]
|
61
65
|
# Represents a string value.
|
66
|
+
#
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
62
68
|
# @!attribute [rw] bool_value
|
63
69
|
# @return [::Boolean]
|
64
70
|
# Represents a boolean value.
|
71
|
+
#
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
73
|
# @!attribute [rw] struct_value
|
66
74
|
# @return [::Google::Protobuf::Struct]
|
67
75
|
# Represents a structured value.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
78
|
# @!attribute [rw] list_value
|
69
79
|
# @return [::Google::Protobuf::ListValue]
|
70
80
|
# Represents a repeated `Value`.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
83
|
class Value
|
72
84
|
include ::Google::Protobuf::MessageExts
|
73
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -50,37 +50,59 @@ module Grafeas
|
|
50
50
|
# @!attribute [rw] vulnerability
|
51
51
|
# @return [::Grafeas::V1::VulnerabilityOccurrence]
|
52
52
|
# Describes a security vulnerability.
|
53
|
+
#
|
54
|
+
# Note: The following fields are mutually exclusive: `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
55
|
# @!attribute [rw] build
|
54
56
|
# @return [::Grafeas::V1::BuildOccurrence]
|
55
57
|
# Describes a verifiable build.
|
58
|
+
#
|
59
|
+
# Note: The following fields are mutually exclusive: `build`, `vulnerability`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
60
|
# @!attribute [rw] image
|
57
61
|
# @return [::Grafeas::V1::ImageOccurrence]
|
58
62
|
# Describes how this resource derives from the basis in the associated
|
59
63
|
# note.
|
64
|
+
#
|
65
|
+
# Note: The following fields are mutually exclusive: `image`, `vulnerability`, `build`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
60
66
|
# @!attribute [rw] package
|
61
67
|
# @return [::Grafeas::V1::PackageOccurrence]
|
62
68
|
# Describes the installation of a package on the linked resource.
|
69
|
+
#
|
70
|
+
# Note: The following fields are mutually exclusive: `package`, `vulnerability`, `build`, `image`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
63
71
|
# @!attribute [rw] deployment
|
64
72
|
# @return [::Grafeas::V1::DeploymentOccurrence]
|
65
73
|
# Describes the deployment of an artifact on a runtime.
|
74
|
+
#
|
75
|
+
# Note: The following fields are mutually exclusive: `deployment`, `vulnerability`, `build`, `image`, `package`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
66
76
|
# @!attribute [rw] discovery
|
67
77
|
# @return [::Grafeas::V1::DiscoveryOccurrence]
|
68
78
|
# Describes when a resource was discovered.
|
79
|
+
#
|
80
|
+
# Note: The following fields are mutually exclusive: `discovery`, `vulnerability`, `build`, `image`, `package`, `deployment`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
69
81
|
# @!attribute [rw] attestation
|
70
82
|
# @return [::Grafeas::V1::AttestationOccurrence]
|
71
83
|
# Describes an attestation of an artifact.
|
84
|
+
#
|
85
|
+
# Note: The following fields are mutually exclusive: `attestation`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
72
86
|
# @!attribute [rw] upgrade
|
73
87
|
# @return [::Grafeas::V1::UpgradeOccurrence]
|
74
88
|
# Describes an available package upgrade on the linked resource.
|
89
|
+
#
|
90
|
+
# Note: The following fields are mutually exclusive: `upgrade`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
75
91
|
# @!attribute [rw] compliance
|
76
92
|
# @return [::Grafeas::V1::ComplianceOccurrence]
|
77
93
|
# Describes a compliance violation on a linked resource.
|
94
|
+
#
|
95
|
+
# Note: The following fields are mutually exclusive: `compliance`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
78
96
|
# @!attribute [rw] dsse_attestation
|
79
97
|
# @return [::Grafeas::V1::DSSEAttestationOccurrence]
|
80
98
|
# Describes an attestation of an artifact using dsse.
|
99
|
+
#
|
100
|
+
# Note: The following fields are mutually exclusive: `dsse_attestation`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
101
|
# @!attribute [rw] sbom_reference
|
82
102
|
# @return [::Grafeas::V1::SBOMReferenceOccurrence]
|
83
103
|
# Describes a specific SBOM reference occurrences.
|
104
|
+
#
|
105
|
+
# Note: The following fields are mutually exclusive: `sbom_reference`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
84
106
|
# @!attribute [rw] envelope
|
85
107
|
# @return [::Grafeas::V1::Envelope]
|
86
108
|
# https://github.com/secure-systems-lab/dsse
|
@@ -124,39 +146,63 @@ module Grafeas
|
|
124
146
|
# @!attribute [rw] vulnerability
|
125
147
|
# @return [::Grafeas::V1::VulnerabilityNote]
|
126
148
|
# A note describing a package vulnerability.
|
149
|
+
#
|
150
|
+
# Note: The following fields are mutually exclusive: `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
127
151
|
# @!attribute [rw] build
|
128
152
|
# @return [::Grafeas::V1::BuildNote]
|
129
153
|
# A note describing build provenance for a verifiable build.
|
154
|
+
#
|
155
|
+
# Note: The following fields are mutually exclusive: `build`, `vulnerability`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
130
156
|
# @!attribute [rw] image
|
131
157
|
# @return [::Grafeas::V1::ImageNote]
|
132
158
|
# A note describing a base image.
|
159
|
+
#
|
160
|
+
# Note: The following fields are mutually exclusive: `image`, `vulnerability`, `build`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
133
161
|
# @!attribute [rw] package
|
134
162
|
# @return [::Grafeas::V1::PackageNote]
|
135
163
|
# A note describing a package hosted by various package managers.
|
164
|
+
#
|
165
|
+
# Note: The following fields are mutually exclusive: `package`, `vulnerability`, `build`, `image`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
136
166
|
# @!attribute [rw] deployment
|
137
167
|
# @return [::Grafeas::V1::DeploymentNote]
|
138
168
|
# A note describing something that can be deployed.
|
169
|
+
#
|
170
|
+
# Note: The following fields are mutually exclusive: `deployment`, `vulnerability`, `build`, `image`, `package`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
139
171
|
# @!attribute [rw] discovery
|
140
172
|
# @return [::Grafeas::V1::DiscoveryNote]
|
141
173
|
# A note describing the initial analysis of a resource.
|
174
|
+
#
|
175
|
+
# Note: The following fields are mutually exclusive: `discovery`, `vulnerability`, `build`, `image`, `package`, `deployment`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
142
176
|
# @!attribute [rw] attestation
|
143
177
|
# @return [::Grafeas::V1::AttestationNote]
|
144
178
|
# A note describing an attestation role.
|
179
|
+
#
|
180
|
+
# Note: The following fields are mutually exclusive: `attestation`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
145
181
|
# @!attribute [rw] upgrade
|
146
182
|
# @return [::Grafeas::V1::UpgradeNote]
|
147
183
|
# A note describing available package upgrades.
|
184
|
+
#
|
185
|
+
# Note: The following fields are mutually exclusive: `upgrade`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `compliance`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
148
186
|
# @!attribute [rw] compliance
|
149
187
|
# @return [::Grafeas::V1::ComplianceNote]
|
150
188
|
# A note describing a compliance check.
|
189
|
+
#
|
190
|
+
# Note: The following fields are mutually exclusive: `compliance`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `dsse_attestation`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
151
191
|
# @!attribute [rw] dsse_attestation
|
152
192
|
# @return [::Grafeas::V1::DSSEAttestationNote]
|
153
193
|
# A note describing a dsse attestation note.
|
194
|
+
#
|
195
|
+
# Note: The following fields are mutually exclusive: `dsse_attestation`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `vulnerability_assessment`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
154
196
|
# @!attribute [rw] vulnerability_assessment
|
155
197
|
# @return [::Grafeas::V1::VulnerabilityAssessmentNote]
|
156
198
|
# A note describing a vulnerability assessment.
|
199
|
+
#
|
200
|
+
# Note: The following fields are mutually exclusive: `vulnerability_assessment`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `sbom_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
157
201
|
# @!attribute [rw] sbom_reference
|
158
202
|
# @return [::Grafeas::V1::SBOMReferenceNote]
|
159
203
|
# A note describing an SBOM reference.
|
204
|
+
#
|
205
|
+
# Note: The following fields are mutually exclusive: `sbom_reference`, `vulnerability`, `build`, `image`, `package`, `deployment`, `discovery`, `attestation`, `upgrade`, `compliance`, `dsse_attestation`, `vulnerability_assessment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
160
206
|
class Note
|
161
207
|
include ::Google::Protobuf::MessageExts
|
162
208
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -33,10 +33,13 @@ module Grafeas
|
|
33
33
|
# `https://slsa.dev/provenance/v0.1` for SlsaProvenance.
|
34
34
|
# @!attribute [rw] provenance
|
35
35
|
# @return [::Grafeas::V1::InTotoProvenance]
|
36
|
+
# Note: The following fields are mutually exclusive: `provenance`, `slsa_provenance`, `slsa_provenance_zero_two`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
36
37
|
# @!attribute [rw] slsa_provenance
|
37
38
|
# @return [::Grafeas::V1::SlsaProvenance]
|
39
|
+
# Note: The following fields are mutually exclusive: `slsa_provenance`, `provenance`, `slsa_provenance_zero_two`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
38
40
|
# @!attribute [rw] slsa_provenance_zero_two
|
39
41
|
# @return [::Grafeas::V1::SlsaProvenanceZeroTwo]
|
42
|
+
# Note: The following fields are mutually exclusive: `slsa_provenance_zero_two`, `provenance`, `slsa_provenance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
43
|
class InTotoStatement
|
41
44
|
include ::Google::Protobuf::MessageExts
|
42
45
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -190,12 +190,18 @@ module Grafeas
|
|
190
190
|
# @!attribute [rw] cloud_repo
|
191
191
|
# @return [::Grafeas::V1::CloudRepoSourceContext]
|
192
192
|
# A SourceContext referring to a revision in a Google Cloud Source Repo.
|
193
|
+
#
|
194
|
+
# Note: The following fields are mutually exclusive: `cloud_repo`, `gerrit`, `git`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
193
195
|
# @!attribute [rw] gerrit
|
194
196
|
# @return [::Grafeas::V1::GerritSourceContext]
|
195
197
|
# A SourceContext referring to a Gerrit project.
|
198
|
+
#
|
199
|
+
# Note: The following fields are mutually exclusive: `gerrit`, `cloud_repo`, `git`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
196
200
|
# @!attribute [rw] git
|
197
201
|
# @return [::Grafeas::V1::GitSourceContext]
|
198
202
|
# A SourceContext referring to any third party Git repo (e.g., GitHub).
|
203
|
+
#
|
204
|
+
# Note: The following fields are mutually exclusive: `git`, `cloud_repo`, `gerrit`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
199
205
|
# @!attribute [rw] labels
|
200
206
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
201
207
|
# Labels with user defined metadata.
|
@@ -249,9 +255,13 @@ module Grafeas
|
|
249
255
|
# @!attribute [rw] revision_id
|
250
256
|
# @return [::String]
|
251
257
|
# A revision ID.
|
258
|
+
#
|
259
|
+
# Note: The following fields are mutually exclusive: `revision_id`, `alias_context`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
252
260
|
# @!attribute [rw] alias_context
|
253
261
|
# @return [::Grafeas::V1::AliasContext]
|
254
262
|
# An alias, which may be a branch or tag.
|
263
|
+
#
|
264
|
+
# Note: The following fields are mutually exclusive: `alias_context`, `revision_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
255
265
|
class CloudRepoSourceContext
|
256
266
|
include ::Google::Protobuf::MessageExts
|
257
267
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -269,9 +279,13 @@ module Grafeas
|
|
269
279
|
# @!attribute [rw] revision_id
|
270
280
|
# @return [::String]
|
271
281
|
# A revision (commit) ID.
|
282
|
+
#
|
283
|
+
# Note: The following fields are mutually exclusive: `revision_id`, `alias_context`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
272
284
|
# @!attribute [rw] alias_context
|
273
285
|
# @return [::Grafeas::V1::AliasContext]
|
274
286
|
# An alias, which may be a branch or tag.
|
287
|
+
#
|
288
|
+
# Note: The following fields are mutually exclusive: `alias_context`, `revision_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
275
289
|
class GerritSourceContext
|
276
290
|
include ::Google::Protobuf::MessageExts
|
277
291
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -294,9 +308,13 @@ module Grafeas
|
|
294
308
|
# @!attribute [rw] project_repo_id
|
295
309
|
# @return [::Grafeas::V1::ProjectRepoId]
|
296
310
|
# A combination of a project ID and a repo name.
|
311
|
+
#
|
312
|
+
# Note: The following fields are mutually exclusive: `project_repo_id`, `uid`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
297
313
|
# @!attribute [rw] uid
|
298
314
|
# @return [::String]
|
299
315
|
# A server-assigned, globally unique identifier.
|
316
|
+
#
|
317
|
+
# Note: The following fields are mutually exclusive: `uid`, `project_repo_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
300
318
|
class RepoId
|
301
319
|
include ::Google::Protobuf::MessageExts
|
302
320
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grafeas-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -121,7 +120,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
121
120
|
licenses:
|
122
121
|
- Apache-2.0
|
123
122
|
metadata: {}
|
124
|
-
post_install_message:
|
125
123
|
rdoc_options: []
|
126
124
|
require_paths:
|
127
125
|
- lib
|
@@ -129,15 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
127
|
requirements:
|
130
128
|
- - ">="
|
131
129
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
130
|
+
version: '3.0'
|
133
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
132
|
requirements:
|
135
133
|
- - ">="
|
136
134
|
- !ruby/object:Gem::Version
|
137
135
|
version: '0'
|
138
136
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
140
|
-
signing_key:
|
137
|
+
rubygems_version: 3.6.8
|
141
138
|
specification_version: 4
|
142
139
|
summary: An implementation of the Grafeas API, which stores, and enables querying
|
143
140
|
and retrieval of critical metadata about all of your software artifacts.
|