insight_types_config
Creates, updates, deletes, gets or lists an insight_types_config
resource.
Overview
Name | insight_types_config |
Type | Resource |
Id | google.recommender.insight_types_config |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_insight_types_get_config
- billing_accounts_locations_insight_types_get_config
- organizations_locations_insight_types_get_config
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config |
annotations | object | Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. |
displayName | string | A user-settable field to provide a human-readable name to be used in user interfaces. |
etag | string | Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating. |
insightTypeGenerationConfig | object | InsightTypeGenerationConfig which configures the generation of insights for this insight type. (id: GoogleCloudRecommenderV1InsightTypeGenerationConfig) |
revisionId | string | Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string. |
updateTime | string (google-datetime) | Last time when the config was updated. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config |
annotations | object | Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. |
displayName | string | A user-settable field to provide a human-readable name to be used in user interfaces. |
etag | string | Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating. |
insightTypeGenerationConfig | object | InsightTypeGenerationConfig which configures the generation of insights for this insight type. (id: GoogleCloudRecommenderV1InsightTypeGenerationConfig) |
revisionId | string | Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string. |
updateTime | string (google-datetime) | Last time when the config was updated. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config |
annotations | object | Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. |
displayName | string | A user-settable field to provide a human-readable name to be used in user interfaces. |
etag | string | Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating. |
insightTypeGenerationConfig | object | InsightTypeGenerationConfig which configures the generation of insights for this insight type. (id: GoogleCloudRecommenderV1InsightTypeGenerationConfig) |
revisionId | string | Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string. |
updateTime | string (google-datetime) | Last time when the config was updated. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_insight_types_get_config | select | projectsId , locationsId , insightTypesId | Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType. | |
billing_accounts_locations_insight_types_get_config | select | billingAccountsId , locationsId , insightTypesId | Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType. | |
organizations_locations_insight_types_get_config | select | organizationsId , locationsId , insightTypesId | Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType. | |
projects_locations_insight_types_update_config | update | projectsId , locationsId , insightTypesId | updateMask , validateOnly | Updates an InsightTypeConfig change. This will create a new revision of the config. |
billing_accounts_locations_insight_types_update_config | update | billingAccountsId , locationsId , insightTypesId | updateMask , validateOnly | Updates an InsightTypeConfig change. This will create a new revision of the config. |
organizations_locations_insight_types_update_config | update | organizationsId , locationsId , insightTypesId | updateMask , validateOnly | Updates an InsightTypeConfig change. This will create a new revision of the config. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
billingAccountsId | string | |
insightTypesId | string | |
locationsId | string | |
organizationsId | string | |
projectsId | string | |
updateMask | string (google-fieldmask) | |
validateOnly | boolean |
SELECT
examples
- projects_locations_insight_types_get_config
- billing_accounts_locations_insight_types_get_config
- organizations_locations_insight_types_get_config
Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
SELECT
name,
annotations,
displayName,
etag,
insightTypeGenerationConfig,
revisionId,
updateTime
FROM google.recommender.insight_types_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND insightTypesId = '{{ insightTypesId }}' -- required;
Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
SELECT
name,
annotations,
displayName,
etag,
insightTypeGenerationConfig,
revisionId,
updateTime
FROM google.recommender.insight_types_config
WHERE billingAccountsId = '{{ billingAccountsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND insightTypesId = '{{ insightTypesId }}' -- required;
Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
SELECT
name,
annotations,
displayName,
etag,
insightTypeGenerationConfig,
revisionId,
updateTime
FROM google.recommender.insight_types_config
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND insightTypesId = '{{ insightTypesId }}' -- required;
UPDATE
examples
- projects_locations_insight_types_update_config
- billing_accounts_locations_insight_types_update_config
- organizations_locations_insight_types_update_config
Updates an InsightTypeConfig change. This will create a new revision of the config.
UPDATE google.recommender.insight_types_config
SET
data__name = '{{ name }}',
data__insightTypeGenerationConfig = '{{ insightTypeGenerationConfig }}',
data__etag = '{{ etag }}',
data__updateTime = '{{ updateTime }}',
data__annotations = '{{ annotations }}',
data__displayName = '{{ displayName }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND insightTypesId = '{{ insightTypesId }}' --required
AND updateMask = '{{ updateMask}}'
AND validateOnly = {{ validateOnly}}
RETURNING
name,
annotations,
displayName,
etag,
insightTypeGenerationConfig,
revisionId,
updateTime;
Updates an InsightTypeConfig change. This will create a new revision of the config.
UPDATE google.recommender.insight_types_config
SET
data__name = '{{ name }}',
data__insightTypeGenerationConfig = '{{ insightTypeGenerationConfig }}',
data__etag = '{{ etag }}',
data__updateTime = '{{ updateTime }}',
data__annotations = '{{ annotations }}',
data__displayName = '{{ displayName }}'
WHERE
billingAccountsId = '{{ billingAccountsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND insightTypesId = '{{ insightTypesId }}' --required
AND updateMask = '{{ updateMask}}'
AND validateOnly = {{ validateOnly}}
RETURNING
name,
annotations,
displayName,
etag,
insightTypeGenerationConfig,
revisionId,
updateTime;
Updates an InsightTypeConfig change. This will create a new revision of the config.
UPDATE google.recommender.insight_types_config
SET
data__name = '{{ name }}',
data__insightTypeGenerationConfig = '{{ insightTypeGenerationConfig }}',
data__etag = '{{ etag }}',
data__updateTime = '{{ updateTime }}',
data__annotations = '{{ annotations }}',
data__displayName = '{{ displayName }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND insightTypesId = '{{ insightTypesId }}' --required
AND updateMask = '{{ updateMask}}'
AND validateOnly = {{ validateOnly}}
RETURNING
name,
annotations,
displayName,
etag,
insightTypeGenerationConfig,
revisionId,
updateTime;