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.



4348
4349
4350
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4348

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#requirement_typeString

The type specifying the requirement to check. The supported types are: * discoveryengine.googleapis.com/media_recs/general/all/warning * discoveryengine.googleapis.com/media_recs/oyml/cvr/warning * discoveryengine. googleapis.com/media_recs/rfy/cvr/warning * discoveryengine.googleapis.com/ media_recs/mlt/cvr/warning * discoveryengine.googleapis.com/media_recs/mp/ cvr/warning * discoveryengine.googleapis.com/media_recs/oyml/wdps/warning * discoveryengine.googleapis.com/media_recs/rfy/wdps/warning * discoveryengine.googleapis.com/media_recs/mlt/wdps/warning Corresponds to the JSON property requirementType

Returns:

  • (String)


4336
4337
4338
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4336

def requirement_type
  @requirement_type
end

#resourcesArray<Google::Apis::DiscoveryengineV1alpha::GoogleApiMonitoredResource>

The type needed for the monitored resources: * discoveryengine.googleapis.com/ Branch. * The labels needed for this resource: * projectnumber * locationid * collectionid * datastoreid * branchid * discoveryengine.googleapis.com/DataStore * The labels needed for this resource: * projectnumber * locationid * collectionid * datastore_id Corresponds to the JSON property resources



4346
4347
4348
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4346

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4353
4354
4355
4356
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4353

def update!(**args)
  @requirement_type = args[:requirement_type] if args.key?(:requirement_type)
  @resources = args[:resources] if args.key?(:resources)
end