Class: Google::Apis::DatastreamV1alpha1::BadRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::BadRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Overview
Describes violations in a client request. This error type focuses on the syntactic aspects of the request.
Instance Attribute Summary collapse
-
#field_violations ⇒ Array<Google::Apis::DatastreamV1alpha1::FieldViolation>
Describes all violations in a client request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BadRequest
constructor
A new instance of BadRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BadRequest
Returns a new instance of BadRequest.
130 131 132 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_violations ⇒ Array<Google::Apis::DatastreamV1alpha1::FieldViolation>
Describes all violations in a client request.
Corresponds to the JSON property fieldViolations
128 129 130 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 128 def field_violations @field_violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
135 136 137 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 135 def update!(**args) @field_violations = args[:field_violations] if args.key?(:field_violations) end |