View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CreateTargetSiteRequest (google_api_discovery_engine v0.22.0)

Request message for SiteSearchEngineService.CreateTargetSite method.

Attributes

  • parent (type: String.t, default: nil) - Required. Parent resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine.
  • targetSite (type: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1TargetSite.t, default: nil) - Required. The TargetSite to create.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CreateTargetSiteRequest{
    parent: String.t() | nil,
    targetSite:
      GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1TargetSite.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.