API hub V1 API - Class Google::Cloud::ApiHub::V1::StyleGuide (v0.2.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::StyleGuide.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#contents

def contents() -> ::Google::Cloud::ApiHub::V1::StyleGuideContents
Returns

#contents=

def contents=(value) -> ::Google::Cloud::ApiHub::V1::StyleGuideContents
Parameter
Returns

#linter

def linter() -> ::Google::Cloud::ApiHub::V1::Linter
Returns

#linter=

def linter=(value) -> ::Google::Cloud::ApiHub::V1::Linter
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The name of the style guide.

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

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The name of the style guide.

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

Returns
  • (::String) — Identifier. The name of the style guide.

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