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.



34
35
36
# File 'lib/google/apis/apigee_v1/classes.rb', line 34

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

Instance Attribute Details

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

Describes all precondition violations. Corresponds to the JSON property violations



32
33
34
# File 'lib/google/apis/apigee_v1/classes.rb', line 32

def violations
  @violations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39
40
41
# File 'lib/google/apis/apigee_v1/classes.rb', line 39

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