Reference documentation and code samples for the Grafeas V1 Client class NonCompliantFile.
Details about files that caused a compliance check to fail.
Generated from protobuf message grafeas.v1.NonCompliantFile
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ path |
string
Empty if |
↳ display_command |
string
Command to display the non-compliant files. |
↳ reason |
string
Explains why a file is non compliant for a CIS check. |
getPath
Empty if display_command
is set.
Returns | |
---|---|
Type | Description |
string |
setPath
Empty if display_command
is set.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayCommand
Command to display the non-compliant files.
Returns | |
---|---|
Type | Description |
string |
setDisplayCommand
Command to display the non-compliant files.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReason
Explains why a file is non compliant for a CIS check.
Returns | |
---|---|
Type | Description |
string |
setReason
Explains why a file is non compliant for a CIS check.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |