Class: Google::Apis::OndemandscanningV1beta1::SecretLocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/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.



3241
3242
3243
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3241

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

Instance Attribute Details

#file_locationGoogle::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation

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



3239
3240
3241
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3239

def file_location
  @file_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3246
3247
3248
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3246

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