Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class InsightsConfig.
The InsightsConfig resource is the core configuration object to capture events from your Software Development Lifecycle. It acts as the central hub for managing how Developer connect understands your application, its runtime environments, and the artifacts deployed within them.
Generated from protobuf message google.cloud.developerconnect.v1.InsightsConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ app_hub_application |
string
Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application} |
↳ name |
string
Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} |
↳ create_time |
Google\Protobuf\Timestamp
Output only. [Output only] Create timestamp |
↳ update_time |
Google\Protobuf\Timestamp
Output only. [Output only] Update timestamp |
↳ runtime_configs |
array<RuntimeConfig>
Output only. The runtime configurations where the application is deployed. |
↳ artifact_configs |
array<ArtifactConfig>
Optional. The artifact configurations of the artifacts that are deployed. |
↳ state |
int
Optional. Output only. The state of the InsightsConfig. |
↳ annotations |
array|Google\Protobuf\Internal\MapField
Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Optional. Set of labels associated with an InsightsConfig. |
↳ reconciling |
bool
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance. |
↳ errors |
array<Google\Rpc\Status>
Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: |
getAppHubApplication
Optional. The name of the App Hub Application.
Format: projects/{project}/locations/{location}/applications/{application}
Returns | |
---|---|
Type | Description |
string |
hasAppHubApplication
setAppHubApplication
Optional. The name of the App Hub Application.
Format: projects/{project}/locations/{location}/applications/{application}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
Identifier. The name of the InsightsConfig.
Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. The name of the InsightsConfig.
Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. [Output only] Create timestamp
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create timestamp
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. [Output only] Update timestamp
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update timestamp
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getRuntimeConfigs
Output only. The runtime configurations where the application is deployed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRuntimeConfigs
Output only. The runtime configurations where the application is deployed.
Parameter | |
---|---|
Name | Description |
var |
array<RuntimeConfig>
|
Returns | |
---|---|
Type | Description |
$this |
getArtifactConfigs
Optional. The artifact configurations of the artifacts that are deployed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setArtifactConfigs
Optional. The artifact configurations of the artifacts that are deployed.
Parameter | |
---|---|
Name | Description |
var |
array<ArtifactConfig>
|
Returns | |
---|---|
Type | Description |
$this |
getState
Optional. Output only. The state of the InsightsConfig.
Returns | |
---|---|
Type | Description |
int |
setState
Optional. Output only. The state of the InsightsConfig.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getAnnotations
Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setAnnotations
Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Optional. Set of labels associated with an InsightsConfig.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Optional. Set of labels associated with an InsightsConfig.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getReconciling
Output only. Reconciling (https://google.aip.dev/128#reconciliation).
Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
Returns | |
---|---|
Type | Description |
bool |
setReconciling
Output only. Reconciling (https://google.aip.dev/128#reconciliation).
Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getErrors
Output only. Any errors that occurred while setting up the InsightsConfig.
Each error will be in the format: field_name: error_message
, e.g.
GetAppHubApplication: Permission denied while getting App Hub
application. Please grant permissions to the P4SA.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setErrors
Output only. Any errors that occurred while setting up the InsightsConfig.
Each error will be in the format: field_name: error_message
, e.g.
GetAppHubApplication: Permission denied while getting App Hub
application. Please grant permissions to the P4SA.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Rpc\Status>
|
Returns | |
---|---|
Type | Description |
$this |
getInsightsConfigContext
Returns | |
---|---|
Type | Description |
string |