Google Cloud Developer Connect V1 Client - Class CreateInsightsConfigRequest (0.4.0)

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

Request for creating an InsightsConfig.

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

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Value for parent.

↳ insights_config_id string

Required. ID of the requesting InsightsConfig.

↳ insights_config InsightsConfig

Required. The resource being created.

↳ validate_only bool

Optional. If set, validate the request, but do not actually post it.

getParent

Required. Value for parent.

Returns
Type Description
string

setParent

Required. Value for parent.

Parameter
Name Description
var string
Returns
Type Description
$this

getInsightsConfigId

Required. ID of the requesting InsightsConfig.

Returns
Type Description
string

setInsightsConfigId

Required. ID of the requesting InsightsConfig.

Parameter
Name Description
var string
Returns
Type Description
$this

getInsightsConfig

Required. The resource being created.

Returns
Type Description
InsightsConfig|null

hasInsightsConfig

clearInsightsConfig

setInsightsConfig

Required. The resource being created.

Parameter
Name Description
var InsightsConfig
Returns
Type Description
$this

getValidateOnly

Optional. If set, validate the request, but do not actually post it.

Returns
Type Description
bool

setValidateOnly

Optional. If set, validate the request, but do not actually post it.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Value for parent. Please see InsightsConfigServiceClient::locationName() for help formatting this field.

insightsConfig InsightsConfig

Required. The resource being created.

insightsConfigId string

Required. ID of the requesting InsightsConfig.

Returns
Type Description
CreateInsightsConfigRequest