class BillingAccountsLocationsRecommenders extends Resource (View source)

The "recommenders" collection of methods.

Typical usage is:

 $recommenderService = new Google\Service\Recommender(...);
 $recommenders = $recommenderService->billingAccounts_locations_recommenders;

Methods

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

Gets the requested Recommender Config. There is only one instance of the config for each Recommender. (recommenders.getConfig)

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

Updates a Recommender Config. This will create a new revision of the config.

Details

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

Gets the requested Recommender Config. There is only one instance of the config for each Recommender. (recommenders.getConfig)

Parameters

string $name

Required. Name of the Recommendation Config to get. Acceptable formats: projects/[PROJECT_NUMBER]/locations/[LOCATION]/recomme nders/[RECOMMENDER_ID]/config projects/[PROJECT_ID]/locations/[LOCATION]/ recommenders/[RECOMMENDER_ID]/config organizations/[ORGANIZATION_ID]/loca tions/[LOCATION]/recommenders/[RECOMMENDER_ID]/config billingAccounts/[BI LLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config

array $optParams

Optional parameters.

Return Value

GoogleCloudRecommenderV1RecommenderConfig

Exceptions

Exception

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

Updates a Recommender Config. This will create a new revision of the config.

(recommenders.updateConfig)

Parameters

string $name

Identifier. Name of recommender config. Eg, projects/[PRO JECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config

GoogleCloudRecommenderV1RecommenderConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRecommenderV1RecommenderConfig

Exceptions

Exception