google-apis-artifactregistry_v1 0.69.0 → 0.71.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +61 -6
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +19 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 416f33f78e901ff2c94d71c1e79b96f2fc4ba0fa6bf56010a17d31bf14977bc9
|
4
|
+
data.tar.gz: 4584ca5f3d7f7736bb17b85691fc40afd39e6e9f2633fc5dbae60de52246f0ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ba3a63d5f1cd024cd6455dcfab85d8c18f98b1210cb798ae1b00d376a6f3f2f04bb0256ac4eab04e017ec40c430f72aedb6bff16fab2d21a0d99baa37c36109
|
7
|
+
data.tar.gz: 2ca33d3b3353afe64549f23357c478322ed08810cc4d2b2a8457c25258ca5c4b1c5e2fe77e35599c45de932f0c9b0257e9c5a2fa0643c5f4601ceac758cdaa59
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.71.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241205
|
6
|
+
|
7
|
+
### v0.70.0 (2024-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241011
|
10
|
+
|
3
11
|
### v0.69.0 (2024-10-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241010
|
@@ -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]
|
@@ -2500,6 +2501,12 @@ module Google
|
|
2500
2501
|
# @return [String]
|
2501
2502
|
attr_accessor :name
|
2502
2503
|
|
2504
|
+
# Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/
|
2505
|
+
# my-repo`.
|
2506
|
+
# Corresponds to the JSON property `registryUri`
|
2507
|
+
# @return [String]
|
2508
|
+
attr_accessor :registry_uri
|
2509
|
+
|
2503
2510
|
# Remote repository configuration.
|
2504
2511
|
# Corresponds to the JSON property `remoteRepositoryConfig`
|
2505
2512
|
# @return [Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig]
|
@@ -2534,6 +2541,12 @@ module Google
|
|
2534
2541
|
# @return [Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig]
|
2535
2542
|
attr_accessor :virtual_repository_config
|
2536
2543
|
|
2544
|
+
# Config on whether to perform vulnerability scanning for resources in this
|
2545
|
+
# repository, as well as output fields describing current state.
|
2546
|
+
# Corresponds to the JSON property `vulnerabilityScanningConfig`
|
2547
|
+
# @return [Google::Apis::ArtifactregistryV1::VulnerabilityScanningConfig]
|
2548
|
+
attr_accessor :vulnerability_scanning_config
|
2549
|
+
|
2537
2550
|
def initialize(**args)
|
2538
2551
|
update!(**args)
|
2539
2552
|
end
|
@@ -2552,12 +2565,14 @@ module Google
|
|
2552
2565
|
@maven_config = args[:maven_config] if args.key?(:maven_config)
|
2553
2566
|
@mode = args[:mode] if args.key?(:mode)
|
2554
2567
|
@name = args[:name] if args.key?(:name)
|
2568
|
+
@registry_uri = args[:registry_uri] if args.key?(:registry_uri)
|
2555
2569
|
@remote_repository_config = args[:remote_repository_config] if args.key?(:remote_repository_config)
|
2556
2570
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
2557
2571
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2558
2572
|
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
2559
2573
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2560
2574
|
@virtual_repository_config = args[:virtual_repository_config] if args.key?(:virtual_repository_config)
|
2575
|
+
@vulnerability_scanning_config = args[:vulnerability_scanning_config] if args.key?(:vulnerability_scanning_config)
|
2561
2576
|
end
|
2562
2577
|
end
|
2563
2578
|
|
@@ -3322,6 +3337,46 @@ module Google
|
|
3322
3337
|
end
|
3323
3338
|
end
|
3324
3339
|
|
3340
|
+
# Config on whether to perform vulnerability scanning for resources in this
|
3341
|
+
# repository, as well as output fields describing current state.
|
3342
|
+
class VulnerabilityScanningConfig
|
3343
|
+
include Google::Apis::Core::Hashable
|
3344
|
+
|
3345
|
+
# Optional. Config for whether this repository has vulnerability scanning
|
3346
|
+
# disabled.
|
3347
|
+
# Corresponds to the JSON property `enablementConfig`
|
3348
|
+
# @return [String]
|
3349
|
+
attr_accessor :enablement_config
|
3350
|
+
|
3351
|
+
# Output only. State of feature enablement, combining repository enablement
|
3352
|
+
# config and API enablement state.
|
3353
|
+
# Corresponds to the JSON property `enablementState`
|
3354
|
+
# @return [String]
|
3355
|
+
attr_accessor :enablement_state
|
3356
|
+
|
3357
|
+
# Output only. Reason for the repository state.
|
3358
|
+
# Corresponds to the JSON property `enablementStateReason`
|
3359
|
+
# @return [String]
|
3360
|
+
attr_accessor :enablement_state_reason
|
3361
|
+
|
3362
|
+
# Output only. The last time this repository config was enabled.
|
3363
|
+
# Corresponds to the JSON property `lastEnableTime`
|
3364
|
+
# @return [String]
|
3365
|
+
attr_accessor :last_enable_time
|
3366
|
+
|
3367
|
+
def initialize(**args)
|
3368
|
+
update!(**args)
|
3369
|
+
end
|
3370
|
+
|
3371
|
+
# Update properties of this object
|
3372
|
+
def update!(**args)
|
3373
|
+
@enablement_config = args[:enablement_config] if args.key?(:enablement_config)
|
3374
|
+
@enablement_state = args[:enablement_state] if args.key?(:enablement_state)
|
3375
|
+
@enablement_state_reason = args[:enablement_state_reason] if args.key?(:enablement_state_reason)
|
3376
|
+
@last_enable_time = args[:last_enable_time] if args.key?(:last_enable_time)
|
3377
|
+
end
|
3378
|
+
end
|
3379
|
+
|
3325
3380
|
# A detailed representation of a Yum artifact.
|
3326
3381
|
class YumArtifact
|
3327
3382
|
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.71.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 = "20241205"
|
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
|
|
@@ -1366,6 +1372,7 @@ module Google
|
|
1366
1372
|
|
1367
1373
|
property :mode, as: 'mode'
|
1368
1374
|
property :name, as: 'name'
|
1375
|
+
property :registry_uri, as: 'registryUri'
|
1369
1376
|
property :remote_repository_config, as: 'remoteRepositoryConfig', class: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig::Representation
|
1370
1377
|
|
1371
1378
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
@@ -1374,6 +1381,8 @@ module Google
|
|
1374
1381
|
property :update_time, as: 'updateTime'
|
1375
1382
|
property :virtual_repository_config, as: 'virtualRepositoryConfig', class: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig::Representation
|
1376
1383
|
|
1384
|
+
property :vulnerability_scanning_config, as: 'vulnerabilityScanningConfig', class: Google::Apis::ArtifactregistryV1::VulnerabilityScanningConfig, decorator: Google::Apis::ArtifactregistryV1::VulnerabilityScanningConfig::Representation
|
1385
|
+
|
1377
1386
|
end
|
1378
1387
|
end
|
1379
1388
|
|
@@ -1635,6 +1644,16 @@ module Google
|
|
1635
1644
|
end
|
1636
1645
|
end
|
1637
1646
|
|
1647
|
+
class VulnerabilityScanningConfig
|
1648
|
+
# @private
|
1649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1650
|
+
property :enablement_config, as: 'enablementConfig'
|
1651
|
+
property :enablement_state, as: 'enablementState'
|
1652
|
+
property :enablement_state_reason, as: 'enablementStateReason'
|
1653
|
+
property :last_enable_time, as: 'lastEnableTime'
|
1654
|
+
end
|
1655
|
+
end
|
1656
|
+
|
1638
1657
|
class YumArtifact
|
1639
1658
|
# @private
|
1640
1659
|
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.71.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-
|
11
|
+
date: 2024-12-15 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.71.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: []
|
@@ -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.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Artifact Registry API V1
|