Class: Google::Apis::ClouddeployV1::VerifyJobRun

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

VerifyJobRun contains information specific to a verify JobRun.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyJobRun

Returns a new instance of VerifyJobRun.



6439
6440
6441
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6439

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

Instance Attribute Details

#artifact_uriString

Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log. Corresponds to the JSON property artifactUri

Returns:

  • (String)


6415
6416
6417
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6415

def artifact_uri
  @artifact_uri
end

#buildString

Output only. The resource name of the Cloud Build Build object that is used to verify. Format is projects/project/locations/location/builds/build`. Corresponds to the JSON propertybuild`

Returns:

  • (String)


6421
6422
6423
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6421

def build
  @build
end

#event_log_pathString

Output only. File path of the Skaffold event log relative to the artifact URI. Corresponds to the JSON property eventLogPath

Returns:

  • (String)


6426
6427
6428
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6426

def event_log_path
  @event_log_path
end

#failure_causeString

Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded. Corresponds to the JSON property failureCause

Returns:

  • (String)


6432
6433
6434
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6432

def failure_cause
  @failure_cause
end

#failure_messageString

Output only. Additional information about the verify failure, if available. Corresponds to the JSON property failureMessage

Returns:

  • (String)


6437
6438
6439
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6437

def failure_message
  @failure_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6444
6445
6446
6447
6448
6449
6450
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6444

def update!(**args)
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
  @build = args[:build] if args.key?(:build)
  @event_log_path = args[:event_log_path] if args.key?(:event_log_path)
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
  @failure_message = args[:failure_message] if args.key?(:failure_message)
end