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.



4243
4244
4245
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4243

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



4241
4242
4243
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4241

def cloud_storage_location
  @cloud_storage_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4248
4249
4250
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4248

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