google-apis-containeranalysis_v1 0.32.0 → 0.33.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58246475a8729e12cac96f1740cc5c09af1b92f9796fe34ec41dae46d82d48a2
4
- data.tar.gz: 0b7f520ef609ac0f9d322a91240340efc1e73221c0b409bd44c5d76959e9afb4
3
+ metadata.gz: e89313dc2b89adf5c62898fe91faf169b4684dabcfee52d3e930021a783b5785
4
+ data.tar.gz: 897850d67046c9e893ba70f3504387fc32eddadbaab4cffe83cf1bf1ed973399
5
5
  SHA512:
6
- metadata.gz: b7713410cbf9399f3fe2b8209772a60ea4ae9620983c7a239f07340461473b288f17fcb6c3f66146b029612c454e3baf6e65d433786f4e1080571fe2af018b6f
7
- data.tar.gz: a9e3400879f369ad3b9043d541c597b96b0d45a28e243dcccc9020606a36abeff51b70757478e15871c8049c23a963bf0dc7db0e3ab2ec0cd3a75da9a580bbf7
6
+ metadata.gz: a93643cabdca4e71dc1eb1ed4df67105327bd8e16b60020f24828f02186a93379953abd9937ab6c2b83b1b30f8f58bca37d94d6d5c688694e95a799751dd8d3d
7
+ data.tar.gz: 0a882caa64aa38ea85c7ce027a75c51f889d92210d20503c76127892696bef95ea74bf1990027e260ed9b479bbeb0f2ae8b80d212e67616f758a7c43fc90e60a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.33.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230421
6
+
3
7
  ### v0.32.0 (2023-04-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230414
@@ -3414,21 +3414,6 @@ module Google
3414
3414
  end
3415
3415
  end
3416
3416
 
3417
- # GeneratePackagesSummaryRequest is the request body for the
3418
- # GeneratePackagesSummary API method. It just takes a single name argument,
3419
- # referring to the resource.
3420
- class GeneratePackagesSummaryRequest
3421
- include Google::Apis::Core::Hashable
3422
-
3423
- def initialize(**args)
3424
- update!(**args)
3425
- end
3426
-
3427
- # Update properties of this object
3428
- def update!(**args)
3429
- end
3430
- end
3431
-
3432
3417
  # A SourceContext referring to a Gerrit project.
3433
3418
  class GerritSourceContext
3434
3419
  include Google::Apis::Core::Hashable
@@ -4140,33 +4125,6 @@ module Google
4140
4125
  end
4141
4126
  end
4142
4127
 
4143
- # Per license count
4144
- class LicensesSummary
4145
- include Google::Apis::Core::Hashable
4146
-
4147
- # The number of fixable vulnerabilities associated with this resource.
4148
- # Corresponds to the JSON property `count`
4149
- # @return [Fixnum]
4150
- attr_accessor :count
4151
-
4152
- # The license of the package. Note that the format of this value is not
4153
- # guaranteed. It may be nil, an empty string, a boolean value (A | B), a
4154
- # differently formed boolean value (A OR B), etc...
4155
- # Corresponds to the JSON property `license`
4156
- # @return [String]
4157
- attr_accessor :license
4158
-
4159
- def initialize(**args)
4160
- update!(**args)
4161
- end
4162
-
4163
- # Update properties of this object
4164
- def update!(**args)
4165
- @count = args[:count] if args.key?(:count)
4166
- @license = args[:license] if args.key?(:license)
4167
- end
4168
- end
4169
-
4170
4128
  # Response for listing occurrences for a note.
4171
4129
  class ListNoteOccurrencesResponse
4172
4130
  include Google::Apis::Core::Hashable
@@ -4901,31 +4859,6 @@ module Google
4901
4859
  end
4902
4860
  end
4903
4861
 
4904
- # A summary of the packages found within the given resource.
4905
- class PackagesSummaryResponse
4906
- include Google::Apis::Core::Hashable
4907
-
4908
- # A listing by license name of each of the licenses and their counts.
4909
- # Corresponds to the JSON property `licensesSummary`
4910
- # @return [Array<Google::Apis::ContaineranalysisV1::LicensesSummary>]
4911
- attr_accessor :licenses_summary
4912
-
4913
- # The unique URL of the image or the container for which this summary applies.
4914
- # Corresponds to the JSON property `resourceUrl`
4915
- # @return [String]
4916
- attr_accessor :resource_url
4917
-
4918
- def initialize(**args)
4919
- update!(**args)
4920
- end
4921
-
4922
- # Update properties of this object
4923
- def update!(**args)
4924
- @licenses_summary = args[:licenses_summary] if args.key?(:licenses_summary)
4925
- @resource_url = args[:resource_url] if args.key?(:resource_url)
4926
- end
4927
- end
4928
-
4929
4862
  # An Identity and Access Management (IAM) policy, which specifies access
