Class BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource
The "insights" collection of methods.
Inherited Members
Namespace: Google.Apis.Recommender.v1beta1
Assembly: Google.Apis.Recommender.v1beta1.dll
Syntax
public class BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource
Constructors
InsightsResource(IClientService)
Constructs a new resource.
Declaration
public InsightsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight type.
Declaration
public virtual BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the insight. |
Returns
Type | Description |
---|---|
BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource.GetRequest |
List(string)
Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.
Declaration
public virtual BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The container resource on which to execute the request. Acceptable formats: *
|
Returns
Type | Description |
---|---|
BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource.ListRequest |
MarkAccepted(GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest, string)
Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight. This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight.
Declaration
public virtual BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest MarkAccepted(GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest | body | The body of the request. |
string | name | Required. Name of the insight. |
Returns
Type | Description |
---|---|
BillingAccountsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest |