google-apis-artifactregistry_v1 0.69.0 → 0.70.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +54 -6
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +18 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a760c48adb514ca12dcb93cdb8724e931ad3dd8def72ed5bc33208db4268109
|
4
|
+
data.tar.gz: 4e26d494dd84521d39ac3d3f6c988016fb23ff7527c3b8d3d5aabfab68359870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6412c2446e8f1544765ba0b48da3fba0ef39b35b9b470eb4b86fc8b76a35715ef8d24f1730a00f886f87b4d962bde07db903edff8c5c3aed41f74cd057ac7c4d
|
7
|
+
data.tar.gz: 9df2a68ca6b480a28eaef60190c98550aa9425e33a64991d57cd3f7f49372257380897636a296c9e25556ef96f092fc8c21c4fbbccca58a5512fb7de0443173f
|
data/CHANGELOG.md
CHANGED
@@ -1016,12 +1016,13 @@ module Google
|
|
1016
1016
|
end
|
1017
1017
|
end
|
1018
1018
|
|
1019
|
-
# A
|
1020
|
-
#
|
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
|
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:
|
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
|
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.
|
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 = "
|
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:
|
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.
|
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-
|
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.
|
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: []
|