Package com.google.cloud.developerconnect.v1


@Generated("by gapic-generator-java") package com.google.cloud.developerconnect.v1
A client to Developer Connect API

The interfaces provided are listed below, along with usage samples.

======================= DeveloperConnectClient =======================

Service Description: Service describing handlers for resources

Sample for DeveloperConnectClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (DeveloperConnectClient developerConnectClient = DeveloperConnectClient.create()) {
   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
   Connection response = developerConnectClient.getConnection(name);
 }
 

======================= InsightsConfigServiceClient =======================

Service Description: Creates and manages InsightsConfigs.

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. A user can create an InsightsConfig, list previously-requested InsightsConfigs or get InsightsConfigs by their ID to determine the status of the InsightsConfig.

Sample for InsightsConfigServiceClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (InsightsConfigServiceClient insightsConfigServiceClient =
     InsightsConfigServiceClient.create()) {
   InsightsConfigName name =
       InsightsConfigName.of("[PROJECT]", "[LOCATION]", "[INSIGHTS_CONFIG]");
   InsightsConfig response = insightsConfigServiceClient.getInsightsConfig(name);
 }