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.



4363
4364
4365
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4363

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



4350
4351
4352
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4350

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)


4355
4356
4357
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4355

def is_valid
  @is_valid
end

#validation_errorString

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

Returns:

  • (String)


4361
4362
4363
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4361

def validation_error
  @validation_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4368
4369
4370
4371
4372
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4368

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