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.



3590
3591
3592
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3590

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



3588
3589
3590
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3588

def cloud_storage_location
  @cloud_storage_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3595
3596
3597
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3595

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