Google Cloud Developer Connect V1 Client - Class GitProxyConfig (0.6.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GitProxyConfig.

The git proxy configuration.

Generated from protobuf message google.cloud.developerconnect.v1.GitProxyConfig

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

↳ http_proxy_base_uri string

Output only. The base URI for the HTTP proxy endpoint. Has the format https://{generatedID}-c-h-{shortRegion}.developerconnect.dev Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect.

getEnabled

Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

Returns
Type Description
bool

setEnabled

Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

Parameter
Name Description
var bool
Returns
Type Description
$this

getHttpProxyBaseUri

Output only. The base URI for the HTTP proxy endpoint. Has the format https://{generatedID}-c-h-{shortRegion}.developerconnect.dev Populated only when enabled is set to true.

This endpoint is used by other Google services that integrate with Developer Connect.

Returns
Type Description
string

setHttpProxyBaseUri

Output only. The base URI for the HTTP proxy endpoint. Has the format https://{generatedID}-c-h-{shortRegion}.developerconnect.dev Populated only when enabled is set to true.

This endpoint is used by other Google services that integrate with Developer Connect.

Parameter
Name Description
var string
Returns
Type Description
$this