API hub API . projects . locations . plugins . styleGuide

Instance Methods

close()

Close httplib2 connections.

getContents(name, x__xgafv=None)

Get the contents of the style guide.

Method Details

close()
Close httplib2 connections.
getContents(name, x__xgafv=None)
Get the contents of the style guide.

Args:
  name: 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`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The style guide contents.
  "contents": "A String", # Required. The contents of the style guide.
  "mimeType": "A String", # Required. The mime type of the content.
}