API hub v1 API - Class SearchResourcesResponse (1.0.0-beta01)

public sealed class SearchResourcesResponse : IPageResponse<SearchResult>, IEnumerable<SearchResult>, IEnumerable, IMessage<SearchResourcesResponse>, IEquatable<SearchResourcesResponse>, IDeepCloneable<SearchResourcesResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class SearchResourcesResponse.

Response for the [SearchResources][google.cloud.apihub.v1.ApiHub.SearchResources] method.

Inheritance

object > SearchResourcesResponse

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

SearchResourcesResponse()

public SearchResourcesResponse()

SearchResourcesResponse(SearchResourcesResponse)

public SearchResourcesResponse(SearchResourcesResponse other)
Parameter
Name Description
other SearchResourcesResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

Pass this token in the [SearchResourcesRequest][google.cloud.apihub.v1.SearchResourcesRequest] to continue to list results. If all results have been returned, this field is an empty string or not present in the response.

Property Value
Type Description
string

SearchResults

public RepeatedField<SearchResult> SearchResults { get; }

List of search results according to the filter and search query specified. The order of search results represents the ranking.

Property Value
Type Description
RepeatedFieldSearchResult

Methods

GetEnumerator()

public IEnumerator<SearchResult> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
Type Description
IEnumeratorSearchResult