google-apis-containeranalysis_v1beta1 0.54.0 → 0.56.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: 1f672e0b5dbca0056b7642935c318fc101797940c8299e059a755a2c179e5b4f
4
- data.tar.gz: e37b31a065e7e47083ae3df2edf092a16adbe0f53ca342ecb5358efa2848283a
3
+ metadata.gz: db9053f98b1557e9570ea3daea23f108e54b45163d440ca453653ccbbdb825b3
4
+ data.tar.gz: 17ce639f065a41de423c3e9ec1de08803b96af130c1ac67df313ddd2c0099fd5
5
5
  SHA512:
6
- metadata.gz: 4a5a80ce2188b6d0bdf84ffbc9c0c96da0960bd169084ae366e1f5d7740d0266b0201000f797c9a82864523378f138f7904faa0ab01e7d67ba41345f8e4f9a70
7
- data.tar.gz: 6c7d40e2d61c39a832381e40993497b85053a3b9b7fbfd18c298491632935b61c90679c44d35b8752857fc3f3eb5a17276d131e3516b25b1ef0b5fa60c12238e
6
+ metadata.gz: 8f6a0ceca07dbab3103e7c91904a3ef8c1abd80c6b4fea9c9e59d87bd1839ea8a51a5c12b15e3b8318d07c7a4f7633a411ec15babaacd4d51b2805f762660c92
7
+ data.tar.gz: 9ff02a9564a6d7aa572eed8701f4f7b7c11d876c6d577b0f08a453be00287fc6c0f69d22817de68b27d6e14ed6e18106dd6fa6a91c0e1b4bd85cacc3a9084f5c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.56.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240516
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.55.0 (2024-03-10)
9
+
10
+ * Regenerated from discovery document revision 20240301
11
+
3
12
  ### v0.54.0 (2024-02-23)
4
13
 
5
14
  * Regenerated using generator version 0.14.0
@@ -1498,6 +1498,11 @@ module Google
1498
1498
  # @return [String]
1499
1499
  attr_accessor :finish_time
1500
1500
 
1501
+ # GitConfig is a configuration for git operations.
1502
+ # Corresponds to the JSON property `gitConfig`
1503
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig]
1504
+ attr_accessor :git_config
1505
+
1501
1506
  # Output only. Unique identifier of the build.
1502
1507
  # Corresponds to the JSON property `id`
1503
1508
  # @return [String]
@@ -1645,6 +1650,7 @@ module Google
1645
1650
  @create_time = args[:create_time] if args.key?(:create_time)
1646
1651
  @failure_info = args[:failure_info] if args.key?(:failure_info)
1647
1652
  @finish_time = args[:finish_time] if args.key?(:finish_time)
1653
+ @git_config = args[:git_config] if args.key?(:git_config)
1648
1654
  @id = args[:id] if args.key?(:id)
1649
1655
  @images = args[:images] if args.key?(:images)
1650
1656
  @log_url = args[:log_url] if args.key?(:log_url)
@@ -2107,7 +2113,7 @@ module Google
2107
2113
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository
2108
2114
  include Google::Apis::Core::Hashable
2109
2115
 
2110
- # Directory, relative to the source root, in which to run the build.
2116
+ # Optional. Directory, relative to the source root, in which to run the build.
2111
2117
  # Corresponds to the JSON property `dir`
2112
2118
  # @return [String]
2113
2119
  attr_accessor :dir
@@ -2118,8 +2124,8 @@ module Google
2118
2124
  # @return [String]
2119
2125
  attr_accessor :repository
2120
2126
 
2121
- # The revision to fetch from the Git repository such as a branch, a tag, a
2122
- # commit SHA, or any Git ref.
2127
+ # Required. The revision to fetch from the Git repository such as a branch, a
2128
+ # tag, a commit SHA, or any Git ref.
2123
2129
  # Corresponds to the JSON property `revision`
2124
2130
  # @return [String]
2125
2131
  attr_accessor :revision
@@ -2136,6 +2142,39 @@ module Google
2136
2142
  end
2137
2143
  end
2138
2144
 
