grafeas-v1 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 596268acfb78c6ffdbeeffa9773c30756bb93430d801e8c8b534e718befb7762
4
- data.tar.gz: bcc57177deba6d14c79cb99ff1158d00aa70d2599b88bf3cd4a9bc29fe9e7c24
3
+ metadata.gz: 5dc483f35aea84826a3f17799cd6ad678c17bd8f63b5b145ae9d32b8dcd6b6ef
4
+ data.tar.gz: cda9d17d6c50dda477cf4a08282eb0a434645cca94b3eb5847db857e32ecab9f
5
5
  SHA512:
6
- metadata.gz: 5ae2add55344beda47b7d0fae08e440494420b445fdd70a12e27f345b0bafc2d0ca47980ac2f8de90b672728c76898b99be9d6ac39f75e12df743e2b5e621249
7
- data.tar.gz: fc1d369fdce5bec36f91bdc565b194e80108c8c8f842cdaf5429a6dcd122869c36a308b4e4cc14807d7f8603d16631590fbfb7c845e40971d66797a6a726c413
6
+ metadata.gz: d77d8c9c05573c26ca50d9deab597fc66a1dcaafe3ffa57e418c38231034a78e9a4d1d63e85d16db16652fd2f04eed1e01934aeb2f30e409ce1967a0bad174f0
7
+ data.tar.gz: 666157449afc366ceda10ea1c1d076cc3a5ec9e78f5d34ab73cf37a5c6b09388581230d183cc19899e180b492e72fbde212da90b1ba7f344a44f28ba096182d1
@@ -41,6 +41,9 @@ module Grafeas
41
41
  # image with the vulnerability referring to that note.
42
42
  #
43
43
  class Client
44
+ # @private
45
+ DEFAULT_ENDPOINT_TEMPLATE = nil
46
+
44
47
  include Paths
45
48
 
46
49
  # @private
@@ -153,6 +156,15 @@ module Grafeas
153
156
  @config
154
157
  end
155
158
 
159
+ ##
160
+ # The effective universe domain
161
+ #
162
+ # @return [String]
163
+ #
164
+ def universe_domain
165
+ @grafeas_stub.universe_domain
166
+ end
167
+
156
168
  ##
157
169
  # Create a new Grafeas client object.
158
170
  #
@@ -189,8 +201,10 @@ module Grafeas
189
201
 
190
202
  @grafeas_stub = ::Gapic::ServiceStub.new(
191
203
  ::Grafeas::V1::Grafeas::Stub,
192
- credentials: credentials,
193
- endpoint: @config.endpoint,
204
+ credentials: credentials,
205
+ endpoint: @config.endpoint,
206
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
207
+ universe_domain: @config.universe_domain,
194
208
  channel_args: @config.channel_args,
195
209
  interceptors: @config.interceptors,
196
210
  channel_pool_config: @config.channel_pool
@@ -1491,9 +1505,9 @@ module Grafeas
1491
1505
  # end
1492
1506
  #
1493
1507
  # @!attribute [rw] endpoint
1494
- # The hostname or hostname:port of the service endpoint.
1495
- # Defaults to `nil`.
1496
- # @return [::String]
1508
+ # A custom service endpoint, as a hostname or hostname:port. The default is
1509
+ # nil, indicating to use the default endpoint in the current universe domain.
1510
+ # @return [::String,nil]
1497
1511
  # @!attribute [rw] credentials
1498
1512
  # Credentials to send with calls. You may provide any of the following types:
1499
1513
  # * (`String`) The path to a service account key file in JSON format
@@ -1539,13 +1553,20 @@ module Grafeas
1539
1553
  # @!attribute [rw] quota_project
1540
1554
  # A separate project against which to charge quota.
1541
1555
  # @return [::String]
1556
+ # @!attribute [rw] universe_domain
1557
+ # The universe domain within which to make requests. This determines the
1558
+ # default endpoint URL. The default value of nil uses the environment
1559
+ # universe (usually the default "googleapis.com" universe).
1560
+ # @return [::String,nil]
1542
1561
  #
1543
1562
  class Configuration
1544
1563
  extend ::Gapic::Config
1545
1564
 
1565
+ # @private
1566
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
1546
1567
  DEFAULT_ENDPOINT = nil
1547
1568
 
1548
- config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1569
+ config_attr :endpoint, nil, ::String, nil
1549
1570
  config_attr :credentials, nil do |value|
1550
1571
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1551
1572
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -1560,6 +1581,7 @@ module Grafeas
1560
1581
  config_attr :metadata, nil, ::Hash, nil
1561
1582
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1562
1583
  config_attr :quota_project, nil, ::String, nil
1584
+ config_attr :universe_domain, nil, ::String, nil
1563
1585
 
1564
1586
  # @private
1565
1587
  def initialize parent_config = nil
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Grafeas
21
21
  module V1
22
- VERSION = "0.13.0"
22
+ VERSION = "0.14.0"
23
23
  end
24
24
  end
@@ -21,6 +21,7 @@ module Google
21
21
  module Api
22
22
  # Required information for every language.
23
23
  # @!attribute [rw] reference_docs_uri
24
+ # @deprecated This field is deprecated and may be removed in the next major version update.
24
25
  # @return [::String]
25
26
  # Link to automatically generated reference documentation. Example:
26
27
  # https://cloud.google.com/nodejs/docs/reference/asset/latest
@@ -304,6 +305,19 @@ module Google
304
305
  # seconds: 360 # 6 minutes
305
306
  # total_poll_timeout:
306
307
  # seconds: 54000 # 90 minutes
308
+ # @!attribute [rw] auto_populated_fields
309
+ # @return [::Array<::String>]
310
+ # List of top-level fields of the request message, that should be
311
+ # automatically populated by the client libraries based on their
312
+ # (google.api.field_info).format. Currently supported format: UUID4.
313
+ #
314
+ # Example of a YAML configuration:
315
+ #
316
+ # publishing:
317
+ # method_settings:
318
+ # - selector: google.example.v1.ExampleService.CreateExample
319
+ # auto_populated_fields:
320
+ # - request_id
307
321
  class MethodSettings
308
322
  include ::Google::Protobuf::MessageExts
309
323
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grafeas-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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: 2023-09-12 00:00:00.000000000 Z
11
+ date: 2024-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.20.0
19
+ version: 0.21.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.20.0
29
+ version: 0.21.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements: []
249
- rubygems_version: 3.4.19
249
+ rubygems_version: 3.5.3
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: An implementation of the Grafeas API, which stores, and enables querying