style_guide_contents
Creates, updates, deletes, gets or lists a style_guide_contents
resource.
Overview
Name | style_guide_contents |
Type | Resource |
Id | google.apihub.style_guide_contents |
Fields
The following fields are returned by SELECT
queries:
- get_contents
Successful response
Name | Datatype | Description |
---|---|---|
contents | string (byte) | Required. The contents of the style guide. |
mimeType | string | Required. The mime type of the content. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_contents | select | projectsId , locationsId , pluginsId | Get 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
pluginsId | string | |
projectsId | string |
SELECT
examples
- get_contents
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;