Service Client: Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::RuntimeProjectAttachmentServiceClient

Client stub representing the remote RuntimeProjectAttachmentService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to apihub.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService - Compiled Protocol Buffers messages for google/cloud/apihub/v1/runtime_project_attachment_service.proto

SYNOPSIS

use Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService;

my $msg = Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::CreateRuntimeProjectAttachmentRequest->new({
    parent => $parent,
    runtime_project_attachment_id => $runtime_project_attachment_id,
    runtime_project_attachment => $runtime_project_attachment,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::CreateRuntimeProjectAttachmentRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apihub/v1/runtime_project_attachment_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::CreateRuntimeProjectAttachmentRequest

The [CreateRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.CreateRuntimeProjectAttachment] method's request.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->runtime_project_attachment_id() / $msg->runtime_project_attachment_id($value)

    Type: 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.

  • $msg->runtime_project_attachment() / $msg->runtime_project_attachment($value)

    Type: Message (Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::RuntimeProjectAttachment)

    Required. The Runtime Project Attachment to create.

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::GetRuntimeProjectAttachmentRequest

The [GetRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.GetRuntimeProjectAttachment] method's request.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the API resource to retrieve. Format: `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}`

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::ListRuntimeProjectAttachmentsRequest

The [ListRuntimeProjectAttachments][google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments] method's request.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of runtime project attachments. Format: `projects/{project}/locations/{location}`

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of runtime project attachments to return. The service may return fewer than this value. If unspecified, at most 50 runtime project attachments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListRuntimeProjectAttachments` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters (except page_size) provided to `ListRuntimeProjectAttachments` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. An expression that filters the list of RuntimeProjectAttachments.

    A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported.

    The following fields in the `RuntimeProjectAttachment` are eligible for filtering:

    * `name` - The name of the RuntimeProjectAttachment.
    * `create_time` - The time at which the RuntimeProjectAttachment was
    created. The value should be in the
    (RFC3339)[https://tools.ietf.org/html/rfc3339] format.
    * `runtime_project` - The Google cloud project associated with the
    RuntimeProjectAttachment.
  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::ListRuntimeProjectAttachmentsResponse

The [ListRuntimeProjectAttachments][google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments] method's response.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::DeleteRuntimeProjectAttachmentRequest

The [DeleteRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.DeleteRuntimeProjectAttachment] method's request.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Runtime Project Attachment to delete. Format: `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}`

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::LookupRuntimeProjectAttachmentRequest

The [LookupRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.LookupRuntimeProjectAttachment] method's request.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::LookupRuntimeProjectAttachmentResponse

The [ListRuntimeProjectAttachments][google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments] method's response.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->runtime_project() / $msg->runtime_project($value)

    Type: 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.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Apihub::V1::RuntimeProjectAttachmentService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.