Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ListDraftsResponse.
Message for response to listing Drafts.
Generated from protobuf message google.cloud.visionai.v1.ListDraftsResponse
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ drafts |
array<Draft>
The list of Draft. |
↳ next_page_token |
string
A token identifying a page of results the server should return. |
↳ unreachable |
array
Locations that could not be reached. |
getDrafts
The list of Draft.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDrafts
The list of Draft.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Draft>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
A token identifying a page of results the server should return.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
A token identifying a page of results the server should return.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnreachable
Locations that could not be reached.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setUnreachable
Locations that could not be reached.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|