Show / Hide Table of Contents

Class FoldersResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkFailedRequest

Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleCloudRecommenderV1Recommendation>
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>
FoldersResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkFailedRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleCloudRecommenderV1Recommendation>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.Xgafv
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.AccessToken
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.Alt
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.Callback
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.Fields
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.Key
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.OauthToken
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.PrettyPrint
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.QuotaUser
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.UploadType
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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.Recommender.v1
Assembly: Google.Apis.Recommender.v1.dll
Syntax
public class MarkFailedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>, IClientServiceRequest<GoogleCloudRecommenderV1Recommendation>, IClientServiceRequest

Constructors

MarkFailedRequest(IClientService, GoogleCloudRecommenderV1MarkRecommendationFailedRequest, String)

Constructs a new MarkFailed request.

Declaration
public MarkFailedRequest(IClientService service, GoogleCloudRecommenderV1MarkRecommendationFailedRequest body, string name)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
GoogleCloudRecommenderV1MarkRecommendationFailedRequest 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.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.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.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.MethodName

Name

Required. Name of the recommendation.

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.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.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.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.GetBody()

InitParameters()

Initializes MarkFailed parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Recommender.v1.RecommenderBaseServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top