Google Cloud Network Management V1 Client - Class UpdateVpcFlowLogsConfigRequest (2.7.0)

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

Request for the UpdateVpcFlowLogsConfig method.

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

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

↳ vpc_flow_logs_config VpcFlowLogsConfig

Required. Only fields specified in update_mask are updated.

getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field.

For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field.

For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getVpcFlowLogsConfig

Required. Only fields specified in update_mask are updated.

Returns
Type Description
VpcFlowLogsConfig|null

hasVpcFlowLogsConfig

clearVpcFlowLogsConfig

setVpcFlowLogsConfig

Required. Only fields specified in update_mask are updated.

Parameter
Name Description
var VpcFlowLogsConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
vpcFlowLogsConfig VpcFlowLogsConfig

Required. Only fields specified in update_mask are updated.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

Returns
Type Description
UpdateVpcFlowLogsConfigRequest