Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Request for CheckRequirement method.
Instance Attribute Summary collapse
-
#requirement_type ⇒ String
A Requirement.type specifying the requirement to check.
-
#resources ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleApiMonitoredResource>
The resources to be checked for this requirement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest.
4211 4212 4213 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requirement_type ⇒ String
A Requirement.type specifying the requirement to check.
Corresponds to the JSON property requirementType
4204 4205 4206 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4204 def requirement_type @requirement_type end |
#resources ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleApiMonitoredResource>
The resources to be checked for this requirement.
Corresponds to the JSON property resources
4209 4210 4211 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4209 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4216 4217 4218 4219 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4216 def update!(**args) @requirement_type = args[:requirement_type] if args.key?(:requirement_type) @resources = args[:resources] if args.key?(:resources) end |