Class: Google::Apis::ContaineranalysisV1::ExportSbomRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb

Overview

The request to generate and export SBOM. Target must be specified for the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportSbomRequest

Returns a new instance of ExportSbomRequest.



4290
4291
4292
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4290

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_storage_locationGoogle::Apis::ContaineranalysisV1::CloudStorageLocation

Empty placeholder to denote that this is a Google Cloud Storage export request. Corresponds to the JSON property cloudStorageLocation



4288
4289
4290
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4288

def cloud_storage_location
  @cloud_storage_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4295
4296
4297
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4295

def update!(**args)
  @cloud_storage_location = args[:cloud_storage_location] if args.key?(:cloud_storage_location)
end