Service Client: Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfigServiceClient
Client stub representing the remote InsightsConfigService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to developerconnect.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Developerconnect::V1::InsightsConfig - Compiled Protocol Buffers messages for google/cloud/developerconnect/v1/insights_config.proto
SYNOPSIS
use Google::Cloud::Developerconnect::V1::InsightsConfig;
my $msg = Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig->new({
app_hub_application => $app_hub_application,
projects => $projects,
name => $name,
create_time => $create_time,
});
# Read or update a field
my $val = $msg->app_hub_application();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/developerconnect/v1/insights_config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Developerconnect::V1::InsightsConfig::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.
Inherits from Protobuf::Message.
Accessors
$msg->app_hub_application()/$msg->app_hub_application($value)Type:
StringOptional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}
$msg->projects()/$msg->projects($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::Projects)Optional. The projects to track with the InsightsConfig.
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update timestamp.
$msg->runtime_configs()/$msg->runtime_configs($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::RuntimeConfig)Output only. The runtime configurations where the application is deployed.
$msg->artifact_configs()/$msg->artifact_configs($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::ArtifactConfig)Optional. The artifact configurations of the artifacts that are deployed.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Developerconnect::V1::InsightsConfig::State)Optional. Output only. The state of the InsightsConfig.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig::AnnotationsEntry)Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig::LabelsEntry)Optional. Set of labels associated with an InsightsConfig.
$msg->reconciling()/$msg->reconciling($value)Type:
BoolOutput 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.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Rpc::Status::Status)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.
Enum: InsightsConfig::State
STATE_UNSPECIFIED=>0PENDING=>5COMPLETE=>3ERROR=>4
Google::Cloud::Developerconnect::V1::InsightsConfig::Projects
Projects represents the projects to track with the InsightsConfig.
Inherits from Protobuf::Message.
Accessors
$msg->project_ids()/$msg->project_ids($value)Type:
StringOptional. The project IDs. Format: {project}
Google::Cloud::Developerconnect::V1::InsightsConfig::RuntimeConfig
RuntimeConfig represents the runtimes where the application is deployed.
Inherits from Protobuf::Message.
Accessors
$msg->gke_workload()/$msg->gke_workload($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::GKEWorkload)Output only. Google Kubernetes Engine runtime.
$msg->google_cloud_run()/$msg->google_cloud_run($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::GoogleCloudRun)Output only. Cloud Run runtime.
$msg->app_hub_workload()/$msg->app_hub_workload($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::AppHubWorkload)Output only. App Hub Workload.
$msg->app_hub_service()/$msg->app_hub_service($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::AppHubService)Output only. App Hub Service.
$msg->uri()/$msg->uri($value)Type:
StringRequired. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Developerconnect::V1::RuntimeConfig::State)Output only. The state of the Runtime.
Enum: RuntimeConfig::State
STATE_UNSPECIFIED=>0LINKED=>1UNLINKED=>2
Google::Cloud::Developerconnect::V1::InsightsConfig::GKEWorkload
GKEWorkload represents the Google Kubernetes Engine runtime.
Inherits from Protobuf::Message.
Accessors
$msg->cluster()/$msg->cluster($value)Type:
StringRequired. Immutable. The name of the GKE cluster. Format: `projects/{project}/locations/{location}/clusters/{cluster}`.
$msg->deployment()/$msg->deployment($value)Type:
StringOutput only. The name of the GKE deployment. Format: `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
Google::Cloud::Developerconnect::V1::InsightsConfig::GoogleCloudRun
GoogleCloudRun represents the Cloud Run runtime.
Inherits from Protobuf::Message.
Accessors
$msg->service_uri()/$msg->service_uri($value)Type:
StringRequired. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.
Google::Cloud::Developerconnect::V1::InsightsConfig::AppHubWorkload
AppHubWorkload represents the App Hub Workload.
Inherits from Protobuf::Message.
Accessors
$msg->workload()/$msg->workload($value)Type:
StringRequired. Output only. Immutable. The name of the App Hub Workload. Format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
$msg->criticality()/$msg->criticality($value)Type:
StringOutput only. The criticality of the App Hub Workload.
$msg->environment()/$msg->environment($value)Type:
StringOutput only. The environment of the App Hub Workload.
Google::Cloud::Developerconnect::V1::InsightsConfig::AppHubService
AppHubService represents the App Hub Service.
Inherits from Protobuf::Message.
Accessors
$msg->apphub_service()/$msg->apphub_service($value)Type:
StringRequired. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
$msg->criticality()/$msg->criticality($value)Type:
StringOutput only. The criticality of the App Hub Service.
$msg->environment()/$msg->environment($value)Type:
StringOutput only. The environment of the App Hub Service.
Google::Cloud::Developerconnect::V1::InsightsConfig::ArtifactConfig
The artifact config of the artifact that is deployed.
Inherits from Protobuf::Message.
Accessors
$msg->google_artifact_registry()/$msg->google_artifact_registry($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::GoogleArtifactRegistry)Optional. Set if the artifact is stored in Artifact registry.
$msg->google_artifact_analysis()/$msg->google_artifact_analysis($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::GoogleArtifactAnalysis)Optional. Set if the artifact metadata is stored in Artifact analysis.
$msg->uri()/$msg->uri($value)Type:
StringRequired. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts.
Google::Cloud::Developerconnect::V1::InsightsConfig::GoogleArtifactAnalysis
Google Artifact Analysis configurations.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The project id of the project where the provenance is stored.
Google::Cloud::Developerconnect::V1::InsightsConfig::GoogleArtifactRegistry
Google Artifact Registry configurations.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The host project of Artifact Registry.
$msg->artifact_registry_package()/$msg->artifact_registry_package($value)Type:
StringRequired. Immutable. The name of the artifact registry package.
Google::Cloud::Developerconnect::V1::InsightsConfig::DeploymentEvent
The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create time of the DeploymentEvent.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The update time of the DeploymentEvent.
$msg->runtime_config()/$msg->runtime_config($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::RuntimeConfig)Output only. The runtime configurations where the DeploymentEvent happened.
$msg->runtime_deployment_uri()/$msg->runtime_deployment_uri($value)Type:
StringOutput only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Developerconnect::V1::DeploymentEvent::State)Output only. The state of the DeploymentEvent.
$msg->artifact_deployments()/$msg->artifact_deployments($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::ArtifactDeployment)Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
$msg->deploy_time()/$msg->deploy_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.
$msg->undeploy_time()/$msg->undeploy_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty.
Enum: DeploymentEvent::State
STATE_UNSPECIFIED=>0STATE_ACTIVE=>1STATE_INACTIVE=>2
Google::Cloud::Developerconnect::V1::InsightsConfig::GetDeploymentEventRequest
Request for getting a DeploymentEvent.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the deployment event to retrieve. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
Google::Cloud::Developerconnect::V1::InsightsConfig::ListDeploymentEventsRequest
Request for requesting list of DeploymentEvents.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent insights config that owns this collection of deployment events. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of deployment events to return. The service may return fewer than this value. If unspecified, at most 50 deployment events will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListDeploymentEvents` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListDeploymentEvents` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter expression that matches a subset of the DeploymentEvents. https://google.aip.dev/160.
Google::Cloud::Developerconnect::V1::InsightsConfig::ListDeploymentEventsResponse
Response to listing DeploymentEvents.
Inherits from Protobuf::Message.
Accessors
$msg->deployment_events()/$msg->deployment_events($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::DeploymentEvent)The list of DeploymentEvents.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Developerconnect::V1::InsightsConfig::ArtifactDeployment
The ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOutput only. Unique identifier of `ArtifactDeployment`.
$msg->artifact_reference()/$msg->artifact_reference($value)Type:
StringOutput only. The artifact that is deployed.
$msg->artifact_alias()/$msg->artifact_alias($value)Type:
StringOutput only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
$msg->source_commit_uris()/$msg->source_commit_uris($value)Type:
StringOutput only. The source commits at which this artifact was built. Extracted from provenance.
$msg->deploy_time()/$msg->deploy_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the deployment was deployed.
$msg->undeploy_time()/$msg->undeploy_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
$msg->container_status_summary()/$msg->container_status_summary($value)Type:
StringOutput only. The summary of container status of the artifact deployment. Format as `ContainerStatusState-Reason : restartCount` e.g. "Waiting-ImagePullBackOff : 3"
Google::Cloud::Developerconnect::V1::InsightsConfig::CreateInsightsConfigRequest
Request for creating an InsightsConfig.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->insights_config_id()/$msg->insights_config_id($value)Type:
StringRequired. ID of the requesting InsightsConfig.
$msg->insights_config()/$msg->insights_config($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig)Required. The resource being created.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request, but do not actually post it.
Google::Cloud::Developerconnect::V1::InsightsConfig::GetInsightsConfigRequest
Request for getting an InsightsConfig.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
Google::Cloud::Developerconnect::V1::InsightsConfig::ListInsightsConfigsRequest
Request for requesting list of InsightsConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListInsightsConfigsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results. See https://google.aip.dev/160 for more details. Filter string, adhering to the rules in https://google.aip.dev/160. List only InsightsConfigs matching the filter. If filter is empty, all InsightsConfigs are listed.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results.
Google::Cloud::Developerconnect::V1::InsightsConfig::ListInsightsConfigsResponse
Request for response to listing InsightsConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->insights_configs()/$msg->insights_configs($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig)The list of InsightsConfigs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Developerconnect::V1::InsightsConfig::DeleteInsightsConfigRequest
Request for deleting an InsightsConfig.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Value for parent.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request, but do not actually post it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Developerconnect::V1::InsightsConfig::UpdateInsightsConfigRequest
Request for updating an InsightsConfig.
Inherits from Protobuf::Message.
Accessors
$msg->insights_config()/$msg->insights_config($value)Type:
Message(Google::Cloud::Developerconnect::V1::InsightsConfig::InsightsConfig)Required. The resource being updated.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, and the insightsConfig is not found a new insightsConfig will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input insightsConfig has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request, but do not actually post it.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Developerconnect::V1::InsightsConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.