Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::UpdateVpcFlowLogsConfigRequest.
Request for the UpdateVpcFlowLogsConfig method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::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 thevpc_flow_logs_configwould be:vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::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 thevpc_flow_logs_configwould be:vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }
Returns
-
(::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 thevpc_flow_logs_configwould be:vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }
#vpc_flow_logs_config
def vpc_flow_logs_config() -> ::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig
Returns
- (::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig) — Required. Only fields specified in update_mask are updated.
#vpc_flow_logs_config=
def vpc_flow_logs_config=(value) -> ::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig
Parameter
- value (::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig) — Required. Only fields specified in update_mask are updated.
Returns
- (::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig) — Required. Only fields specified in update_mask are updated.