2145
+ # This config defines the location of a source through Developer Connect.
2146
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
2147
+ include Google::Apis::Core::Hashable
2148
+
2149
+ # Required. Directory, relative to the source root, in which to run the build.
2150
+ # Corresponds to the JSON property `dir`
2151
+ # @return [String]
2152
+ attr_accessor :dir
2153
+
2154
+ # Required. The Developer Connect Git repository link, formatted as `projects/*/
2155
+ # locations/*/connections/*/gitRepositoryLink/*`.
2156
+ # Corresponds to the JSON property `gitRepositoryLink`
2157
+ # @return [String]
2158
+ attr_accessor :git_repository_link
2159
+
2160
+ # Required. The revision to fetch from the Git repository such as a branch, a
2161
+ # tag, a commit SHA, or any Git ref.
2162
+ # Corresponds to the JSON property `revision`
2163
+ # @return [String]
2164
+ attr_accessor :revision
2165
+
2166
+ def initialize(**args)
2167
+ update!(**args)
2168
+ end
2169
+
2170
+ # Update properties of this object
2171
+ def update!(**args)
2172
+ @dir = args[:dir] if args.key?(:dir)
2173
+ @git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
2174
+ @revision = args[:revision] if args.key?(:revision)
2175
+ end
2176
+ end
2177
+
2139
2178
  # Container message for hashes of byte content of files, used in
2140
2179
  # SourceProvenance messages to verify integrity of source input to the build.
2141
2180
  class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
@@ -2156,30 +2195,109 @@ module Google
2156
2195
  end
2157
2196
  end
2158
2197
 
2198
+ # Represents a storage location in Cloud Storage
2199
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation
2200
+ include Google::Apis::Core::Hashable
2201
+
2202
+ # Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
2203
+ # requirements
2204
+ # Corresponds to the JSON property `bucket`
2205
+ # @return [String]
2206
+ attr_accessor :bucket
2207
+
2208
+ # Cloud Storage generation for the object. If the generation is omitted, the
2209
+ # latest generation will be used.
2210
+ # Corresponds to the JSON property `generation`
2211
+ # @return [Fixnum]
2212
+ attr_accessor :generation
2213
+
2214
+ # Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
2215
+ # objectnames
2216
+ # Corresponds to the JSON property `object`
2217
+ # @return [String]
2218
+ attr_accessor :object
2219
+
2220
+ def initialize(**args)
2221
+ update!(**args)
2222
+ end
2223
+
2224
+ # Update properties of this object
2225
+ def update!(**args)
2226
+ @bucket = args[:bucket] if args.key?(:bucket)
2227
+ @generation = args[:generation] if args.key?(:generation)
2228
+ @object = args[:object] if args.key?(:object)
2229
+ end
2230
+ end
2231
+
2232
+ # GitConfig is a configuration for git operations.
2233
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
2234
+ include Google::Apis::Core::Hashable
2235
+
2236
+ # HttpConfig is a configuration for HTTP related git operations.
2237
+ # Corresponds to the JSON property `http`
2238
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig]
2239
+ attr_accessor :http
2240
+
2241
+ def initialize(**args)
2242
+ update!(**args)
2243
+ end
2244
+
2245
+ # Update properties of this object
2246
+ def update!(**args)
2247
+ @http = args[:http] if args.key?(:http)
2248
+ end
2249
+ end
2250
+
2251
+ # HttpConfig is a configuration for HTTP related git operations.
2252
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
2253
+ include Google::Apis::Core::Hashable
2254
+
2255
+ # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
2256
+ # format protocol://@]proxyhost[:port].
2257
+ # Corresponds to the JSON property `proxySecretVersionName`
2258
+ # @return [String]
2259
+ attr_accessor :proxy_secret_version_name
2260
+
2261
+ # Represents a storage location in Cloud Storage
2262
+ # Corresponds to the JSON property `proxySslCaInfo`
2263
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation]
2264
+ attr_accessor :proxy_ssl_ca_info
2265
+
2266
+ def initialize(**args)
2267
+ update!(**args)
2268
+ end
2269
+
2270
+ # Update properties of this object
2271
+ def update!(**args)
2272
+ @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
2273
+ @proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
2274
+ end
2275
+ end
2276
+
2159
2277
  # Location of the source in any accessible Git repository.
2160
2278
  class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
2161
2279
  include Google::Apis::Core::Hashable
2162
2280
 
2163
- # Directory, relative to the source root, in which to run the build. This must
2164
- # be a relative path. If a step's `dir` is specified and is an absolute path,
2165
- # this value is ignored for that step's execution.
2281
+ # Optional. Directory, relative to the source root, in which to run the build.
2282
+ # This must be a relative path. If a step's `dir` is specified and is an
2283
+ # absolute path, this value is ignored for that step's execution.
2166
2284
  # Corresponds to the JSON property `dir`
