Class: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation

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

A message type used to describe a single bundle validation error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EdgeConfigstoreBundleBadBundleViolation

Returns a new instance of EdgeConfigstoreBundleBadBundleViolation.



59
60
61
# File 'lib/google/apis/apigee_v1/classes.rb', line 59

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

Instance Attribute Details

#descriptionString

A description of why the bundle is invalid and how to fix it. Corresponds to the JSON property description

Returns:

  • (String)


51
52
53
# File 'lib/google/apis/apigee_v1/classes.rb', line 51

def description
  @description
end

#filenameString

The filename (including relative path from the bundle root) in which the error occurred. Corresponds to the JSON property filename

Returns:

  • (String)


57
58
59
# File 'lib/google/apis/apigee_v1/classes.rb', line 57

def filename
  @filename
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



64
65
66
67
# File 'lib/google/apis/apigee_v1/classes.rb', line 64

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