Class: Google::Apis::ContaineranalysisV1beta1::Deployable

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

Overview

An artifact that can be deployed in some runtime.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Deployable

Returns a new instance of Deployable.



3520
3521
3522
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3520

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

Instance Attribute Details

#resource_uriArray<String>

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

Returns:

  • (Array<String>)


3518
3519
3520
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3518

def resource_uri
  @resource_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3525
3526
3527
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3525

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