Class DebugResource.DatasourcesResource.ItemsResource.SearchByViewUrlRequest
Fetches the item whose viewUrl exactly matches that of the URL provided in the request. Note: This API requires an admin account to execute.
Inheritance
System.Object
DebugResource.DatasourcesResource.ItemsResource.SearchByViewUrlRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SearchByViewUrlRequest : CloudSearchBaseServiceRequest<SearchItemsByViewUrlResponse>, IClientServiceRequest<SearchItemsByViewUrlResponse>, IClientServiceRequest
Constructors
SearchByViewUrlRequest(IClientService, SearchItemsByViewUrlRequest, String)
Constructs a new SearchByViewUrl request.
Declaration
public SearchByViewUrlRequest(IClientService service, SearchItemsByViewUrlRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| SearchItemsByViewUrlRequest | body | |
| System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SearchItemsByViewUrlResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SearchItemsByViewUrlResponse>.MethodName
Name
Source name, format: datasources/{source_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SearchItemsByViewUrlResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SearchItemsByViewUrlResponse>.GetBody()
InitParameters()
Initializes SearchByViewUrl parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudSearch.v1.CloudSearchBaseServiceRequest<Google.Apis.CloudSearch.v1.Data.SearchItemsByViewUrlResponse>.InitParameters()