code: func flattenLinkDiscoveryProtocolConfig(d *schema.ResourceData, obj *types.LinkDiscoveryProtocolConfig) error {
  	d.Set("link_discovery_operation", obj.Operation)
  	d.Set("link_discovery_protocol", obj.Protocol)
  	return nil
  }
docs: // flattenLinkDiscoveryProtocolConfig reads various fields from a
  // LinkDiscoveryProtocolConfig into the passed in ResourceData.