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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidateConsumerConfigResponse

Returns a new instance of ValidateConsumerConfigResponse.



5223
5224
5225
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5223

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

Instance Attribute Details

#existing_subnetwork_candidatesArray<Google::Apis::ServicenetworkingV1::Subnetwork>

List of subnetwork candidates from the request which exist with the ip_cidr_range, secondary_ip_cider_ranges, and outside_allocation fields set. Corresponds to the JSON property existingSubnetworkCandidates



5210
5211
5212
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5210

def existing_subnetwork_candidates
  @existing_subnetwork_candidates
end

#is_validBoolean Also known as: is_valid?

Indicates whether all the requested validations passed. Corresponds to the JSON property isValid

Returns:

  • (Boolean)


5215
5216
5217
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5215

def is_valid
  @is_valid
end

#validation_errorString

The first validation which failed. Corresponds to the JSON property validationError

Returns:

  • (String)


5221
5222
5223
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5221

def validation_error
  @validation_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5228
5229
5230
5231
5232
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5228

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