Google Cloud OsConfig V1 Client - Class GooRepository (1.2.2)

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
NameDescription
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
TypeDescription
string

setName

Required. The name of the repository.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUrl

Required. The url of the repository.

Returns
TypeDescription
string

setUrl

Required. The url of the repository.

Parameter
NameDescription
var string
Returns
TypeDescription
$this