Method: projects.locations.lookupRuntimeProjectAttachment

Look up a runtime project attachment. This API can be called in the context of any project.

HTTP request

GET https://apihub.googleapis.com/v1/{name=projects/*/locations/*}:lookupRuntimeProjectAttachment

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: projects/{project}/locations/{location}.

Request body

The request body must be empty.

Response body

The ListRuntimeProjectAttachments method's response.

If successful, the response body contains data with the following structure:

JSON representation
{
  "runtimeProjectAttachment": {
    object (RuntimeProjectAttachment)
  }
}
Fields
runtimeProjectAttachment

object (RuntimeProjectAttachment)

Runtime project attachment for a project if exists, empty otherwise.

Authorization scopes

Requires the following OAuth scope:

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

IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.runTimeProjectAttachments.list

For more information, see the IAM documentation.