Class: Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ValidateConsumerConfigResponse

Returns a new instance of ValidateConsumerConfigResponse.


3884
3885
3886
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3884

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

Instance Attribute Details

#is_validBoolean Also known as: is_valid?

Corresponds to the JSON property isValid

Returns:

  • (Boolean)

3876
3877
3878
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3876

def is_valid
  @is_valid
end

#validation_errorString

Corresponds to the JSON property validationError

Returns:

  • (String)

3882
3883
3884
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3882

def validation_error
  @validation_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3889
3890
3891
3892
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3889

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