Class ProjectsResource.LocationsResource.SearchResourcesRequest
Search across API-Hub resources.
Inheritance
ProjectsResource.LocationsResource.SearchResourcesRequest
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SearchResourcesRequest : APIhubBaseServiceRequest<GoogleCloudApihubV1SearchResourcesResponse>, IClientServiceRequest<GoogleCloudApihubV1SearchResourcesResponse>, IClientServiceRequest
Constructors
SearchResourcesRequest(IClientService, GoogleCloudApihubV1SearchResourcesRequest, string)
Constructs a new SearchResources request.
Declaration
public SearchResourcesRequest(IClientService service, GoogleCloudApihubV1SearchResourcesRequest body, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudApihubV1SearchResourcesRequest | body | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
Required. The resource name of the location which will be of the type
projects/{project_id}/locations/{location_id}
. This field is used to identify the instance of
API-Hub in which resources should be searched.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SearchResources parameter list.
Declaration
protected override void InitParameters()