google-cloud-container_analysis 0.4.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,54 +1,53 @@
1
- # Ruby Client for Container Analysis API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for the Container Analysis API
2
2
 
3
- [Container Analysis API][Product Documentation]:
4
- An implementation of the Grafeas API, which stores, and enables querying
5
- and retrieval of critical metadata about all of your software artifacts.
6
- - [Client Library Documentation][]
7
- - [Product Documentation][]
3
+ API Client library for the Container Analysis API
8
4
 
9
- ## Quick Start
10
- In order to use this library, you first need to go through the following
11
- steps:
5
+ The Container Analysis API is an implementation of Grafeas. It stores, and enables querying and retrieval of, critical metadata about all of your software artifacts.
12
6
 
13
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
14
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
15
- 3. [Enable the Container Analysis API.](https://console.cloud.google.com/apis/library/containeranalysis.googleapis.com)
16
- 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-container_analysis/latest/file.AUTHENTICATION.html)
7
+ Actual client classes for the various versions of this API are defined in
8
+ _versioned_ client gems, with names of the form `google-cloud-container_analysis-v*`.
9
+ The gem `google-cloud-container_analysis` is the main client library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients. More information on versioned clients can be found below
12
+ in the section titled *Which client should I use?*.
13
+
14
+ View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-container_analysis/latest)
15
+ for this library, google-cloud-container_analysis, to see the convenience methods for
16
+ constructing client objects. Reference documentation for the client objects
17
+ themselves can be found in the client library documentation for the versioned
18
+ client gems:
19
+ [google-cloud-container_analysis-v1](https://googleapis.dev/ruby/google-cloud-container_analysis-v1/latest).
20
+
21
+ See also the [Product Documentation](https://cloud.google.com/container-registry/docs/container-analysis)
22
+ for more usage information.
23
+
24
+ ## Quick Start
17
25
 
18
- ### Installation
19
26
  ```
20
27
  $ gem install google-cloud-container_analysis
21
28
  ```
22
29
 
23
- ### Preview
24
- ```ruby
25
- require "google/cloud/container_analysis"
30
+ In order to use this library, you first need to go through the following steps:
26
31
 
27
- container_analysis_client = Google::Cloud::ContainerAnalysis.new
28
- grafeas_client = container_analysis_client.grafeas_client
29
- parent = Grafeas::V1::GrafeasClient.project_path "my-project"
30
- results = grafeas_client.list_occurrences(parent).each do |occurrence|
31
- # do something with occurrence
32
- end
33
- ```
32
+ 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
33
+ 1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
34
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/containeranalysis.googleapis.com)
35
+ 1. {file:AUTHENTICATION.md Set up authentication.}
34
36
 
35
- ### Next Steps
36
- - Read the [Client Library Documentation][] for Container Analysis API
37
- to see other available methods on the client.
38
- - Read the [Container Analysis API Product documentation][Product Documentation]
39
- to learn more about the product and see How-to Guides.
40
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
41
- to see the full list of Cloud APIs that we cover.
37
+ ## Migrating from 0.x versions
42
38
 
43
- [Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-container_analysis/latest
44
- [Product Documentation]: https://cloud.google.com/container-registry/docs/container-analysis
39
+ The 1.0 release of the google-cloud-container_analysis client is a significant upgrade
40
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
41
+ and includes substantial interface changes. Existing code written for earlier
42
+ versions of this library will likely require updates to use this version.
43
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
45
44
 
46
45
  ## Enabling Logging
47
46
 
48
47
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
48
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
49
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
- that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
50
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
51
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
52
 
54
53
  Configuring a Ruby stdlib logger:
@@ -79,3 +78,61 @@ in security maintenance, and not end of life. Currently, this means Ruby 2.4
79
78
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
79
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
80
  about the Ruby support schedule.
81
+
82
+ ## Which client should I use?
83
+
84
+ Most modern Ruby client libraries for Google APIs come in two flavors: the main
85
+ client library with a name such as `google-cloud-container_analysis`,
86
+ and lower-level _versioned_ client libraries with names such as
87
+ `google-cloud-container_analysis-v1`.
88
+ _In most cases, you should install the main client._
89
+
90
+ ### What's the difference between the main client and a versioned client?
91
+
92
+ A _versioned client_ provides a basic set of data types and client classes for
93
+ a _single version_ of a specific service. (That is, for a service with multiple
94
+ versions, there might be a separate versioned client for each service version.)
95
+ Most versioned clients are written and maintained by a code generator.
96
+
97
+ The _main client_ is designed to provide you with the _recommended_ client
98
+ interfaces for the service. There will be only one main client for any given
99
+ service, even a service with multiple versions. The main client includes
100
+ factory methods for constructing the client objects we recommend for most
101
+ users. In some cases, those will be classes provided by an underlying versioned
102
+ client; in other cases, they will be handwritten higher-level client objects
103
+ with additional capabilities, convenience methods, or best practices built in.
104
+ Generally, the main client will default to a recommended service version,
105
+ although in some cases you can override this if you need to talk to a specific
106
+ service version.
107
+
108
+ ### Why would I want to use the main client?
109
+
110
+ We recommend that most users install the main client gem for a service. You can
111
+ identify this gem as the one _without_ a version in its name, e.g.
112
+ `google-cloud-container_analysis`.
113
+ The main client is recommended because it will embody the best practices for
114
+ accessing the service, and may also provide more convenient interfaces or
115
+ tighter integration into frameworks and third-party libraries. In addition, the
116
+ documentation and samples published by Google will generally demonstrate use of
117
+ the main client.
118
+
119
+ ### Why would I want to use a versioned client?
120
+
121
+ You can use a versioned client if you are content with a possibly lower-level
122
+ class interface, you explicitly want to avoid features provided by the main
123
+ client, or you want to access a specific service version not be covered by the
124
+ main client. You can identify versioned client gems because the service version
125
+ is part of the name, e.g. `google-cloud-container_analysis-v1`.
126
+
127
+ ### What about the google-apis-<name> clients?
128
+
129
+ Client library gems with names that begin with `google-apis-` are based on an
130
+ older code generation technology. They talk to a REST/JSON backend (whereas
131
+ most modern clients talk to a [gRPC](https://grpc.io/) backend) and they may
132
+ not offer the same performance, features, and ease of use provided by more
133
+ modern clients.
134
+
135
+ The `google-apis-` clients have wide coverage across Google services, so you
136
+ might need to use one if there is no modern client available for the service.
137
+ However, if a modern client is available, we generally recommend it over the
138
+ older `google-apis-` clients.
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,4 +14,6 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
15
- require "google/cloud/container_analysis"
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/container_analysis" unless defined? Google::Cloud::ContainerAnalysis::VERSION
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,83 +14,49 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
23
+ require "google/cloud/container_analysis/version"
24
+
25
+ require "googleauth"
26
+ gem "google-cloud-core"
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
28
+ require "google/cloud/config"
15
29
 
16
- require "grafeas"
17
- require "google/gax"
18
- require "pathname"
30
+ # Set the default configuration
31
+ ::Google::Cloud.configure.add_config! :container_analysis do |config|
32
+ config.add_field! :endpoint, "containeranalysis.googleapis.com", match: ::String
33
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
34
+ config.add_field! :scope, nil, match: [::Array, ::String]
35
+ config.add_field! :lib_name, nil, match: ::String
36
+ config.add_field! :lib_version, nil, match: ::String
37
+ config.add_field! :interceptors, nil, match: ::Array
38
+ config.add_field! :timeout, nil, match: ::Numeric
39
+ config.add_field! :metadata, nil, match: ::Hash
40
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
41
+ config.add_field! :quota_project, nil, match: ::String
42
+ end
19
43
 
20
44
  module Google
21
45
  module Cloud
22
- # rubocop:disable LineLength
23
-
24
- ##
25
- # # Ruby Client for Container Analysis API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
26
- #
27
- # [Container Analysis API][Product Documentation]:
28
- # An implementation of the Grafeas API, which stores, and enables querying
29
- # and retrieval of critical metadata about all of your software artifacts.
30
- # - [Product Documentation][]
31
- #
32
- # ## Quick Start
33
- # In order to use this library, you first need to go through the following
34
- # steps:
35
- #
36
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
37
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
38
- # 3. [Enable the Container Analysis API.](https://console.cloud.google.com/apis/library/containeranalysis.googleapis.com)
39
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-container_analysis/latest/file.AUTHENTICATION.html)
40
- #
41
- # ### Installation
42
- # ```
43
- # $ gem install google-cloud-container_analysis
44
- # ```
45
- #
46
- # ### Next Steps
47
- # - Read the [Container Analysis API Product documentation][Product Documentation]
48
- # to learn more about the product and see How-to Guides.
49
- # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
50
- # to see the full list of Cloud APIs that we cover.
51
- #
52
- # [Product Documentation]: https://cloud.google.com/container-registry/docs/container-analysis
53
- #
54
- # ## Enabling Logging
55
- #
56
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
57
- # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
58
- # or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
59
- # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
60
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
61
- #
62
- # Configuring a Ruby stdlib logger:
63
- #
64
- # ```ruby
65
- # require "logger"
66
- #
67
- # module MyLogger
68
- # LOGGER = Logger.new $stderr, level: Logger::WARN
69
- # def logger
70
- # LOGGER
71
- # end
72
- # end
73
- #
74
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
75
- # module GRPC
76
- # extend MyLogger
77
- # end
78
- # ```
79
- #
80
46
  module ContainerAnalysis
81
- # rubocop:enable LineLength
82
-
83
- FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("container_analysis"))
84
-
85
- AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
86
- .select { |file| File.directory?(file) }
87
- .select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
88
- .select { |dir| File.exist?(dir + ".rb") }
89
- .map { |dir| File.basename(dir) }
90
-
91
47
  ##
48
+ # Create a new client object for ContainerAnalysis.
49
+ #
50
+ # By default, this returns an instance of
51
+ # [Google::Cloud::ContainerAnalysis::V1::ContainerAnalysis::Client](https://googleapis.dev/ruby/google-cloud-container_analysis-v1/latest/Google/Cloud/ContainerAnalysis/V1/ContainerAnalysis/Client.html)
52
+ # for version V1 of the API.
53
+ # However, you can specify specify a different API version by passing it in the
54
+ # `version` parameter. If the ContainerAnalysis service is
55
+ # supported by that API version, and the corresponding gem is available, the
56
+ # appropriate versioned client will be returned.
57
+ #
58
+ # ## About ContainerAnalysis
59
+ #
92
60
  # Retrieves analysis results of Cloud components such as Docker container
93
61
  # images. The Container Analysis API is an implementation of the
94
62
  # [Grafeas](https://grafeas.io) API.
@@ -103,56 +71,57 @@ module Google
103
71
  # there would be one note for the vulnerability and an occurrence for each
104
72
  # image with the vulnerability referring to that note.
105
73
  #
106
- # @param version [Symbol, String]
107
- # The major version of the service to be used. By default :v1
108
- # is used.
109
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
110
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
111
- # Provides the means for authenticating requests made by the client. This parameter can
112
- # be many types.
113
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
114
- # authenticating requests made by this client.
115
- # A `String` will be treated as the path to the keyfile to be used for the construction of
116
- # credentials for this client.
117
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
118
- # credentials for this client.
119
- # A `GRPC::Core::Channel` will be used to make calls through.
120
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
121
- # should already be composed with a `GRPC::Core::CallCredentials` object.
122
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
123
- # metadata for requests, generally, to give OAuth credentials.
124
- # @param scopes [Array<String>]
125
- # The OAuth scopes for this service. This parameter is ignored if
126
- # an updater_proc is supplied.
127
- # @param client_config [Hash]
128
- # A Hash for call options for each method. See
129
- # Google::Gax#construct_settings for the structure of
130
- # this data. Falls back to the default config if not specified
131
- # or the specified config is missing data points.
132
- # @param timeout [Numeric]
133
- # The default timeout, in seconds, for calls made through this client.
134
- # @param metadata [Hash]
135
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
136
- # @param service_address [String]
137
- # Override for the service hostname, or `nil` to leave as the default.
138
- # @param service_port [Integer]
139
- # Override for the service port, or `nil` to leave as the default.
140
- # @param exception_transformer [Proc]
141
- # An optional proc that intercepts any exceptions raised during an API call to inject
142
- # custom error handling.
143
- def self.new(*args, version: :v1, **kwargs)
144
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
145
- raise "The version: #{version} is not available. The available versions " \
146
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
147
- end
74
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
75
+ # Defaults to `:v1`.
76
+ # @return [ContainerAnalysis::Client] A client object for the specified version.
77
+ #
78
+ def self.container_analysis version: :v1, &block
79
+ require "google/cloud/container_analysis/#{version.to_s.downcase}"
80
+
81
+ package_name = Google::Cloud::ContainerAnalysis
82
+ .constants
83
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
84
+ .first
85
+ package_module = Google::Cloud::ContainerAnalysis.const_get package_name
86
+ package_module.const_get(:ContainerAnalysis).const_get(:Client).new(&block)
87
+ end
88
+
89
+ ##
90
+ # Configure the google-cloud-container_analysis library.
91
+ #
92
+ # The following configuration parameters are supported:
93
+ #
94
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
95
+ # The path to the keyfile as a String, the contents of the keyfile as a
96
+ # Hash, or a Google::Auth::Credentials object.
97
+ # * `lib_name` (*type:* `String`) -
98
+ # The library name as recorded in instrumentation and logging.
99
+ # * `lib_version` (*type:* `String`) -
100
+ # The library version as recorded in instrumentation and logging.
101
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
102
+ # An array of interceptors that are run before calls are executed.
103
+ # * `timeout` (*type:* `Numeric`) -
104
+ # Default timeout in seconds.
105
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
106
+ # Additional gRPC headers to be sent with the call.
107
+ # * `retry_policy` (*type:* `Hash`) -
108
+ # The retry policy. The value is a hash with the following keys:
109
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
110
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
111
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
112
+ # * `:retry_codes` (*type:* `Array<String>`) -
113
+ # The error codes that should trigger a retry.
114
+ #
115
+ # @return [::Google::Cloud::Config] The default configuration used by this library
116
+ #
117
+ def self.configure
118
+ yield ::Google::Cloud.configure.container_analysis if block_given?
148
119
 
149
- require "#{FILE_DIR}/#{version.to_s.downcase}"
150
- version_module = Google::Cloud::ContainerAnalysis
151
- .constants
152
- .select {|sym| sym.to_s.downcase == version.to_s.downcase}
153
- .first
154
- Google::Cloud::ContainerAnalysis.const_get(version_module).new(*args, **kwargs)
120
+ ::Google::Cloud.configure.container_analysis
155
121
  end
156
122
  end
157
123
  end
158
124
  end
125
+
126
+ helper_path = ::File.join __dir__, "container_analysis", "helpers.rb"
127
+ require "google/cloud/container_analysis/helpers" if ::File.file? helper_path
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,11 +14,13 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
15
19
 
16
20
  module Google
17
21
  module Cloud
18
22
  module ContainerAnalysis
19
- VERSION = "0.4.1".freeze
23
+ VERSION = "1.0.3"
20
24
  end
21
25
  end
22
26
  end
metadata CHANGED
@@ -1,139 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container_analysis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: grafeas
14
+ name: google-cloud-container_analysis-v1
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.1'
26
+ version: '0.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: google-gax
28
+ name: google-cloud-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.8'
33
+ version: '1.5'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.8'
40
+ version: '1.5'
41
41
  - !ruby/object:Gem::Dependency
42
- name: googleapis-common-protos
42
+ name: google-style
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 1.3.9
48
- - - "<"
45
+ - - "~>"
49
46
  - !ruby/object:Gem::Version
50
- version: '2.0'
51
- type: :runtime
47
+ version: 1.24.0
48
+ type: :development
52
49
  prerelease: false
53
50
  version_requirements: !ruby/object:Gem::Requirement
54
51
  requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 1.3.9
58
- - - "<"
52
+ - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '2.0'
54
+ version: 1.24.0
61
55
  - !ruby/object:Gem::Dependency
62
- name: googleapis-common-protos-types
56
+ name: minitest
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: 1.0.4
68
- - - "<"
59
+ - - "~>"
69
60
  - !ruby/object:Gem::Version
70
- version: '2.0'
71
- type: :runtime
61
+ version: '5.14'
62
+ type: :development
72
63
  prerelease: false
73
64
  version_requirements: !ruby/object:Gem::Requirement
74
65
  requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: 1.0.4
78
- - - "<"
66
+ - - "~>"
79
67
  - !ruby/object:Gem::Version
80
- version: '2.0'
68
+ version: '5.14'
81
69
  - !ruby/object:Gem::Dependency
82
- name: grpc-google-iam-v1
70
+ name: minitest-focus
83
71
  requirement: !ruby/object:Gem::Requirement
84
72
  requirements:
85
73
  - - "~>"
86
74
  - !ruby/object:Gem::Version
87
- version: 0.6.9
88
- type: :runtime
75
+ version: '1.1'
76
+ type: :development
89
77
  prerelease: false
90
78
  version_requirements: !ruby/object:Gem::Requirement
91
79
  requirements:
92
80
  - - "~>"
93
81
  - !ruby/object:Gem::Version
94
- version: 0.6.9
82
+ version: '1.1'
95
83
  - !ruby/object:Gem::Dependency
96
- name: minitest
84
+ name: minitest-rg
97
85
  requirement: !ruby/object:Gem::Requirement
98
86
  requirements:
99
87
  - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '5.10'
89
+ version: '5.2'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
93
  requirements:
106
94
  - - "~>"
107
95
  - !ruby/object:Gem::Version
108
- version: '5.10'
96
+ version: '5.2'
109
97
  - !ruby/object:Gem::Dependency
110
- name: redcarpet
98
+ name: rake
111
99
  requirement: !ruby/object:Gem::Requirement
112
100
  requirements:
113
- - - "~>"
101
+ - - ">="
114
102
  - !ruby/object:Gem::Version
115
- version: '3.0'
103
+ version: '12.0'
116
104
  type: :development
117
105
  prerelease: false
118
106
  version_requirements: !ruby/object:Gem::Requirement
119
107
  requirements:
120
- - - "~>"
108
+ - - ">="
121
109
  - !ruby/object:Gem::Version
122
- version: '3.0'
110
+ version: '12.0'
123
111
  - !ruby/object:Gem::Dependency
124
- name: google-style
112
+ name: redcarpet
125
113
  requirement: !ruby/object:Gem::Requirement
126
114
  requirements:
127
115
  - - "~>"
128
116
  - !ruby/object:Gem::Version
129
- version: 1.24.0
117
+ version: '3.0'
130
118
  type: :development
131
119
  prerelease: false
132
120
  version_requirements: !ruby/object:Gem::Requirement
133
121
  requirements:
134
122
  - - "~>"
135
123
  - !ruby/object:Gem::Version
136
- version: 1.24.0
124
+ version: '3.0'
137
125
  - !ruby/object:Gem::Dependency
138
126
  name: simplecov
139
127
  requirement: !ruby/object:Gem::Requirement
@@ -162,8 +150,9 @@ dependencies:
162
150
  - - "~>"
163
151
  - !ruby/object:Gem::Version
164
152
  version: '0.9'
165
- description: google-cloud-container_analysis is the official library for Container
166
- Analysis API.
153
+ description: The Container Analysis API is an implementation of Grafeas. It stores,
154
+ and enables querying and retrieval of, critical metadata about all of your software
155
+ artifacts.
167
156
  email: googleapis-packages@google.com
168
157
  executables: []
169
158
  extensions: []
@@ -171,22 +160,13 @@ extra_rdoc_files: []
171
160
  files:
172
161
  - ".yardopts"
173
162
  - AUTHENTICATION.md
174
- - LICENSE
163
+ - LICENSE.md
164
+ - MIGRATING.md
175
165
  - README.md
176
166
  - lib/google-cloud-container_analysis.rb
177
167
  - lib/google/cloud/container_analysis.rb
178
- - lib/google/cloud/container_analysis/v1.rb
179
- - lib/google/cloud/container_analysis/v1/container_analysis_client.rb
180
- - lib/google/cloud/container_analysis/v1/container_analysis_client_config.json
181
- - lib/google/cloud/container_analysis/v1/credentials.rb
182
- - lib/google/cloud/container_analysis/v1/doc/google/iam/v1/iam_policy.rb
183
- - lib/google/cloud/container_analysis/v1/doc/google/iam/v1/options.rb
184
- - lib/google/cloud/container_analysis/v1/doc/google/iam/v1/policy.rb
185
- - lib/google/cloud/container_analysis/v1/doc/google/type/expr.rb
186
168
  - lib/google/cloud/container_analysis/version.rb
187
- - lib/google/devtools/containeranalysis/v1/containeranalysis_pb.rb
188
- - lib/google/devtools/containeranalysis/v1/containeranalysis_services_pb.rb
189
- homepage: https://github.com/googleapis/googleapis
169
+ homepage: https://github.com/googleapis/google-cloud-ruby
190
170
  licenses:
191
171
  - Apache-2.0
192
172
  metadata: {}
@@ -205,8 +185,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
185
  - !ruby/object:Gem::Version
206
186
  version: '0'
207
187
  requirements: []
208
- rubygems_version: 3.0.6
188
+ rubygems_version: 3.2.6
209
189
  signing_key:
210
190
  specification_version: 4
211
- summary: API Client library for Container Analysis API
191
+ summary: API Client library for the Container Analysis API
212
192
  test_files: []