Class: Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse
- 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
-
#existing_subnetwork_candidates ⇒ Array<Google::Apis::ServicenetworkingV1::Subnetwork>
List of subnetwork candidates from the request which exist with the
ip_cidr_range
,secondary_ip_cider_ranges
, andoutside_allocation
fields set. -
#is_valid ⇒ Boolean
(also: #is_valid?)
Indicates whether all the requested validations passed.
-
#validation_error ⇒ String
The first validation which failed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateConsumerConfigResponse
constructor
A new instance of ValidateConsumerConfigResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_candidates ⇒ Array<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_valid ⇒ Boolean Also known as: is_valid?
Indicates whether all the requested validations passed.
Corresponds to the JSON property isValid
5244 5245 5246 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5244 def is_valid @is_valid end |
#validation_error ⇒ String
The first validation which failed.
Corresponds to the JSON property validationError
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 |