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
The 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.
6279 6280 6281 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requirement_type ⇒ String
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
6267 6268 6269 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6267 def requirement_type @requirement_type end |
#resources ⇒ Array<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 propertyresources
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 |