google-apis-artifactregistry_v1 0.69.0 → 0.70.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: 370c551b89949c4ecb74ab2a510bfdbc873f8107fcba1229cba1acc7f400c815
4
- data.tar.gz: f97620b975d6f2f64651ae3fb4744a36668377cecd9fe1613badf8cd96656577
3
+ metadata.gz: 7a760c48adb514ca12dcb93cdb8724e931ad3dd8def72ed5bc33208db4268109
4
+ data.tar.gz: 4e26d494dd84521d39ac3d3f6c988016fb23ff7527c3b8d3d5aabfab68359870
5
5
  SHA512:
6
- metadata.gz: 6a58a134774d2032eee8b280ef579b7eb86ea6dc215ff2b0a779e71cecb0b2533cfa6e1962fddc8048cd14530de8e5ec74b1d2ce1c0859b080aadcd410ae98d7
7
- data.tar.gz: b358753d47f69a9863cd650760ecd0b94823eef01771acf4adc818050f46f6c8668c19970228f83eea8acc45c398ce2c7f88cc836c93077ba49fefa3620c46b5
6
+ metadata.gz: 6412c2446e8f1544765ba0b48da3fba0ef39b35b9b470eb4b86fc8b76a35715ef8d24f1730a00f886f87b4d962bde07db903edff8c5c3aed41f74cd057ac7c4d
7
+ data.tar.gz: 9df2a68ca6b480a28eaef60190c98550aa9425e33a64991d57cd3f7f49372257380897636a296c9e25556ef96f092fc8c21c4fbbccca58a5512fb7de0443173f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.70.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241011
6
+
3
7
  ### v0.69.0 (2024-10-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20241010
@@ -1016,12 +1016,13 @@ module Google
1016
1016
  end
1017
1017
  end
1018
1018
 
1019
- # A Rule applies to repository or package level. It defines the deny or allow
1020
- # action of the operation when the conditions in the rule are met.
1019
+ # A rule defines the deny or allow action of the operation it applies to and the
1020
+ # conditions required for the rule to apply. You can set one rule for an entire
1021
+ # repository and one rule for each package within.
1021
1022
  class GoogleDevtoolsArtifactregistryV1Rule
1022
1023
  include Google::Apis::Core::Hashable
1023
1024
 
1024
- # The action this rule makes.
1025
+ # The action this rule takes.
1025
1026
  # Corresponds to the JSON property `action`
1026
1027
  # @return [String]
1027
1028
  attr_accessor :action
@@ -1045,8 +1046,8 @@ module Google
1045
1046
  # @return [Google::Apis::ArtifactregistryV1::Expr]
1046
1047
  attr_accessor :condition
1047
1048
 
1048
- # The name of the rule, for example: "projects/p1/locations/us-central1/
1049
- # repositories/repo1/rules/rule1".
1049
+ # The name of the rule, for example: `projects/p1/locations/us-central1/
1050
+ # repositories/repo1/rules/rule1`.
1050
1051
  # Corresponds to the JSON property `name`
1051
1052
  # @return [String]
1052
1053
  attr_accessor :name
@@ -1056,7 +1057,7 @@ module Google
1056
1057
  # @return [String]
1057
1058
  attr_accessor :operation
1058
1059
 
1059
- # The package ID the rule applies to. If empty, this rule applies to all the
1060
+ # The package ID the rule applies to. If empty, this rule applies to all
1060
1061
  # packages inside the repository.
1061
1062
  # Corresponds to the JSON property `packageId`
1062
1063
  # @return [String]
@@ -2534,6 +2535,12 @@ module Google
2534
2535
  # @return [Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig]
2535
2536
  attr_accessor :virtual_repository_config
2536
2537
 
2538
+ # Config on whether to perform vulnerability scanning for resources in this
2539
+ # repository, as well as output fields describing current state.
2540
+ # Corresponds to the JSON property `vulnerabilityScanningConfig`
2541
+ # @return [Google::Apis::ArtifactregistryV1::VulnerabilityScanningConfig]
2542
+ attr_accessor :vulnerability_scanning_config
2543
+
2537
2544
  def initialize(**args)
2538
2545
  update!(**args)
2539
2546
  end
@@ -2558,6 +2565,7 @@ module Google
2558
2565
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
2559
2566
  @update_time = args[:update_time] if args.key?(:update_time)
2560
2567
  @virtual_repository_config = args[:virtual_repository_config] if args.key?(:virtual_repository_config)
