class OrganizationsLocationsInsightTypes extends Resource (View source)

The "insightTypes" collection of methods.

Typical usage is:

 $recommenderService = new Google\Service\Recommender(...);
 $insightTypes = $recommenderService->organizations_locations_insightTypes;

Methods

getConfig(string $name, array $optParams = [])

Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType. (insightTypes.getConfig)

updateConfig(string $name, GoogleCloudRecommenderV1InsightTypeConfig $postBody, array $optParams = [])

Updates an InsightTypeConfig change. This will create a new revision of the config. (insightTypes.updateConfig)

Details

GoogleCloudRecommenderV1InsightTypeConfig getConfig(string $name, array $optParams = [])

Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType. (insightTypes.getConfig)

Parameters

string $name

Required. Name of the InsightTypeConfig to get. Acceptable formats: projects/[PROJECT_NUMBER]/locations/[LOCATION]/insight Types/[INSIGHT_TYPE_ID]/config projects/[PROJECT_ID]/locations/[LOCATION] /insightTypes/[INSIGHT_TYPE_ID]/config organizations/[ORGANIZATION_ID]/lo cations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config billingAccounts/ [BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/conf ig

array $optParams

Optional parameters.

Return Value

GoogleCloudRecommenderV1InsightTypeConfig

Exceptions

Exception

GoogleCloudRecommenderV1InsightTypeConfig updateConfig(string $name, GoogleCloudRecommenderV1InsightTypeConfig $postBody, array $optParams = [])

Updates an InsightTypeConfig change. This will create a new revision of the config. (insightTypes.updateConfig)

Parameters

string $name

Identifier. Name of insight type config. Eg, projects/[PR OJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config

GoogleCloudRecommenderV1InsightTypeConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRecommenderV1InsightTypeConfig

Exceptions

Exception