Class: Google::Apis::NetworkconnectivityV1::CheckConsumerConfigResponse

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

Overview

Response for CheckConsumerConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckConsumerConfigResponse

Returns a new instance of CheckConsumerConfigResponse.



477
478
479
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 477

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

Instance Attribute Details

#errorsArray<String>

List of validation errors. If the list is empty, the consumer config is valid. Corresponds to the JSON property errors

Returns:

  • (Array<String>)


475
476
477
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 475

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



482
483
484
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 482

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