Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_typeString

A Requirement.type specifying the requirement to check. Corresponds to the JSON property requirementType

Returns:

  • (String)


4204
4205
4206
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4204

def requirement_type
  @requirement_type
end

#resourcesArray<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