2167
2285
  # @return [String]
2168
2286
  attr_accessor :dir
2169
2287
 
2170
- # The revision to fetch from the Git repository such as a branch, a tag, a
2171
- # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2172
- # from the Git repository; therefore make sure that the string you provide for `
2173
- # revision` is parsable by the command. For information on string values
2174
- # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2288
+ # Optional. The revision to fetch from the Git repository such as a branch, a
2289
+ # tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the
2290
+ # revision from the Git repository; therefore make sure that the string you
2291
+ # provide for `revision` is parsable by the command. For information on string
2292
+ # values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2175
2293
  # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2176
2294
  # docs/git-fetch.
2177
2295
  # Corresponds to the JSON property `revision`
2178
2296
  # @return [String]
2179
2297
  attr_accessor :revision
2180
2298
 
2181
- # Location of the Git repo to build. This will be used as a `git remote`, see
2182
- # https://git-scm.com/docs/git-remote.
2299
+ # Required. Location of the Git repo to build. This will be used as a `git
2300
+ # remote`, see https://git-scm.com/docs/git-remote.
2183
2301
  # Corresponds to the JSON property `url`
2184
2302
  # @return [String]
2185
2303
  attr_accessor :url
@@ -2268,31 +2386,32 @@ module Google
2268
2386
  # @return [String]
2269
2387
  attr_accessor :commit_sha
2270
2388
 
2271
- # Directory, relative to the source root, in which to run the build. This must
2272
- # be a relative path. If a step's `dir` is specified and is an absolute path,
2273
- # this value is ignored for that step's execution.
2389
+ # Optional. Directory, relative to the source root, in which to run the build.
2390
+ # This must be a relative path. If a step's `dir` is specified and is an
2391
+ # absolute path, this value is ignored for that step's execution.
2274
2392
  # Corresponds to the JSON property `dir`
2275
2393
  # @return [String]
2276
2394
  attr_accessor :dir
2277
2395
 
2278
- # Only trigger a build if the revision regex does NOT match the revision regex.
2396
+ # Optional. Only trigger a build if the revision regex does NOT match the
2397
+ # revision regex.
2279
2398
  # Corresponds to the JSON property `invertRegex`
2280
2399
  # @return [Boolean]
2281
2400
  attr_accessor :invert_regex
2282
2401
  alias_method :invert_regex?, :invert_regex
2283
2402
 
2284
- # ID of the project that owns the Cloud Source Repository. If omitted, the
2285
- # project ID requesting the build is assumed.
2403
+ # Optional. ID of the project that owns the Cloud Source Repository. If omitted,
2404
+ # the project ID requesting the build is assumed.
2286
2405
  # Corresponds to the JSON property `projectId`
2287
2406
  # @return [String]
2288
2407
  attr_accessor :project_id
2289
2408
 
2290
- # Name of the Cloud Source Repository.
2409
+ # Required. Name of the Cloud Source Repository.
2291
2410
  # Corresponds to the JSON property `repoName`
2292
2411
  # @return [String]
2293
2412
  attr_accessor :repo_name
2294
2413
 
2295
- # Substitutions to use in a triggered build. Should only be used with
2414
+ # Optional. Substitutions to use in a triggered build. Should only be used with
2296
2415
  # RunBuildTrigger
2297
2416
  # Corresponds to the JSON property `substitutions`
2298
2417
  # @return [Hash<String,String>]
@@ -2345,7 +2464,8 @@ module Google
2345
2464
  # List of build step outputs, produced by builder images, in the order
2346
2465
  # corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
2347
2466
  # cloud-build/docs/cloud-builders) can produce this output by writing to `$
2348
- # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
2467
+ # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$
2468
+ # BUILDER_OUTPUT` variable is read-only and can't be substituted.
2349
2469
  # Corresponds to the JSON property `buildStepOutputs`
2350
2470
  # @return [Array<String>]
2351
2471
  attr_accessor :build_step_outputs
@@ -2487,6 +2607,11 @@ module Google
2487
2607
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository]
2488
2608
  attr_accessor :connected_repository
2489
2609
 
