Class: Google::Apis::ContaineranalysisV1alpha1::SecretLocation

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

Overview

The location of the secret.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecretLocation

Returns a new instance of SecretLocation.



7023
7024
7025
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7023

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

Instance Attribute Details

#file_locationGoogle::Apis::ContaineranalysisV1alpha1::FileLocation

Indicates the location at which a package was found. Corresponds to the JSON property fileLocation



7021
7022
7023
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7021

def file_location
  @file_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7028
7029
7030
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7028

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