Class: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundle

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

Overview

Describes why a bundle is invalid. Intended for use in error details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EdgeConfigstoreBundleBadBundle

Returns a new instance of EdgeConfigstoreBundleBadBundle.



83
84
85
# File 'lib/google/apis/apigee_v1/classes.rb', line 83

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

Instance Attribute Details

#violationsArray<Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation>

Describes all precondition violations. Corresponds to the JSON property violations



81
82
83
# File 'lib/google/apis/apigee_v1/classes.rb', line 81

def violations
  @violations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



88
89
90
# File 'lib/google/apis/apigee_v1/classes.rb', line 88

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