Service Client: Google::Cloud::Apihub::V1::ProvisioningService::ProvisioningClient

Client stub representing the remote Provisioning 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::ProvisioningService - Compiled Protocol Buffers messages for google/cloud/apihub/v1/provisioning_service.proto

SYNOPSIS

use Google::Cloud::Apihub::V1::ProvisioningService;

my $msg = Google::Cloud::Apihub::V1::ProvisioningService::CreateApiHubInstanceRequest->new({
    parent => $parent,
    api_hub_instance_id => $api_hub_instance_id,
    api_hub_instance => $api_hub_instance,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apihub/v1/provisioning_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::ProvisioningService::CreateApiHubInstanceRequest

The [CreateApiHubInstance][google.cloud.apihub.v1.Provisioning.CreateApiHubInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource for the Api Hub instance resource. Format: `projects/{project}/locations/{location}`

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

    Type: String

    Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used.

    This value should be 4-40 characters, and valid characters are `/[a-z][A-Z][0-9]-_/`.

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

    Type: Message (Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance)

    Required. The ApiHub instance.

Google::Cloud::Apihub::V1::ProvisioningService::DeleteApiHubInstanceRequest

The [DeleteApiHubInstance][google.cloud.apihub.v1.Provisioning.DeleteApiHubInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Api Hub instance to delete. Format: `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.

Google::Cloud::Apihub::V1::ProvisioningService::GetApiHubInstanceRequest

The [GetApiHubInstance][google.cloud.apihub.v1.Provisioning.GetApiHubInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Api Hub instance to retrieve. Format: `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.

Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceRequest

The [LookupApiHubInstance][google.cloud.apihub.v1.Provisioning.LookupApiHubInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. There will always be only one Api Hub instance for a GCP project across all locations. The parent resource for the Api Hub instance resource. Format: `projects/{project}/locations/{location}`

Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceResponse

The [LookupApiHubInstance][google.cloud.apihub.v1.Provisioning.LookupApiHubInstance] method's response.`

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.