2610
+ # This config defines the location of a source through Developer Connect.
2611
+ # Corresponds to the JSON property `developerConnectConfig`
2612
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig]
2613
+ attr_accessor :developer_connect_config
2614
+
2490
2615
  # Location of the source in any accessible Git repository.
2491
2616
  # Corresponds to the JSON property `gitSource`
2492
2617
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
@@ -2516,6 +2641,7 @@ module Google
2516
2641
  # Update properties of this object
2517
2642
  def update!(**args)
2518
2643
  @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
2644
+ @developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
2519
2645
  @git_source = args[:git_source] if args.key?(:git_source)
2520
2646
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2521
2647
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -2591,14 +2717,14 @@ module Google
2591
2717
  # @return [String]
2592
2718
  attr_accessor :bucket
2593
2719
 
2594
- # Cloud Storage generation for the object. If the generation is omitted, the
2595
- # latest generation will be used.
2720
+ # Optional. Cloud Storage generation for the object. If the generation is
2721
+ # omitted, the latest generation will be used.
2596
2722
  # Corresponds to the JSON property `generation`
2597
2723
  # @return [Fixnum]
2598
2724
  attr_accessor :generation
2599
2725
 
2600
- # Cloud Storage object containing the source. This object must be a zipped (`.
2601
- # zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2726
+ # Required. Cloud Storage object containing the source. This object must be a
2727
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2602
2728
  # Corresponds to the JSON property `object`
2603
2729
  # @return [String]
2604
2730
  attr_accessor :object
@@ -2627,9 +2753,9 @@ module Google
2627
2753
  class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest
2628
2754
  include Google::Apis::Core::Hashable
2629
2755
 
2630
- # Cloud Storage bucket containing the source manifest (see [Bucket Name
2631
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
2632
- # ).
2756
+ # Required. Cloud Storage bucket containing the source manifest (see [Bucket
2757
+ # Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
2758
+ # requirements)).
2633
2759
  # Corresponds to the JSON property `bucket`
2634
2760
  # @return [String]
2635
2761
  attr_accessor :bucket
@@ -2640,8 +2766,8 @@ module Google
2640
2766
  # @return [Fixnum]
2641
2767
  attr_accessor :generation
2642
2768
 
2643
- # Cloud Storage object containing the source manifest. This object must be a
2644
- # JSON file.
2769
+ # Required. Cloud Storage object containing the source manifest. This object
2770
+ # must be a JSON file.
2645
2771
  # Corresponds to the JSON property `object`
2646
2772
  # @return [String]
2647
2773
  attr_accessor :object
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240209"
25
+ REVISION = "20240516"
26
26
  end
27
27
  end
28
28
  end
@@ -268,12 +268,36 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
277
301
  class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
278
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
303
 
@@ -1338,6 +1362,8 @@ module Google
1338
1362
  property :failure_info, as: 'failureInfo', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo::Representation
1339
1363
 
1340
1364
  property :finish_time, as: 'finishTime'
1365
+ property :git_config, as: 'gitConfig', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig::Representation
1366
+
1341
1367
  property :id, as: 'id'
1342
1368
  collection :images, as: 'images'
1343
1369
  property :log_url, as: 'logUrl'
@@ -1474,6 +1500,15 @@ module Google
1474
1500
  end
1475
1501
  end
1476
1502
 
1503
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
1504
+ # @private
1505
+ class Representation < Google::Apis::Core::JsonRepresentation
1506
+ property :dir, as: 'dir'
1507
+ property :git_repository_link, as: 'gitRepositoryLink'
1508
+ property :revision, as: 'revision'
1509
+ end
1510
+ end
1511
+
1477
1512
  class ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes
1478
1513
  # @private
1479
1514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1482,6 +1517,32 @@ module Google
1482
1517
  end
1483
1518
  end
1484
1519
 
1520
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation
1521
+ # @private
1522
+ class Representation < Google::Apis::Core::JsonRepresentation
1523
+ property :bucket, as: 'bucket'
1524
+ property :generation, :numeric_string => true, as: 'generation'
1525
+ property :object, as: 'object'
1526
+ end
1527
+ end
1528
+
1529
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig
1530
+ # @private
1531
+ class Representation < Google::Apis::Core::JsonRepresentation
1532
+ property :http, as: 'http', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig::Representation
1533
+
1534
+ end
1535
+ end
1536
+
1537
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig
1538
+ # @private
1539
+ class Representation < Google::Apis::Core::JsonRepresentation
1540
+ property :proxy_secret_version_name, as: 'proxySecretVersionName'
1541
+ property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GcsLocation::Representation
1542
+
1543
+ end
1544
+ end
1545
+
1485
1546
  class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
