Class: Google::Apis::ClouddeployV1::Standard

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

Overview

Standard represents the standard deployment strategy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Standard

Returns a new instance of Standard.



6371
6372
6373
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6371

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

Instance Attribute Details

#analysisGoogle::Apis::ClouddeployV1::Analysis

Analysis contains the configuration for the set of analyses to be performed on the target. Corresponds to the JSON property analysis



6348
6349
6350
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6348

def analysis
  @analysis
end

#postdeployGoogle::Apis::ClouddeployV1::Postdeploy

Postdeploy contains the postdeploy job configuration information. Corresponds to the JSON property postdeploy



6353
6354
6355
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6353

def postdeploy
  @postdeploy
end

#predeployGoogle::Apis::ClouddeployV1::Predeploy

Predeploy contains the predeploy job configuration information. Corresponds to the JSON property predeploy



6358
6359
6360
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6358

def predeploy
  @predeploy
end

#verifyBoolean Also known as: verify?

Optional. Whether to verify a deployment via skaffold verify. Corresponds to the JSON property verify

Returns:

  • (Boolean)


6363
6364
6365
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6363

def verify
  @verify
end

#verify_configGoogle::Apis::ClouddeployV1::Verify

Verify contains the verify job configuration information. Corresponds to the JSON property verifyConfig



6369
6370
6371
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6369

def verify_config
  @verify_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6376
6377
6378
6379
6380
6381
6382
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6376

def update!(**args)
  @analysis = args[:analysis] if args.key?(:analysis)
  @postdeploy = args[:postdeploy] if args.key?(:postdeploy)
  @predeploy = args[:predeploy] if args.key?(:predeploy)
  @verify = args[:verify] if args.key?(:verify)
  @verify_config = args[:verify_config] if args.key?(:verify_config)
end