2568
+ @vulnerability_scanning_config = args[:vulnerability_scanning_config] if args.key?(:vulnerability_scanning_config)
2561
2569
  end
2562
2570
  end
2563
2571
 
@@ -3322,6 +3330,46 @@ module Google
3322
3330
  end
3323
3331
  end
3324
3332
 
3333
+ # Config on whether to perform vulnerability scanning for resources in this
3334
+ # repository, as well as output fields describing current state.
3335
+ class VulnerabilityScanningConfig
3336
+ include Google::Apis::Core::Hashable
3337
+
3338
+ # Optional. Config for whether this repository has vulnerability scanning
3339
+ # disabled.
3340
+ # Corresponds to the JSON property `enablementConfig`
3341
+ # @return [String]
3342
+ attr_accessor :enablement_config
3343
+
3344
+ # Output only. State of feature enablement, combining repository enablement
3345
+ # config and API enablement state.
3346
+ # Corresponds to the JSON property `enablementState`
3347
+ # @return [String]
3348
+ attr_accessor :enablement_state
3349
+
3350
+ # Output only. Reason for the repository state.
3351
+ # Corresponds to the JSON property `enablementStateReason`
3352
+ # @return [String]
3353
+ attr_accessor :enablement_state_reason
3354
+
3355
+ # Output only. The last time this repository config was enabled.
3356
+ # Corresponds to the JSON property `lastEnableTime`
3357
+ # @return [String]
3358
+ attr_accessor :last_enable_time
3359
+
3360
+ def initialize(**args)
3361
+ update!(**args)
3362
+ end
3363
+
3364
+ # Update properties of this object
3365
+ def update!(**args)
3366
+ @enablement_config = args[:enablement_config] if args.key?(:enablement_config)
3367
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
3368
+ @enablement_state_reason = args[:enablement_state_reason] if args.key?(:enablement_state_reason)
3369
+ @last_enable_time = args[:last_enable_time] if args.key?(:last_enable_time)
3370
+ end
3371
+ end
3372
+
3325
3373
  # A detailed representation of a Yum artifact.
3326
3374
  class YumArtifact
3327
3375
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1
18
18
  # Version of the google-apis-artifactregistry_v1 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241010"
25
+ REVISION = "20241011"
26
26
  end
27
27
  end
28
28
  end
@@ -664,6 +664,12 @@ module Google
664
664
  include Google::Apis::Core::JsonObjectSupport
665
665
  end
666
666
 
667
+ class VulnerabilityScanningConfig
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
667
673
  class YumArtifact
668
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
675
 
@@ -1374,6 +1380,8 @@ module Google
1374
1380
  property :update_time, as: 'updateTime'
1375
1381
  property :virtual_repository_config, as: 'virtualRepositoryConfig', class: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig::Representation
1376
1382
 
1383
+ property :vulnerability_scanning_config, as: 'vulnerabilityScanningConfig', class: Google::Apis::ArtifactregistryV1::VulnerabilityScanningConfig, decorator: Google::Apis::ArtifactregistryV1::VulnerabilityScanningConfig::Representation
1384
+
1377
1385
  end
1378
1386
  end
1379
1387
 
@@ -1635,6 +1643,16 @@ module Google
1635
1643
  end
1636
1644
  end
1637
1645
 
1646
+ class VulnerabilityScanningConfig
1647
+ # @private
1648
+ class Representation < Google::Apis::Core::JsonRepresentation
1649
+ property :enablement_config, as: 'enablementConfig'
1650
+ property :enablement_state, as: 'enablementState'
1651
+ property :enablement_state_reason, as: 'enablementStateReason'
1652
+ property :last_enable_time, as: 'lastEnableTime'
1653
+ end
1654
+ end
1655
+
1638
1656
  class YumArtifact
1639
1657
  # @private
1640
1658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2260,8 +2260,8 @@ module Google
2260
2260
 
2261
2261
  # Updates a rule.
2262
2262
  # @param [String] name
2263
- # The name of the rule, for example: "projects/p1/locations/us-central1/
2264
- # repositories/repo1/rules/rule1".
2263
+ # The name of the rule, for example: `projects/p1/locations/us-central1/
2264
+ # repositories/repo1/rules/rule1`.
2265
2265
  # @param [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule] google_devtools_artifactregistry_v1_rule_object
2266
2266
  # @param [String] update_mask
2267
2267
  # The update mask applies to the resource. For the `FieldMask` definition, see
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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: 2024-10-13 00:00:00.000000000 Z
11
+ date: 2024-10-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-artifactregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []