google-apis-containeranalysis_v1 0.48.0 → 0.50.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 +10 -0
- data/lib/google/apis/containeranalysis_v1/classes.rb +170 -31
- data/lib/google/apis/containeranalysis_v1/gem_version.rb +3 -3
- data/lib/google/apis/containeranalysis_v1/representations.rb +66 -0
- data/lib/google/apis/containeranalysis_v1/service.rb +286 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ef107bafe67af80926ce1a0f7684e25ca1d5845286f1d5bbe494fa983cefeb8
|
4
|
+
data.tar.gz: bd82ec7e9b49758dbb9a6f57318d5cca6deaf13ecb42a1cfaa0ac0e363ad608b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b588a4c4956571e7c48d1341ae40ceffab09b8db6b3adbb18ab99f2cd16648cadd8919b63ce9b066b3d255f5fbea3346ae0ee8c1c5cce600dd006b0e402779b
|
7
|
+
data.tar.gz: de3349f700491719a639d024421eef11631136163e649c0400f9c1f5032502db691bf28fed52e4732b47ad438fc0cc93ff5efabd627aa2d3219dfc624c118a4a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240516
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.49.0 (2024-03-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240301
|
11
|
+
* Regenerated using generator version 0.14.0
|
12
|
+
|
3
13
|
### v0.48.0 (2024-02-23)
|
4
14
|
|
5
15
|
* Unspecified changes
|
@@ -1228,6 +1228,11 @@ module Google
|
|
1228
1228
|
# @return [String]
|
1229
1229
|
attr_accessor :description
|
1230
1230
|
|
1231
|
+
#
|
1232
|
+
# Corresponds to the JSON property `impact`
|
1233
|
+
# @return [String]
|
1234
|
+
attr_accessor :impact
|
1235
|
+
|
1231
1236
|
# A rationale for the existence of this compliance check.
|
1232
1237
|
# Corresponds to the JSON property `rationale`
|
1233
1238
|
# @return [String]
|
@@ -1262,6 +1267,7 @@ module Google
|
|
1262
1267
|
def update!(**args)
|
1263
1268
|
@cis_benchmark = args[:cis_benchmark] if args.key?(:cis_benchmark)
|
1264
1269
|
@description = args[:description] if args.key?(:description)
|
1270
|
+
@impact = args[:impact] if args.key?(:impact)
|
1265
1271
|
@rationale = args[:rationale] if args.key?(:rationale)
|
1266
1272
|
@remediation = args[:remediation] if args.key?(:remediation)
|
1267
1273
|
@scan_instructions = args[:scan_instructions] if args.key?(:scan_instructions)
|
@@ -1285,6 +1291,12 @@ module Google
|
|
1285
1291
|
# @return [Array<Google::Apis::ContaineranalysisV1::NonCompliantFile>]
|
1286
1292
|
attr_accessor :non_compliant_files
|
1287
1293
|
|
1294
|
+
# Describes the CIS benchmark version that is applicable to a given OS and os
|
1295
|
+
# version.
|
1296
|
+
# Corresponds to the JSON property `version`
|
1297
|
+
# @return [Google::Apis::ContaineranalysisV1::ComplianceVersion]
|
1298
|
+
attr_accessor :version
|
1299
|
+
|
1288
1300
|
def initialize(**args)
|
1289
1301
|
update!(**args)
|
1290
1302
|
end
|
@@ -1293,6 +1305,7 @@ module Google
|
|
1293
1305
|
def update!(**args)
|
1294
1306
|
@non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason)
|
1295
1307
|
@non_compliant_files = args[:non_compliant_files] if args.key?(:non_compliant_files)
|
1308
|
+
@version = args[:version] if args.key?(:version)
|
1296
1309
|
end
|
1297
1310
|
end
|
1298
1311
|
|
@@ -1655,6 +1668,11 @@ module Google
|
|
1655
1668
|
# @return [String]
|
1656
1669
|
attr_accessor :finish_time
|
1657
1670
|
|
1671
|
+
# GitConfig is a configuration for git operations.
|
1672
|
+
# Corresponds to the JSON property `gitConfig`
|
1673
|
+
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig]
|
1674
|
+
attr_accessor :git_config
|
1675
|
+
|
1658
1676
|
# Output only. Unique identifier of the build.
|
1659
1677
|
# Corresponds to the JSON property `id`
|
1660
1678
|
# @return [String]
|
@@ -1802,6 +1820,7 @@ module Google
|
|
1802
1820
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1803
1821
|
@failure_info = args[:failure_info] if args.key?(:failure_info)
|
1804
1822
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
1823
|
+
@git_config = args[:git_config] if args.key?(:git_config)
|
1805
1824
|
@id = args[:id] if args.key?(:id)
|
1806
1825
|
@images = args[:images] if args.key?(:images)
|
1807
1826
|
@log_url = args[:log_url] if args.key?(:log_url)
|
@@ -2264,7 +2283,7 @@ module Google
|
|
2264
2283
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository
|
2265
2284
|
include Google::Apis::Core::Hashable
|
2266
2285
|
|
2267
|
-
# Directory, relative to the source root, in which to run the build.
|
2286
|
+
# Optional. Directory, relative to the source root, in which to run the build.
|
2268
2287
|
# Corresponds to the JSON property `dir`
|
2269
2288
|
# @return [String]
|
2270
2289
|
attr_accessor :dir
|
@@ -2275,8 +2294,8 @@ module Google
|
|
2275
2294
|
# @return [String]
|
2276
2295
|
attr_accessor :repository
|
2277
2296
|
|
2278
|
-
# The revision to fetch from the Git repository such as a branch, a
|
2279
|
-
# commit SHA, or any Git ref.
|
2297
|
+
# Required. The revision to fetch from the Git repository such as a branch, a
|
2298
|
+
# tag, a commit SHA, or any Git ref.
|
2280
2299
|
# Corresponds to the JSON property `revision`
|
2281
2300
|
# @return [String]
|
2282
2301
|
attr_accessor :revision
|
@@ -2293,6 +2312,39 @@ module Google
|
|
2293
2312
|
end
|
2294
2313
|
end
|
2295
2314
|
|
2315
|
+
# This config defines the location of a source through Developer Connect.
|
2316
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
|
2317
|
+
include Google::Apis::Core::Hashable
|
2318
|
+
|
2319
|
+
# Required. Directory, relative to the source root, in which to run the build.
|
2320
|
+
# Corresponds to the JSON property `dir`
|
2321
|
+
# @return [String]
|
2322
|
+
attr_accessor :dir
|
2323
|
+
|
2324
|
+
# Required. The Developer Connect Git repository link, formatted as `projects/*/
|
2325
|
+
# locations/*/connections/*/gitRepositoryLink/*`.
|
2326
|
+
# Corresponds to the JSON property `gitRepositoryLink`
|
2327
|
+
# @return [String]
|
2328
|
+
attr_accessor :git_repository_link
|
2329
|
+
|
2330
|
+
# Required. The revision to fetch from the Git repository such as a branch, a
|
2331
|
+
# tag, a commit SHA, or any Git ref.
|
2332
|
+
# Corresponds to the JSON property `revision`
|
2333
|
+
# @return [String]
|
2334
|
+
attr_accessor :revision
|
2335
|
+
|
2336
|
+
def initialize(**args)
|
2337
|
+
update!(**args)
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
# Update properties of this object
|
2341
|
+
def update!(**args)
|
2342
|
+
@dir = args[:dir] if args.key?(:dir)
|
2343
|
+
@git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
|
2344
|
+
@revision = args[:revision] if args.key?(:revision)
|
2345
|
+
end
|
2346
|
+
end
|
2347
|
+
|
2296
2348
|
# Container message for hashes of byte content of files, used in
|
2297
2349
|
# SourceProvenance messages to verify integrity of source input to the build.
|
2298
2350
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
|
@@ -2313,30 +2365,109 @@ module Google
|
|
2313
2365
|
end
|
2314
2366
|
end
|
2315
2367
|
|
2368
|
+
# Represents a storage location in Cloud Storage
|
2369
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation
|
2370
|
+
include Google::Apis::Core::Hashable
|
2371
|
+
|
2372
|
+
# Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
|
2373
|
+
# requirements
|
2374
|
+
# Corresponds to the JSON property `bucket`
|
2375
|
+
# @return [String]
|
2376
|
+
attr_accessor :bucket
|
2377
|
+
|
2378
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
2379
|
+
# latest generation will be used.
|
2380
|
+
# Corresponds to the JSON property `generation`
|
2381
|
+
# @return [Fixnum]
|
2382
|
+
attr_accessor :generation
|
2383
|
+
|
2384
|
+
# Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
|
2385
|
+
# objectnames
|
2386
|
+
# Corresponds to the JSON property `object`
|
2387
|
+
# @return [String]
|
2388
|
+
attr_accessor :object
|
2389
|
+
|
2390
|
+
def initialize(**args)
|
2391
|
+
update!(**args)
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
# Update properties of this object
|
2395
|
+
def update!(**args)
|
2396
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
2397
|
+
@generation = args[:generation] if args.key?(:generation)
|
2398
|
+
@object = args[:object] if args.key?(:object)
|
2399
|
+
end
|
2400
|
+
end
|
2401
|
+
|
2402
|
+
# GitConfig is a configuration for git operations.
|
2403
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
|
2404
|
+
include Google::Apis::Core::Hashable
|
2405
|
+
|
2406
|
+
# HttpConfig is a configuration for HTTP related git operations.
|
2407
|
+
# Corresponds to the JSON property `http`
|
2408
|
+
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig]
|
2409
|
+
attr_accessor :http
|
2410
|
+
|
2411
|
+
def initialize(**args)
|
2412
|
+
update!(**args)
|
2413
|
+
end
|
2414
|
+
|
2415
|
+
# Update properties of this object
|
2416
|
+
def update!(**args)
|
2417
|
+
@http = args[:http] if args.key?(:http)
|
2418
|
+
end
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# HttpConfig is a configuration for HTTP related git operations.
|
2422
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
|
2423
|
+
include Google::Apis::Core::Hashable
|
2424
|
+
|
2425
|
+
# SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
|
2426
|
+
# format protocol://@]proxyhost[:port].
|
2427
|
+
# Corresponds to the JSON property `proxySecretVersionName`
|
2428
|
+
# @return [String]
|
2429
|
+
attr_accessor :proxy_secret_version_name
|
2430
|
+
|
2431
|
+
# Represents a storage location in Cloud Storage
|
2432
|
+
# Corresponds to the JSON property `proxySslCaInfo`
|
2433
|
+
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation]
|
2434
|
+
attr_accessor :proxy_ssl_ca_info
|
2435
|
+
|
2436
|
+
def initialize(**args)
|
2437
|
+
update!(**args)
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
# Update properties of this object
|
2441
|
+
def update!(**args)
|
2442
|
+
@proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
|
2443
|
+
@proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
|
2444
|
+
end
|
2445
|
+
end
|
2446
|
+
|
2316
2447
|
# Location of the source in any accessible Git repository.
|
2317
2448
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
|
2318
2449
|
include Google::Apis::Core::Hashable
|
2319
2450
|
|
2320
|
-
# Directory, relative to the source root, in which to run the build.
|
2321
|
-
# be a relative path. If a step's `dir` is specified and is an
|
2322
|
-
# this value is ignored for that step's execution.
|
2451
|
+
# Optional. Directory, relative to the source root, in which to run the build.
|
2452
|
+
# This must be a relative path. If a step's `dir` is specified and is an
|
2453
|
+
# absolute path, this value is ignored for that step's execution.
|
2323
2454
|
# Corresponds to the JSON property `dir`
|
2324
2455
|
# @return [String]
|
2325
2456
|
attr_accessor :dir
|
2326
2457
|
|
2327
|
-
# The revision to fetch from the Git repository such as a branch, a
|
2328
|
-
# commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the
|
2329
|
-
# from the Git repository; therefore make sure that the string you
|
2330
|
-
# revision` is parsable by the command. For information on string
|
2331
|
-
# accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
|
2458
|
+
# Optional. The revision to fetch from the Git repository such as a branch, a
|
2459
|
+
# tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the
|
2460
|
+
# revision from the Git repository; therefore make sure that the string you
|
2461
|
+
# provide for `revision` is parsable by the command. For information on string
|
2462
|
+
# values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
|
2332
2463
|
# _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
|
2333
2464
|
# docs/git-fetch.
|
2334
2465
|
# Corresponds to the JSON property `revision`
|
2335
2466
|
# @return [String]
|
2336
2467
|
attr_accessor :revision
|
2337
2468
|
|
2338
|
-
# Location of the Git repo to build. This will be used as a `git
|
2339
|
-
# https://git-scm.com/docs/git-remote.
|
2469
|
+
# Required. Location of the Git repo to build. This will be used as a `git
|
2470
|
+
# remote`, see https://git-scm.com/docs/git-remote.
|
2340
2471
|
# Corresponds to the JSON property `url`
|
2341
2472
|
# @return [String]
|
2342
2473
|
attr_accessor :url
|
@@ -2425,31 +2556,32 @@ module Google
|
|
2425
2556
|
# @return [String]
|
2426
2557
|
attr_accessor :commit_sha
|
2427
2558
|
|
2428
|
-
# Directory, relative to the source root, in which to run the build.
|
2429
|
-
# be a relative path. If a step's `dir` is specified and is an
|
2430
|
-
# this value is ignored for that step's execution.
|
2559
|
+
# Optional. Directory, relative to the source root, in which to run the build.
|
2560
|
+
# This must be a relative path. If a step's `dir` is specified and is an
|
2561
|
+
# absolute path, this value is ignored for that step's execution.
|
2431
2562
|
# Corresponds to the JSON property `dir`
|
2432
2563
|
# @return [String]
|
2433
2564
|
attr_accessor :dir
|
2434
2565
|
|
2435
|
-
# Only trigger a build if the revision regex does NOT match the
|
2566
|
+
# Optional. Only trigger a build if the revision regex does NOT match the
|
2567
|
+
# revision regex.
|
2436
2568
|
# Corresponds to the JSON property `invertRegex`
|
2437
2569
|
# @return [Boolean]
|
2438
2570
|
attr_accessor :invert_regex
|
2439
2571
|
alias_method :invert_regex?, :invert_regex
|
2440
2572
|
|
2441
|
-
# ID of the project that owns the Cloud Source Repository. If omitted,
|
2442
|
-
# project ID requesting the build is assumed.
|
2573
|
+
# Optional. ID of the project that owns the Cloud Source Repository. If omitted,
|
2574
|
+
# the project ID requesting the build is assumed.
|
2443
2575
|
# Corresponds to the JSON property `projectId`
|
2444
2576
|
# @return [String]
|
2445
2577
|
attr_accessor :project_id
|
2446
2578
|
|
2447
|
-
# Name of the Cloud Source Repository.
|
2579
|
+
# Required. Name of the Cloud Source Repository.
|
2448
2580
|
# Corresponds to the JSON property `repoName`
|
2449
2581
|
# @return [String]
|
2450
2582
|
attr_accessor :repo_name
|
2451
2583
|
|
2452
|
-
# Substitutions to use in a triggered build. Should only be used with
|
2584
|
+
# Optional. Substitutions to use in a triggered build. Should only be used with
|
2453
2585
|
# RunBuildTrigger
|
2454
2586
|
# Corresponds to the JSON property `substitutions`
|
2455
2587
|
# @return [Hash<String,String>]
|
@@ -2502,7 +2634,8 @@ module Google
|
|
2502
2634
|
# List of build step outputs, produced by builder images, in the order
|
2503
2635
|
# corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
|
2504
2636
|
# cloud-build/docs/cloud-builders) can produce this output by writing to `$
|
2505
|
-
# BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
|
2637
|
+
# BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$
|
2638
|
+
# BUILDER_OUTPUT` variable is read-only and can't be substituted.
|
2506
2639
|
# Corresponds to the JSON property `buildStepOutputs`
|
2507
2640
|
# @return [Array<String>]
|
2508
2641
|
attr_accessor :build_step_outputs
|
@@ -2644,6 +2777,11 @@ module Google
|
|
2644
2777
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository]
|
2645
2778
|
attr_accessor :connected_repository
|
2646
2779
|
|
2780
|
+
# This config defines the location of a source through Developer Connect.
|
2781
|
+
# Corresponds to the JSON property `developerConnectConfig`
|
2782
|
+
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig]
|
2783
|
+
attr_accessor :developer_connect_config
|
2784
|
+
|
2647
2785
|
# Location of the source in any accessible Git repository.
|
2648
2786
|
# Corresponds to the JSON property `gitSource`
|
2649
2787
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
|
@@ -2673,6 +2811,7 @@ module Google
|
|
2673
2811
|
# Update properties of this object
|
2674
2812
|
def update!(**args)
|
2675
2813
|
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
2814
|
+
@developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
|
2676
2815
|
@git_source = args[:git_source] if args.key?(:git_source)
|
2677
2816
|
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
2678
2817
|
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
@@ -2748,14 +2887,14 @@ module Google
|
|
2748
2887
|
# @return [String]
|
2749
2888
|
attr_accessor :bucket
|
2750
2889
|
|
2751
|
-
# Cloud Storage generation for the object. If the generation is
|
2752
|
-
# latest generation will be used.
|
2890
|
+
# Optional. Cloud Storage generation for the object. If the generation is
|
2891
|
+
# omitted, the latest generation will be used.
|
2753
2892
|
# Corresponds to the JSON property `generation`
|
2754
2893
|
# @return [Fixnum]
|
2755
2894
|
attr_accessor :generation
|
2756
2895
|
|
2757
|
-
# Cloud Storage object containing the source. This object must be a
|
2758
|
-
# zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
2896
|
+
# Required. Cloud Storage object containing the source. This object must be a
|
2897
|
+
# zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
2759
2898
|
# Corresponds to the JSON property `object`
|
2760
2899
|
# @return [String]
|
2761
2900
|
attr_accessor :object
|
@@ -2784,9 +2923,9 @@ module Google
|
|
2784
2923
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest
|
2785
2924
|
include Google::Apis::Core::Hashable
|
2786
2925
|
|
2787
|
-
# Cloud Storage bucket containing the source manifest (see [Bucket
|
2788
|
-
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#
|
2789
|
-
# ).
|
2926
|
+
# Required. Cloud Storage bucket containing the source manifest (see [Bucket
|
2927
|
+
# Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
|
2928
|
+
# requirements)).
|
2790
2929
|
# Corresponds to the JSON property `bucket`
|
2791
2930
|
# @return [String]
|
2792
2931
|
attr_accessor :bucket
|
@@ -2797,8 +2936,8 @@ module Google
|
|
2797
2936
|
# @return [Fixnum]
|
2798
2937
|
attr_accessor :generation
|
2799
2938
|
|
2800
|
-
# Cloud Storage object containing the source manifest. This object
|
2801
|
-
# JSON file.
|
2939
|
+
# Required. Cloud Storage object containing the source manifest. This object
|
2940
|
+
# must be a JSON file.
|
2802
2941
|
# Corresponds to the JSON property `object`
|
2803
2942
|
# @return [String]
|
2804
2943
|
attr_accessor :object
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240516"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -292,12 +292,36 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
295
301
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
303
|
|
298
304
|
include Google::Apis::Core::JsonObjectSupport
|
299
305
|
end
|
300
306
|
|
307
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
301
325
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
|
302
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
327
|
|
@@ -1296,6 +1320,7 @@ module Google
|
|
1296
1320
|
property :cis_benchmark, as: 'cisBenchmark', class: Google::Apis::ContaineranalysisV1::CisBenchmark, decorator: Google::Apis::ContaineranalysisV1::CisBenchmark::Representation
|
1297
1321
|
|
1298
1322
|
property :description, as: 'description'
|
1323
|
+
property :impact, as: 'impact'
|
1299
1324
|
property :rationale, as: 'rationale'
|
1300
1325
|
property :remediation, as: 'remediation'
|
1301
1326
|
property :scan_instructions, :base64 => true, as: 'scanInstructions'
|
@@ -1311,6 +1336,8 @@ module Google
|
|
1311
1336
|
property :non_compliance_reason, as: 'nonComplianceReason'
|
1312
1337
|
collection :non_compliant_files, as: 'nonCompliantFiles', class: Google::Apis::ContaineranalysisV1::NonCompliantFile, decorator: Google::Apis::ContaineranalysisV1::NonCompliantFile::Representation
|
1313
1338
|
|
1339
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::ComplianceVersion, decorator: Google::Apis::ContaineranalysisV1::ComplianceVersion::Representation
|
1340
|
+
|
1314
1341
|
end
|
1315
1342
|
end
|
1316
1343
|
|
@@ -1407,6 +1434,8 @@ module Google
|
|
1407
1434
|
property :failure_info, as: 'failureInfo', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo::Representation
|
1408
1435
|
|
1409
1436
|
property :finish_time, as: 'finishTime'
|
1437
|
+
property :git_config, as: 'gitConfig', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig::Representation
|
1438
|
+
|
1410
1439
|
property :id, as: 'id'
|
1411
1440
|
collection :images, as: 'images'
|
1412
1441
|
property :log_url, as: 'logUrl'
|
@@ -1543,6 +1572,15 @@ module Google
|
|
1543
1572
|
end
|
1544
1573
|
end
|
1545
1574
|
|
1575
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
|
1576
|
+
# @private
|
1577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1578
|
+
property :dir, as: 'dir'
|
1579
|
+
property :git_repository_link, as: 'gitRepositoryLink'
|
1580
|
+
property :revision, as: 'revision'
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1546
1584
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
|
1547
1585
|
# @private
|
1548
1586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1551,6 +1589,32 @@ module Google
|
|
1551
1589
|
end
|
1552
1590
|
end
|
1553
1591
|
|
1592
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation
|
1593
|
+
# @private
|
1594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1595
|
+
property :bucket, as: 'bucket'
|
1596
|
+
property :generation, :numeric_string => true, as: 'generation'
|
1597
|
+
property :object, as: 'object'
|
1598
|
+
end
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
|
1602
|
+
# @private
|
1603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1604
|
+
property :http, as: 'http', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig::Representation
|
1605
|
+
|
1606
|
+
end
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
|
1610
|
+
# @private
|
1611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1612
|
+
property :proxy_secret_version_name, as: 'proxySecretVersionName'
|
1613
|
+
property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation::Representation
|
1614
|
+
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
|
1554
1618
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
|
1555
1619
|
# @private
|
1556
1620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1641,6 +1705,8 @@ module Google
|
|
1641
1705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1642
1706
|
property :connected_repository, as: 'connectedRepository', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
|
1643
1707
|
|
1708
|
+
property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig::Representation
|
1709
|
+
|
1644
1710
|
property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
|
1645
1711
|
|
1646
1712
|
property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
|
@@ -55,6 +55,292 @@ module Google
|
|
55
55
|
@batch_path = 'batch'
|
56
56
|
end
|
57
57
|
|
58
|
+
# Gets the specified note.
|
59
|
+
# @param [String] name
|
60
|
+
# Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[
|
61
|
+
# NOTE_ID]`.
|
62
|
+
# @param [String] fields
|
63
|
+
# Selector specifying which fields to include in a partial response.
|
64
|
+
# @param [String] quota_user
|
65
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
66
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
|
+
# @param [Google::Apis::RequestOptions] options
|
68
|
+
# Request-specific options
|
69
|
+
#
|
70
|
+
# @yield [result, err] Result & error if block supplied
|
71
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::Note] parsed result object
|
72
|
+
# @yieldparam err [StandardError] error object if request failed
|
73
|
+
#
|
74
|
+
# @return [Google::Apis::ContaineranalysisV1::Note]
|
75
|
+
#
|
76
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
+
def get_project_location_note(name, fields: nil, quota_user: nil, options: nil, &block)
|
80
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
81
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::Note::Representation
|
82
|
+
command.response_class = Google::Apis::ContaineranalysisV1::Note
|
83
|
+
command.params['name'] = name unless name.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
89
|
+
# Lists notes for the specified project.
|
90
|
+
# @param [String] parent
|
91
|
+
# Required. The name of the project to list notes for in the form of `projects/[
|
92
|
+
# PROJECT_ID]`.
|
93
|
+
# @param [String] filter
|
94
|
+
# The filter expression.
|
95
|
+
# @param [Fixnum] page_size
|
96
|
+
# Number of notes to return in the list. Must be positive. Max allowed page size
|
97
|
+
# is 1000. If not specified, page size defaults to 20.
|
98
|
+
# @param [String] page_token
|
99
|
+
# Token to provide to skip to a particular spot in the list.
|
100
|
+
# @param [String] fields
|
101
|
+
# Selector specifying which fields to include in a partial response.
|
102
|
+
# @param [String] quota_user
|
103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
105
|
+
# @param [Google::Apis::RequestOptions] options
|
106
|
+
# Request-specific options
|
107
|
+
#
|
108
|
+
# @yield [result, err] Result & error if block supplied
|
109
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::ListNotesResponse] parsed result object
|
110
|
+
# @yieldparam err [StandardError] error object if request failed
|
111
|
+
#
|
112
|
+
# @return [Google::Apis::ContaineranalysisV1::ListNotesResponse]
|
113
|
+
#
|
114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
+
def list_project_location_notes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
command = make_simple_command(:get, 'v1/{+parent}/notes', options)
|
119
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::ListNotesResponse::Representation
|
120
|
+
command.response_class = Google::Apis::ContaineranalysisV1::ListNotesResponse
|
121
|
+
command.params['parent'] = parent unless parent.nil?
|
122
|
+
command.query['filter'] = filter unless filter.nil?
|
123
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
124
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
125
|
+
command.query['fields'] = fields unless fields.nil?
|
126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
127
|
+
execute_or_queue_command(command, &block)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Lists occurrences referencing the specified note. Provider projects can use
|
131
|
+
# this method to get all occurrences across consumer projects referencing the
|
132
|
+
# specified note.
|
133
|
+
# @param [String] name
|
134
|
+
# Required. The name of the note to list occurrences for in the form of `
|
135
|
+
# projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
|
136
|
+
# @param [String] filter
|
137
|
+
# The filter expression.
|
138
|
+
# @param [Fixnum] page_size
|
139
|
+
# Number of occurrences to return in the list.
|
140
|
+
# @param [String] page_token
|
141
|
+
# Token to provide to skip to a particular spot in the list.
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
144
|
+
# @param [String] quota_user
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
147
|
+
# @param [Google::Apis::RequestOptions] options
|
148
|
+
# Request-specific options
|
149
|
+
#
|
150
|
+
# @yield [result, err] Result & error if block supplied
|
151
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::ListNoteOccurrencesResponse] parsed result object
|
152
|
+
# @yieldparam err [StandardError] error object if request failed
|
153
|
+
#
|
154
|
+
# @return [Google::Apis::ContaineranalysisV1::ListNoteOccurrencesResponse]
|
155
|
+
#
|
156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
159
|
+
def list_project_location_note_occurrences(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
160
|
+
command = make_simple_command(:get, 'v1/{+name}/occurrences', options)
|
161
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::ListNoteOccurrencesResponse::Representation
|
162
|
+
command.response_class = Google::Apis::ContaineranalysisV1::ListNoteOccurrencesResponse
|
163
|
+
command.params['name'] = name unless name.nil?
|
164
|
+
command.query['filter'] = filter unless filter.nil?
|
165
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
166
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
167
|
+
command.query['fields'] = fields unless fields.nil?
|
168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
169
|
+
execute_or_queue_command(command, &block)
|
170
|
+
end
|
171
|
+
|
172
|
+
# Gets the specified occurrence.
|
173
|
+
# @param [String] name
|
174
|
+
# Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/
|
175
|
+
# occurrences/[OCCURRENCE_ID]`.
|
176
|
+
# @param [String] fields
|
177
|
+
# Selector specifying which fields to include in a partial response.
|
178
|
+
# @param [String] quota_user
|
179
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
180
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
181
|
+
# @param [Google::Apis::RequestOptions] options
|
182
|
+
# Request-specific options
|
183
|
+
#
|
184
|
+
# @yield [result, err] Result & error if block supplied
|
185
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::Occurrence] parsed result object
|
186
|
+
# @yieldparam err [StandardError] error object if request failed
|
187
|
+
#
|
188
|
+
# @return [Google::Apis::ContaineranalysisV1::Occurrence]
|
189
|
+
#
|
190
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
191
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
192
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
193
|
+
def get_project_location_occurrence(name, fields: nil, quota_user: nil, options: nil, &block)
|
194
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
195
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::Occurrence::Representation
|
196
|
+
command.response_class = Google::Apis::ContaineranalysisV1::Occurrence
|
197
|
+
command.params['name'] = name unless name.nil?
|
198
|
+
command.query['fields'] = fields unless fields.nil?
|
199
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
|
+
execute_or_queue_command(command, &block)
|
201
|
+
end
|
202
|
+
|
203
|
+
# Gets the note attached to the specified occurrence. Consumer projects can use
|
204
|
+
# this method to get a note that belongs to a provider project.
|
205
|
+
# @param [String] name
|
206
|
+
# Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/
|
207
|
+
# occurrences/[OCCURRENCE_ID]`.
|
208
|
+
# @param [String] fields
|
209
|
+
# Selector specifying which fields to include in a partial response.
|
210
|
+
# @param [String] quota_user
|
211
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
212
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
213
|
+
# @param [Google::Apis::RequestOptions] options
|
214
|
+
# Request-specific options
|
215
|
+
#
|
216
|
+
# @yield [result, err] Result & error if block supplied
|
217
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::Note] parsed result object
|
218
|
+
# @yieldparam err [StandardError] error object if request failed
|
219
|
+
#
|
220
|
+
# @return [Google::Apis::ContaineranalysisV1::Note]
|
221
|
+
#
|
222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
225
|
+
def get_project_location_occurrence_notes(name, fields: nil, quota_user: nil, options: nil, &block)
|
226
|
+
command = make_simple_command(:get, 'v1/{+name}/notes', options)
|
227
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::Note::Representation
|
228
|
+
command.response_class = Google::Apis::ContaineranalysisV1::Note
|
229
|
+
command.params['name'] = name unless name.nil?
|
230
|
+
command.query['fields'] = fields unless fields.nil?
|
231
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
232
|
+
execute_or_queue_command(command, &block)
|
233
|
+
end
|
234
|
+
|
235
|
+
# Gets a summary of the number and severity of occurrences.
|
236
|
+
# @param [String] parent
|
237
|
+
# Required. The name of the project to get a vulnerability summary for in the
|
238
|
+
# form of `projects/[PROJECT_ID]`.
|
239
|
+
# @param [String] filter
|
240
|
+
# The filter expression.
|
241
|
+
# @param [String] fields
|
242
|
+
# Selector specifying which fields to include in a partial response.
|
243
|
+
# @param [String] quota_user
|
244
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
245
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
246
|
+
# @param [Google::Apis::RequestOptions] options
|
247
|
+
# Request-specific options
|
248
|
+
#
|
249
|
+
# @yield [result, err] Result & error if block supplied
|
250
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary] parsed result object
|
251
|
+
# @yieldparam err [StandardError] error object if request failed
|
252
|
+
#
|
253
|
+
# @return [Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary]
|
254
|
+
#
|
255
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
256
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
257
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
258
|
+
def get_project_location_occurrence_vulnerability_summary(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
259
|
+
command = make_simple_command(:get, 'v1/{+parent}/occurrences:vulnerabilitySummary', options)
|
260
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary::Representation
|
261
|
+
command.response_class = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary
|
262
|
+
command.params['parent'] = parent unless parent.nil?
|
263
|
+
command.query['filter'] = filter unless filter.nil?
|
264
|
+
command.query['fields'] = fields unless fields.nil?
|
265
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
266
|
+
execute_or_queue_command(command, &block)
|
267
|
+
end
|
268
|
+
|
269
|
+
# Lists occurrences for the specified project.
|
270
|
+
# @param [String] parent
|
271
|
+
# Required. The name of the project to list occurrences for in the form of `
|
272
|
+
# projects/[PROJECT_ID]`.
|
273
|
+
# @param [String] filter
|
274
|
+
# The filter expression.
|
275
|
+
# @param [Fixnum] page_size
|
276
|
+
# Number of occurrences to return in the list. Must be positive. Max allowed
|
277
|
+
# page size is 1000. If not specified, page size defaults to 20.
|
278
|
+
# @param [String] page_token
|
279
|
+
# Token to provide to skip to a particular spot in the list.
|
280
|
+
# @param [String] fields
|
281
|
+
# Selector specifying which fields to include in a partial response.
|
282
|
+
# @param [String] quota_user
|
283
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
284
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
285
|
+
# @param [Google::Apis::RequestOptions] options
|
286
|
+
# Request-specific options
|
287
|
+
#
|
288
|
+
# @yield [result, err] Result & error if block supplied
|
289
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::ListOccurrencesResponse] parsed result object
|
290
|
+
# @yieldparam err [StandardError] error object if request failed
|
291
|
+
#
|
292
|
+
# @return [Google::Apis::ContaineranalysisV1::ListOccurrencesResponse]
|
293
|
+
#
|
294
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
295
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
296
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
297
|
+
def list_project_location_occurrences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
298
|
+
command = make_simple_command(:get, 'v1/{+parent}/occurrences', options)
|
299
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse::Representation
|
300
|
+
command.response_class = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse
|
301
|
+
command.params['parent'] = parent unless parent.nil?
|
302
|
+
command.query['filter'] = filter unless filter.nil?
|
303
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
304
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
305
|
+
command.query['fields'] = fields unless fields.nil?
|
306
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
307
|
+
execute_or_queue_command(command, &block)
|
308
|
+
end
|
309
|
+
|
310
|
+
# Generates an SBOM for the given resource.
|
311
|
+
# @param [String] name
|
312
|
+
# Required. The name of the resource in the form of `projects/[PROJECT_ID]/
|
313
|
+
# resources/[RESOURCE_URL]`.
|
314
|
+
# @param [Google::Apis::ContaineranalysisV1::ExportSbomRequest] export_sbom_request_object
|
315
|
+
# @param [String] fields
|
316
|
+
# Selector specifying which fields to include in a partial response.
|
317
|
+
# @param [String] quota_user
|
318
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
319
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
320
|
+
# @param [Google::Apis::RequestOptions] options
|
321
|
+
# Request-specific options
|
322
|
+
#
|
323
|
+
# @yield [result, err] Result & error if block supplied
|
324
|
+
# @yieldparam result [Google::Apis::ContaineranalysisV1::ExportSbomResponse] parsed result object
|
325
|
+
# @yieldparam err [StandardError] error object if request failed
|
326
|
+
#
|
327
|
+
# @return [Google::Apis::ContaineranalysisV1::ExportSbomResponse]
|
328
|
+
#
|
329
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
330
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
331
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
332
|
+
def export_project_location_resource_sbom(name, export_sbom_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
333
|
+
command = make_simple_command(:post, 'v1/{+name}:exportSBOM', options)
|
334
|
+
command.request_representation = Google::Apis::ContaineranalysisV1::ExportSbomRequest::Representation
|
335
|
+
command.request_object = export_sbom_request_object
|
336
|
+
command.response_representation = Google::Apis::ContaineranalysisV1::ExportSbomResponse::Representation
|
337
|
+
command.response_class = Google::Apis::ContaineranalysisV1::ExportSbomResponse
|
338
|
+
command.params['name'] = name unless name.nil?
|
339
|
+
command.query['fields'] = fields unless fields.nil?
|
340
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
341
|
+
execute_or_queue_command(command, &block)
|
342
|
+
end
|
343
|
+
|
58
344
|
# Creates new notes in batch.
|
59
345
|
# @param [String] parent
|
60
346
|
# Required. The name of the project in the form of `projects/[PROJECT_ID]`,
|
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.
|
4
|
+
version: 0.50.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-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.50.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: []
|