4930
4863
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4931
4864
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230414"
25
+ REVISION = "20230421"
26
26
  end
27
27
  end
28
28
  end
@@ -478,12 +478,6 @@ module Google
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
- class GeneratePackagesSummaryRequest
482
- class Representation < Google::Apis::Core::JsonRepresentation; end
483
-
484
- include Google::Apis::Core::JsonObjectSupport
485
- end
486
-
487
481
  class GerritSourceContext
488
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
483
 
@@ -628,12 +622,6 @@ module Google
628
622
  include Google::Apis::Core::JsonObjectSupport
629
623
  end
630
624
 
631
- class LicensesSummary
632
- class Representation < Google::Apis::Core::JsonRepresentation; end
633
-
634
- include Google::Apis::Core::JsonObjectSupport
635
- end
636
-
637
625
  class ListNoteOccurrencesResponse
638
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
627
 
@@ -706,12 +694,6 @@ module Google
706
694
  include Google::Apis::Core::JsonObjectSupport
707
695
  end
708
696
 
709
- class PackagesSummaryResponse
710
- class Representation < Google::Apis::Core::JsonRepresentation; end
711
-
712
- include Google::Apis::Core::JsonObjectSupport
713
- end
714
-
715
697
  class Policy
716
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
699
 
@@ -1786,12 +1768,6 @@ module Google
1786
1768
  end
1787
1769
  end
1788
1770
 
1789
- class GeneratePackagesSummaryRequest
1790
- # @private
1791
- class Representation < Google::Apis::Core::JsonRepresentation
1792
- end
1793
- end
1794
-
1795
1771
  class GerritSourceContext
1796
1772
  # @private
1797
1773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2008,14 +1984,6 @@ module Google
2008
1984
  end
2009
1985
  end
2010
1986
 
2011
- class LicensesSummary
2012
- # @private
2013
- class Representation < Google::Apis::Core::JsonRepresentation
2014
- property :count, :numeric_string => true, as: 'count'
2015
- property :license, as: 'license'
2016
- end
2017
- end
2018
-
2019
1987
  class ListNoteOccurrencesResponse
2020
1988
  # @private
2021
1989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2211,15 +2179,6 @@ module Google
2211
2179
  end
2212
2180
  end
2213
2181
 
2214
- class PackagesSummaryResponse
2215
- # @private
2216
- class Representation < Google::Apis::Core::JsonRepresentation
2217
- collection :licenses_summary, as: 'licensesSummary', class: Google::Apis::ContaineranalysisV1::LicensesSummary, decorator: Google::Apis::ContaineranalysisV1::LicensesSummary::Representation
2218
-
2219
- property :resource_url, as: 'resourceUrl'
2220
- end
2221
- end
2222
-
2223
2182
  class Policy
2224
2183
  # @private
2225
2184
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -813,40 +813,6 @@ module Google
813
813
  command.query['quotaUser'] = quota_user unless quota_user.nil?
814
814
  execute_or_queue_command(command, &block)
815
815
  end
816
-
817
- # Gets a summary of the packages within a given resource.
818
- # @param [String] name
819
- # Required. The name of the resource to get a packages summary for in the form
820
- # of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
821
- # @param [Google::Apis::ContaineranalysisV1::GeneratePackagesSummaryRequest] generate_packages_summary_request_object
822
- # @param [String] fields
823
- # Selector specifying which fields to include in a partial response.
824
- # @param [String] quota_user
825
- # Available to use for quota purposes for server-side applications. Can be any
826
- # arbitrary string assigned to a user, but should not exceed 40 characters.
827
- # @param [Google::Apis::RequestOptions] options
828
- # Request-specific options
829
- #
830
- # @yield [result, err] Result & error if block supplied
831
- # @yieldparam result [Google::Apis::ContaineranalysisV1::PackagesSummaryResponse] parsed result object
832
- # @yieldparam err [StandardError] error object if request failed
833
- #
834
- # @return [Google::Apis::ContaineranalysisV1::PackagesSummaryResponse]
835
- #
836
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
- # @raise [Google::Apis::AuthorizationError] Authorization is required
839
- def generate_resource_packages_summary(name, generate_packages_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
840
- command = make_simple_command(:post, 'v1/{+name}:generatePackagesSummary', options)
841
- command.request_representation = Google::Apis::ContaineranalysisV1::GeneratePackagesSummaryRequest::Representation
842
- command.request_object = generate_packages_summary_request_object
843
- command.response_representation = Google::Apis::ContaineranalysisV1::PackagesSummaryResponse::Representation
844
- command.response_class = Google::Apis::ContaineranalysisV1::PackagesSummaryResponse
845
- command.params['name'] = name unless name.nil?
846
- command.query['fields'] = fields unless fields.nil?
847
- command.query['quotaUser'] = quota_user unless quota_user.nil?
848
- execute_or_queue_command(command, &block)
849
- end
850
816
 
851
817
  protected
852
818
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []