Service Client: Google::Cloud::Apihub::V1::LintingService::LintingServiceClient

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

SYNOPSIS

use Google::Cloud::Apihub::V1::LintingService;

my $msg = Google::Cloud::Apihub::V1::LintingService::GetStyleGuideRequest->new({
    name => $name,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apihub/v1/linting_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::LintingService::GetStyleGuideRequest

The [GetStyleGuide][google.cloud.apihub.v1.LintingService.GetStyleGuide] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the spec to retrieve. Format: `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.

Google::Cloud::Apihub::V1::LintingService::UpdateStyleGuideRequest

The [UpdateStyleGuide][google.cloud.apihub.v1.LintingService.UpdateStyleGuide] method's request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apihub::V1::LintingService::GetStyleGuideContentsRequest

The [GetStyleGuideContents][google.cloud.apihub.v1.LintingService.GetStyleGuideContents] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.

Google::Cloud::Apihub::V1::LintingService::LintSpecRequest

The [LintSpec][google.cloud.apihub.v1.LintingService.LintSpec] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the spec to be linted. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`

Google::Cloud::Apihub::V1::LintingService::StyleGuideContents

The style guide contents.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Required. The contents of the style guide.

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

    Type: String

    Required. The mime type of the content.

Google::Cloud::Apihub::V1::LintingService::StyleGuide

Represents a singleton style guide resource to be used for linting Open API specs.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The name of the style guide.

    Format: `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`

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

    Type: Enum (Google::Cloud::Apihub::V1::Linter)

    Required. Target linter for the style guide.

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

    Type: Message (Google::Cloud::Apihub::V1::LintingService::StyleGuideContents)

    Required. Input only. The contents of the uploaded style guide.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.