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 type needed for the monitored resources: *
discoveryengine.googleapis.com/ Branch
.
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.
4348 4349 4350 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4348 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
4336 4337 4338 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4336 def requirement_type @requirement_type end |
#resources ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleApiMonitoredResource>
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
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 |