Reference documentation and code samples for the Google Cloud Api Hub V1 Client class StyleGuideContents.
The style guide contents.
Generated from protobuf message google.cloud.apihub.v1.StyleGuideContents
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ contents |
string
Required. The contents of the style guide. |
↳ mime_type |
string
Required. The mime type of the content. |
getContents
Required. The contents of the style guide.
| Returns | |
|---|---|
| Type | Description |
string |
|
setContents
Required. The contents of the style guide.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMimeType
Required. The mime type of the content.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMimeType
Required. The mime type of the content.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|