Method: projects.locations.spaces.inferConnections

Infers and suggests connections between components within a space. The generated connection information can be used in application templates and designs.

HTTP request

POST https://designcenter.googleapis.com/v1alpha/{name=projects/*/locations/*/spaces/*}:inferConnections

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the space.

Request body

The request body contains data with the following structure:

JSON representation
{
  "catalogTemplateRevisionIds": [
    string
  ],
  "useGemini": boolean
}
Fields
catalogTemplateRevisionIds[]

string

Optional. A list of components that you want to infer connections for. If you don't provide this, the system infers connections for all components in the space, including all catalogs.

useGemini

boolean

Optional. Whether to use Gemini.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • designcenter.spaces.get

For more information, see the IAM documentation.