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.



5252
5253
5254
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5252

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



5239
5240
5241
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5239

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)


5244
5245
5246
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5244

def is_valid
  @is_valid
end

#validation_errorString

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

Returns:

  • (String)


5250
5251
5252
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5250

def validation_error
  @validation_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5257
5258
5259
5260
5261
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5257

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