google-apis-containeranalysis_v1 0.38.0 → 0.40.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: b84237236b8315306c696348752fb259e33d0279acaad35f4114cfc5340caedc
4
- data.tar.gz: '088d918fbe120408dcb822371f8754591b90d00802637ba6fcbfb25cef19abc6'
3
+ metadata.gz: 1726658065e1e6f672e55060766fbbd84b7a87bc3477396cfae4bde5e0dfad4b
4
+ data.tar.gz: 4adaa0c2873e3aa2fa20b8cf9816c0564630d673e15f0659348839bbebcc6412
5
5
  SHA512:
6
- metadata.gz: c15aa7b3bb99b37cec69a60d06f66c11c0e5b9794763dd489adfc0890289efde46be388f1d3329f75418bd35f39be112bd33fb6d10dd15a8af07ce29a87da45f
7
- data.tar.gz: 9764f444ef663da8623a8f4e454340b8d63aa4895f55fd1e7931df7ca0b3ce0c6676e6b4bcd8412d7ad8222565e311a338328a9afc62e879dd35fdc507715765
6
+ metadata.gz: b588d3335d1172be88060b3e3a3d5617d0d918872dd81b68c24a08428225cc2f6463cd1fbe5ed19ca2236014c2d795b2187805dd18d159dfea1f69239ff15eae
7
+ data.tar.gz: 48acb8df3ea14848e7eb21737b832cab892f26e0ba05cca933c3b0ca0b514bfb8ab1a3f93f75e1e3385af73ac68bfafe9674cf149af3c9715eac7b0259bf72a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.40.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230811
6
+
7
+ ### v0.39.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230804
10
+
3
11
  ### v0.38.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230721
@@ -2222,6 +2222,39 @@ module Google
2222
2222
  end
2223
2223
  end
2224
2224
 
2225
+ # Location of the source in a 2nd-gen Google Cloud Build repository resource.
2226
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository
2227
+ include Google::Apis::Core::Hashable
2228
+
2229
+ # Directory, relative to the source root, in which to run the build.
2230
+ # Corresponds to the JSON property `dir`
2231
+ # @return [String]
2232
+ attr_accessor :dir
2233
+
2234
+ # Required. Name of the Google Cloud Build repository, formatted as `projects/*/
2235
+ # locations/*/connections/*/repositories/*`.
2236
+ # Corresponds to the JSON property `repository`
2237
+ # @return [String]
2238
+ attr_accessor :repository
2239
+
2240
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2241
+ # commit SHA, or any Git ref.
2242
+ # Corresponds to the JSON property `revision`
2243
+ # @return [String]
2244
+ attr_accessor :revision
2245
+
2246
+ def initialize(**args)
2247
+ update!(**args)
2248
+ end
2249
+
2250
+ # Update properties of this object
2251
+ def update!(**args)
2252
+ @dir = args[:dir] if args.key?(:dir)
2253
+ @repository = args[:repository] if args.key?(:repository)
2254
+ @revision = args[:revision] if args.key?(:revision)
2255
+ end
2256
+ end
2257
+
2225
2258
  # Container message for hashes of byte content of files, used in
2226
2259
  # SourceProvenance messages to verify integrity of source input to the build.
2227
2260
  class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
@@ -2568,6 +2601,11 @@ module Google
2568
2601
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
2569
2602
  include Google::Apis::Core::Hashable
2570
2603
 
2604
+ # Location of the source in a 2nd-gen Google Cloud Build repository resource.
2605
+ # Corresponds to the JSON property `connectedRepository`
2606
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository]
2607
+ attr_accessor :connected_repository
2608
+
2571
2609
  # Location of the source in any accessible Git repository.
2572
2610
  # Corresponds to the JSON property `gitSource`
2573
2611
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
@@ -2596,6 +2634,7 @@ module Google
2596
2634
 
2597
2635
  # Update properties of this object
2598
2636
  def update!(**args)
2637
+ @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
2599
2638
  @git_source = args[:git_source] if args.key?(:git_source)
2600
2639
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2601
2640
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -5037,22 +5076,22 @@ module Google
5037
5076
  # evaluates to `true`. A condition can add constraints based on attributes of
5038
5077
  # the request, the resource, or both. To learn which resources support
5039
5078
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5040
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
5079
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
5041
5080
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
5042
5081
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
5043
5082
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
5044
5083
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
5045
5084
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
5046
5085
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
5047
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
5048
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
5049
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
5050
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
5051
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
5052
- # access description: Does not grant access after Sep 2020 expression: request.
5053
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
5054
- # a description of IAM and its features, see the [IAM documentation](https://
5055
- # cloud.google.com/iam/docs/).
5086
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
5087
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
5088
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
5089
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
5090
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
5091
+ # title: expirable access description: Does not grant access after Sep 2020
5092
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
5093
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
5094
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
5056
5095
  class Policy
5057
5096
  include Google::Apis::Core::Hashable
5058
5097
 
@@ -5651,22 +5690,22 @@ module Google
5651
5690
  # evaluates to `true`. A condition can add constraints based on attributes of
5652
5691
  # the request, the resource, or both. To learn which resources support
5653
5692
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5654
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
5693
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
5655
5694
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
5656
5695
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
5657
5696
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
5658
5697
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
5659
5698
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
5660
5699
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
5661
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
5662
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
5663
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
5664
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
5665
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
5666
- # access description: Does not grant access after Sep 2020 expression: request.
5667
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
5668
- # a description of IAM and its features, see the [IAM documentation](https://
5669
- # cloud.google.com/iam/docs/).
5700
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
5701
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
5702
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
5703
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
5704
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
5705
+ # title: expirable access description: Does not grant access after Sep 2020
5706
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
5707
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
5708
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
5670
5709
  # Corresponds to the JSON property `policy`
5671
5710
  # @return [Google::Apis::ContaineranalysisV1::Policy]
5672
5711
  attr_accessor :policy
@@ -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.38.0"
19
+ GEM_VERSION = "0.40.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 = "20230721"
25
+ REVISION = "20230811"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -1504,6 +1510,15 @@ module Google
1504
1510
  end
1505
1511
  end
1506
1512
 
1513
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository
1514
+ # @private
1515
+ class Representation < Google::Apis::Core::JsonRepresentation
1516
+ property :dir, as: 'dir'
1517
+ property :repository, as: 'repository'
1518
+ property :revision, as: 'revision'
1519
+ end
1520
+ end
1521
+
1507
1522
  class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
1508
1523
  # @private
1509
1524
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1600,6 +1615,8 @@ module Google
1600
1615
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
1601
1616
  # @private
1602
1617
  class Representation < Google::Apis::Core::JsonRepresentation
1618
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
1619
+
1603
1620
  property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1604
1621
 
1605
1622
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
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.38.0
4
+ version: 0.40.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-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.40.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Container Analysis API V1