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

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

Request for the GetVpcFlowLogsConfig method.

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

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id} - For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

getName

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Returns
Type Description
string

setName

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id} Please see VpcFlowLogsServiceClient::vpcFlowLogsConfigName() for help formatting this field.

Returns
Type Description
GetVpcFlowLogsConfigRequest