Class: Google::Apis::ContaineranalysisV1alpha1::Deployable

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

Overview

An artifact that can be deployed in some runtime.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Deployable

Returns a new instance of Deployable.



566
567
568
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 566

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

Instance Attribute Details

#resource_uriArray<String>

Resource URI for the artifact being deployed. Corresponds to the JSON property resourceUri

Returns:

  • (Array<String>)


564
565
566
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 564

def resource_uri
  @resource_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



571
572
573
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 571

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