Google Cloud OsConfig V1 Client - Class GooRepository (1.3.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class GooRepository.

Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.

Generated from protobuf message google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicy \ Resource \ RepositoryResource

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the repository.

↳ url string

Required. The url of the repository.

getName

Required. The name of the repository.

Returns
Type Description
string

setName

Required. The name of the repository.

Parameter
Name Description
var string
Returns
Type Description
$this

getUrl

Required. The url of the repository.

Returns
Type Description
string

setUrl

Required. The url of the repository.

Parameter
Name Description
var string
Returns
Type Description
$this