Google Cloud Network Management V1 Client - Class CreateVpcFlowLogsConfigRequest (2.3.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class CreateVpcFlowLogsConfigRequest.

Request for the CreateVpcFlowLogsConfig method.

Generated from protobuf message google.cloud.networkmanagement.v1.CreateVpcFlowLogsConfigRequest

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

↳ vpc_flow_logs_config_id string

Required. ID of the VpcFlowLogsConfig.

↳ vpc_flow_logs_config VpcFlowLogsConfig

Required. A VpcFlowLogsConfig resource

getParent

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

Returns
Type Description
string

setParent

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

Parameter
Name Description
var string
Returns
Type Description
$this

getVpcFlowLogsConfigId

Required. ID of the VpcFlowLogsConfig.

Returns
Type Description
string

setVpcFlowLogsConfigId

Required. ID of the VpcFlowLogsConfig.

Parameter
Name Description
var string
Returns
Type Description
$this

getVpcFlowLogsConfig

Required. A VpcFlowLogsConfig resource

Returns
Type Description
VpcFlowLogsConfig|null

hasVpcFlowLogsConfig

clearVpcFlowLogsConfig

setVpcFlowLogsConfig

Required. A VpcFlowLogsConfig resource

Parameter
Name Description
var VpcFlowLogsConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global Please see VpcFlowLogsServiceClient::locationName() for help formatting this field.

vpcFlowLogsConfig VpcFlowLogsConfig

Required. A VpcFlowLogsConfig resource

vpcFlowLogsConfigId string

Required. ID of the VpcFlowLogsConfig. Please see VpcFlowLogsServiceClient::vpcFlowLogsConfigName() for help formatting this field.

Returns
Type Description
CreateVpcFlowLogsConfigRequest