Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class FileDiff.
Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.
Generated from protobuf message google.cloud.securesourcemanager.v1.FileDiff
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the file.
↳ action
int
Output only. The action taken on the file (eg. added, modified, deleted).
↳ sha
string
Output only. The commit pointing to the file changes.
↳ patch
string
Output only. The git patch containing the file changes.
getName
Output only. The name of the file.
string
setName
Output only. The name of the file.
var
string
$this
getAction
Output only. The action taken on the file (eg. added, modified, deleted).
int
setAction
Output only. The action taken on the file (eg. added, modified, deleted).
var
int
$this
getSha
Output only. The commit pointing to the file changes.
string
setSha
Output only. The commit pointing to the file changes.
var
string
$this
getPatch
Output only. The git patch containing the file changes.
string
setPatch
Output only. The git patch containing the file changes.
var
string
$this