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.



6279
6280
6281
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6279

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)


6267
6268
6269
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6267

def requirement_type
  @requirement_type
end

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

The resources to be checked for this requirement. The type needed for the monitored resources: * discoveryengine.googleapis.com/Branch. * The labels needed for this resource: * project_number * location_id * collection_id

  • datastore_id * branch_id * discoveryengine.googleapis.com/DataStore * The labels needed for this resource: * project_number * location_id * collection_id * datastore_id Corresponds to the JSON property resources


6277
6278
6279
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6277

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6284
6285
6286
6287
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6284

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