Class ListRecommendationsResponse (2.7.0)

public sealed class ListRecommendationsResponse : IPageResponse<Recommendation>, IEnumerable<Recommendation>, IEnumerable, IMessage<ListRecommendationsResponse>, IEquatable<ListRecommendationsResponse>, IDeepCloneable<ListRecommendationsResponse>, IBufferMessage, IMessage

Response to the ListRecommendations method.

Inheritance

Object > ListRecommendationsResponse

Namespace

Google.Cloud.Recommender.V1

Assembly

Google.Cloud.Recommender.V1.dll

Constructors

ListRecommendationsResponse()

public ListRecommendationsResponse()

ListRecommendationsResponse(ListRecommendationsResponse)

public ListRecommendationsResponse(ListRecommendationsResponse other)
Parameter
NameDescription
otherListRecommendationsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

A token that can be used to request the next page of results. This field is empty if there are no additional results.

Property Value
TypeDescription
String

Recommendations

public RepeatedField<Recommendation> Recommendations { get; }

The set of recommendations for the parent resource.

Property Value
TypeDescription
RepeatedField<Recommendation>

Methods

GetEnumerator()

public IEnumerator<Recommendation> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Recommendation>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator