Google Cloud Api Hub V1 Client - Class CreateRuntimeProjectAttachmentRequest (0.1.2)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class CreateRuntimeProjectAttachmentRequest.

The CreateRuntimeProjectAttachment method's request.

Generated from protobuf message google.cloud.apihub.v1.CreateRuntimeProjectAttachmentRequest

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource for the Runtime Project Attachment. Format: projects/{project}/locations/{location}

↳ runtime_project_attachment_id string

Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.

↳ runtime_project_attachment Google\Cloud\ApiHub\V1\RuntimeProjectAttachment

Required. The Runtime Project Attachment to create.

getParent

Required. The parent resource for the Runtime Project Attachment.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The parent resource for the Runtime Project Attachment.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getRuntimeProjectAttachmentId

Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.

Returns
Type Description
string

setRuntimeProjectAttachmentId

Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.

Parameter
Name Description
var string
Returns
Type Description
$this

getRuntimeProjectAttachment

Required. The Runtime Project Attachment to create.

Returns
Type Description
Google\Cloud\ApiHub\V1\RuntimeProjectAttachment|null

hasRuntimeProjectAttachment

clearRuntimeProjectAttachment

setRuntimeProjectAttachment

Required. The Runtime Project Attachment to create.

Parameter
Name Description
var Google\Cloud\ApiHub\V1\RuntimeProjectAttachment
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource for the Runtime Project Attachment. Format: projects/{project}/locations/{location} Please see Google\Cloud\ApiHub\V1\RuntimeProjectAttachmentServiceClient::locationName() for help formatting this field.

runtimeProjectAttachment Google\Cloud\ApiHub\V1\RuntimeProjectAttachment

Required. The Runtime Project Attachment to create.

runtimeProjectAttachmentId string

Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.

Returns
Type Description
Google\Cloud\ApiHub\V1\CreateRuntimeProjectAttachmentRequest