Migrate for Compute Engine V1 API - Class Google::Rpc::BadRequest::FieldViolation (v0.1.1)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Rpc::BadRequest::FieldViolation.

A message type used to describe a single bad request field.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — A description of why the request element is bad.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A description of why the request element is bad.
Returns
  • (::String) — A description of why the request element is bad.

#field

def field() -> ::String
Returns
  • (::String) — A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.

#field=

def field=(value) -> ::String
Parameter
  • value (::String) — A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.
Returns
  • (::String) — A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.