1486
1547
  # @private
1487
1548
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1572,6 +1633,8 @@ module Google
1572
1633
  class Representation < Google::Apis::Core::JsonRepresentation
1573
1634
  property :connected_repository, as: 'connectedRepository', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
1574
1635
 
1636
+ property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig::Representation
1637
+
1575
1638
  property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1576
1639
 
1577
1640
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
@@ -55,6 +55,326 @@ 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::ContaineranalysisV1beta1::Note] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+name}', options)
81
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
82
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::ListNotesResponse] parsed result object
110
+ # @yieldparam err [StandardError] error object if request failed
111
+ #
112
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+parent}/notes', options)
119
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse::Representation
120
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::ListNoteOccurrencesResponse] parsed result object
152
+ # @yieldparam err [StandardError] error object if request failed
153
+ #
154
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+name}/occurrences', options)
161
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNoteOccurrencesResponse::Representation
162
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::Occurrence] parsed result object
186
+ # @yieldparam err [StandardError] error object if request failed
187
+ #
188
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+name}', options)
195
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
196
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::Note] parsed result object
218
+ # @yieldparam err [StandardError] error object if request failed
219
+ #
220
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+name}/notes', options)
227
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
228
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary] parsed result object
251
+ # @yieldparam err [StandardError] error object if request failed
252
+ #
253
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
260
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary::Representation
261
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::ListOccurrencesResponse] parsed result object
290
+ # @yieldparam err [StandardError] error object if request failed
291
+ #
292
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+parent}/occurrences', options)
299
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse::Representation
300
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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 and other dependency information 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::ContaineranalysisV1beta1::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::ContaineranalysisV1beta1::ExportSbomResponse] parsed result object
325
+ # @yieldparam err [StandardError] error object if request failed
326
+ #
327
+ # @return [Google::Apis::ContaineranalysisV1beta1::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, 'v1beta1/{+name}:exportSBOM', options)
334
+ command.request_representation = Google::Apis::ContaineranalysisV1beta1::ExportSbomRequest::Representation
335
+ command.request_object = export_sbom_request_object
336
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::ExportSbomResponse::Representation
337
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::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
+
344
+ # Gets a summary of the packages within a given resource.
345
+ # @param [String] name
346
+ # Required. The name of the resource to get a packages summary for in the form
347
+ # of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
348
+ # @param [Google::Apis::ContaineranalysisV1beta1::GeneratePackagesSummaryRequest] generate_packages_summary_request_object
349
+ # @param [String] fields
350
+ # Selector specifying which fields to include in a partial response.
351
+ # @param [String] quota_user
352
+ # Available to use for quota purposes for server-side applications. Can be any
353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
354
+ # @param [Google::Apis::RequestOptions] options
355
+ # Request-specific options
356
+ #
357
+ # @yield [result, err] Result & error if block supplied
358
+ # @yieldparam result [Google::Apis::ContaineranalysisV1beta1::PackagesSummaryResponse] parsed result object
359
+ # @yieldparam err [StandardError] error object if request failed
360
+ #
361
+ # @return [Google::Apis::ContaineranalysisV1beta1::PackagesSummaryResponse]
362
+ #
363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
366
+ def generate_project_location_resource_packages_summary(name, generate_packages_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
367
+ command = make_simple_command(:post, 'v1beta1/{+name}:generatePackagesSummary', options)
368
+ command.request_representation = Google::Apis::ContaineranalysisV1beta1::GeneratePackagesSummaryRequest::Representation
369
+ command.request_object = generate_packages_summary_request_object
370
+ command.response_representation = Google::Apis::ContaineranalysisV1beta1::PackagesSummaryResponse::Representation
371
+ command.response_class = Google::Apis::ContaineranalysisV1beta1::PackagesSummaryResponse
372
+ command.params['name'] = name unless name.nil?
373
+ command.query['fields'] = fields unless fields.nil?
374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
375
+ execute_or_queue_command(command, &block)
376
+ end
377
+
58
378
  # Creates new notes in batch.
59
379
  # @param [String] parent
60
380
  # 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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.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-02-25 00:00:00.000000000 Z
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.14.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.14.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []