Google Cloud Vision Ai V1 Client - Class Draft (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Draft.
Message describing Draft object
Generated from protobuf message google.cloud.visionai.v1.Draft
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
name of resource |
↳ create_time |
Google\Protobuf\Timestamp
Output only. [Output only] Create timestamp |
↳ update_time |
Google\Protobuf\Timestamp
Output only. [Output only] Create timestamp |
↳ labels |
array|Google\Protobuf\Internal\MapField
Labels as key value pairs |
↳ display_name |
string
Required. A user friendly display name for the solution. |
↳ description |
string
A description for this application. |
↳ draft_application_configs |
ApplicationConfigs
The draft application configs which haven't been updated to an application. |
getName
name of resource
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
name of resource
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. [Output only] Create timestamp
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create timestamp
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. [Output only] Create timestamp
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Create timestamp
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Labels as key value pairs
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Labels as key value pairs
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Required. A user friendly display name for the solution.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Required. A user friendly display name for the solution.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
A description for this application.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
A description for this application.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
| Returns | |
|---|---|
| Type | Description |
ApplicationConfigs|null |
|
hasDraftApplicationConfigs
clearDraftApplicationConfigs
setDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
| Parameter | |
|---|---|
| Name | Description |
var |
ApplicationConfigs
|
| Returns | |
|---|---|
| Type | Description |
$this |
|