Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest
- 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 message for SiteSearchEngineService.CreateTargetSite method.
Instance Attribute Summary collapse
-
#parent ⇒ String
Required.
-
#target_site ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTargetSite
A target site for the SiteSearchEngine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest.
5466 5467 5468 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Required. Parent resource name of TargetSite, such as projects/
project/
locations/
location/collections/
collection/dataStores/
data_store/
siteSearchEngine
.
Corresponds to the JSON property parent
5459 5460 5461 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5459 def parent @parent end |
#target_site ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTargetSite
A target site for the SiteSearchEngine.
Corresponds to the JSON property targetSite
5464 5465 5466 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5464 def target_site @target_site end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5471 5472 5473 5474 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5471 def update!(**args) @parent = args[:parent] if args.key?(:parent) @target_site = args[:target_site] if args.key?(:target_site) end |