Reference documentation and code samples for the Google Cloud Model Armor V1 Client class Template.
Message describing Template resource
Generated from protobuf message google.cloud.modelarmor.v1.Template
Namespace
Google \ Cloud \ ModelArmor \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. name of resource |
↳ create_time |
Google\Protobuf\Timestamp
Output only. [Output only] Create time stamp |
↳ update_time |
Google\Protobuf\Timestamp
Output only. [Output only] Update time stamp |
↳ labels |
array|Google\Protobuf\Internal\MapField
Optional. Labels as key value pairs |
↳ filter_config |
FilterConfig
Required. filter configuration for this template |
↳ template_metadata |
Template\TemplateMetadata
Optional. metadata for this template |
getName
Identifier. name of resource
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. name of resource
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. [Output only] Create time stamp
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create time stamp
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. [Output only] Update time stamp
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update time stamp
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Optional. Labels as key value pairs
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Optional. Labels as key value pairs
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getFilterConfig
Required. filter configuration for this template
Returns | |
---|---|
Type | Description |
FilterConfig|null |
hasFilterConfig
clearFilterConfig
setFilterConfig
Required. filter configuration for this template
Parameter | |
---|---|
Name | Description |
var |
FilterConfig
|
Returns | |
---|---|
Type | Description |
$this |
getTemplateMetadata
Optional. metadata for this template
Returns | |
---|---|
Type | Description |
Template\TemplateMetadata|null |
hasTemplateMetadata
clearTemplateMetadata
setTemplateMetadata
Optional. metadata for this template
Parameter | |
---|---|
Name | Description |
var |
Template\TemplateMetadata
|
Returns | |
---|---|
Type | Description |
$this |