REST Resource: projects.locations.runtimeProjectAttachments

Resource: RuntimeProjectAttachment

Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.

JSON representation
{
  "name": string,
  "runtimeProject": string,
  "createTime": string
}
Fields
name

string

Identifier. The resource name of a runtime project attachment. Format: "projects/{project}/locations/{location}/runtimeProjectAttachments/{runtimeProjectAttachment}".

runtimeProject

string

Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.

createTime

string (Timestamp format)

Output only. Create time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

create

Attaches a runtime project to the host project.

delete

Delete a runtime project attachment in the API Hub.

get

Gets a runtime project attachment.

list

List runtime projects attached to the host project.