Class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1DeploymentDetails

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

Overview

Details of a deployment occurrence.

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) ⇒ GrafeasV1beta1DeploymentDetails

Returns a new instance of GrafeasV1beta1DeploymentDetails.



1505
1506
1507
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1505

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

Instance Attribute Details

#deploymentGoogle::Apis::ContaineranalysisV1beta1::Deployment

The period during which some deployable was active in a runtime. Corresponds to the JSON property deployment



1503
1504
1505
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1503

def deployment
  @deployment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1510
1511
1512
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1510

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