class ProjectRepoId extends Message

Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project.

Generated from protobuf message google.devtools.source.v1.ProjectRepoId

Methods

__construct(array $data = NULL)

Constructor.

string
getProjectId()

The ID of the project.

$this
setProjectId(string $var)

The ID of the project.

string
getRepoName()

The name of the repo. Leave empty for the default repo.

$this
setRepoName(string $var)

The name of the repo. Leave empty for the default repo.

Details

at line 44
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type string $project_id
      The ID of the project.
@type string $repo_name
      The name of the repo. Leave empty for the default repo.

}

at line 55
string getProjectId()

The ID of the project.

Generated from protobuf field string project_id = 1;

Return Value

string

at line 67
$this setProjectId(string $var)

The ID of the project.

Generated from protobuf field string project_id = 1;

Parameters

string $var

Return Value

$this

at line 81
string getRepoName()

The name of the repo. Leave empty for the default repo.

Generated from protobuf field string repo_name = 2;

Return Value

string

at line 93
$this setRepoName(string $var)

The name of the repo. Leave empty for the default repo.

Generated from protobuf field string repo_name = 2;

Parameters

string $var

Return Value

$this