Google Cloud Gke Hub V1 Client - Class ConfigSync (0.7.1)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ConfigSync.

Configuration for Config Sync

Generated from protobuf message google.cloud.gkehub.configmanagement.v1.ConfigSync

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ git
Google\Cloud\GkeHub\ConfigManagement\V1\GitConfig

Git repo configuration for the cluster.

↳ source_format
string

Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.

getGit

Git repo configuration for the cluster.

Returns
Type
Description

hasGit

clearGit

setGit

Git repo configuration for the cluster.

Parameter
Name
Description
Returns
Type
Description
$this

getSourceFormat

Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.

Returns
Type
Description
string

setSourceFormat

Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: