Skip to main content

style_guide_contents

Creates, updates, deletes, gets or lists a style_guide_contents resource.

Overview​

Namestyle_guide_contents
TypeResource
Idgoogle.apihub.style_guide_contents

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentsstring (byte)Required. The contents of the style guide.
mimeTypestringRequired. The mime type of the content.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_contentsselectprojectsId, locationsId, pluginsIdGet the contents of the style guide.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
pluginsIdstring
projectsIdstring

SELECT examples​

Get the contents of the style guide.

SELECT
contents,
mimeType
FROM google.apihub.style_guide_contents
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pluginsId = '{{ pluginsId }}' -- required
;