Class ProjectsResource.LocationsResource.DataStoresResource.WidgetConfigsResource.GetRequest
Gets a WidgetConfig.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.WidgetConfigsResource.GetRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1WidgetConfig>, IClientServiceRequest<GoogleCloudDiscoveryengineV1WidgetConfig>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
AcceptCache
Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.
Declaration
[RequestParameter("acceptCache", RequestParameterType.Query)]
public virtual bool? AcceptCache { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
GetWidgetConfigRequestOptionTurnOffCollectionComponents
Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.
Declaration
[RequestParameter("getWidgetConfigRequestOption.turnOffCollectionComponents", RequestParameterType.Query)]
public virtual bool? GetWidgetConfigRequestOptionTurnOffCollectionComponents { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LanguageCode
Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings
in the response, such as the model selector display_name / description on
WidgetConfig.UiSettings.ModelConfigInfo. Empty / unset falls back to the default language
(English).
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ModelInfoView
Optional. Selects which view of WidgetConfig.UiSettings.ModelConfigInfo the backend
computes. MODEL_INFO_VIEW_ADMIN is set by the Cloud Console admin "Feature Management"
page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with
ResolvedModel.admin_view populated; unset / MODEL_INFO_VIEW_WEB returns the end-user
selector. The mobile surface is detected from the X-Goog-Gemini-Enterprise-Mobile header
instead (see ModelInfoView).
Declaration
[RequestParameter("modelInfoView", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.DataStoresResource.WidgetConfigsResource.GetRequest.ModelInfoViewEnum? ModelInfoView { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DataStoresResource.WidgetConfigsResource.GetRequest.ModelInfoViewEnum? |
Name
Required. Full WidgetConfig resource name. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()